    @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@400;600&display=swap');

    :root {
      --choco-dark: #1a0b2e;
      /* тёмный фиолет */
      --choco-mid: #311044;
      /* глубокий мистический */
      --choco-light: #a974ff;
      /* сияющий лиловый */
      --gold: #f5e77a;
      /* магическое золото */
      --cream: #fefbf3;
      /* мягкий светлый */
      --muted: #8c78a5;
      /* приглушённый фиолетово-серый */
      --radius: 18px;
      --max-width: 1100px;
    }

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

    body {
      font-family: 'Inter', sans-serif;
      background: radial-gradient(circle at 30% 30%, var(--choco-light), var(--choco-mid), var(--choco-dark));
      background-attachment: fixed;
      color: var(--cream);
      line-height: 1.6;
      overflow-x: hidden;
      position: relative;
    }

    /* Звёздный слой */
    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('https://www.transparenttextures.com/patterns/stardust.png');
      opacity: 0.4;
      pointer-events: none;
      animation: twinkle 6s infinite alternate;
      transition: background 0.5s;
    }
    #userName {
      color: var(--gold);
      font-weight: bold;
      text-shadow: 0 0 6px rgba(245, 231, 122, 0.6);
    }

    #datetime {
      font-size: 22px;
      font-family: 'Playfair Display', serif;
      letter-spacing: 1.5px;
      animation: glowFadeIn 1.6s ease-in-out both;
      background: linear-gradient(90deg, #fbe9a6, #fff6d0, #fbe9a6);
      background: linear-gradient(90deg, var(--gold), #c29fff);
      color: #2a0d1c;
      border: none;
      padding: 12px 20px;
      border-radius: var(--radius);
      display: inline-block;
      margin-top: 20px;
    }

    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 20px;
    }

    /* HEADER */
    header {
      background: rgba(35, 19, 50, 0.7);
      backdrop-filter: blur(8px);
      border-bottom: 2px solid var(--gold);
      position: sticky;
      top: 0;
      z-index: 10;
      animation: slideDown 0.7s ease-out;
    }

    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 0;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 800;
      font-family: 'Playfair Display', serif;
      color: var(--gold);
      text-shadow: 0 0 12px rgba(245, 231, 122, 0.7);
    }

    .logo-circle {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: radial-gradient(circle at 30% 30%, #fff8dc, var(--gold));
      display: grid;
      place-items: center;
      font-weight: 900;
      color: var(--choco-dark);
      box-shadow: 0 0 12px rgba(245, 231, 122, 0.8);
      animation: pulse 2.8s infinite;
    }

    .menu {
      display: flex;
      gap: 18px;
    }

    .menu a {
      text-decoration: none;
      color: var(--cream);
      font-weight: 600;
      padding: 6px 12px;
      border-radius: var(--radius);
      position: relative;
      transition: all 0.3s ease;
    }

    .menu a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 100%;
      height: 2px;
      background: var(--gold);
      transform: scaleX(0);
      transition: transform 0.3s ease;
    }

    .menu a:hover::after {
      transform: scaleX(1);
    }

    /* HERO */
    .hero {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      gap: 30px;
      padding: 60px 0;
    }

    .hero h2 {
      font-size: clamp(28px, 4vw, 46px);
      font-family: 'Playfair Display', serif;
      color: var(--gold);
      text-shadow: 0 0 10px rgba(245, 231, 122, 0.7);
      animation: fadeInUp 1s ease both;
    }

    .hero p {
      margin-top: 12px;
      color: var(--cream);
      animation: fadeInUp 1.4s ease both;
    }

    .btn {
      background: linear-gradient(90deg, var(--gold), #c29fff);
      color: #2a0d1c;
      border: none;
      padding: 12px 20px;
      border-radius: var(--radius);
      font-weight: 700;
      cursor: pointer;
      display: inline-block;
      margin-top: 20px;
      text-decoration: none;
      transition: all 0.3s ease;
      animation: fadeInUp 1.8s ease both;
      box-shadow: 0 0 12px rgba(245, 231, 122, 0.6), 0 0 25px rgba(162, 116, 255, 0.4);
    }

    .btn:hover {
      transform: scale(1.08) rotate(-1deg);
      box-shadow: 0 0 20px rgba(245, 231, 122, 0.9), 0 0 35px rgba(162, 116, 255, 0.6);
    }

    .ticket {
      margin-top: 28px;
      border-radius: var(--radius);
      overflow: hidden;
      position: relative;
      animation: float 3s ease-in-out infinite;
    }

    .ticket img {
      width: 100%;
      display: block;
    }

    .ticket::after {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.6) 40%, transparent 60%);
      animation: shimmer 3s infinite;
    }

    .hero img {
      width: 100%;
      border-radius: var(--radius);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
      animation: fadeIn 1.5s ease both;
    }

    /* GRID SECTION */
    .grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      /* карточки слева, магазин справа */
      gap: 30px;
      /* немного больше воздуха */
      margin-top: 50px;
      align-items: start;
      /* чтобы блоки выравнивались сверху */
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
    }

    /* КАРТОЧКИ */
    .card img {
      display: block;
      margin: 0 auto 12px;
      /* центрируем */
      max-width: 120px;
      /* чуть меньше, чтобы смотрелось легко */
      height: auto;
    }

    .card {
      text-align: center;
      background: rgba(49, 16, 68, 0.7);
      backdrop-filter: blur(6px);
      border: 1px solid rgba(245, 231, 122, 0.4);
      padding: 20px;
      border-radius: var(--radius);
      box-shadow: 0 0 15px rgba(162, 116, 255, 0.2);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      min-height: 280px;
      /* одинаковая высота */
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .card:hover {
      transform: translateY(-8px) scale(1.03);
      box-shadow: 0 0 25px rgba(162, 116, 255, 0.5), 0 0 40px rgba(245, 231, 122, 0.6);
    }

    .card h3 {
      margin-bottom: 8px;
      color: var(--gold);
      text-shadow: 0 0 6px rgba(245, 231, 122, 0.6);
    }

    /* SHOP */
    .shop {
      background: rgba(49, 16, 68, 0.7);
      backdrop-filter: blur(6px);
      border: 1px solid rgba(245, 231, 122, 0.4);
      padding: 20px;
      border-radius: var(--radius);
      box-shadow: 0 0 15px rgba(162, 116, 255, 0.2);
    }

    .shop h3 {
      font-size: clamp(28px, 4vw, 20px);
      font-family: 'Playfair Display', serif;
      color: var(--gold);
      text-shadow: 0 0 10px rgba(245, 231, 122, 0.7);
      animation: fadeInUp 1s ease both;
    }

    .product-card {
      margin: 0.7rem;
      padding: 1rem 1.2rem;
      border-radius: 14px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.08));
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--cream);
      display: inline-block;
      text-align: center;
      transition: all 0.4s ease;
      cursor: pointer;
    }

    .product-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    .product-card img {
      width: 100px;
      height: 100px;
      border-radius: 12px;
      object-fit: cover;
      margin-bottom: 0.5rem;
    }

    .product-card.hide {
      opacity: 0;
      transform: scale(0.9);
      display: none;
    }


    .shop-item {
      display: flex;
      gap: 14px;
      margin-bottom: 16px;
      background: var(--cream);
      border-radius: var(--radius);
      padding: 12px;
      align-items: center;
      transition: transform 0.3s ease;
      color: var(--choco-dark);
    }

    .shop-item:hover {
      transform: scale(1.03);
    }

    .shop-item img {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
    }

    .shop-item .price {
      font-weight: 700;
      color: var(--choco-dark);
      margin-top: 6px;
      font-size: 0.95rem;
    }



    /* GALLERY SECTION */
    .gallery-section {
      margin-top: 60px;
      padding: 30px;
      background: rgba(49, 16, 68, 0.6);
      border-radius: var(--radius);
      box-shadow: 0 0 15px rgba(162, 116, 255, 0.2);
    }

    .gallery-section h2 {
      text-align: center;
      margin-bottom: 20px;
      color: var(--gold);
      text-shadow: 0 0 6px rgba(245, 231, 122, 0.6);
    }

    /* Grid layout */
    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
    }

    /* Items */
    .gallery-item {
      position: relative;
      overflow: hidden;
      border-radius: var(--radius);
      box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
      cursor: pointer;
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
    }

    .gallery-item:hover img {
      transform: scale(1.1);
    }

    /* Caption overlay */
    .gallery-item .caption {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(0, 0, 0, 0.6);
      color: #fff;
      padding: 8px;
      text-align: center;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .gallery-item:hover .caption {
      opacity: 1;
    }

    /* FOOTER */
    footer {
      margin-top: 60px;
      padding: 20px;
      text-align: center;
      font-size: 14px;
      color: var(--cream);
      border-top: 1px solid rgba(255, 255, 255, 0.2);
      animation: fadeIn 2s ease;
    }

    /* BACKGROUND ANIMATION — bubbles */
    .bubbles span {
      position: absolute;
      bottom: -50px;
      background: rgba(255, 255, 255, 0.25);
      border-radius: 50%;
      animation: rise 12s infinite ease-in;
    }

    .bubbles span:nth-child(1) {
      left: 10%;
      width: 20px;
      height: 20px;
      animation-duration: 9s;
    }

    .bubbles span:nth-child(2) {
      left: 25%;
      width: 14px;
      height: 14px;
      animation-duration: 7s;
    }

    .bubbles span:nth-child(3) {
      left: 40%;
      width: 18px;
      height: 18px;
      animation-duration: 12s;
    }

    .bubbles span:nth-child(4) {
      left: 60%;
      width: 26px;
      height: 26px;
      animation-duration: 10s;
    }

    .bubbles span:nth-child(5) {
      left: 80%;
      width: 16px;
      height: 16px;
      animation-duration: 8s;
    }

    /* MAGIC SPARKLES */
    .sparkle {
      position: absolute;
      width: 4px;
      height: 4px;
      background: var(--gold);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--gold);
      animation: sparkleAnim 6s infinite ease-in-out;
    }

    .sparkle:nth-child(1) {
      left: 20%;
      top: 30%;
      animation-delay: 2s;
    }

    .sparkle:nth-child(2) {
      left: 70%;
      top: 60%;
      animation-delay: 4s;
    }

    .sparkle:nth-child(3) {
      left: 50%;
      top: 80%;
      animation-delay: 1s;
    }

    .sparkle:nth-child(4) {
      left: 85%;
      top: 20%;
      animation-delay: 3s;
    }

    .container2 {

      max-width: 1000px;
      background: rgba(75, 39, 95, 0.8);
      backdrop-filter: blur(8px);
      padding: 40px;
      border-radius: 18px;
      border: 1px solid rgba(245, 231, 122, 0.4);
      box-shadow: 0 0 25px rgba(162, 116, 255, 0.4), 0 0 45px rgba(245, 231, 122, 0.3);
      text-align: center;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .container2:hover {
      transform: scale(1.02);
      box-shadow: 0 0 35px rgba(162, 116, 255, 0.6), 0 0 60px rgba(245, 231, 122, 0.5);
    }

    h2 {
      font-family: 'Playfair Display', serif;
      font-size: 32px;
      margin-bottom: 20px;
      color: #cec686;
      text-shadow: 0 0 12px rgba(245, 231, 122, 0.8), 0 0 25px rgba(162, 116, 255, 0.6);
    }

    label {
      font-weight: 600;
      display: block;
      text-align: left;
      margin-top: 15px;
      color: #e0d3f7;
    }

    input,
    select {
      width: 100%;
      padding: 12px;
      margin-top: 6px;
      border: 1px solid rgba(245, 231, 122, 0.4);
      border-radius: 12px;
      font-size: 16px;
      background: rgba(255, 255, 255, 0.08);
      color: #17140e;
      transition: all 0.3s ease;
    }

    input:focus,
    select:focus {
      border-color: #f5e77a;
      outline: none;
      box-shadow: 0 0 12px rgba(245, 231, 122, 0.6), 0 0 20px rgba(162, 116, 255, 0.5);
    }

    button {
      margin-top: 25px;
      padding: 14px;
      width: 100%;
      background: linear-gradient(90deg, #f5e77a, #c29fff);
      color: #2a0d1c;
      border: none;
      border-radius: 12px;
      font-size: 20px;
      font-weight: 600;
      cursor: pointer;
      box-shadow: 0 0 12px rgba(245, 231, 122, 0.6), 0 0 20px rgba(162, 116, 255, 0.5);
      transition: all 0.3s ease;
    }

    button:hover {
      transform: scale(1.08) rotate(-1deg);
      box-shadow: 0 0 20px rgba(245, 231, 122, 0.9), 0 0 35px rgba(162, 116, 255, 0.6);
    }

    .form-step {
      display: none;
    }

    .form-step.active {
      display: block;
    }

    .buttons {
      display: flex;
      justify-content: space-between;
      margin-top: 15px;
    }

    .hidden {
      display: none;
      text-align: center;
      margin-top: 20px;
      font-size: 1.2rem;
      color: #f5e77a;
    }

    .accordion {
      max-width: 700px;
      margin: 60px auto;
      background: rgba(49, 16, 68, 0.85);
      backdrop-filter: blur(12px);
      padding: 40px 60px;
      border-radius: 20px;
      border: 1px solid rgba(245, 231, 122, 0.35);
      box-shadow:
        0 0 25px rgba(169, 116, 255, 0.4),
        0 0 45px rgba(245, 231, 122, 0.2);
      text-align: center;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .accordion:hover {
      transform: scale(1.02);
      box-shadow:
        0 0 35px rgba(169, 116, 255, 0.6),
        0 0 60px rgba(245, 231, 122, 0.4);
    }

    .question {
      background: linear-gradient(90deg, #1a0b2e, #2e0d3b);
      color: #f7e8ff;
      padding: 14px 20px;
      cursor: pointer;
      margin-bottom: 10px;
      border-radius: 10px;
      border: 1px solid rgba(255, 230, 255, 0.15);
      font-family: 'Playfair Display', serif;
      font-size: 18px;
      letter-spacing: 0.5px;
      transition: all 0.3s ease-in-out;
      box-shadow: inset 0 0 10px rgba(255, 180, 255, 0.05);
    }

    .question:hover {
      background: linear-gradient(90deg, #a974ff, #ffb6f9);
      color: #311044;
      box-shadow: 0 0 25px rgba(255, 182, 249, 0.4);
    }

    .answer {
      background: rgba(255, 255, 255, 0.1);
      padding: 18px 22px;
      margin-top: 5px;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      display: none;
      transition: all 0.3s ease;
      color: #fdf9ff;
      font-family: 'Inter', sans-serif;
      font-size: 16px;
      line-height: 1.5;
      text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    }

    .popup {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      justify-content: center;
      align-items: center;
    }

    .popup-content {
      background: white;
      padding: 20px;
      border-radius: 10px;
      position: relative;
      width: 300px;
      text-align: center;
    }

    .close-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      cursor: pointer;
      color: red;
    }


    /* 🍫 WONKA MODERN LUXE STYLE */
    .wonka-section {
      margin: 3rem auto;
      padding: 2rem;
      border-radius: 18px;
      text-align: center;
      background: linear-gradient(135deg, rgba(26, 11, 46, 0.9), rgba(49, 16, 68, 0.9));
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
      color: var(--cream);
      transition: all 0.5s ease;
    }

    .wonka-btn {
      margin-top: 25px;
      padding: 14px 18px;
      width: 100%;
      background: linear-gradient(90deg, var(--gold), var(--choco-light));
      color: var(--choco-dark);
      border: none;
      border-radius: 14px;
      font-size: 1.1rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      cursor: pointer;
      box-shadow: 0 0 20px rgba(245, 231, 122, 0.4), 0 0 30px rgba(169, 116, 255, 0.25);
      transition: all 0.3s ease;
    }

    .wonka-btn:hover {
      background: linear-gradient(90deg, var(--choco-light), var(--gold));
      transform: translateY(-3px);
      box-shadow: 0 0 25px rgba(245, 231, 122, 0.6), 0 0 35px rgba(169, 116, 255, 0.4);
    }

    /* ⭐ Star Rating Styles */
    .stars {
      display: inline-flex;
      gap: 8px;
      cursor: pointer;
      font-size: 2rem;
      color: #ccc;
      /* default gray */
      transition: color 0.3s ease;
    }

    .star {
      transition: transform 0.2s, color 0.3s;
    }

    .star:hover {
      transform: scale(1.2);
      color: var(--gold);
      /* gold on hover */
    }

    .star.active {
      color: var(--gold);
      /* glowing gold when active */
      text-shadow: 0 0 8px rgba(245, 231, 122, 0.7);
    }


    .light-mode {
      background: radial-gradient(circle at top, #faf8ff, #d6c8f0);
      color: var(--choco-dark);
    }

    /* Optional: subtle UI element styling for better harmony */
    .light-mode a {
      color: var(--cream);
      text-decoration: none;
    }
    .light-mode a:hover {
      color: var(--gold);
    }

    .light-mode button {
      background: linear-gradient(135deg, var(--choco-light), var(--gold));
      color: var(--choco-dark);
      border: none;
      border-radius: var(--radius);
      padding: 0.6em 1.2em;
      font-weight: 600;
      box-shadow: 0 3px 10px rgba(26, 11, 46, 0.1);
      transition: all 0.3s ease;
    }
    .light-mode button:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(26, 11, 46, 0.15);
    }

    /* Optional card/container background */
    .light-mode .card {
      background: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(6px);
      border-radius: var(--radius);
      box-shadow: 0 4px 12px rgba(50, 20, 80, 0.08);
      padding: 1.5rem;
    }

    .light-mode .hero h2,
    .light-mode .hero p,
    .light-mode .hero a,
    .light-mode .hero button {
      color: var(--choco-dark);
    }

    .light-mode .hero .btn,
    .light-mode .hero .wonka-btn {
      background: linear-gradient(90deg, var(--gold), var(--choco-light));
      color: var(--choco-dark);
    }

    /* optional: golden ticket stays bright */
    .light-mode .hero .ticket img {
      filter: brightness(1.1);
    }

    body.light-mode #shopSearch::placeholder {
      color: black;
    }

    /* Default (dark mode) */
    .card h3 {
      color: var(--cream); /* light text on dark cards */
      margin-top: 10px;
    }

    /* Light mode override */
    body.light-mode .card h3 {
      color: var(--choco-dark); /* deep violet for readability */
    }

    body.light-mode #userName {
      color: #6a0909;
      text-shadow: none;
    }

    .quote {
      font-style: italic;
      margin-top: 1rem;
      color: var(--choco-light);
      opacity: 0.85;
      transition: opacity 0.4s;
    }

    .wonka-btn {
      padding: 14px 32px;
      font-size: 18px;
      font-weight: 600;
      border: none;
      border-radius: 12px;
      background: linear-gradient(90deg, #f5e77a, #c29fff);
      color: #2a0d1c;
      cursor: pointer;
      transition: transform 0.2s, background 0.3s;
      box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    }

    .wonka-btn:hover {
      transform: scale(1.05);
      background: linear-gradient(90deg, #ffd700, #9a6bff);
    }

    /* Confetti container */
    #confettiContainer {
      position: fixed;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
      z-index: 9999;
    }

    /* Confetti pieces */
    .confetti {
      position: absolute;
      width: 8px;
      height: 8px;
      background: gold;
      opacity: 0.9;
      border-radius: 50%;
      animation: fall 1.2s ease-out forwards;
    }


    /* --- Search Highlight --- */
    .highlight {
      background: var(--choco-light);
      font-weight: bold;
    }

    /* --- Autocomplete Suggestions --- */
    .suggestion-box {
      list-style: none;
      margin: 0;
      padding: 0;
      background: var(--choco-dark);
      border: 1px solid #ccc;
      max-width: 100%;
      position: relative;
      z-index: 5;
    }

    .suggestion-box li {
      padding: 5px 10px;
      cursor: pointer;
    }

    .suggestion-box li:hover {
      background: #eee;
    }

    /* --- Scroll progress bar --- */
    #scrollBar {
      position: fixed;
      top: 0;
      left: 0;
      height: 6px;
      width: 0;
      background: linear-gradient(to right, #ffb300, #ff007a, #6a00ff);
      z-index: 1000;
      transition: width 0.25s;
    }

    #shopSearch {
      width: 100%;
      padding: 8px;
      margin-bottom: 10px;
      border-radius: 8px;
      border: 1px solid #ccc;
      color: whitesmoke;
    }

    /* --- Spinner --- */
    .spinner {
      border: 3px solid #f3f3f3;
      border-top: 3px solid #6a00ff;
      border-radius: 50%;
      width: 14px;
      height: 14px;
      display: inline-block;
      animation: spin 1s linear infinite;
      vertical-align: middle;
      margin-right: 5px;
    }

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

    .hidden {
      display: none;
    }

    /* --- Toast --- */
    #toast {
      position: fixed;
      bottom: 40px;
      right: 40px;
      background: #333;
      color: #fff;
      padding: 14px 20px;
      border-radius: 8px;
      opacity: 0.95;
      display: none;
      z-index: 9999;
      font-size: 1rem;
    }

    /* --- 🎡 Wonka Stats Section --- */
    #wonkaStats {
      text-align: center;
      background: linear-gradient(135deg, var(--cream), var(--choco-light-), var(--choco-mid));
      color: #fff;
      padding: 40px 20px;
      margin: 40px auto;
      border-radius: 20px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
      max-width: 400px;
      position: relative;
      overflow: hidden;
    }

    /* ✨ Animated gradient shimmer */
    #wonkaStats::before {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 200%;
      height: 100%;
      background: linear-gradient(120deg,
          transparent,
          rgba(255, 255, 255, 0.3),
          transparent);
      animation: shimmer 3s infinite;
    }

    @keyframes shimmer {
      0% {
        left: -100%;
      }

      100% {
        left: 100%;
      }
    }

    /* 🍬 Counter number */
    #wonkaStats .counter {
      font-size: 4rem;
      font-weight: 800;
      letter-spacing: 2px;
      margin-bottom: 10px;
      animation: bounceIn 1s ease-out;
    }

    /* 🎈 Label text */
    #wonkaStats p {
      font-size: 1.3rem;
      margin: 0;
      font-weight: 500;
      letter-spacing: 1px;
    }

    /* Fixed iPhone-style toggle in top-right corner */
    .theme-switch-wrapper {
      position: fixed;      /* stay in place */
      top: 20px;            /* distance from top */
      right: 20px;          /* distance from right */
      z-index: 9999;        /* above all content */
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.2); /* optional soft glow */
      padding: 6px 8px;
      border-radius: 20px;  /* circular pill shape */
      backdrop-filter: blur(9px);
      box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    }

    .theme-switch {
      position: relative;
      display: inline-block;
      width: 50px;
      height: 26px;
    }

    .theme-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #ccc; /* default track */
      transition: 0.4s;
      border-radius: 34px;
    }

    .slider::before {
      position: absolute;
      content: "";
      height: 20px;
      width: 20px;
      left: 3px;
      bottom: 3px;
      background-color: white;
      transition: 0.4s;
      border-radius: 50%;
      box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    /* Checked state */
    input:checked + .slider {
      background-color: #a974ff; /* active track */
    }

    input:checked + .slider::before {
      transform: translateX(24px); /* move the circle */
    }

    /* --- Container2 / Form (Light Mode) --- */
    body.light-mode .container2 {
      background: rgba(255, 255, 255, 0.9);
      color: var(--choco-dark);
      border-radius: var(--radius);
      padding: 40px;
      border: 1px solid rgba(0, 0, 0, 0.1);
      box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
    }

    body.light-mode .container2 h2 {
      color: var(--choco-light);
    }

    body.light-mode input,
    body.light-mode select,
    body.light-mode button {
      background: rgba(245, 245, 245, 0.9);
      color: var(--choco-dark);
      border: 1px solid rgba(0,0,0,0.2);
    }

    body.light-mode input:focus,
    body.light-mode select:focus,
    body.light-mode button:focus {
      border-color: var(--choco-light);
      box-shadow: 0 0 12px rgba(162, 116, 255, 0.3);
    }

    /* --- Buttons --- */
    body.light-mode button {
      background: linear-gradient(90deg, var(--gold), var(--choco-light));
      color: var(--choco-dark);
      box-shadow: 0 0 12px rgba(245, 231, 122, 0.4), 0 0 20px rgba(162, 116, 255, 0.3);
    }

    body.light-mode button:hover {
      background: linear-gradient(90deg, var(--choco-light), var(--gold));
      transform: translateY(-2px);
    }

    /* --- Success Message --- */
    body.light-mode #successMsg {
      color: var(--choco-dark);
      background: rgba(245, 231, 122, 0.2);
      border: 1px solid var(--gold);
      padding: 12px;
      border-radius: var(--radius);
      box-shadow: 0 0 10px rgba(245, 231, 122, 0.3);
    }

    /* --- Popup (Light Mode) --- */
    body.light-mode .popup-content {
      background: #fff;
      color: var(--choco-dark);
      border-radius: var(--radius);
      box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
      transition: all 0.3s ease;
    }

    body.light-mode .popup-content button {
      background: linear-gradient(90deg, var(--gold), var(--choco-light));
      color: var(--choco-dark);
    }

    /* --- Accordion --- */
    body.light-mode .accordion {
      background: rgba(255, 255, 255, 0.9);
      color: var(--choco-dark);
      border: 1px solid rgba(0,0,0,0.1);
      box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }

    body.light-mode .accordion .question {
      background: linear-gradient(90deg, #f5f5f5, #c06fe3ac);
      color: var(--choco-dark);
      border: 1px solid rgba(0,0,0,0.05);
    }

    body.light-mode .accordion .question:hover {
      background: linear-gradient(90deg, var(--choco-light), var(--gold));
      color: var(--choco-dark);
    }

    body.light-mode .accordion .answer {
      background: rgba(245, 245, 245, 0.9);
      color: var(--choco-dark);
    }

    /* --- Wonka Interactive Section --- */
    body.light-mode .wonka-section {
      background: rgba(255, 255, 255, 0.9);
      color: var(--choco-dark);
      border: 1px solid rgba(0,0,0,0.1);
      box-shadow: 0 0 25px rgba(0,0,0,0.1);
    }

    body.light-mode .wonka-section h2 {
      color: var(--choco-dark);
    }

    body.light-mode .stars .star {
      color: #ccc;
    }

    body.light-mode .stars .star.active,
    body.light-mode .stars .star:hover {
      color: var(--gold);
    }

    /* --- Product Cards --- */
    body.light-mode .shop .product-card {
      background: rgba(245, 245, 245, 0.9);
      border: 1px solid rgba(0,0,0,0.1);
      color: var(--choco-dark);
      box-shadow: 0 0 15px rgba(0,0,0,0.05);
    }

    body.light-mode .shop .product-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    body.light-mode .shop .product-card h3 {
      color: var(--choco-dark);
    }

    /* --- Filter Dropdown --- */
    body.light-mode .filter-area select {
      background: #fff;
      color: var(--choco-dark);
      border: 1px solid rgba(0,0,0,0.2);
    }

    /* --- Quote --- */
    body.light-mode .quote {
      color: var(--choco-dark);
      opacity: 0.85;
    }
    body.light-mode label {
      color: var(--choco-dark);
    }

    /* --- Smooth transitions for all elements --- */
    body.light-mode *,
    body.light-mode *::before,
    body.light-mode *::after {
      transition: all 0.4s ease;
    }


    /* 🪄 Smooth entry animation */
    @keyframes bounceIn {
      0% {
        transform: scale(0.8);
        opacity: 0;
      }

      80% {
        transform: scale(1.05);
        opacity: 1;
      }

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


    @keyframes fall {
      to {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
      }
    }

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

      .grid {
        grid-template-columns: 1fr;
      }

      nav {
        flex-wrap: wrap;
      }

      .menu {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 8px;
      }
    }

    /* ANIMATIONS */
    @keyframes fadeIn {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

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

    @keyframes slideDown {
      from {
        transform: translateY(-100%);
      }

      to {
        transform: translateY(0);
      }
    }

    @keyframes pulse {

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

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

    @keyframes float {

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

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

    @keyframes rise {
      0% {
        transform: translateY(0) scale(0.8);
        opacity: 0.4;
      }

      100% {
        transform: translateY(-120vh) scale(1.2);
        opacity: 0;
      }
    }

    @keyframes twinkle {
      from {
        opacity: 0.3;
      }

      to {
        opacity: 0.6;
      }
    }

    @keyframes sparkleAnim {

      0%,
      100% {
        transform: scale(0.5);
        opacity: 0.4;
      }

      50% {
        transform: scale(1.3);
        opacity: 1;
      }
    }