/* =========
   BASE / RESET
========= */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  background-color: #050505;
  color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.section {
  max-width: 1200px;
  padding: 60px 16px;
  margin: 0 auto;
}

/* =========
   TICKER BAR
========= */
.top-bar {
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  gap: 50px;
  animation: scroll 25s linear infinite;
  width: max-content;
}

.ticker-track span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #d3d3d3;
  font-weight: 700;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========
   HEADER & LOGO (Base Styles)
========= */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 5%;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo-main {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  display: block;
  letter-spacing: 0.1em;
}

.logo-sub {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}

.header-nav a:hover {
  color: #f04e31;
  text-shadow: 0 0 10px rgba(240, 78, 49, 0.8), 0 0 20px rgba(240, 78, 49, 0.4);
}

.header-icon-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.header-icon-btn:hover {
  border-color: #f04e31;
  box-shadow: 0 0 15px rgba(240, 78, 49, 0.5);
}

/* =========
   MASTER NAVIGATION LOGIC (Desktop & Mobile)
========= */

/* The Hamburger Button Base */
.menu-toggle .bar {
  width: 30px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* --- 1. DESKTOP VIEW (Screens larger than 880px) --- */
@media (min-width: 881px) {
  .header-nav {
    display: flex !important;
    align-items: center;
  }
  .header-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
  }
  .menu-toggle {
    display: none !important;
  }
  .menu-video-wrap {
    display: none !important; 
  }
}

/* --- 2. MOBILE VIEW (Screens 880px and smaller) --- */
@media (max-width: 880px) {
  /* 1. The Header Row */
  .main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 80px;
    position: sticky;
    top: 0;
    width: 100%;
  }

  /* 2. Push items to center and edges */
  .logo-wrap {
    flex: 1; /* Takes up space on the left */
  }

  .header-actions {
    flex: 1;
    display: flex !important;
    justify-content: center; /* Centers Search/Cart in the middle */
    gap: 10px;
  }

  .menu-toggle {
    flex: 1;
    display: flex !important;
    justify-content: flex-end; /* Pushes hamburger to the far right */
    position: relative;
    z-index: 201; /* Stay above the menu */
    background: none;
    border: none;
  }
  
/* 1. Updated Neon Glow Animations */
@keyframes neonPurple {
  0% { filter: drop-shadow(0 0 2px #5b21ff) drop-shadow(0 0 5px #5b21ff); opacity: 0.8; }
  50% { filter: drop-shadow(0 0 7px #5b21ff) drop-shadow(0 0 12px #5b21ff); opacity: 1; }
  100% { filter: drop-shadow(0 0 2px #5b21ff) drop-shadow(0 0 5px #5b21ff); opacity: 0.8; }
}

@keyframes neonOrange {
  0% { filter: drop-shadow(0 0 2px #f04e31) drop-shadow(0 0 5px #f04e31); opacity: 0.8; }
  50% { filter: drop-shadow(0 0 7px #f04e31) drop-shadow(0 0 12px #f04e31); opacity: 1; }
  100% { filter: drop-shadow(0 0 2px #f04e31) drop-shadow(0 0 5px #f04e31); opacity: 0.8; }
}

/* 2. Apply to the Hamburger Bars */
.menu-toggle .bar {
  width: 28px;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
  /* Default Purple Pulse */
  animation: pulsePurple 2s infinite ease-in-out;
}

/* 3. Swap to Orange Pulse when Menu is Open (.active) */
.menu-toggle.active .bar {
  background-color: #f04e31; /* Turns the X orange */
  animation: pulseOrange 1.5s infinite ease-in-out; /* Faster pulse for energy */
}

/* 4. Extra Juice: If you want the glow to look bigger, 
   we can add a slight blur to the bars themselves */
.menu-toggle:hover .bar {
  filter: brightness(1.2);
}

  /* 3. The Full-Screen Navigation Overlay */
  .header-nav {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #050505;
    z-index: 200;
    flex-direction: column; /* Stack Video -> Menu */
    justify-content: center;
    align-items: center;
    padding-top: 50px;
  }

  .header-nav.active {
    display: flex !important;
  }

  /* 4. Fix the Video Position */
  .menu-video-wrap {
    display: block !important;
    width: 150px; /* Size of the vibe video */
    margin-bottom: 30px; /* Space between video and links */
  }

  .menu-video {
    width: 100%;
    height: auto;
    mix-blend-mode: screen;
  }

  /* 5. Menu Links */
  .header-nav ul {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .header-nav a {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
  }

  }

  /* Hamburger to 'X' Animation */
  .menu-toggle.active .bar {
    background-color: #f04e31 !important; 
  }
  .menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
  .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* =========
   HERO
========= */
.hero {
  padding: 100px 5% 60px;
  position: relative;
  background:
    radial-gradient(circle at top left, #f04e3155 0, transparent 55%),
    radial-gradient(circle at bottom right, #5b21ff44 0, transparent 55%),
    #050505;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 64px);
  line-height: 0.9;
  text-transform: uppercase;
  margin: 15px 0;
}

.hero-highlight {
  -webkit-text-stroke: 1px #fff;
  color: transparent;
}

.hero-img {
  width: 100%;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.scribble-img {
  position: absolute;
  width: 100px;
  pointer-events: none;
  filter: invert(1);
}

/* Responsiveness for Hero */
@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
}

/* =========
   BUTTONS (LOUDER GLOW)
========= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 28px;
  border: 1px solid transparent;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn.primary {
  background: #f04e31;
  color: #fff;
  box-shadow: 0 0 10px rgba(240, 78, 49, 0.4), 0 0 20px rgba(240, 78, 49, 0.2);
}

.btn.primary:hover {
  background: #ff5a3d;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 20px rgba(240, 78, 49, 0.8), 0 0 40px rgba(240, 78, 49, 0.4), 0 0 60px rgba(240, 78, 49, 0.2);
}

.btn.ghost {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn.ghost:hover {
  border-color: #f04e31;
  color: #f04e31;
  box-shadow: 0 0 20px rgba(240, 78, 49, 0.5);
  transform: translateY(-4px);
}

/* =========
   CATEGORY & LOOKBOOK TILES
========= */
.category-card, .lookbook-tile, .product-card-chaos {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.category-card:hover, .lookbook-tile:hover {
  border-color: #f04e31;
  transform: scale(1.02) rotate(1deg);
  box-shadow: 0 0 30px rgba(240, 78, 49, 0.3);
  z-index: 10;
}

/* =========
   PRODUCT CARDS
========= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.product-card-chaos {
  background: #111;
  border-radius: 15px;
  padding: 12px;
}

.product-card-chaos:hover {
  border-color: #f04e31;
  box-shadow: 0 0 25px rgba(240, 78, 49, 0.4), 0 0 50px rgba(240, 78, 49, 0.1);
  transform: translateY(-12px) rotate(-2deg);
}

.product-price {
  font-weight: 900;
  color: #f04e31;
  font-size: 1.2rem;
  text-shadow: 0 0 10px rgba(240, 78, 49, 0.3);
}

/* =========
   FACES (Hover Glow)
========= */
.face-card {
  transition: all 0.3s ease;
}

.face-card:hover .face-img-wrap {
  border-color: #5b21ff; 
  box-shadow: 0 0 30px rgba(91, 33, 255, 0.4);
  transform: translateY(-5px);
}

.face-img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  background: #111;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
