/* 
  AVALANCHE Design System 
  Theme: GOD Mode Production - Ultra Luxury
*/

:root {
  /* Colors */
  --color-primary: #150029;
  --color-primary-mid: #2d004d;
  --color-primary-light: #5d00a3;
  --color-accent: #e0b0ff;
  --color-vibrant-purple: #9d00ff;
  --color-silver: #e8e6ed;
  --color-gold-muted: #d4af37b3;
  --color-bg: #050208;
  --color-text: #ffffff;
  --color-text-muted: #b5a8c2;

  /* Gradients */
  --grad-luxury: linear-gradient(135deg, #2d004d 0%, #150029 100%);
  --grad-vibrant: linear-gradient(90deg, #9d00ff, #e0b0ff);
  --grad-text: linear-gradient(180deg, #fff 0%, #d1c8e0 100%);
  --grad-glow: radial-gradient(circle, rgba(157, 0, 255, 0.2) 0%, transparent 70%);

  /* Glassmorphism */
  --glass-bg: rgba(25, 10, 45, 0.6);
  --glass-border: rgba(224, 176, 255, 0.25);
  --glass-blur: blur(20px);

  /* Shadows */
  --shadow-glow: 0 0 30px rgba(157, 0, 255, 0.25);
  --shadow-premium: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* Base resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.038;
  pointer-events: none;
  z-index: 99000;
  mix-blend-mode: overlay;
}

/* Custom cursor — desktop only */
@media (pointer: fine) {

  .cursor-dot {
    position: fixed;
    width: 7px;
    height: 7px;
    background: var(--color-vibrant-purple);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity .2s, background .25s, width .25s, height .25s;
    will-change: left, top;
  }

  .cursor-ring {
    position: fixed;
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(157, 0, 255, 0.55);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity .2s, width .3s cubic-bezier(.165,.84,.44,1), height .3s cubic-bezier(.165,.84,.44,1), border-color .3s;
    will-change: left, top;
  }

  .cursor-ring.hover {
    width: 52px;
    height: 52px;
    border-color: rgba(224, 176, 255, 0.75);
  }

  .cursor-ring.click {
    width: 22px;
    height: 22px;
  }
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  padding: 1.5rem 5%;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-decoration: none;
  color: white;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 4px;
  font-weight: 400;
  transition: all 0.3s;
}

.nav-link:hover {
  color: #fff;
}

/* Hamburger Fix & Positioning */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 7px;
  cursor: pointer;
  z-index: 3000;
  padding: 10px;
  position: relative;
  transition: all 0.3s ease;
}

.menu-toggle span {
  width: 30px;
  height: 2px;
  background: white;
  transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(circle at 68% 12%, #4a007a 0%, var(--color-primary) 42%, #050208 100%);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: circle(0% at calc(100% - 5% - 25px) 44px);
  transition: clip-path 0.65s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
}

.mobile-menu.active {
  clip-path: circle(170% at calc(100% - 5% - 25px) 44px);
  pointer-events: all;
}

.mobile-menu-content {
  text-align: center;
  width: 100%;
  max-width: 500px;
  padding: 40px;
}

.mobile-nav-links {
  list-style: none;
  margin-bottom: 60px;
}

.mobile-nav-link {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: white;
  text-decoration: none;
  margin: 25px 0;
  text-transform: uppercase;
  letter-spacing: 6px;
  font-weight: 400;
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), color 0.3s;
  opacity: 0;
  transform: translateY(28px);
  transition-delay: 0s;
}

.mobile-nav-link:hover {
  color: var(--color-accent);
  letter-spacing: 8px;
}

.mobile-menu.active .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active .mobile-nav-link:nth-child(1) { transition-delay: 0.22s; }
.mobile-menu.active .mobile-nav-link:nth-child(2) { transition-delay: 0.33s; }
.mobile-menu.active .mobile-nav-link:nth-child(3) { transition-delay: 0.44s; }
.mobile-menu.active .mobile-nav-link:nth-child(4) { transition-delay: 0.55s; }
.mobile-menu.active .mobile-nav-link:nth-child(5) { transition-delay: 0.66s; }

.mobile-nav-shop {
  background: linear-gradient(90deg, #9d00ff, #e0b0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: 7px;
}

.mobile-menu-info {
  margin-top: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-menu.active .mobile-menu-info {
  opacity: 1;
  transition: opacity 0.6s ease 0.55s;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.15);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(5, 2, 8, 0.4) 40%, rgba(5, 2, 8, 0.85) 100%);
  z-index: 1;
}

.brand-logo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 12vw, 8rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-align: center;
}

/* Form Styles - RESTORED */
.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.80rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 1.2rem;
  border-radius: 12px;
  color: white;
  font-family: inherit;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-vibrant-purple);
  background: rgba(157, 0, 255, 0.08);
  box-shadow: 0 0 10px rgba(157, 0, 255, 0.15);
}

/* Social Links Footer */
.social-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
}

.social-link:hover {
  background: var(--grad-luxury);
  border-color: var(--color-accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(157, 0, 255, 0.2);
}

.social-icon {
  font-size: 0.6rem;
  background: var(--grad-vibrant);
  color: var(--color-primary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.social-handle {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: lowercase;
}

/* Button & Utility - RESTORED */
.btn-premium {
  background: var(--grad-luxury);
  color: white;
  padding: 1.2rem 3.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  border: 1px solid var(--glass-border);
  transition: all 0.4s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  text-align: center;
  display: inline-block;
}

.btn-vibrant {
  background: var(--grad-vibrant);
  color: var(--color-primary);
  border: none;
  box-shadow: 0 8px 20px rgba(157, 0, 255, 0.2);
}

.btn-vibrant:hover {
  box-shadow: 0 12px 30px rgba(157, 0, 255, 0.4);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--shadow-premium);
}

/* Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.15;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(1.1);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.radiance-pulse {
  animation: pulse 8s ease-in-out infinite;
}

/* Media Queries */
@media (max-width: 992px) {
  .navbar {
    padding: 1rem 5%;
    z-index: 2600;
    transition: all 0.3s ease;
  }

  .navbar.active {
    padding: 0.85rem 5%;
  }

  .nav-logo {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-btn {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 5%;
    align-items: center;
    text-align: center;
  }

  .btn-premium {
    width: 90%;
  }

  .footer-socials {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .mobile-nav-link {
    font-size: 1.55rem;
    margin: 20px 0;
    letter-spacing: 5px;
  }

  .mobile-menu-content {
    padding: 30px 24px;
  }

  .mobile-menu-info {
    padding: 22px;
  }
}

@media (max-width: 360px) {
  .mobile-nav-link {
    font-size: 1.35rem;
    margin: 16px 0;
    letter-spacing: 4px;
  }
}

/* ── SHARED FOOTER ── */
.site-footer {
  padding: 72px 5% 48px;
  text-align: center;
  border-top: 1px solid rgba(224, 176, 255, .1);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-logo {
  width: 68px; height: 68px; border-radius: 50%; object-fit: cover;
  border: 1px solid rgba(224, 176, 255, .18); margin-bottom: 14px;
}
.footer-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; letter-spacing: .42em; margin-bottom: 5px;
}
.footer-tagline {
  font-size: .52rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(181, 168, 194, .38); margin-bottom: 0;
}
.footer-sep {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, rgba(224, 176, 255, .2), transparent);
  margin: 28px 0;
}
.footer-socials { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.footer-support-line {
  font-size: .72rem; letter-spacing: .06em; color: rgba(181, 168, 194, .55); margin-bottom: 28px;
}
.footer-support-line a {
  color: var(--color-accent); text-decoration: none; font-weight: 600;
  border-bottom: 1px dashed rgba(224, 176, 255, .3); padding-bottom: 1px; transition: color .3s;
}
.footer-support-line a:hover { color: #fff; }
.footer-copy {
  font-size: .58rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(181, 168, 194, .25);
}