/* Homepage Redesign: Luxury Minimalist Light Theme (Inskin-inspired) */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700;800&display=swap');
/* Chakra Petch (hero headline face) is loaded globally in base.html <head>. */

:root {
  --bg-ritual: #000000;
  --bg-ritual-muted: #11141c;
  --text-ritual: #ffffff;
  --text-ritual-muted: #a0a6b5;
  --accent-ritual: #dc2626; /* Crimson red accent */
  --border-ritual: rgba(220, 38, 38, 0.15);
  --card-ritual: #0d0e12;
  
  --scroll-percent: 0;
  --device-y: 0px;
  --device-scale: 1;
  --title-y: 0px;
  /* Scroll-driven hero parallax channel (updated by homepage.js) */
  --portrait-scroll-y: 0px;
  --title-scroll-y: 0px;
}

/* Smooth anchor scrolling across the homepage for a premium feel */
html:has(.hero-ritual) {
  scroll-behavior: smooth;
}

/* Apply light theme styles to the homepage shell specifically */
body:has(.topbar--homepage),
body:has(.hero-ritual) {
  background: var(--bg-ritual) !important;
  color: var(--text-ritual) !important;
  font-family: 'Outfit', 'Inter', sans-serif !important;
}

body:has(.topbar--homepage) .shell {
  background: var(--bg-ritual) !important;
}

body:has(.topbar--homepage) .main {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body:has(.topbar--homepage) .footer {
  border-top: 1px solid var(--border-ritual);
  background: var(--bg-ritual-muted);
  color: var(--text-ritual-muted);
}

body:has(.topbar--homepage) .footer__muted {
  color: #8c8c8c;
}

/* ============================================================
   Floating Navigation capsule overlay
   ============================================================ */
.topbar--homepage {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.2rem clamp(1.5rem, 5vw, 3.5rem) !important;
  background: transparent !important;
  backdrop-filter: none !important;
  border-bottom: none !important;
}

.topbar--homepage .brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.topbar--homepage .brand__logo-wrap {
  width: 48px;
  height: 48px;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-ritual), rgba(220, 38, 38, 0.2));
  box-shadow: 0 4px 18px rgba(220, 38, 38, 0.28);
}

.topbar--homepage .nav-link::after {
  display: none !important;
}

.topbar--homepage .brand__word-main {
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--text-ritual);
}

.topbar--homepage .brand__word-sub {
  color: rgba(255, 255, 255, 0.5);
}

.topbar--homepage .brand:hover {
  text-decoration: none;
}

/* Home floating nav: stack cleanly on tablets/phones */
@media (max-width: 768px) {
  .topbar--homepage {
    flex-wrap: wrap;
    padding: 1.3rem clamp(1rem, 5vw, 2rem) !important;
    row-gap: 0.9rem;
  }
  .topbar--homepage .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .topbar--homepage .nav-link { padding: 0.5rem 1rem; font-size: 0.8rem; }
  .topbar--homepage .brand__word-main { font-size: 1.05rem; }
}

/* Center pill navigation capsule */
.topbar--homepage .nav-links {
  display: flex;
  align-items: center;
  background: #0d0d0d;
  padding: 4px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.topbar--homepage .nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 99px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none !important;
}

.topbar--homepage .nav-link:hover {
  color: #ffffff !important;
}

.topbar--homepage .nav-link.active {
  background: #ffffff;
  color: #0d0d0d !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Circular cart toggle button */
.topbar--homepage .cart-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--text-ritual);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.topbar--homepage .cart-toggle:hover {
  background: var(--text-ritual);
}

.topbar--homepage .cart-toggle:hover .cart-toggle__icon {
  filter: invert(1);
}

.topbar--homepage .cart-toggle__icon {
  font-size: 1.05rem;
  color: var(--text-ritual);
  transition: filter 0.25s ease;
}

.topbar--homepage .cart-toggle__count {
  background: var(--text-ritual);
  color: #ffffff;
  top: -4px;
  right: -4px;
  border: 2px solid var(--bg-ritual);
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
}

/* Disable top scroll progress on light homepage */
body:has(.topbar--homepage) .scroll-progress {
  background: var(--text-ritual);
}

/* ============================================================
   Hero Section: Mockup-Matched Dark Two-Column Layout
   ============================================================ */
.hero-ritual {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-ritual);
  overflow: hidden;
  padding-top: 4.5rem;
  padding-bottom: 0;
}

.hero-ritual__container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 4rem;
  align-items: center;
  z-index: 2;
  padding: 1.5rem 2rem 4rem;
}

@media (max-width: 968px) {
  .hero-ritual__container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    padding-bottom: 3rem;
  }
}

/* Left Column Content */
.hero-ritual__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.8rem;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  padding-right: 2rem;
}

@media (max-width: 968px) {
  .hero-ritual__content {
    align-items: center;
  }
}

.hero-ritual__title {
  font-family: 'Chakra Petch', 'Outfit', 'Inter', sans-serif !important;
  font-weight: 700;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: #ffffff;
  margin: 0;
  text-align: left;
  text-transform: none; /* "Let's Vaping Together" matches mockup text */
  transform: translateY(var(--title-scroll-y));
  will-change: transform;
}

/* Stagger each line up on load for a subtle build-in */
.hero-ritual__title .hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: heroLineIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-ritual__title .hero-title-line:nth-child(1) { animation-delay: 0.15s; }
.hero-ritual__title .hero-title-line:nth-child(2) { animation-delay: 0.32s; }

@keyframes heroLineIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Second line gets an animated crimson gradient sheen (Gen-Z pop) */
.hero-title-line--accent {
  background: linear-gradient(100deg, #ffffff 0%, var(--accent-ritual) 35%, #ff7a7a 55%, #ffffff 90%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heroLineIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both,
             heroSheen 6s linear 1.3s infinite;
}
@keyframes heroSheen { to { background-position: 220% center; } }

@media (max-width: 968px) {
  .hero-ritual__title {
    text-align: center;
  }
}

.hero-ritual__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.7;
  color: var(--text-ritual-muted);
  margin: 0;
  max-width: 520px;
  text-align: left;
}

@media (max-width: 968px) {
  .hero-ritual__subtitle {
    text-align: center;
  }
}

/* Solid red shop button */
.btn-vape-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff !important;
  background: #dc2626; /* Crimson red */
  padding: 1.05rem 2.4rem;
  border-radius: 4px; /* Rectangular corners */
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

.btn-vape-shop:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
}

.btn-vape-shop .arrow {
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.btn-vape-shop:hover .arrow {
  transform: translateX(4px);
}

/* Light-sweep shimmer across the CTA + a soft breathing glow */
.btn-vape-shop {
  position: relative;
  overflow: hidden;
  animation: ctaPulse 3.2s ease-in-out infinite;
}
.btn-vape-shop > * { position: relative; z-index: 1; }
.btn-vape-shop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
}
.btn-vape-shop:hover::before { transform: translateX(130%); }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2); }
  50% { box-shadow: 0 4px 28px rgba(220, 38, 38, 0.5); }
}

/* Fine film-grain texture over the hero for a moody, editorial feel */
.hero-ritual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Animated "scroll" cue at the bottom of the hero */
.hero-scroll-cue {
  position: absolute;
  bottom: 5.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-ritual-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: cueFade 1s ease 1.4s both;
}
.hero-scroll-cue__mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-cue__mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--accent-ritual);
  animation: cueWheel 1.6s ease-in-out infinite;
}
@keyframes cueWheel {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}
@keyframes cueFade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 968px) {
  .hero-scroll-cue { display: none; }
}

/* Right Column Portrait Visual */
.hero-ritual__visual {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  animation: fadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.15s;
}

.hero-ritual__device-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float-portrait 8s ease-in-out infinite;
}

@keyframes float-portrait {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-ritual__product-img {
  max-width: 120%;
  width: 120%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7));
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  transform: scale(1.18);
  transform-origin: center right;
}

@media (max-width: 968px) {
  .hero-ritual__product-img {
    max-width: 100%;
    width: 100%;
    max-height: 380px;
    transform: scale(1.05);
    transform-origin: center;
  }
}

/* Scroll parallax carrier for the whole right-column visual */
.hero-ritual__parallax {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(var(--portrait-scroll-y));
  will-change: transform;
}

/* Ambient crimson glow layers behind the hero */
.hero-ritual__ambient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-ritual__ambient::before,
.hero-ritual__ambient::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.hero-ritual__ambient::before {
  width: 46vw;
  height: 46vw;
  top: -14%;
  right: -8%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.22), transparent 70%);
}

.hero-ritual__ambient::after {
  width: 34vw;
  height: 34vw;
  bottom: -12%;
  left: -6%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.10), transparent 70%);
}

/* Honour reduced-motion: kill idle + scroll-driven movement */
@media (prefers-reduced-motion: reduce) {
  html:has(.hero-ritual) {
    scroll-behavior: auto;
  }
  .hero-ritual__device-wrapper {
    animation: none !important;
  }
  .hero-ritual__title .hero-title-line,
  .hero-title-line--accent,
  .btn-vape-shop,
  .hero-scroll-cue,
  .hero-scroll-cue__mouse::after {
    animation: none !important;
    opacity: 1;
  }
  .hero-ritual__title .hero-title-line { transform: none; }
  .hero-ritual__parallax,
  .hero-ritual__title {
    transform: none !important;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(15px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Horizontal Info Banner Strip */
.hero-info-bar {
  width: 100%;
  background: #11141c; /* Dark banner strip */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.2rem 2rem;
  z-index: 5;
}

.hero-info-bar__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .hero-info-bar__container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .hero-info-divider {
    display: none;
  }
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-info-icon {
  font-size: 1.2rem;
  color: #dc2626;
}

.hero-info-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.02em;
}

.hero-info-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   Section Elements & Cards
   ============================================================ */
.section-ritual {
  padding: 7.5rem 2rem;
  background: var(--bg-ritual);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 4.5rem;
}

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-ritual-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  display: block;
}

.section-title-ritual {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--text-ritual);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Welcome Vibe Lounge Card */
.welcome-ritual-card {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  background: var(--card-ritual);
  border: 1px solid var(--border-ritual);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
}

@media (max-width: 868px) {
  .welcome-ritual-card {
    grid-template-columns: 1fr;
  }
}

.welcome-ritual-card__media {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.welcome-ritual-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.welcome-ritual-card:hover .welcome-ritual-card__img {
  transform: scale(1.04);
}

.welcome-ritual-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(11, 14, 20, 0.1), rgba(17, 21, 32, 1));
}

@media (max-width: 868px) {
  .welcome-ritual-card__overlay {
    background: linear-gradient(to bottom, rgba(11, 14, 20, 0.1), rgba(17, 21, 32, 1));
  }
}

.welcome-ritual-card__content {
  padding: 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
  background: var(--card-ritual);
}

@media (max-width: 480px) {
  .welcome-ritual-card__content {
    padding: 2.5rem 1.8rem;
  }
}

.welcome-ritual-card__brand {
  font-family: 'Outfit', sans-serif;
  color: var(--text-ritual-muted);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.welcome-ritual-card__header {
  font-family: 'Outfit', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-ritual);
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.welcome-ritual-card__text {
  color: var(--text-ritual-muted);
  line-height: 1.8;
  font-size: 1rem;
  margin: 0;
}

.btn-ritual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 0.85rem 2rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
}

.btn-ritual--primary {
  background: var(--accent-ritual);
  color: #ffffff !important;
  border: 1.5px solid var(--accent-ritual);
}

.btn-ritual--primary:hover {
  background: transparent;
  color: var(--text-ritual) !important;
  border-color: var(--text-ritual);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.15);
  text-decoration: none;
}

/* ============================================================
   Vibe Matcher Console
   ============================================================ */
.vibe-console {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.vibe-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .vibe-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.vibe-btn {
  background: var(--card-ritual);
  border: 1px solid var(--border-ritual);
  border-radius: 14px;
  padding: 1.5rem 1rem;
  color: var(--text-ritual);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}

.vibe-btn__emoji {
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.vibe-btn:hover {
  border-color: var(--text-ritual);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.vibe-btn:hover .vibe-btn__emoji {
  transform: scale(1.2) rotate(4deg);
}

/* Active Vibe Button Styles */
.vibe-btn.active {
  background: var(--accent-ritual) !important;
  border-color: var(--accent-ritual) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.25) !important;
}

/* Vibe Recommendation Cards Container */
.vibe-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  min-height: 480px;
}

@media (max-width: 968px) {
  .vibe-results {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .vibe-results {
    grid-template-columns: 1fr;
  }
}

/* Boutique-Style Product Card */
.cyber-prod-card {
  background: var(--card-ritual);
  border: 1px solid var(--border-ritual);
  border-radius: 18px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.01);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  opacity: 0;
  transform: translateY(25px) scale(0.98);
}

.cyber-prod-card.show-anim {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cyber-prod-card:hover {
  border-color: var(--text-ritual);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
  transform: translateY(-6px);
}

/* Remove glow elements */
.cyber-prod-card__glow {
  display: none;
}

.cyber-prod-card__badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  padding: 0.35rem 0.75rem;
  background: var(--bg-ritual-muted);
  border: 1px solid var(--border-ritual);
  color: var(--text-ritual-muted);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 99px;
  text-transform: uppercase;
  z-index: 5;
}

.cyber-prod-card__media {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.cyber-prod-card__img {
  max-width: 95%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.04));
}

.cyber-prod-card:hover .cyber-prod-card__img {
  transform: scale(1.05);
}

.cyber-prod-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.cyber-prod-card__brand {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-ritual-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cyber-prod-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-ritual);
  margin: 0;
}

.cyber-prod-card__specs {
  font-size: 0.85rem;
  color: var(--text-ritual-muted);
  margin: 0;
}

.cyber-prod-card__foot {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cyber-prod-card__price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cyber-prod-card__price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-ritual);
}

.cyber-prod-card__variants {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cyber-prod-card__select-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-ritual-muted);
}

.cyber-prod-select {
  width: 100%;
  background: var(--bg-ritual-muted);
  border: 1px solid var(--border-ritual);
  color: var(--text-ritual);
  border-radius: 8px;
  padding: 0.6rem;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cyber-prod-select:focus {
  border-color: var(--accent-ritual);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.cyber-prod-select option {
  background: var(--card-ritual);
  color: var(--text-ritual);
}

.btn-cyber-buy {
  width: 100%;
  padding: 0.95rem 1.5rem;
  background: var(--accent-ritual);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.1);
}

.btn-cyber-buy:hover {
  background: #b91c1c;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.25);
  transform: translateY(-2px);
}

/* ============================================================
   Flavor Roulette Wheel (Light Theme Overrides)
   ============================================================ */
.roulette-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--card-ritual);
  border: 1px solid var(--border-ritual);
  border-radius: 24px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
  color: var(--text-ritual);
}

@media (max-width: 768px) {
  .roulette-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
}

.roulette-wheel-box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wheel-outer {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 6px solid var(--text-ritual);
  box-shadow: 
    0 0 0 2px var(--border-ritual),
    0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 4s cubic-bezier(0.15, 0.85, 0.15, 1);
  background: var(--card-ritual);
}

.wheel-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.wheel-sector {
  fill-opacity: 0.1;
  stroke: rgba(0, 0, 0, 0.06);
  stroke-width: 1.5;
  transition: fill-opacity 0.3s ease;
}

.wheel-sector:nth-child(odd) {
  fill: var(--text-ritual);
}

.wheel-sector:nth-child(even) {
  fill: var(--accent-ritual);
}

.wheel-outer.spinning-effect .wheel-sector {
  fill-opacity: 0.35;
}

.wheel-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 9px;
  fill: var(--text-ritual);
  letter-spacing: 0.05em;
  text-anchor: middle;
}

.wheel-center-crown {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--text-ritual);
  color: #ffffff;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  z-index: 10;
  cursor: pointer;
  user-select: none;
}

.wheel-indicator {
  position: absolute;
  top: -12px;
  z-index: 11;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 24px solid var(--text-ritual);
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.roulette-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.roulette-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-ritual);
  margin: 0;
  text-transform: uppercase;
}

.roulette-desc {
  color: var(--text-ritual-muted);
  line-height: 1.7;
  margin: 0;
}

.roulette-status {
  padding: 1.2rem;
  border-radius: 12px;
  background: var(--bg-ritual-muted);
  border: 1px dashed #cccccc;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
}

.roulette-status__result {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-ritual);
}

.roulette-status__code {
  display: block;
  font-family: monospace;
  font-size: 1.3rem;
  color: var(--accent-ritual);
  margin-top: 0.4rem;
  font-weight: bold;
}

.btn-spin {
  padding: 1rem;
  background: var(--accent-ritual);
  color: #ffffff;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 99px;
  cursor: pointer;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.1);
  transition: all 0.3s ease;
}

.btn-spin:hover {
  background: #b91c1c;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.2);
  transform: translateY(-2px);
}

.btn-spin:disabled {
  background: #e0e0e0;
  color: #888;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   Live Same-Day Delivery Tracker (Light Theme Overrides)
   ============================================================ */
.tracker-card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--card-ritual);
  border: 1px solid var(--border-ritual);
  border-radius: 24px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
  color: var(--text-ritual);
}

@media (max-width: 868px) {
  .tracker-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem;
  }
}

.tracker-visual {
  position: relative;
  height: 200px;
  background: var(--bg-ritual-muted);
  border: 1px solid var(--border-ritual);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.01);
}

.tracker-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.01) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.tracker-route-svg {
  width: 100%;
  height: 100%;
  padding: 0 2rem;
}

.tracker-path-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 6;
  stroke-linecap: round;
}

.tracker-path-active {
  fill: none;
  stroke: var(--text-ritual);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}

.tracker-scooter {
  position: absolute;
  width: 32px;
  height: 32px;
  background: var(--text-ritual);
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: grid;
  place-items: center;
  font-size: 1rem;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.tracker-node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.tracker-node__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent-ritual);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.tracker-node[data-node="start"] .tracker-node__dot {
  border-color: var(--text-ritual);
}

.tracker-node__label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--text-ritual);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}

.tracker-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.tracker-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-ritual);
  margin: 0;
  text-transform: uppercase;
}

.tracker-telemetry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: var(--bg-ritual-muted);
  border: 1px solid var(--border-ritual);
  border-radius: 12px;
  padding: 1.2rem;
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.telemetry-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-ritual-muted);
  text-transform: uppercase;
}

.telemetry-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-ritual);
}

.telemetry-value--neon {
  color: var(--accent-ritual);
}

/* Scroll Reveal animations for ritual pages */
.section-ritual[data-reveal] {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-ritual[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
