/* ==================================================
   🌌 SUPREME SUPER MAX NAVBAR SYSTEM (RECONCILED + WORKING)
================================================== */

:root {
  --neon-cyan: #00ffff;
  --neon-pink: #ff00ff;
  --neon-violet: #9b00ff;
  --neon-gold: #ffd700;
}

/* ---------------- NAVBAR CORE ---------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 2rem;
  background: radial-gradient(
    circle at top,
    rgba(0,255,255,0.12),
    rgba(0,0,0,0.95) 60%
  );
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(255,255,255,0.15);
  box-shadow:
    0 0 30px var(--neon-cyan),
    0 0 70px var(--neon-pink),
    inset 0 0 40px rgba(255,255,255,0.05);
  z-index: 9999;

  display: flex;
  flex-direction: column;
  align-items: center;

  /* ✅ REQUIRED FOR DROPDOWN */
  overflow: visible;
}

/* 🌈 Animated Aura Sweep */
.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(0,255,255,0.15),
    rgba(255,0,255,0.15),
    transparent
  );
  animation: auraSweep 6s linear infinite;
  pointer-events: none;
}

@keyframes auraSweep {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ---------------- TOP ROW ---------------- */
.nav-inner-wrapper {
  width: 75%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10001;
}

/* ---------------- LOGO ---------------- */
.nav-left-logo {
  position: relative;
  transform: translate(-50px, 25px);
  transform-origin: center;
}

.nav-left-logo img.logo-spin-pulse {
  width: 105px;
  transform: scale(1.4);
  animation:
    supremeSpin 25s linear infinite,
    logoPulse 2.5s ease-in-out infinite,
    hueShift 6s linear infinite;
  filter:
    drop-shadow(0 0 20px var(--neon-cyan))
    drop-shadow(0 0 35px var(--neon-pink))
    drop-shadow(0 0 55px rgba(255,255,255,0.4));
}

/* ---------------- LOGO ANIMATIONS ---------------- */
@keyframes supremeSpin {
  0%   { transform: rotate(0deg) scale(1.4); }
  50%  { transform: rotate(180deg) scale(1.55); }
  100% { transform: rotate(360deg) scale(1.4); }
}

@keyframes logoPulse {
  0%,100% { filter: brightness(1); }
  50% { filter: brightness(1.25); }
}

@keyframes hueShift {
  from { filter: hue-rotate(0deg); }
  to   { filter: hue-rotate(360deg); }
}

/* 📱 Mobile logo size + position tweak */
@media (max-width: 768px) {

  /* move the LOGO CONTAINER (not the animation) */
  .nav-left-logo {
    transform: translate(-30px, 10px); /* ➡️ right | ⬆️ up */
  }

  .nav-left-logo img.logo-spin-pulse {
    width: 60px;
    transform: scale(1.15); /* keeps animation intact */
  }
}


/* ---------------- TITLE ---------------- */
.nav-title {
  flex: 1;
  text-align: center;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  animation:
    titlePulse 2.5s infinite ease-in-out,
    hueShift 8s linear infinite;
  text-shadow:
    0 0 15px var(--neon-cyan),
    0 0 35px var(--neon-pink),
    0 0 60px rgba(255,255,255,0.6);
}

@keyframes titlePulse {
  0%,100% {
    text-shadow: 0 0 15px var(--neon-cyan), 0 0 30px var(--neon-pink);
  }
  50% {
    text-shadow: 0 0 30px var(--neon-cyan), 0 0 60px var(--neon-pink);
  }
}

/* 📱 Mobile title alignment */
@media (max-width: 768px) {
  .nav-title {
    text-align: left;
    margin-left: 0px;
  }
}

.hamburger {
  display: none;
  font-size: 2.1rem;
  color: var(--neon-cyan);
  cursor: pointer;

  /* ⬅️ Move left safely */
  position: relative;
  left: -14px; /* adjust: -8px / -12px / -18px if needed */

  /* 🔵 Rounded top & bottom (pill shape) */
  padding: 0.55rem 0.9rem;
  border-radius: 999px;

  /* 🌈 Neon glass background */
  background:
    linear-gradient(
      135deg,
      rgba(0,255,255,0.22),
      rgba(255,0,255,0.22)
    );
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);

  /* ✨ Supreme glow */
  box-shadow:
    0 0 20px rgba(0,255,255,0.6),
    0 0 45px rgba(255,0,255,0.45),
    inset 0 0 18px rgba(255,255,255,0.18);

  animation:
    pulseGlow 2s infinite alternate,
    floatBurger 4s ease-in-out infinite;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;

  z-index: 10002;
}

/* 🌟 Floating micro-motion */
@keyframes floatBurger {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ✨ Glow pulse */
@keyframes pulseGlow {
  from {
    box-shadow:
      0 0 14px rgba(0,255,255,0.55),
      0 0 30px rgba(255,0,255,0.4),
      inset 0 0 14px rgba(255,255,255,0.15);
  }
  to {
    box-shadow:
      0 0 28px rgba(0,255,255,0.85),
      0 0 60px rgba(255,0,255,0.75),
      inset 0 0 22px rgba(255,255,255,0.3);
  }
}

/* 🔥 Active / Tap Feedback */
.hamburger:active {
  transform: scale(0.92);
  box-shadow:
    0 0 18px rgba(0,255,255,0.8),
    0 0 40px rgba(255,0,255,0.8),
    inset 0 0 25px rgba(255,255,255,0.35);
}

/* 📱 Mobile Only */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
}

/* ---------------- NAV TABS (DESKTOP) ---------------- */
.nav-tabs {
  display: flex;
  gap: 2rem;
  margin-top: 1.2rem;
  list-style: none;
  z-index: 10000;
}

.nav-tabs li {
  display: flex;
}

.nav-tabs li a {
  position: relative;
  padding: 0.7rem 1.4rem;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  border: 2px solid var(--neon-cyan);
  backdrop-filter: blur(6px);
  box-shadow:
    0 0 18px var(--neon-cyan),
    0 0 30px rgba(255,0,255,0.6);
  transition: all 0.35s ease;
  overflow: hidden;
}

/* ✨ Glitter Overlay */
.nav-tabs li a::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.7) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-tabs li a:hover::after {
  opacity: 0.45;
}

.nav-tabs li a:hover,
.nav-tabs li a.active {
  transform: scale(1.12);
  background: rgba(0,255,255,0.18);
  box-shadow:
    0 0 30px var(--neon-cyan),
    0 0 60px var(--neon-pink),
    inset 0 0 25px rgba(255,255,255,0.3);
}

/* ---------------- MOBILE DROPDOWN ---------------- */
@media (max-width: 768px) {

  .nav-inner-wrapper {
    width: 90%;
  }

  .hamburger {
    display: block;
    transform: translateX(-25px);
  }

  .nav-tabs {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 50%;
    padding: 2.2rem 0 2.2rem;
    background: rgba(0,0,0,0.97);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);

    /* 🔵 Fully rounded panel */
    border-radius: 28px;

    /* ✨ Supreme neon glow */
    box-shadow:
      0 0 25px rgba(0,255,255,0.35),
      0 0 45px rgba(255,0,255,0.25),
      inset 0 0 18px rgba(255,255,255,0.08);

    gap: 1.5rem;
    z-index: 9998;
  }

  .nav-tabs li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-tabs li a {
    width: 85%;
    text-align: center;
  }

  .nav-tabs.show-menu {
    display: flex;
  }
}

/* ==================================================
   🌌 BODY + CORE SECTIONS UPGRADE
================================================== */

body {
  padding-top: 260px;
  margin: 0;
  font-family: 'Orbitron', sans-serif;

  /* 🎬 Clean cinematic background */
  background: url('assets/background.png') center/cover fixed;
  background-color: #000;

  color: #ffffff;
}


/* ---------------- NEON BOX (CENTERED) ---------------- */
.neon-box {
  border-radius: 18px;
  padding: 2.5rem;
  margin: 3.5rem auto;
  max-width: 900px;
  background: rgba(0,0,0,0.65);

  /* ✅ Center EVERYTHING */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  animation: neonBreath 4s infinite ease-in-out;
  box-shadow:
    0 0 30px var(--neon-cyan),
    0 0 60px var(--neon-pink);
}

/* ==================================================
   🌟 SUPREME SUPER MAX — FEATURED BOOK (CENTERED)
================================================== */

.feature-book-container {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

/* Desktop layout */
@media (min-width: 768px) {
  .feature-book-container {
    flex-direction: row;
    align-items: center; /* ⬅️ was flex-start */
  }
}

/* ✨ Book Aura Field */
.feature-book-container::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(
    circle,
    rgba(0,255,255,0.18),
    rgba(255,0,255,0.15),
    transparent 70%
  );
  animation: auraPulse 5s infinite ease-in-out;
  pointer-events: none;
}

/* 📘 Book Cover */
.feature-book-img {
  max-width: 320px;
  border-radius: 18px;
  animation:
    floatBook 6s ease-in-out infinite,
    hueShift 10s linear infinite;
  box-shadow:
    0 0 30px #00ffff,
    0 0 60px #ff00ff,
    0 0 90px rgba(255,255,255,0.55);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.feature-book-img:hover {
  transform: scale(1.12) rotate(-1deg);
  box-shadow:
    0 0 45px #00ffff,
    0 0 90px #ff00ff,
    0 0 140px rgba(255,255,255,0.75);
}

/* 🌀 Float Animation */
@keyframes floatBook {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* 📝 Text Block — FULLY CENTERED */
.feature-book-text {
  max-width: 620px;
  margin: 0 auto;
  padding: 0.5rem 1.2rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  animation: fadeSlideUp 1s ease forwards;
}

/* 🎷 Title */
.feature-book-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
  animation: titlePulse 3s infinite ease-in-out;
}

/* 📄 Paragraphs */
.feature-book-text p {
  max-width: 560px;
  margin: 0 auto 1.2rem;
  text-align: center;
}



/* ==================================================
   🎮 SUPREME SUPER MAX — MEMORY MATCH GAME
================================================== */

.memory-game-section {
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
  padding: 4.5rem 1.5rem;
  animation: neonBreath 4s infinite ease-in-out;
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 22px;
  justify-content: center;
  margin-top: 2.5rem;
}

.memory-card {
  perspective: 1400px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.memory-card:hover {
  transform: scale(1.08);
}

.card-inner {
  position: relative;
  width: 110px;
  height: 110px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(.4,.2,.2,1);
}

.memory-card.flipped .card-inner {
  transform: rotateY(180deg) scale(1.05);
}

/* ✨ Card Faces */
.card-front,
.card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  background: rgba(0,0,0,0.65);
  animation: sparkle 3s linear infinite;
  box-shadow:
    0 0 18px #00ffff,
    0 0 35px #ff00ff;
}

@keyframes sparkle {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
  100% { filter: brightness(1); }
}

.card-front-img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 10px #00ffff)
    drop-shadow(0 0 20px #ff00ff);
}

.card-back {
  background: radial-gradient(circle,
    rgba(0,255,255,0.25),
    rgba(0,0,0,0.9));
  transform: rotateY(180deg);
}

/* 🎉 Win Overlay */
.win-popup {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  background: radial-gradient(circle,
    rgba(0,255,255,0.25),
    rgba(0,0,0,0.95));
  z-index: 9999;
}

.win-box {
  padding: 2.5rem 3.5rem;
  border-radius: 24px;
  animation:
    popWin 0.6s ease forwards,
    hueShift 6s linear infinite;
  box-shadow:
    0 0 40px #00ffff,
    0 0 80px #ff00ff;
}

@keyframes popWin {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}


/* ==================================================
   🎁 SUPREME SUPER MAX — PROMO BOXES (3-UP GRID)
================================================== */

.promo-boxes {
  padding: 4rem 1.5rem 5rem; /* ⬆️ more breathing room */
  text-align: center;
}

/* 🔲 GRID LAYOUT */
.promo-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4.8rem;              /* ⬅️ CLEAR GAP ON MOBILE */
  justify-items: center;
}

/* 🖥️ Desktop: 3 cards per row */
@media (min-width: 900px) {
  .promo-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 5.5rem;     /* ⬅️ LEFT ↔ RIGHT SPACE */
    row-gap: 5.2rem;        /* ⬅️ TOP ↕ BOTTOM SPACE */
    max-width: 1280px;      /* ⬅️ wider grid = more separation */
    margin: 0 auto;
  }
}

/* 🧱 PROMO CARD */
.promo-card {
  background: rgba(0, 0, 0, 0.75);
  padding: 1.8rem 1.6rem;
  border-radius: 18px;

  width: 100%;
  max-width: 360px;

  animation: neonBreath 5s infinite ease-in-out;
  transition: transform 0.35s ease, box-shadow 0.35s ease;

  box-shadow:
    0 0 20px #00ffff,
    0 0 40px #ff00ff;
}

/* ✨ Hover Lift */
.promo-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow:
    0 0 28px #00ffff,
    0 0 55px #ff00ff;
}

/* 🔘 ACTION ROW */
.promo-action {
  margin-top: 1.4rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* 🌀 LOGO */
.promo-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;

  animation:
    rotateLogo 7s linear infinite,
    logoPulse 2.2s ease-in-out infinite,
    hueShift 8s linear infinite;

  filter:
    drop-shadow(0 0 10px #00ffff)
    drop-shadow(0 0 18px #ff00ff);
}

/* ==================================================
   ✉️ SUPREME SUPER MAX — CONTACT FORM
================================================== */

.contact-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: neonBreath 4s infinite ease-in-out;
}

/* Form wrapper */
.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Inputs & Textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 520px;
  padding: 1.2rem;
  margin: 1.1rem 0;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1rem;
  text-align: center;
  border: 1px solid rgba(0,255,255,0.4);
  box-shadow:
    0 0 15px #00ffff,
    inset 0 0 12px rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

/* Focus glow */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  transform: scale(1.03);
  box-shadow:
    0 0 30px #00ffff,
    0 0 60px #ff00ff;
}

/* Textarea specifics */
.contact-form textarea {
  resize: none;
  min-height: 160px;
}

/* Submit Button (if present) */
.contact-form button,
.contact-form .neon-button {
  margin-top: 1.8rem;
  align-self: center;
}

/* Success Popup */
.popup-message {
  margin-top: 2.2rem;
  padding: 1.2rem 2rem;
  border-radius: 16px;
  text-align: center;
  max-width: 520px;
  animation: popWin 0.5s ease forwards;
  box-shadow:
    0 0 30px #00ffff,
    0 0 60px #ff00ff;
}

/* 📱 Mobile polish */
@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 1.5rem;
  }

  .contact-form input,
  .contact-form textarea {
    max-width: 100%;
  }
}
/* ==================================================
   🛍️ SUPREME SUPER MAX — MERCH (CENTERED)
================================================== */

.merch-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem;

  /* ✅ Center ALL content */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  animation: neonBreath 4s infinite ease-in-out;
}

/* 📦 Coming Soon Box */
.coming-soon-box {
  margin-top: 2.5rem;
  padding: 2.5rem;
  border-radius: 24px;

  /* ✅ Center content */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  animation: auraPulse 5s infinite ease-in-out;
  box-shadow:
    0 0 40px #00ffff,
    0 0 80px #ff00ff;
}

/* 📣 Follow Callout */
.follow-callout {
  margin-top: 3.2rem;
  padding: 1.8rem;
  border-radius: 18px;

  /* ✅ Center content */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  animation: neonBreath 4s infinite ease-in-out;
}



/* ==================================================
   🌈 SHARED ANIMATIONS
================================================== */

@keyframes auraPulse {
  0%,100% { opacity: 0.7; }
  50% { opacity: 1; }
}

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

@keyframes neonBreath {
  0%,100% {
    box-shadow: 0 0 30px #00ffff, 0 0 60px #ff00ff;
  }
  50% {
    box-shadow: 0 0 50px #00ffff, 0 0 100px #ff00ff;
  }
}

@keyframes hueShift {
  from { filter: hue-rotate(0deg); }
  to { filter: hue-rotate(360deg); }
}


/* ==================================================
   📘 SUPREME SUPER MAX — BOOK SECTION
================================================== */

.book-section {
  text-align: center;
  max-width: 900px;
  margin: auto;
  padding: 4rem 2.5rem;
  position: relative;
  animation: neonBreath 4.5s infinite ease-in-out;
}

/* 🌈 Aura Halo */
.book-section::before {
  content: "";
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle,
    rgba(0,255,255,0.18),
    rgba(255,0,255,0.12),
    transparent 70%);
  pointer-events: none;
  animation: auraPulse 6s infinite ease-in-out;
}

.book-cover {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 2rem;
  border-radius: 20px;
  animation:
    floatBook 6s ease-in-out infinite,
    hueShift 10s linear infinite;
  box-shadow:
    0 0 40px #00ffff,
    0 0 80px #ff00ff,
    0 0 120px rgba(255,255,255,0.6);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.book-cover:hover {
  transform: scale(1.15) rotate(-2deg);
  box-shadow:
    0 0 60px #00ffff,
    0 0 120px #ff00ff,
    0 0 180px rgba(255,255,255,0.8);
}

@keyframes floatBook {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------------- TEXT ---------------- */
.book-section h3,
.book-section p,
.book-section .neon-paragraph {
  text-align: center;
  animation: fadeSlideUp 1s ease forwards;
}

.book-section ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.book-section ul li {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  line-height: 1.7;
  text-shadow: 0 0 8px rgba(0,255,255,0.7);
}

.book-section ul ul li {
  font-style: italic;
  color: #ffffffcc;
}

/* ==================================================
   🔘 SUPREME SUPER MAX — NEON BUTTON
================================================== */

.neon-button {
  position: relative;
  padding: 0.85rem 1.8rem;
  margin-top: 1.4rem;
  border-radius: 14px;
  border: 2px solid #00ffff;
  font-weight: bold;
  color: #fff;
  background: rgba(0,0,0,0.4);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  overflow: hidden;
  animation: neonBreath 3s infinite ease-in-out;
  box-shadow:
    0 0 18px #00ffff,
    0 0 36px #ff00ff;
  transition: transform 0.35s ease;
}

/* ✨ Glitter Sweep */
.neon-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.5),
    transparent
  );
  transform: translateX(-120%);
}

.neon-button:hover::before {
  animation: glitterSweep 0.9s ease forwards;
}

@keyframes glitterSweep {
  to { transform: translateX(120%); }
}

.neon-button:hover {
  transform: scale(1.12);
  box-shadow:
    0 0 40px #00ffff,
    0 0 80px #ff00ff;
}

/* ==================================================
   🎮 SUPREME SUPER MAX — MEMORY GAME
================================================== */

.memory-game-section.neon-box {
  max-width: 900px;
  padding: 3.8rem 2.5rem;
  margin-top: 3.5rem;
  border-radius: 20px;
  animation: neonBreath 4s infinite ease-in-out;
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, 110px);
  gap: 22px;
  justify-content: center;
  margin-top: 2.5rem;
}

.memory-card {
  perspective: 1400px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.memory-card:hover {
  transform: scale(1.1);
}

.card-inner {
  width: 110px;
  height: 110px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(.4,.2,.2,1);
}

.memory-card.flipped .card-inner {
  transform: rotateY(180deg) scale(1.06);
}

.card-front,
.card-back {
  inset: 0;
  border-radius: 16px;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  animation: sparkle 3s infinite linear;
  box-shadow:
    0 0 22px #00ffff,
    0 0 45px #ff00ff;
}

.card-front-img {
  width: 78%;
  height: 78%;
  filter:
    drop-shadow(0 0 12px #00ffff)
    drop-shadow(0 0 24px #ff00ff);
}

.card-back {
  background: radial-gradient(circle,
    rgba(0,255,255,0.35),
    rgba(0,0,0,0.95));
  transform: rotateY(180deg);
}

/* 🎉 WIN POPUP */
.win-popup {
  background: radial-gradient(circle,
    rgba(0,255,255,0.3),
    rgba(0,0,0,0.95));
}

.win-box {
  animation:
    popWin 0.6s ease forwards,
    hueShift 6s linear infinite;
  box-shadow:
    0 0 50px #00ffff,
    0 0 100px #ff00ff;
}

/* ==================================================
   🌠 CANVAS
================================================== */

canvas#stars-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ==================================================
   🌈 SHARED ANIMATIONS
================================================== */

@keyframes auraPulse {
  0%,100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes sparkle {
  0%,100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}

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

@keyframes neonBreath {
  0%,100% {
    box-shadow: 0 0 40px #00ffff, 0 0 80px #ff00ff;
  }
  50% {
    box-shadow: 0 0 70px #00ffff, 0 0 140px #ff00ff;
  }
}

@keyframes hueShift {
  from { filter: hue-rotate(0deg); }
  to { filter: hue-rotate(360deg); }
}

@keyframes supremeGlow {
  0%,100% {
    filter:
      drop-shadow(0 0 20px #00ffff)
      drop-shadow(0 0 35px #ff00ff);
  }
  50% {
    filter:
      drop-shadow(0 0 35px #00ffff)
      drop-shadow(0 0 60px #ff00ff);
  }
}

@keyframes floatSax {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}


/* ==================================================
   🎥 SUPREME SUPER MAX — CHEF VIDEO SECTION
================================================== */

.chef-video-section {
  position: relative;
  margin: 4rem auto;
  padding: 2.5rem;
  max-width: 860px;
  border-radius: 26px;

  /* 🎬 Clean cinematic background */
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);

  /* ❌ Removed neon animations */
  animation: none;

  /* ❌ Removed neon glow */
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.65),
    inset 0 0 20px rgba(255, 255, 255, 0.05);

  overflow: hidden;
}


/* ✨ Shimmer Ring */
.chef-video-section::before {
  content: "";
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255,255,255,0.45),
    transparent);
  animation: shimmerSpin 10s linear infinite;
  pointer-events: none;
}

@keyframes shimmerSpin {
  to { transform: rotate(360deg); }
}

/* ---------------- VIDEO WRAPPER ---------------- */
.video-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  animation: floatSoft 6s ease-in-out infinite;
  box-shadow:
    0 0 30px #00ffff,
    0 0 60px #ff00ff,
    0 0 100px rgba(255,255,255,0.6);
}

/* ✨ Spotlight Overlay */
.video-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
    rgba(255,255,255,0.25),
    transparent 60%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

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

.chef-melody-video {
  width: 100%;
  height: auto;
  border-radius: 20px;
  filter:
    brightness(1.15)
    contrast(1.25)
    drop-shadow(0 0 25px #00ffff);
  transition: transform 0.5s ease;
}

.chef-melody-video:hover {
  transform: scale(1.03);
}


/* ==================================================
   🎷 SUPREME SUPER MAX — JAREZ FLOATING VISUAL
================================================== */

.jarez-right {
  position: fixed;
  right: -20px;
  bottom: -45px;
  width: 360px;
  opacity: 0.45;
  z-index: 1;
  pointer-events: none;
  animation:
    supremeGlow 4s infinite ease-in-out,
    floatSax 6s infinite ease-in-out,
    hueShift 16s linear infinite;
  filter:
    drop-shadow(0 0 50px #00ffff)
    drop-shadow(0 0 75px #ff00ff)
    drop-shadow(0 0 99px rgba(255,255,255,0.7));
}
/* 📱 Hide Jarez Floating Visual on Mobile */
@media (max-width: 768px) {
  .jarez-right {
    display: none !important;
  }
}


/* ==================================================
   🧱 SUPREME SUPER MAX — FOOTER
================================================== */

footer {
  position: relative;
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
  background:
    radial-gradient(circle at top,
      rgba(0,255,255,0.15),
      rgba(0,0,0,0.95));
  font-size: 0.95rem;
  color: #eee;
  margin-top: 5rem;
  border-top: 2px solid rgba(255,255,255,0.15);
  animation: neonBreath 5s infinite ease-in-out;
}

/* ✨ Footer Glow Line */
footer::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #00ffff,
    #ff00ff,
    transparent);
  animation: glowSweep 6s linear infinite;
}

@keyframes glowSweep {
  to { background-position: 200% 0; }
}

footer a {
  color: #77eaff;
  text-decoration: none;
  margin: 0 0.6rem;
  position: relative;
}

footer a:hover {
  text-shadow:
    0 0 15px #00ffff,
    0 0 30px #ff00ff;
}


/* ==================================================
   🌐 SUPREME SUPER MAX — SOCIAL ICONS
================================================== */

.social-icons {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  animation: fadeIn 1s ease-in-out;
}

.social-icons a {
  width: 64px;
  height: 64px;
  font-size: 1.9rem;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: radial-gradient(circle,
    rgba(0,255,255,0.55),
    rgba(255,0,255,0.35));
  border: 2px solid rgba(0,255,255,0.7);
  animation:
    pulseSoft 3s infinite ease-in-out,
    hueShift 10s linear infinite;
  box-shadow:
    0 0 20px #00ffff,
    0 0 40px #ff00ff,
    inset 0 0 12px rgba(255,255,255,0.25);
  transition: transform 0.35s ease;
}

.social-icons a:hover {
  transform: scale(1.25) rotate(6deg);
  box-shadow:
    0 0 35px #00ffff,
    0 0 70px #ff00ff;
}

@keyframes pulseSoft {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* ==================================================
   📱 MOBILE POLISH
================================================== */

@media (max-width: 768px) {
  .jarez-right {
    opacity: 0.45 !important;
    bottom: -320px !important;
  }

  .social-icons a {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }
}


/* ==================================================
   🌈 SHARED KEYFRAMES
================================================== */

@keyframes supremeGlow {
  0%,100% {
    filter:
      drop-shadow(0 0 20px #00ffff)
      drop-shadow(0 0 40px #ff00ff);
  }
  50% {
    filter:
      drop-shadow(0 0 35px #00ffff)
      drop-shadow(0 0 70px #ff00ff);
  }
}

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

@keyframes neonBreath {
  0%,100% {
    box-shadow: 0 0 35px #00ffff, 0 0 70px #ff00ff;
  }
  50% {
    box-shadow: 0 0 60px #00ffff, 0 0 120px #ff00ff;
  }
}

@keyframes hueShift {
  from { filter: hue-rotate(0deg); }
  to { filter: hue-rotate(360deg); }
}


/* ==================================================
   🎮 MEMORY GAME — MOBILE GOD FIX
================================================== */

@media (max-width: 768px) {
  .memory-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 1.2rem;
    max-width: 100%;
  }

  .memory-card {
    width: 82px;
    height: 82px;
  }

  .card-inner {
    width: 100%;
    height: 100%;
  }

  .card-front-img {
    width: 72%;
    height: 72%;
  }

  .memory-game-section.neon-box {
    padding: 2.2rem 1.2rem;
    margin: 2.5rem 1rem;
  }
}

/* ==================================================
   ❓ FAQ BUTTON — SUPREME SUPER MAX CTA
================================================== */

.faq-cta {
  text-align: center;
  margin: 5rem auto 3rem;
  position: relative;
}

/* ✨ Halo Ring */
.faq-cta::before {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0,255,255,0.35),
    transparent 70%);
  animation: pulseHalo 3.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes pulseHalo {
  0%,100% { opacity: 0.35; transform: scale(1); }
  50%     { opacity: 0.7; transform: scale(1.1); }
}

/* 🚀 Button Core */
.faq-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  font-size: 1.3rem;
  font-weight: 800;
  font-family: 'Orbitron', sans-serif;
  color: #ffffff;
  text-decoration: none;
  border-radius: 16px;
  border: 2px solid #00ffff;
  background:
    linear-gradient(135deg,
      rgba(0,255,255,0.25),
      rgba(255,0,255,0.25));
  animation:
    pulseGlow 2.5s infinite ease-in-out,
    hueShift 12s linear infinite;
  box-shadow:
    0 0 30px #00ffff,
    0 0 60px #ff00ff,
    inset 0 0 20px rgba(255,255,255,0.35);
  text-shadow:
    0 0 12px #00ffff,
    0 0 24px #ff00ff;
  transition: all 0.35s ease;
}

/* 🔥 Hover / Focus */
.faq-button:hover {
  transform: scale(1.12) rotate(-1deg);
  background:
    linear-gradient(135deg,
      rgba(0,255,255,0.55),
      rgba(255,0,255,0.55));
  box-shadow:
    0 0 50px #00ffff,
    0 0 100px #ff00ff,
    inset 0 0 30px rgba(255,255,255,0.6);
  text-shadow:
    0 0 20px #ffffff,
    0 0 40px #ffffff;
}

/* 📱 Mobile CTA Polish */
@media (max-width: 768px) {
  .faq-button {
    width: 92%;
    font-size: 1.15rem;
    padding: 1.1rem 1.6rem;
  }
}
/* 📱 Mobile CTA — centered & smaller ONLY */
@media (max-width: 768px) {

  .faq-cta {
    margin: 3.5rem auto 2.5rem;
    text-align: center;
  }

  /* Reduce halo size on mobile */
  .faq-cta::before {
    inset: -14px;
    opacity: 0.4;
  }

  .faq-button {
    display: block;          /* ✅ forces true centering */
    margin: 0 auto;          /* ✅ centers horizontally */
    width: 88%;              /* 🔽 slightly smaller */
    max-width: 320px;        /* prevents oversized button */
    font-size: 1.05rem;      /* 🔽 smaller text */
    padding: 1rem 1.4rem;    /* 🔽 tighter padding */
    border-radius: 14px;
  }

  .faq-button:hover {
    transform: scale(1.05);  /* less aggressive on mobile */
  }
}

/* ==================================================
   ❓ FAQ ICON + TEXT — SUPREME MAX (DARK LUXURY)
================================================== */

/* 🌀 ICON CORE */
.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;
  margin-right: 0.85rem;

  font-size: 1.4rem;
  border-radius: 14px;

  /* 🖤 DARK NEON GLASS */
  background: linear-gradient(
    135deg,
    rgba(0, 35, 45, 0.95),
    rgba(35, 0, 45, 0.95)
  );

  box-shadow:
    0 0 14px rgba(0,255,255,0.55),
    0 0 28px rgba(255,0,255,0.45),
    inset 0 0 18px rgba(0,0,0,0.65);

  text-shadow:
    0 0 8px rgba(255,255,255,0.85);

  animation:
    faqIconFloat 3.8s ease-in-out infinite,
    hueShift 12s linear infinite;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

/* ✨ Icon Hover Boost */
.faq-question:hover .faq-icon {
  transform: scale(1.18) rotate(-4deg);

  background: linear-gradient(
    135deg,
    rgba(0, 75, 95, 0.95),
    rgba(95, 0, 105, 0.95)
  );

  box-shadow:
    0 0 28px rgba(0,255,255,0.9),
    0 0 55px rgba(255,0,255,0.85),
    inset 0 0 22px rgba(0,0,0,0.75);
}

/* 🪐 Floating Motion */
@keyframes faqIconFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ==================================================
   ✨ FAQ TEXT — DARK LUXURY NEON TYPOGRAPHY
================================================== */

.faq-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.45px;
  font-family: 'Orbitron', sans-serif;

  color: #000000;

  text-shadow:
    0 0 8px rgba(0,255,255,0.65),
    0 0 18px rgba(255,0,255,0.55);

  position: relative;

  animation: textGlowPulse 3.5s infinite ease-in-out;

  transition:
    letter-spacing 0.3s ease,
    text-shadow 0.3s ease;
}

/* 🔥 Text Hover */
.faq-question:hover .faq-text {
  letter-spacing: 0.9px;

  text-shadow:
    0 0 16px rgba(255,255,255,0.95),
    0 0 36px rgba(255,255,255,0.85);
}

/* 🌈 Glow Pulse */
@keyframes textGlowPulse {
  0%,100% {
    text-shadow:
      0 0 8px rgba(0,255,255,0.65),
      0 0 18px rgba(255,0,255,0.55);
  }
  50% {
    text-shadow:
      0 0 16px rgba(0,255,255,0.9),
      0 0 36px rgba(255,0,255,0.85);
  }
}

/* 📱 MOBILE POLISH */
@media (max-width: 768px) {
  .faq-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .faq-text {
    font-size: 1.05rem;
  }
}

/* ==================================================
   ✨ SHARED ANIMATIONS
================================================== */

@keyframes pulseGlow {
  0%,100% {
    box-shadow:
      0 0 20px #00ffff,
      0 0 40px #ff00ff;
  }
  50% {
    box-shadow:
      0 0 45px #00ffff,
      0 0 90px #ff00ff;
  }
}
/* ============================================================
   🚗🎷 SMOOTH JAZZ CHEF — FLYING CAR ANIMATION
   ============================================================ */

.flying-car {
  position: fixed;
  bottom: -25px;            /* ⬆️ Raise/lower flight path */
  left: -500px;             /* Start fully off-screen */
  width: 320px;             /* 🚗 Car size */
  z-index: 9999;
  pointer-events: none;

  /* ✨ Supreme Neon Glow */
  filter:
    drop-shadow(0 0 18px #00ffff)
    drop-shadow(0 0 35px #ff00ff)
    drop-shadow(0 0 60px rgba(255,255,255,0.6));

  opacity: 1;

  /* 🚀 Smooth horizontal cruise */
  animation: smoothJazzCruise 26s linear infinite;
}

/* 🚀 LEFT ➜ RIGHT LOOP */
@keyframes smoothJazzCruise {
  0% {
    left: -550px;
  }
  100% {
    left: calc(100vw + 550px);
  }
}
/* 📱 Mobile-only: shrink flying car */
@media (max-width: 768px) {
  .flying-car {
    width: 200px;          /* ⬇️ smaller car */
    bottom: -15px;         /* ⬆️ adjust flight path for size */
    
    /* Optional: slightly softer glow on mobile */
    filter:
      drop-shadow(0 0 12px #00ffff)
      drop-shadow(0 0 22px #ff00ff)
      drop-shadow(0 0 35px rgba(255,255,255,0.5));
  }
}
