
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

    :root{
      --dark:#050c17;
      --gray:#94a3b8;
      --danger:#fb7185;
      --primary:#7dd3fc;
      --primary-dark:#22d3ee;
      --secondary:#38bdf8;
      --accent:#38bdf8;
      --accent-soft:rgba(56,189,248,.16);
      --surface:rgba(8,14,28,.76);

      --bg-body: linear-gradient(180deg, #041328 0%, #06112b 35%, #081a39 70%, #020617 100%);
      --bg-body-mobile: linear-gradient(180deg, #061426 0%, #071930 40%, #020617 100%);
      --text-color:#e0f2fe;
      --card-bg:rgba(10,16,30,.90);
      --header-bg:rgba(6,12,24,.92);
      --muted:#94a3b8;
      --border:rgba(56,189,248,.18);
      --shadow:0 18px 60px rgba(14,165,233,.16);
      --input-bg:rgba(10,16,30,.92);
      --badge-bg:rgba(56,189,248,.14);
      --badge-color:#7dd3fc;
      --btn-add-bg:#38bdf8;
      --btn-add-hover:#0284c7;
    }
    /* :root{
      --primary:#f1cb31;
      --primary-dark:#f2de8b;
      --secondary:#ffd93d;
      --dark:#f17942;
      --gray:#6b7280;
      --light:#f8fafc;
      --white:#ffffff;
      --success:#25D366;
      --danger:#ef4444;
      --border:#e5e7eb;
      --shadow:0 10px 30px rgba(0,0,0,.08);
      --radius:18px;
    } */

    *{
      margin:0;
      padding:0;
      box-sizing:border-box;
      font-family:'Fredoka', 'Poppins', sans-serif;
    }

    html{
      scroll-behavior:smooth;
      min-height: 100%;
      background-color: #020617;
    }

    body{
      min-height: 100%;
    }
    /* PRELOADER */
#preloader{
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #020617 0%, #06112b 35%, #081b3a 70%, #020617 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity .6s ease, visibility .6s ease;
}

#preloader.hide{
  opacity: 0;
  visibility: hidden;
}

.loader-box{
  text-align: center;
  animation: fadeInUp 1s ease;
}

.loader-logo{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
}

.loader-logo::before{
  content: "";
  position: absolute;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 3px solid rgba(255,107,107,0.18);
  border-top-color: var(--primary);
  animation: spinLoader 1.2s linear infinite;
}

/*.loader-logo img{
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  border: 4px solid rgba(255,255,255,.95);
  background: #fff;
  position: relative;
  z-index: 2;
  animation: cuteBounce 1.4s ease-in-out infinite;
}

@keyframes cuteBounce {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  50% { transform: translateY(-16px) scale(1.05, 0.93); }
}

@keyframes spinLoader{
  from{
    transform: rotate(0deg);
  }
  to{
    transform: rotate(360deg);
  }
}*/

.loader-logo img{
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  border: 4px solid rgba(255,255,255,.95);
  background: #fff;
  position: relative;
  z-index: 2;
  animation: cuteBounce 1.4s ease-in-out infinite;
}

@keyframes cuteBounce {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  50% { transform: translateY(-16px) scale(1.05, 0.93); }
}

@keyframes spinLoader{
  from{
    transform: rotate(0deg);
  }
  to{
    transform: rotate(360deg);
  }
}

.loader-box h2{
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 800;
}

.loader-box p{
  color: #6b7280;
  margin-bottom: 16px;
  font-size: .95rem;
}

.loader-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
}

.loader-dots span{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  animation: bounceDots 1.2s infinite ease-in-out;
}

.loader-dots span:nth-child(2){
  animation-delay: .2s;
}

.loader-dots span:nth-child(3){
  animation-delay: .4s;
}

@keyframes bounceDots{
  0%, 80%, 100%{
    transform: scale(0.8);
    opacity: .5;
  }
  40%{
    transform: scale(1.2);
    opacity: 1;
  }
}
/* ANIMASI MASUK */
.animate-on-load{
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp .9s ease forwards;
}

.animate-delay-1{ animation-delay: .2s; }
.animate-delay-2{ animation-delay: .4s; }
.animate-delay-3{ animation-delay: .6s; }
.animate-delay-4{ animation-delay: .8s; }

.hero-summary,
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-metrics-below {
  margin-top: 24px;
}

.hero-stat-card {
  flex: 1 1 180px;
  min-width: 180px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(56,189,248,.14);
  color: var(--text-color);
  text-align: center;
  box-shadow: 0 18px 45px rgba(14,165,233,.08);
}

.hero-stat-value {
  font-size: clamp(2rem, 2.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
  color: #ffffff;
  transition: transform .25s ease, color .25s ease;
}

.hero-stat-value.count-animated {
  color: #7dd3fc;
  transform: scale(1.05);
}

.hero-stat-label {
  font-size: .95rem;
  color: var(--muted);
}

.hero-benefits{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:20px 0 0;
}

.benefit-card{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:13px 18px;
  border-radius:18px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(56,189,248,.10);
  color:var(--text-color);
  font-size:.95rem;
  min-width:140px;
  flex:0 0 auto;
}

.benefit-card i{
  color:#38bdf8;
  min-width:24px;
  text-align:center;
}

.benefit-card span strong{
  color:#fff;
}

/* HALAL BADGE */
.benefit-card.halal-certified {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.15), rgba(39, 174, 96, 0.08));
  border: 1px solid rgba(39, 174, 96, 0.25);
}

.halal-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 24px;
  min-width: 24px;
}

.halal-preview-btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.halal-preview-btn:hover .halal-logo {
  transform: scale(1.08);
}

.halal-logo {
  transition: transform .25s ease;
}

.halal-icon {
  width: auto;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(39, 174, 96, 0.3));
}

.halal-modal-box {
  max-width: 560px;
}

.halal-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.halal-modal-img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

.benefit-card.halal-certified span {
  color: #86efac;
  font-weight: 500;
}

.map-section{
  padding: 40px 0 0;
}

.map-card{
  display:grid;
  grid-template-columns: 1fr;
  gap:24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 2px solid rgba(56, 189, 248, 0.25);
  border-radius: 28px; /* Cute rounded corners */
  padding: 24px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.35), 
    0 0 30px rgba(56, 189, 248, 0.15),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: visible; /* Let stickers peek out */
  position: relative;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.map-card:hover {
  border-color: rgba(192, 132, 252, 0.5);
  box-shadow: 
    0 32px 70px rgba(0, 0, 0, 0.45), 
    0 0 40px rgba(192, 132, 252, 0.25),
    inset 0 0 25px rgba(255, 255, 255, 0.08);
}

/* Map specific stickers styling */
.sticker-pin {
  top: -16px;
  left: 24px;
  font-size: 2.2rem;
  animation: bouncePin 1.8s infinite alternate;
}

.sticker-delivery {
  bottom: 80px;
  right: -16px;
  font-size: 2rem;
  animation: floatDelivery 2.5s ease-in-out infinite alternate;
}

.sticker-cloud-1 {
  top: -12px;
  right: 48px;
  font-size: 1.8rem;
  animation: floatCloud 4s ease-in-out infinite alternate;
}

.sticker-heart-map {
  top: 45%;
  left: -14px;
  font-size: 1.35rem;
  color: #fb7185;
  animation: pulseHeart 1.4s infinite alternate;
}

.sticker-star-map {
  bottom: -10px;
  right: 28px;
  font-size: 1.25rem;
  color: #fef08a;
  animation: rotateStar 5s linear infinite;
}

@keyframes bouncePin {
  0% { transform: translateY(0) scaleY(1); }
  100% { transform: translateY(-8px) scaleY(0.95); }
}

@keyframes floatDelivery {
  0% { transform: translateX(0) translateY(0) rotate(0deg); }
  100% { transform: translateX(6px) translateY(-4px) rotate(3deg); }
}

@keyframes floatCloud {
  0% { transform: translateX(0); }
  100% { transform: translateX(-10px); }
}

@keyframes floatFrameSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.animate-float-slow {
  animation: floatFrameSlow 8s ease-in-out infinite;
}

#store-map{
  position: relative;
  width: 100%;
  min-height: 360px;
  border-radius: 20px; /* Rounded inner corners */
  overflow:hidden;
  border: 2px solid rgba(56, 189, 248, 0.3); /* Softer cyan boundary */
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.15),
    inset 0 0 15px rgba(0, 0, 0, 0.2);
}

#store-map iframe{
  width:100%;
  height:100%;
  min-height:360px;
  border:0;
}

.map-info{
  display:flex;
  flex-direction:column;
  gap:12px;
  color: var(--text-color);
}

.map-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.coords-badge {
  font-family: 'Fredoka', 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #c084fc;
  background: rgba(192, 132, 252, 0.16);
  border: 1px solid rgba(192, 132, 252, 0.25);
  padding: 4px 12px;
  border-radius: 999px; /* Pill shape */
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-info h3{
  margin:0;
  font-size:1.25rem;
  font-weight: 700;
}

.map-info p{
  margin:0;
  color: var(--muted);
  line-height:1.7;
}

@media (max-width: 900px) {
  .map-card{
    padding: 18px;
  }
}

@media (max-width: 680px) {
  .map-card{
    gap:18px;
    padding: 16px;
  }

  #store-map{
    min-height: 280px;
  }

  #store-map iframe{
    min-height: 280px;
  }

  .map-info h3{
    font-size: 1.15rem;
  }
}

@media (max-width: 480px) {
  .map-card{
    border-radius: 20px;
    padding: 14px;
  }

  #store-map{
    min-height: 240px;
  }

  #store-map iframe{
    min-height: 240px;
  }
}

@keyframes fadeInUp{
  from{
    opacity: 0;
    transform: translateY(30px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}
body{
  background-color: #020617;
  background-image: var(--bg-body);
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  min-height: 100vh;
  color: var(--text-color);
  margin: 0;
  position: relative;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  body {
    background-image: var(--bg-body-mobile);
    background-size: 150% 150%;
    background-position: center top;
  }
}

@supports (-webkit-overflow-scrolling: touch) {
  body {
    background-attachment: scroll;
    background-clip: border-box;
    -webkit-background-clip: border-box;
  }
}

body.dark-mode::before{
  background: radial-gradient(circle at top left, rgba(125,211,252,.26), transparent 38%);
  opacity:.55;
}

body.dark-mode::after{
  background: radial-gradient(circle at bottom right, rgba(56,189,248,.2), transparent 28%);
  opacity:.38;
}
body.dark-mode header{
  background:rgba(5,10,22,.82);
  border-bottom:1px solid rgba(125,211,252,.12);
}

body::before,
body::after{
  content:"";
  position:fixed;
  border-radius:50%;
  filter:blur(90px);
  z-index:-1;
}
body.dark-mode{
  --bg-body: linear-gradient(180deg, #020617 0%, #06112b 35%, #081a39 70%, #020617 100%);
  --text-color:#e0f2fe;
  --card-bg:rgba(10,16,30,.92);
  --header-bg:rgba(6,12,24,.94);
  --muted:#94a3b8;
  --border:rgba(125,211,252,.18);
  --shadow:0 20px 70px rgba(14,165,233,.16);
  --input-bg:rgba(10,16,30,.92);
  --badge-bg:rgba(56,189,248,.12);
  --badge-color:#7dd3fc;
  --btn-add-bg:rgba(56,189,248,.16);
  --btn-add-hover:rgba(56,189,248,.28);
}
.card-desc,
.note,
.footer-brand p,
.section-head p,
.cart-item-meta{
  color: var(--muted);
}
body.dark-mode .theme-toggle{
  background:rgba(125,211,252,.12);
  color:#7dd3fc;
}

body.dark-mode .qty-control{
  background:rgba(10,16,30,.95);
}

body.dark-mode .qty-btn{
  background:rgba(15,23,42,.92);
  color:#7dd3fc;
}

body.dark-mode .btn-add{
  background:var(--btn-add-bg);
}

body.dark-mode .btn-add:hover{
  background:var(--btn-add-hover);
}

body.dark-mode .modal-close{
  background:rgba(15,23,42,.95);
  color:#dbeafe;
}

body.dark-mode .badge-open{
  background:rgba(56,189,248,.14);
  color:#dbeafe;
  border-color:rgba(56,189,248,.24);
}

body.dark-mode .contact-link{
  box-shadow:0 8px 20px rgba(56,189,248,.18);
}

body{
  min-height: 100%;
  background: linear-gradient(180deg, rgba(9, 12, 32, 0.96) 0%, rgba(7, 10, 26, 0.99) 35%, rgba(5, 7, 18, 1) 100%);
  color: #e7f2ff;
  background-attachment: fixed;
}

.bg-pattern{
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(circle at 18% 20%, rgba(105, 145, 255, 0.15), transparent 20%),
              radial-gradient(circle at 82% 16%, rgba(178, 87, 255, 0.14), transparent 18%),
              radial-gradient(circle at 50% 80%, rgba(90, 205, 255, 0.12), transparent 15%);
  animation: bgShift 32s ease infinite alternate;
}

.bg-pattern::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 1px, transparent 1px),
    radial-gradient(circle, rgba(172, 123, 255, .28) 1px, transparent 1px);
  background-size: 18px 18px, 50px 50px;
  opacity: .8;
  animation: starDrift 42s linear infinite;
}

.bg-pattern::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.01) 30%, rgba(255,255,255,.03) 55%, transparent 90%);
  pointer-events: none;
}

@keyframes bgShift{
  0%{
    background-position: 0% 0%, 100% 20%, center top;
  }
  100%{
    background-position: 20% 40%, 80% 60%, center bottom;
  }
}

@keyframes starDrift{
  0%{
    background-position: 0 0, 0 0, 0 0;
  }
  100%{
    background-position: -900px 420px, 700px -520px, -500px 1100px;
  }
}

@keyframes shootingStar{
  0%, 65%, 100% {
    opacity: 0;
    transform: rotate(35deg) translate(-25%, 0);
  }
  70% {
    opacity: .9;
    transform: rotate(35deg) translate(120vw, 100vh);
  }
  75% {
    opacity: 0;
    transform: rotate(35deg) translate(150vw, 140vh);
  }
}

/* =========================
   AESTHETIC STAR SPARKLES
========================= */

/* SPARKLE PARTICLES */
.sparkle-particle {
  position: absolute;
  pointer-events: none;
  z-index: 99999;
  filter: drop-shadow(0 0 6px var(--sparkle-color, #7dd3fc));
  transform: translate(-50%, -50%);
  animation: sparkle-float 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sparkle-float {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(0deg);
    opacity: 0;
  }
  15% {
    transform: translate(-50%, -50%) scale(1.3) rotate(var(--rot, 45deg));
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) scale(0) rotate(180deg);
    opacity: 0;
  }
}

/* AMBIENT STARS IN BACKGROUND */
.ambient-star {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 0 5px var(--star-color, #ffffff));
  opacity: 0;
  animation: ambient-twinkle linear forwards;
}

@keyframes ambient-twinkle {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  30%, 70% {
    transform: scale(var(--star-scale, 1)) rotate(90deg);
    opacity: var(--max-opacity, 0.85);
  }
  100% {
    transform: scale(0) rotate(180deg);
    opacity: 0;
  }
}

/* SHOOTING STARS */
.shooting-star {
  position: absolute;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.5) 60%, rgba(255, 255, 255, 1) 100%);
  transform: rotate(35deg) scale(0);
  transform-origin: left center;
  pointer-events: none;
  animation: shoot 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  z-index: 1;
  filter: drop-shadow(0 0 4px #7dd3fc);
}

@keyframes shoot {
  0% {
    transform: translate(0, 0) rotate(35deg) scale(0);
    opacity: 0;
  }
  10% {
    transform: translate(0, 0) rotate(35deg) scale(1);
    opacity: 0.9;
  }
  100% {
    transform: translate(400px, 280px) rotate(35deg) scale(0.2);
    opacity: 0;
  }
}

/* LIVE STATUS BREATHING DOTS */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  position: relative;
  flex-shrink: 0;
}
.status-dot.online {
  background-color: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}
.status-dot.online::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid #22c55e;
  animation: statusPulse 1.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.status-dot.offline {
  background-color: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}
@keyframes statusPulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* GLOWING SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #020617;
}
::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.3);
  border-radius: 999px;
  border: 2px solid #020617;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.6);
}

    /* body{
      background:var(--light);
      color:var(--dark);
      padding-bottom:0;
    } */

    img{
      max-width:100%;
      display:block;
    }

    button,input,textarea{
      font:inherit;
    }

    .container{
      width:min(1200px, 92%);
      margin:auto;
    }

    /* HEADER */
    header{
  position:sticky;
  top:0;
  z-index:999;

  background:rgba(6,12,24,.78);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);

  border-bottom:1px solid rgba(125,211,252,.12);

  box-shadow:0 10px 45px rgba(30,144,255,.12);
}

    .navbar{
      display:flex;
      justify-content:space-between;
      align-items:center;
      min-height:72px;
      gap:16px;
    }

    .logo{
      display:flex;
      align-items:center;
      gap:10px;
      font-size:1.4rem;
      font-weight:800;
      color:var(--badge-color);
      text-shadow:0 0 12px rgba(125,211,252,.55);
    }

    .logo i{
      background:linear-gradient(135deg,rgba(125,211,252,.18),rgba(56,189,248,.45));
      color:#7dd3fc;
      width:42px;
      height:42px;
      border-radius:12px;
      display:grid;
      place-items:center;
      box-shadow:0 0 28px rgba(56,189,248,.24);
    }

    .logo span{
      color: var(--text-color);
      background: linear-gradient(90deg, #fff, #7dd3fc, #c084fc, #fff);
      background-size: 300% 100%;
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: logoGlow 6s linear infinite;
    }
    @keyframes logoGlow {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    .nav-right{
      display:flex;
      align-items:center;
      gap:14px;
      color:var(--gray);
      font-size:.95rem;
      font-weight:500;
    }

    .badge-open{
      background:rgba(56,189,248,.14);
      color:#dbeafe;
      padding:8px 12px;
      border-radius:999px;
      font-size:.60rem;
      border:1px solid rgba(56,189,248,.24);
      animation:pulseBadge 2s infinite;
    }
    @keyframes pulseBadge{
  0%{
    box-shadow:0 0 0 0 rgba(56,189,248,.32);
  }
  70%{
    box-shadow:0 0 0 14px rgba(56,189,248,0);
  }
  100%{
    box-shadow:0 0 0 0 rgba(56,189,248,0);
  }
}

    /* HERO */
    .hero{
      padding:50px 0 30px;
    }
.logo-img{
  width:42px;
  height:42px;
  object-fit:cover;
  border-radius:50%;
  box-shadow:var(--shadow);
  border:2px solid #fff;
}
    .hero-wrap{
      display:grid;
      grid-template-columns:1.15fr .85fr;
      gap:24px;
      align-items:center;
      background:rgba(7,16,33,0.82);
      border-radius:32px;
      padding:36px;
      color:#e0f2fe;
      box-shadow:0 28px 90px rgba(0,0,0,.32);
      overflow:hidden;
      position:relative;
      border:1px solid rgba(56,189,248,.18);
      backdrop-filter:blur(20px);
      -webkit-backdrop-filter:blur(20px);
    }

    .hero-wrap::before,
    .hero-wrap::after{
      content:"";
      position:absolute;
      border-radius:50%;
      background:rgba(56,189,248,.10);
      filter:blur(36px);
    }

    .hero-wrap::before{
      width:220px;
      height:220px;
      top:-60px;
      right:-50px;
    }

    .hero-wrap::after{
      width:160px;
      height:160px;
      bottom:-40px;
      left:-40px;
    }

    .hero h1{
      font-size:clamp(2rem, 4vw, 3rem);
      line-height:1.15;
      margin-bottom:12px;
      font-weight:800;
      background: linear-gradient(90deg, #7dd3fc, #38bdf8, #7dd3fc);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-shadow: 0 0 24px rgba(125,211,252,.14);
      position:relative;
    }

    .hero h1::before{
      content: "";
      position:absolute;
      inset:0;
      background: linear-gradient(90deg, rgba(255,255,255,0.18), transparent 55%, rgba(255,255,255,0.18));
      transform: translateX(-100%);
      animation: heroShine 2.8s ease-in-out infinite;
      z-index:-1;
    }

    @keyframes heroShine{
      0%{ transform: translateX(-100%); }
      50%{ transform: translateX(100%); }
      100%{ transform: translateX(280%); }
    }

    .hero p{
      font-size:1rem;
      opacity:.96;
      margin-bottom:20px;
      max-width:580px;
    }
    /* Container penyeimbang button */
.hero-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Kotak utama pembungkus */
.payment-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(125,211,252,.12);
    padding: 8px 12px;
    border-radius: 12px;
    width: 120px; /* Lebar box yang terlihat */
    overflow: hidden;
}

.payment-container small {
    font-size: 8px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    opacity: 0.8;
}

/* Area slider dengan efek fading di pinggir */
.payment-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Efek halus di sisi kiri & kanan agar logo tidak terpotong tajam */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

/* Track yang bergerak terus-menerus */
.payment-track {
    display: flex;
    width: max-content; /* Biarkan memanjang horizontal */
    animation: infiniteScroll 10s linear infinite; /* 'linear' buat gerakan konstan */
}

.payment-track img {
    height: 16px; /* Ukuran tinggi logo */
    margin: 0 15px; /* Jarak antar logo */
    flex-shrink: 0;
}

/* ANIMASI KUNCI: Bergerak dari kanan ke kiri */
@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Geser tepat setengah dari total lebar track (karena kita duplikat isinya) */
        transform: translateX(-50%);
    }
}

/* Responsive untuk layar HP */
@media (max-width: 768px) {
    .hero-cta {
        justify-content: center;
    }
    .payment-container {
        width: 150px;
    }
}
    .header-info{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.badge-time{
     background: var(--badge-bg);
  color: var(--badge-color);
  padding:8px 12px;
  border-radius:999px;
  font-size:.82rem;
  border:1px solid rgba(125,211,252,.2);
  font-weight:600;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:145px;
  white-space:nowrap;
}

.time-text{
  display:inline-block;
  text-align:center;
  font-variant-numeric: tabular-nums;
  font-family: monospace;
  letter-spacing:0.4px;
}
.theme-toggle{
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(125,211,252,.12);
  color: #7dd3fc;
  box-shadow: 0 12px 26px rgba(56,189,248,.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s ease;
  font-size: 15px;
}

.theme-toggle:hover{
  transform: translateY(-2px) rotate(8deg);
  background: rgba(56,189,248,.2);
}

.btn{
  border:none;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:12px;
  transition:.25s ease;
  font-weight:600;
}

.btn-light{
  background:rgba(255,255,255,.08);
  color:var(--badge-color);
  border:1px solid rgba(125,211,252,.18);
  box-shadow:0 14px 30px rgba(14,165,233,.08);
}

.btn-light:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.12);
}

.btn-dark{
  background:linear-gradient(135deg, #0f172a 0%, #0a1e3c 100%);
  color:#7dd3fc;
  box-shadow:0 16px 36px rgba(14,165,233,.18);
}

.btn-dark:hover{
  background:linear-gradient(135deg, #07101b 0%, #08224b 100%);
  transform:translateY(-2px);
}

.hero-card{
  width:100%;
}

/* Cute Frame Polaroid Style */
.cute-frame {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 2px solid rgba(56, 189, 248, 0.25);
  border-radius: 28px;
  padding: 16px 16px 64px 16px; /* Space for bottom caption */
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.35), 
    0 0 30px rgba(56, 189, 248, 0.15),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: visible; /* Let stickers pop out of the frame */
}

/* Hover effects: slightly rotate/tilt and glow */
.cute-frame:hover {
  transform: translateY(-8px) rotate(-1.5deg) scale(1.01);
  border-color: rgba(192, 132, 252, 0.5);
  box-shadow: 
    0 32px 70px rgba(0, 0, 0, 0.45), 
    0 0 40px rgba(192, 132, 252, 0.25),
    inset 0 0 25px rgba(255, 255, 255, 0.08);
}

/* Floating animation */
@keyframes floatFrame {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float {
  animation: floatFrame 6s ease-in-out infinite;
}

/* Polaroid Caption */
.frame-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  color: #e0f2fe;
}

.frame-caption span:first-child {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #7dd3fc, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(125, 211, 252, 0.2);
}

.caption-tag {
  font-size: 0.82rem;
  background: rgba(192, 132, 252, 0.16);
  color: #c084fc;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(192, 132, 252, 0.25);
  font-weight: 600;
}

/* Sticker styles */
.frame-sticker {
  position: absolute;
  z-index: 10;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  user-select: none;
  pointer-events: none;
}

.cute-frame:hover .frame-sticker {
  transform: scale(1.18) rotate(8deg);
}

.sticker-heart {
  top: -12px;
  left: 20px;
  font-size: 1.5rem;
  color: #fb7185; /* rose-pink */
  animation: pulseHeart 1.5s infinite alternate;
}

.sticker-star-1 {
  top: -10px;
  right: 25px;
  font-size: 1.25rem;
  color: #fef08a; /* yellow */
  animation: rotateStar 4s linear infinite;
}

.sticker-star-2 {
  bottom: 50px;
  right: -12px;
  font-size: 1.35rem;
  color: #7dd3fc; /* sky-blue */
  animation: pulseStar 2s infinite alternate;
}

.sticker-sparkle {
  bottom: 80px;
  left: -14px;
  font-size: 1.45rem;
  color: #c084fc; /* purple */
  animation: pulseStar 1.8s infinite alternate-reverse;
}

.sticker-dumpling {
  top: 45%;
  right: -15px;
  font-size: 1.8rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

@keyframes pulseHeart {
  0% { transform: scale(1); }
  100% { transform: scale(1.15) rotate(5deg); }
}

@keyframes rotateStar {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseStar {
  0% { transform: scale(0.9) rotate(-10deg); opacity: 0.8; }
  100% { transform: scale(1.1) rotate(15deg); opacity: 1; }
}

.hero-slider{
  position:relative;
  width:100%;
  height:320px;
  overflow:hidden;
  border-radius:24px;
}

.slides{
  width:100%;
  height:100%;
  position:relative;
  will-change: opacity;
}

.slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity .8s ease-in-out;
}

.slide.active{
  opacity:1;
}

/* Tablet */
@media(max-width:768px){

  .hero-slider{
    height:240px;
    border-radius:20px;
  }

  .cute-frame {
    padding: 12px 12px 52px 12px;
    border-radius: 24px;
  }

  .frame-caption {
    height: 52px;
    padding: 0 18px;
  }

  .frame-caption span:first-child {
    font-size: 0.95rem;
  }

  .caption-tag {
    font-size: 0.72rem;
    padding: 3px 8px;
  }

  .sticker-dumpling {
    font-size: 1.4rem;
    right: -10px;
  }

  .sticker-star-2 {
    bottom: 40px;
  }

}

/* Mobile */
@media(max-width:480px){

  .hero-slider{
    height:180px;
    border-radius:16px;
  }

}

    /* SECTION TITLE */
    .section-head{
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:16px;
      margin:28px 0 18px;
      flex-wrap:wrap;
    }

    .section-head h2{
      font-size:1.4rem;
      font-weight:800;
    }

    .section-head p{
      color:var(--gray);
      font-size:.94rem;
    }

    /* PRODUCT GRID */
    .product-grid{
      display:grid;
      grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
      gap:20px;
    }
    .section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  margin:28px 0 18px;
  flex-wrap:wrap;
}

.menu-left{
  flex:1;
}

.menu-right{
  display:flex;
  align-items:center;
  gap:14px;
  margin-left:auto;
}

/* SEARCH */
.search-box{
  position:relative;
  width:260px;
}

.search-box i{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  color:#9ca3af;
}

.search-box input{
  width:100%;
  padding:12px 14px 12px 42px;
  border:none;
  border-radius:14px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(125,211,252,.12);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
  box-shadow:0 8px 35px rgba(14,165,233,.08);
  outline:none;
  color:var(--text-color);
}

.store-status{
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 16px;
  border-radius:14px;
  font-weight:700;
  transition:.3s ease;
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
  box-shadow:0 12px 30px rgba(14,165,233,.08);
  background:rgba(255,255,255,.05);
  border:1px solid rgba(125,211,252,.1);
}

/* STATUS OPEN */
.store-status.open{
  background:rgba(34,197,94,.15);
  color:#16a34a;
  border:1px solid rgba(34,197,94,.25);
}

/* STATUS CLOSED */
.store-status.closed{
  background:rgba(239,68,68,.15);
  color:#dc2626;
  border:1px solid rgba(239,68,68,.25);
}

/* MOBILE */
@media(max-width:768px){

  .section-head{
    flex-direction:column;
  }

  .menu-right{
    width:100%;
    flex-direction:column;
    align-items:stretch;
  }

  .search-box{
    width:100%;
  }

}
/* ANIMASI CARD */
.search-show{
  animation:searchPop .45s ease;
}

@keyframes searchPop{

  0%{
    transform:scale(.95);
    opacity:.5;
  }

  100%{
    transform:scale(1);
    opacity:1;
  }

}

/* STATUS SEARCH */
#search-status{
  min-height:24px;
}

.search-success,
.search-empty{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:12px;
  font-size:.85rem;
  font-weight:600;
  animation:fadeIn .3s ease;
}

/* SUCCESS */
.search-success{
  background:rgba(34,197,94,.12);
  color:#16a34a;
  border:1px solid rgba(34,197,94,.2);
}

/* EMPTY */
.search-empty{
  background:rgba(239,68,68,.12);
  color:#dc2626;
  border:1px solid rgba(239,68,68,.2);
}

/* FADE */
@keyframes fadeIn{

  from{
    opacity:0;
    transform:translateY(6px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }

}
.search-box input:focus{
  box-shadow:
    0 0 0 4px rgba(255,107,107,.15),
    0 8px 25px rgba(255,107,107,.15);
}
/* DELIVERY TEXT */
.delivery-text{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:18px;
  flex-wrap:wrap;
}

.delivery-label{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  color:#fff;
  font-size:.95rem;
}

/* WRAPPER */
.delivery-animate{
  position:relative;
  height:28px;
  min-width:180px;
  overflow:hidden;
}

/* TEXT ANIMASI */
.delivery-animate span{
  position:absolute;
  left:0;
  top:0;
  width:100%;

  opacity:0;
  transform:translateY(20px);

  animation:deliverySlide 24s linear infinite;

  font-weight:700;
  color: var(--primary);
  letter-spacing:.4px;
}

/* DELAY TIAP ITEM */
.delivery-animate span:nth-child(1){
  animation-delay:0s;
}

.delivery-animate span:nth-child(2){
  animation-delay:3s;
}

.delivery-animate span:nth-child(3){
  animation-delay:6s;
}

.delivery-animate span:nth-child(4){
  animation-delay:9s;
}

.delivery-animate span:nth-child(5){
  animation-delay:12s;
}

.delivery-animate span:nth-child(6){
  animation-delay:15s;
}

.delivery-animate span:nth-child(7){
  animation-delay:18s;
}

.delivery-animate span:nth-child(8){
  animation-delay:21s;
}

/* KEYFRAME SINKRON */
@keyframes deliverySlide{

  0%{
    opacity:0;
    transform:translateY(18px);
  }

  4%{
    opacity:1;
    transform:translateY(0);
  }

  12%{
    opacity:1;
    transform:translateY(0);
  }

  16%{
    opacity:0;
    transform:translateY(-18px);
  }

  100%{
    opacity:0;
    transform:translateY(-18px);
  }

}
    .card{
      background: var(--card-bg);
      box-shadow: var(--shadow);
      border-radius:22px;
      overflow:hidden;
      display:flex;
      flex-direction:column;
      border:1px solid rgba(56, 189, 248, 0.12);
      opacity:0;
      transform: translateY(24px) scale(.98);
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .card.visible{
      animation:cardFade .55s ease forwards;
      animation-delay: var(--delay, 0ms);
    }

    .card:hover{
      transform:translateY(-8px) scale(1.02);
      box-shadow: 0 20px 45px rgba(56, 189, 248, 0.25), 0 0 25px rgba(192, 132, 252, 0.15);
      border-color: rgba(56, 189, 248, 0.4);
    }

    .card:hover .card-img{
      transform:scale(1.06);
    }

    @keyframes cardFade{
      0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
      }
      60% {
        transform: translateY(-4px) scale(1.015);
      }
      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .card-image-wrap{
      position:relative;
      overflow:hidden;
      border-radius:22px 22px 0 0;
    }

    .card-img{
      width:100%;
      height:200px;
      object-fit:cover;
      background:#f1f5f9;
      transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .tag{
      position:absolute;
      top:12px;
      left:12px;
      background: linear-gradient(135deg, #c084fc 0%, #f472b6 100%);
      color:#ffffff;
      font-size:.78rem;
      font-weight:600;
      padding:6px 12px;
      border-radius:999px;
      box-shadow: 0 4px 10px rgba(244, 114, 182, 0.3);
      letter-spacing: 0.5px;
    }

    .card-body{
      padding:16px;
      display:flex;
      flex-direction:column;
      gap:10px;
      flex:1;
    }

    .card-title{
      font-size:1.02rem;
      font-weight:700;
    }

    .card-desc{
      color:var(--gray);
      font-size:.88rem;
      line-height:1.55;
      min-height:42px;
    }

    .card-price{
      font-size:1.15rem;
      font-weight:700;
      color:#ffb4b4;
      text-shadow: 0 0 10px rgba(255, 180, 180, 0.2);
    }

    .qty-control{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:8px;
      background:#f3f4f6;
      border-radius:12px;
      padding:6px;
      margin-top:4px;
    }
    /* DARK MODE QTY CONTROL */
body.dark-mode .qty-control{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
}

/* BUTTON */
body.dark-mode .qty-btn{
  background:#374151;
  color:#f9fafb;
  box-shadow:none;
}

body.dark-mode .qty-btn:hover{
  background:var(--primary);
  color:#fff;
}

/* INPUT */
body.dark-mode .qty-input{
  color:#ffffff;
}

    .qty-btn{
      width:38px;
      height:38px;
      border:none;
      border-radius:10px;
      background:#fff;
      cursor:pointer;
      font-size:1rem;
      font-weight:700;
      color:var(--dark);
      box-shadow:0 4px 12px rgba(0,0,0,.06);
      transition:.2s ease;
    }

    .qty-btn:hover{
      background:var(--primary);
      color:#fff;
    }

    .qty-input{
      width:50px;
      text-align:center;
      border:none;
      background:transparent;
      font-weight:700;
      color:var(--dark);
      pointer-events:none;
    }

    .btn-add{
      width:100%;
      border:none;
      background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 100%);
      color:#fff;
      padding:12px;
      border-radius:16px;
      cursor:pointer;
      font-weight:600;
      margin-top:auto;
      transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
      box-shadow: 0 6px 15px rgba(56, 189, 248, 0.2);
    }

    .btn-add:hover{
      transform: scale(1.04) translateY(-2px);
      box-shadow: 0 8px 20px rgba(56, 189, 248, 0.35);
    }

    .btn-add:active {
      transform: scale(0.96) translateY(0);
    }



    /* FLOATING BUTTONS */
    .fab-chat,
    .fab-cart{
      position:fixed;
      width:64px;
      height:64px;
      border-radius:50%;
      display:flex;
      flex-direction:column;
      justify-content:center;
      align-items:center;
      gap:4px;
      color:#fff;
      font-size:1.4rem;
      box-shadow:0 14px 30px rgba(56,189,248,.25);
      z-index:1200;
      cursor:pointer;
      border:none;
      text-decoration:none;
      transition: transform .2s ease, box-shadow .2s ease;
    }

    .fab-chat{
      right:20px;
      bottom:96px;
      background: linear-gradient(135deg, #0d1527 0%, #1a153b 100%);
      border: 1px solid rgba(168, 85, 247, 0.25);
      box-shadow: 0 14px 30px rgba(168, 85, 247, 0.25);
    }

    .fab-cart{
      right:20px;
      bottom:20px;
      background: linear-gradient(135deg, #081828 0%, #102847 100%);
      box-shadow:0 14px 30px rgba(56,189,248,.22);
    }

    .fab-chat:hover,
    .fab-cart:hover{
      transform:translateY(-3px);
    }

    @keyframes cartHappyBounce {
      0% { transform: translateY(0) scale(1); }
      30% { transform: translateY(-16px) scale(0.9, 1.1); }
      50% { transform: translateY(0) scale(1.15, 0.85); }
      70% { transform: translateY(-4px) scale(0.98, 1.02); }
      100% { transform: translateY(0) scale(1); }
    }

    .fab-cart.cart-bounce {
      animation: cartHappyBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }

    .cute-cs-svg {
      width: 78%;
      height: 78%;
      transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      animation: csIdleFloat 4s ease-in-out infinite;
      transform-origin: center;
    }

    .fab-chat:hover .cute-cs-svg {
      animation-play-state: paused;
      transform: scale(1.18) rotate(5deg);
    }

    @keyframes csIdleFloat {
      0%, 100% { transform: translateY(0) scale(1); }
      50% { transform: translateY(-3px) scale(1.02); }
    }

    /* Blinking eyes */
    .cs-eye-l {
      transform-origin: 43px 52px;
      animation: csBlink 3.8s infinite;
    }

    .cs-eye-r {
      transform-origin: 57px 52px;
      animation: csBlink 3.8s infinite;
    }

    @keyframes csBlink {
      0%, 90%, 100% { transform: scaleY(1); }
      95% { transform: scaleY(0.1); }
    }

    /* Mascot blinking eyes */
    .mascot-eye-l {
      transform-origin: 40px 54px;
      animation: mascotEyeBlink 4.2s infinite;
    }

    .mascot-eye-r {
      transform-origin: 60px 54px;
      animation: mascotEyeBlink 4.2s infinite;
    }

    @keyframes mascotEyeBlink {
      0%, 88%, 100% { transform: scaleY(1); }
      94% { transform: scaleY(0.1); }
    }

    /* Pulsing cheeks */
    .cs-blush {
      animation: csBlushPulse 2s ease-in-out infinite alternate;
      transform-origin: center;
    }

    @keyframes csBlushPulse {
      0% { opacity: 0.55; }
      100% { opacity: 0.95; }
    }

    /* Flashing mic light */
    .cs-mic-light {
      animation: csMicFlash 1s ease-in-out infinite alternate;
      transform-origin: 39px 59px;
    }

    @keyframes csMicFlash {
      0% { opacity: 0.5; filter: drop-shadow(0 0 1px #22d3ee); }
      100% { opacity: 1; filter: drop-shadow(0 0 4px #22d3ee); }
    }

    .fab-chat-badge {
      position: absolute;
      top: -4px;
      right: -4px;
      background: #25D366; /* WhatsApp green */
      color: #fff;
      font-size: 0.85rem;
      font-weight: 800;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      border: 1.5px solid #fff;
      box-shadow: 0 4px 10px rgba(0,0,0,0.25);
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
      z-index: 10;
      animation: badgePulse 2s infinite;
    }

    @keyframes badgePulse {
      0%, 100% { transform: scale(1); box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); }
      50% { transform: scale(1.15); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.6); }
    }

    .cart-count{
      position:absolute;
      top:-2px;
      left:-2px;
      width:26px;
      height:26px;
      border-radius:50%;
      background:var(--secondary);
      color:#3b2d00;
      display:grid;
      place-items:center;
      font-weight:800;
      font-size:.8rem;
      border:2px solid #fff;
    }

    /* MODAL */
    .modal{
      position:fixed;
      inset:0;
      background:rgba(15,23,42,.55);
      display:none;
      align-items:center;
      justify-content:center;
      z-index:1500;
      padding:20px;
    }

    .modal.show{
      display:flex;
    }

    .modal-box{
        background: var(--card-bg);
  color: var(--text-color);
      width:100%;
      max-width:560px;
      border-radius:24px;
      box-shadow:var(--shadow);
      overflow:hidden;
      animation:fadeUp .25s ease;
      max-height:90vh;
      display:flex;
      flex-direction:column;
    }

    @keyframes fadeUp{
      from{transform:translateY(18px); opacity:0;}
      to{transform:translateY(0); opacity:1;}
    }

    .modal-header{
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:12px;
      padding:18px 20px;
      border-bottom:1px solid var(--border);
    }

    .modal-header h3{
      font-size:1.2rem;
      font-weight:800;
    }

    .modal-close{
      border:none;
      background:#f3f4f6;
      width:40px;
      height:40px;
      border-radius:12px;
      cursor:pointer;
      font-size:1.1rem;
    }

    .modal-body{
      padding:18px 20px 20px;
      overflow:auto;
    }

    .cart-empty{
      text-align:center;
      color:var(--gray);
      padding:25px 10px;
    }

    .cart-item{
      display:flex;
      justify-content:space-between;
      align-items:flex-start;
      gap:14px;
      padding:14px 0;
      border-bottom:1px dashed var(--border);
    }

    .cart-item-left{
      flex:1;
    }

    .cart-item-name{
      font-weight:700;
      margin-bottom:4px;
    }

    .cart-item-meta{
      color:var(--gray);
      font-size:.9rem;
    }

    .cart-item-right{
      text-align:right;
      display:flex;
      align-items:center;
      gap:10px;
    }

    .cart-item-price{
      font-weight:700;
      color:var(--dark);
      white-space:nowrap;
    }

    .btn-remove{
      border:none;
      background:#fef2f2;
      color:var(--danger);
      width:34px;
      height:34px;
      border-radius:10px;
      cursor:pointer;
    }

    .summary{
      margin-top:18px;
      padding-top:15px;
      border-top:2px dashed var(--border);
      display:grid;
      gap:8px;
    }

    .summary-row{
      display:flex;
      justify-content:space-between;
      gap:10px;
      font-size:.96rem;
    }

    .summary-row.total{
      font-size:1.1rem;
      font-weight:800;
      color:var(--primary);
      margin-top:4px;
    }

    .btn-wa{
      width:100%;
      margin-top:18px;
      border:none;
       background:#25D366;
      color:#fff;
      padding:14px;
      border-radius:14px;
      cursor:pointer;
      font-weight:700;
      font-size:1rem;
      transition:.25s ease;
    }

    .btn-wa:hover{
      filter:brightness(.95);
    }

    /* FORM */
    .form-grid{
      display:grid;
      gap:14px;
    }

    .form-group{
      display:grid;
      gap:8px;
    }

    .form-label{
      font-size:.92rem;
      font-weight:700;
    }

    .form-control{
      background: var(--input-bg);
      color: var(--text-color);
      border: 1px solid var(--border);
      width:100%;
      border-radius:14px;
      padding:13px 14px;
      outline:none;
      transition:.2s ease;
    }

    .form-control.invalid {
      border-color: rgba(248,113,133,.8);
      box-shadow:0 0 0 3px rgba(248,113,133,.16);
    }

    .form-control:focus{
      border-color:var(--primary);
      box-shadow:0 0 0 4px rgba(56,189,248,.12);
    }

    .form-feedback {
      margin:16px 0 0;
      padding:14px 16px;
      border-radius:16px;
      color:#fee2e2;
      background:rgba(251,113,133,.12);
      border:1px solid rgba(251,113,133,.2);
      font-size:.94rem;
    }

    .form-feedback.success {
      color:#d1fae5;
      background:rgba(34,197,94,.12);
      border-color:rgba(34,197,94,.2);
    }

    .wa-fallback {
      margin-top:18px;
      padding:18px;
      border-radius:20px;
      background:rgba(255,255,255,.06);
      border:1px solid rgba(125,211,252,.14);
    }

    .fallback-actions {
      margin-top:12px;
      display:flex;
      flex-wrap:wrap;
      gap:12px;
    }

    .fallback-copied {
      margin-top:10px;
      color:#86efac;
      font-size:.9rem;
    }

    textarea.form-control{
      min-height:95px;
      resize:vertical;
    }

    .delivery-options{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:12px;
    }

    .delivery-option{
      position:relative;
    }

    .delivery-option input{
      position:absolute;
      opacity:0;
      pointer-events:none;
    }

    .delivery-option label{
      display:flex;
      align-items:center;
      justify-content:center;
      gap:10px;
      border:2px solid var(--border);
      border-radius:16px;
      padding:14px 12px;
      cursor:pointer;
      font-weight:700;
      background:#f9fafb;
      transition:.25s ease;
      text-align:center;
    }

    .delivery-option input:checked + label{
      border-color:var(--primary);
      background:#fff1f1;
      color:var(--primary-dark);
    }

    .address-group.hidden{
      display:none;
    }

    .note{
      margin-top:8px;
      font-size:.84rem;
      color:var(--gray);
      line-height:1.5;
    }

    footer{
      margin-top:60px;
      padding:26px 0 40px;
      color:var(--gray);
      text-align:center;
      font-size:.92rem;
    }
    .footer-modern{
  margin-top:60px;
  background:linear-gradient(135deg,#1f2937,#111827);
  color:#fff;
  border-top-left-radius:30px;
  border-top-right-radius:30px;
  overflow:hidden;
}

.footer-content{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:30px;
  padding:40px 0 30px;
  flex-wrap:wrap;
}

.footer-brand h3{
  font-size:1.5rem;
  font-weight:800;
  margin-bottom:10px;
}

.footer-brand h3 span{
  color:#7dd3fc;
}

.footer-brand p{
  max-width:420px;
  color:#d1d5db;
  line-height:1.7;
  font-size:.95rem;
}

.footer-social h4{
  font-size:1rem;
  margin-bottom:14px;
  font-weight:700;
}

.contact-link{
  display:flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  background:#25D366;
  color:#fff;
  padding:10px 14px;
  border-radius:999px;
  font-size:.9rem;
  font-weight:600;
  transition:.25s ease;
  box-shadow:0 8px 20px rgba(37,211,102,.25);
}

.contact-link:hover{
  background:#1ebe5d;
  transform:translateY(-2px);
}
.social-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.social-btn{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  text-decoration:none;
  color:#fff;
  font-weight:600;
  transition:.25s ease;
  box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.social-btn i{
  font-size:1rem;
}

.social-btn:hover{
  transform:translateY(-3px) scale(1.02);
}

.social-btn.whatsapp{
  background:linear-gradient(135deg,#1eff1e,#25f4ee,#008332);
}

.social-btn.instagram{
  background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);
}

.social-btn.tiktok{
  background:linear-gradient(135deg,#111111,#25f4ee,#fe2c55);
}

.social-btn.facebook{
  background:linear-gradient(135deg,#1877f2,#0d65d9);
}

.footer-bottom{
  text-align:center;
  padding:16px;
  background:rgba(255,255,255,.05);
  color:#d1d5db;
  font-size:.9rem;
  border-top:1px solid rgba(255,255,255,.08);
}

.visit-status{
  text-align:center;
  padding:12px 0 6px;
  font-size:.95rem;
  color:var(--muted);
}

.visit-status.success{
  color:#8dd98c;
}

.visit-status.error{
  color:#fca5a5;
}

.visit-list{
  width:min(1200px,92%);
  margin:0 auto 36px;
  color:var(--text-color);
}

.visit-list-heading{
  font-size:1rem;
  font-weight:700;
  margin-bottom:10px;
}

.visit-table{
  width:100%;
  border-collapse:collapse;
  margin-bottom:16px;
}

.visit-table th,
.visit-table td{
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.08);
  font-size:.85rem;
}

.visit-table th{
  background:rgba(56,189,248,.12);
  color:#7dd3fc;
  text-align:left;
}

.visit-table tbody tr:nth-child(odd){
  background:rgba(255,255,255,.03);
}

.visit-empty{
  color:var(--muted);
  font-size:.95rem;
  padding:16px 0;
}


    @media (max-width:900px){
      .hero-wrap{
        grid-template-columns:1fr;
      }
    }

    /* @media (max-width:640px){
      .navbar{
        min-height:66px;
      }

      .logo{
        font-size:1.15rem;
      }

      .hero{
        padding-top:24px;
      }

      .hero-wrap{
        padding:22px;
        border-radius:24px;
      }

      .hero h1{
        font-size:1.8rem;
      }

      .product-grid{
        grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
        gap:14px;
      }

      .card-img{
        height:150px;
      }

      .modal{
        align-items:flex-end;
        padding:0;
      }

      .modal-box{
        max-width:none;
        border-radius:24px 24px 0 0;
        max-height:92vh;
      }

      .delivery-options{
        grid-template-columns:1fr;
      }
      
    } */
    .footer-admin-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  background:linear-gradient(135deg,#071321,#12294a);
  color:#e0f2fe;
  padding:10px 18px;
  border-radius:14px;
  font-weight:700;
  transition:.3s ease;
  margin-top:14px;
}

.footer-admin-btn:hover{
  transform:translateY(-2px);
}
    

/* =========================================
   MOBILE OPTIMIZATION FINAL
========================================= */

@media (max-width:768px){

  /* CONTAINER */
  .container{
    width:94%;
  }

  /* NAVBAR */
  .navbar{
    min-height:64px;
    gap:10px;
  }

  .logo{
    font-size:1.1rem;
    gap:8px;
    text-shadow: 0 0 15px rgba(125, 211, 252, 0.6);
  }

  .logo-img{
    width:36px;
    height:36px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    object-fit: cover;
  }

  .badge-open{
    font-size:.58rem;
    padding:7px 10px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.2);
  }

  /* HERO */
  .hero{
    padding:18px 0 20px;
  }

  .hero-wrap{
    grid-template-columns:1fr;
    padding:20px;
    border-radius:24px;
    gap:22px;
    background: rgba(7, 16, 33, 0.85);
    border-color: rgba(56, 189, 248, 0.22);
  }

  .hero h1{
    font-size:1.8rem;
    line-height:1.2;
    text-align: center;
  }

  .hero p{
    font-size:.92rem;
    line-height:1.7;
    text-align: center;
  }

  /* BUTTON AREA */
  .hero-cta{
    flex-direction:column;
    align-items:stretch;
    width:100%;
    gap: 12px;
  }

  .hero-cta .btn{
    width:100%;
  }

  /* PAYMENT */
  .payment-container{
    width:100%;
    max-width:280px;
    margin-left:auto;
    margin-right:auto;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
  }

  .payment-slider{
    width:100%;
  }

  .payment-track{
    gap:12px;
  }

  .payment-track img{
    height:15px;
    margin:0 8px;
  }

  /* DELIVERY */
  .delivery-text{
    align-items:center;
    flex-direction:column;
    gap:6px;
    margin-top: 14px;
  }

  .delivery-animate{
    min-width:100%;
    text-align: center;
  }

  /* HERO SLIDER */
  .hero-slider{
    height:220px;
    border-radius:20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  }

  /* Hero inner content tweaks */
  .hero-benefits{
    gap:10px;
    align-items:center;
    justify-content:center;
  }

  .benefit-card{
    flex: 0 0 auto;
    white-space:nowrap;
  }

  /* SECTION */
  .section-head{
    gap:14px;
    margin:24px 0 16px;
  }

  .section-head h2{
    font-size:1.2rem;
  }

  .section-head p{
    font-size:.85rem;
  }

  /* SEARCH */
  .menu-right{
    width:100%;
    gap:12px;
  }

  .search-box{
    width:100%;
  }

  .search-box input{
    font-size:16px;
    border-radius: 12px;
  }

  .store-status{
    width:100%;
    justify-content:center;
  }

  /* GRID */
  .product-grid{
    grid-template-columns:repeat(2,1fr);
    gap:12px;
  }

  /* CARD */
  .card{
    border-radius:18px;
    border: 1px solid rgba(56, 189, 248, 0.16);
    background: rgba(10, 16, 30, 0.85);
  }

  .card-img{
    height:140px;
  }

  .card-body{
    padding:10px;
    gap:6px;
  }

  .card-title{
    font-size:.92rem;
    line-height:1.35;
  }

  .card-desc{
    font-size:.74rem;
    min-height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
  }

  .card-price{
    font-size:0.98rem;
  }

  /* QTY */
  .qty-control{
    padding: 4px;
    gap: 4px;
    border-radius: 10px;
  }

  .qty-btn{
    width:28px;
    height:28px;
    border-radius: 8px;
    font-size: 0.9rem;
  }

  .qty-input{
    width:28px;
    font-size:.85rem;
  }

  /* BUTTON */
  .btn-add{
    font-size:.78rem;
    padding:10px;
    border-radius: 10px;
  }

  /* FLOAT CART & CHAT (FABs) */
  .fab-cart, .fab-chat {
    width: 52px;
    height: 52px;
    font-size: 1.15rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .fab-cart{
    right:16px;
    bottom:16px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.85) 0%, rgba(168, 85, 247, 0.85) 100%);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
  }

  .fab-chat{
    right:16px;
    bottom:80px;
    background: linear-gradient(135deg, rgba(26, 21, 59, 0.9) 0%, rgba(168, 85, 247, 0.4) 100%);
    border: 1px solid rgba(168, 85, 247, 0.35);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.25);
  }

  .cart-count{
    width:20px;
    height:20px;
    font-size:.68rem;
    top: -4px;
    left: -4px;
    border: 1.5px solid #fff;
  }

  /* MODAL DRAWER SHEET */
  .modal {
    align-items: flex-end;
    padding: 0;
  }

  .modal-box{
    border-radius:28px 28px 0 0;
    max-height: 85vh;
    animation: slideSheetUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .modal-box::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 99px;
    margin: 10px auto 0;
    flex-shrink: 0;
  }

  @keyframes slideSheetUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  .modal-header{
    padding: 12px 18px 16px;
  }

  .modal-body{
    padding: 12px 18px 24px;
  }

  /* FORM */
  .delivery-options{
    grid-template-columns:1fr;
  }

  /* FOOTER */
  .footer-content{
    flex-direction:column;
    gap:24px;
  }

  .footer-brand p{
    max-width:100%;
    font-size:.88rem;
  }

  .social-links{
    width:100%;
  }

  .social-btn{
    width:100%;
    justify-content:center;
  }

  .footer-admin-btn{
    width:90%;
    justify-content:center;
  }

}


/* EXTRA SMALL DEVICE */
@media (max-width:480px){

  .hero-wrap{
    padding:16px;
    border-radius: 20px;
  }

  .hero h1{
    font-size:1.55rem;
  }

  .hero-slider{
    height:180px;
  }

  /* Small-screen hero inner layout */
  .hero-benefits{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    margin-top:10px;
  }

  .benefit-card{
    flex:0 0 auto;
    white-space:nowrap;
    padding:10px 14px;
    font-size:.88rem;
    min-width:130px;
  }

  .hero-cta{ flex-direction:column; gap:10px; }
  .hero-cta .btn{ width:100%; }

  .payment-container{ width:120px; margin:0 auto; }

  .product-grid{
    gap:10px;
  }

  .card-img{
    height:120px;
  }

  .card-body {
    padding: 8px;
    gap: 4px;
  }

  .card-title{
    font-size:.85rem;
  }

  .card-desc{
    font-size:.7rem;
    min-height: 28px;
  }

  .btn-add{
    font-size:.76rem;
    padding: 8px;
  }

}
html, body{
  overflow-x:hidden;
}

/* =========================================
   DARK MODE IMPROVEMENT
========================================= */

body.dark-mode{
  background:linear-gradient(
    180deg,
    #020617 0%,
    #06112b 35%,
    #081a39 70%,
    #020617 100%
  );
  color:#e0f2fe;
}

/* HEADER */
body.dark-mode header{
  background:rgba(5,10,22,.82);
  border-bottom:1px solid rgba(125,211,252,.12);
  backdrop-filter:blur(18px);
}

/* LOGO */
body.dark-mode .logo span{
  color:#e0f2fe;
}

/* HERO */
body.dark-mode .hero-wrap{
  background:linear-gradient(
    135deg,
    #06132b 0%,
    #081f40 45%,
    #0b2c5d 100%
  );
  border:1px solid rgba(125,211,252,.18);
}

/* CARD */
body.dark-mode .card{
  background:rgba(10,16,30,.92);
  border:1px solid rgba(125,211,252,.12);
  backdrop-filter:blur(12px);
}

/* SEARCH */
body.dark-mode .search-box input{
  background:rgba(255,255,255,.05);
  color:#e0f2fe;
  border:1px solid rgba(125,211,252,.12);
}

body.dark-mode .search-box i{
  color:#94a3b8;
}

/* STATUS */
body.dark-mode .store-status{
  background:rgba(255,255,255,.05);
}

/* MODAL */
body.dark-mode .modal-box{
  background:rgba(6,12,24,.96);
  border:1px solid rgba(125,211,252,.14);
}

/* INPUT */
body.dark-mode .form-control{
  background:rgba(10,16,30,.95);
  border:1px solid rgba(125,211,252,.12);
  color:#e0f2fe;
}

body.dark-mode .form-control::placeholder{
  color:#94a3b8;
}

/* RADIO */
body.dark-mode .delivery-option label{
  background:rgba(255,255,255,.04);
  border-color:rgba(125,211,252,.12);
  color:#e0f2fe;
}

body.dark-mode .delivery-option input:checked + label{
  background:rgba(56,189,248,.18);
  border-color:#38bdf8;
  color:#bfdbfe;
}

/* CART */
body.dark-mode .cart-item{
  border-bottom:1px dashed rgba(125,211,252,.14);
}

body.dark-mode .cart-item-price{
  color:#e0f2fe;
}

/* SUMMARY */
body.dark-mode .summary{
  border-top:2px dashed rgba(125,211,252,.14);
}

/* BUTTON CLOSE */
body.dark-mode .modal-close{
  background:rgba(15,23,42,.95);
  color:#e0f2fe;
}

/* BUTTON DARK */
body.dark-mode .btn-dark{
  background:linear-gradient(135deg, #07101b 0%, #08224b 100%);
}

body.dark-mode .btn-dark:hover{
  background:linear-gradient(135deg, #05101b 0%, #061e44 100%);
}

/* FLOAT CART */
body.dark-mode .fab-cart{
  box-shadow:0 14px 30px rgba(0,0,0,.45);
}

/* BADGE TIME */
body.dark-mode .badge-time{
  background:rgba(56,189,248,.12);
  color:#7dd3fc;
  border-color:rgba(56,189,248,.2);
}

/* SEARCH STATUS */
body.dark-mode .search-success{
  background:rgba(34,197,94,.12);
  color:#4ade80;
}

body.dark-mode .search-empty{
  background:rgba(239,68,68,.12);
  color:#f87171;
}

/* FOOTER */
body.dark-mode .footer-modern{
  background:linear-gradient(
    135deg,
    #020617,
    #0f172a,
    #111827
  );
}

/* SCROLLBAR */
body.dark-mode::-webkit-scrollbar{
  width:10px;
}

body.dark-mode::-webkit-scrollbar-track{
  background:#111827;
}

body.dark-mode::-webkit-scrollbar-thumb{
  background:#374151;
  border-radius:999px;
}

body.dark-mode::-webkit-scrollbar-thumb:hover{
  background:#4b5563;
}

/* HERO SLIDER */
body.dark-mode .hero-slider{
  border:1px solid rgba(125,211,252,.12);
}

body.time-theme-pink{
  /* Neutralized to cool glassmorphism accent */
  background: linear-gradient(135deg, #020617 0%, #06112b 35%, #081a39 70%, #020617 100%);
  color: #e0f2fe;
  --btn-add-bg: #38bdf8;
  --btn-add-hover: #0284c7;
}

body.time-theme-pink.dark-mode{
  --btn-add-bg: rgba(56, 189, 248, 0.16);
  --btn-add-hover: rgba(56, 189, 248, 0.28);
}

body.time-theme-pink header{
  background: rgba(5,10,22,.82);
  border-bottom:1px solid rgba(56,189,248,.12);
}

body.time-theme-pink .hero-wrap{
  background: linear-gradient(135deg, #06132b 0%, #081f40 45%, #0b2c5d 100%);
  border:1px solid rgba(125,211,252,.18);
}

body.time-theme-pink .hero-wrap::before,
body.time-theme-pink .hero-wrap::after{
  background: rgba(125,211,252,.16);
}

body.time-theme-pink .card{
  background: rgba(10,16,30,.92);
  border:1px solid rgba(125,211,252,.12);
}

body.time-theme-pink .search-box input{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(125,211,252,.12);
  color:#e0f2fe;
}

body.time-theme-pink .store-status{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(125,211,252,.12);
  color:#7dd3fc;
}

body.time-theme-pink .modal-box{
  background: rgba(6,12,24,.96);
  border:1px solid rgba(125,211,252,.14);
}

body.time-theme-pink .form-control{
  background: rgba(10,16,30,.95);
  border:1px solid rgba(125,211,252,.14);
  color:#e0f2fe;
}

body.time-theme-pink .delivery-option label{
  background: rgba(255,255,255,.04);
  border-color: rgba(125,211,252,.12);
  color:#e0f2fe;
}

body.time-theme-pink .delivery-option input:checked + label{
  background: rgba(125,211,252,.18);
  border-color:#7dd3fc;
  color:#dbeafe;
}

body.time-theme-pink .btn-light{
  border:1px solid rgba(125,211,252,.18);
  color:#7dd3fc;
}

body.time-theme-pink .btn-dark{
  background:linear-gradient(135deg, #0f172a 0%, #0a1e3c 100%);
  color:#7dd3fc;
}

body.time-theme-pink .btn-dark:hover{
  background:linear-gradient(135deg, #07101b 0%, #08224b 100%);
}

body.time-theme-pink .badge-time{
  background: rgba(56,189,248,.12);
  color:#7dd3fc;
  border-color:rgba(56,189,248,.2);
}

body.time-theme-pink .hero-slider{
  border:1px solid rgba(56,189,248,.12);
}

body.time-theme-yellow{
  /* Neutralized to cool glassmorphism accent (same as blue) */
  background: linear-gradient(135deg, #020617 0%, #06112b 35%, #081a39 70%, #020617 100%);
  color: #e0f2fe;
  --btn-add-bg: #38bdf8;
  --btn-add-hover: #0284c7;
}

body.time-theme-yellow.dark-mode{
  --btn-add-bg: rgba(56, 189, 248, 0.16);
  --btn-add-hover: rgba(56, 189, 248, 0.28);
}

body.time-theme-yellow header{
  background: rgba(5,10,22,.82);
  border-bottom:1px solid rgba(56,189,248,.12);
}

body.time-theme-yellow .hero-wrap{
  background: linear-gradient(135deg, #06132b 0%, #081f40 45%, #0b2c5d 100%);
  border:1px solid rgba(125,211,252,.18);
}

body.time-theme-yellow .hero-wrap::before,
body.time-theme-yellow .hero-wrap::after{
  background: rgba(125,211,252,.16);
}

body.time-theme-yellow .card{
  background: rgba(10,16,30,.92);
  border:1px solid rgba(125,211,252,.12);
}

body.time-theme-yellow .search-box input{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(125,211,252,.12);
  color:#e0f2fe;
}

body.time-theme-yellow .store-status{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(125,211,252,.12);
  color:#7dd3fc;
}

body.time-theme-yellow .modal-box{
  background: rgba(6,12,24,.96);
  border:1px solid rgba(125,211,252,.14);
}

body.time-theme-yellow .form-control{
  background: rgba(10,16,30,.95);
  border:1px solid rgba(125,211,252,.14);
  color:#e0f2fe;
}

body.time-theme-yellow .delivery-option label{
  background: rgba(255,255,255,.04);
  border-color: rgba(125,211,252,.12);
  color:#e0f2fe;
}

body.time-theme-yellow .delivery-option input:checked + label{
  background: rgba(125,211,252,.18);
  border-color:#7dd3fc;
  color:#dbeafe;
}

body.time-theme-yellow .btn-light{
  border:1px solid rgba(125,211,252,.18);
  color:#7dd3fc;
}

body.time-theme-yellow .btn-dark{
  background:linear-gradient(135deg, #0f172a 0%, #0a1e3c 100%);
  color:#7dd3fc;
}

body.time-theme-yellow .btn-dark:hover{
  background:linear-gradient(135deg, #07101b 0%, #08224b 100%);
}

body.time-theme-yellow .badge-time{
  background: rgba(56,189,248,.12);
  color:#7dd3fc;
  border-color:rgba(56,189,248,.2);
}

body.time-theme-yellow .hero-slider{
  border:1px solid rgba(56,189,248,.12);
}

body.time-theme-blue{
  background: linear-gradient(135deg, #020617 0%, #06112b 35%, #081a39 70%, #020617 100%);
  color: #e0f2fe;
  --btn-add-bg: #38bdf8;
  --btn-add-hover: #0284c7;
}

body.time-theme-blue.dark-mode{
  --btn-add-bg: rgba(56, 189, 248, 0.16);
  --btn-add-hover: rgba(56, 189, 248, 0.28);
}

body.time-theme-blue header{
  background: rgba(5,10,22,.82);
  border-bottom:1px solid rgba(56,189,248,.12);
}

body.time-theme-blue .hero-wrap{
  background: linear-gradient(135deg, #06132b 0%, #081f40 45%, #0b2c5d 100%);
  border:1px solid rgba(125,211,252,.18);
}

body.time-theme-blue .hero-wrap::before,
body.time-theme-blue .hero-wrap::after{
  background: rgba(125,211,252,.16);
}

body.time-theme-blue .card{
  background: rgba(10,16,30,.92);
  border:1px solid rgba(125,211,252,.12);
}

body.time-theme-blue .search-box input{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(125,211,252,.12);
  color:#e0f2fe;
}

body.time-theme-blue .store-status{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(125,211,252,.12);
  color:#7dd3fc;
}

body.time-theme-blue .modal-box{
  background: rgba(6,12,24,.96);
  border:1px solid rgba(125,211,252,.14);
}

body.time-theme-blue .form-control{
  background: rgba(10,16,30,.95);
  border:1px solid rgba(125,211,252,.12);
  color:#e0f2fe;
}

body.time-theme-blue .delivery-option label{
  background: rgba(255,255,255,.04);
  border-color: rgba(125,211,252,.12);
  color:#e0f2fe;
}

body.time-theme-blue .delivery-option input:checked + label{
  background: rgba(56,189,248,.18);
  border-color:#38bdf8;
  color:#dbeafe;
}

body.time-theme-blue .btn-light{
  border:1px solid rgba(125,211,252,.18);
  color:#7dd3fc;
}

body.time-theme-blue .btn-dark{
  background:linear-gradient(135deg, #0f172a 0%, #0a1e3c 100%);
  color:#7dd3fc;
}

body.time-theme-blue .btn-dark:hover{
  background:linear-gradient(135deg, #07101b 0%, #08224b 100%);
}

body.time-theme-blue .badge-time{
  background: rgba(56,189,248,.12);
  color:#7dd3fc;
  border-color:rgba(56,189,248,.2);
}

body.time-theme-blue .hero-slider{
  border:1px solid rgba(125,211,252,.12);
}

/* MOBILE DARK MODE */
@media(max-width:768px){

  body.dark-mode .hero-wrap{
    background:linear-gradient(
      180deg,
      #1e293b 0%,
      #312e81 100%
    );
  }

  body.dark-mode .card{
    background:#1f2937;
  }

}

/* =========================================
   FIX TEXT DARK MODE
========================================= */

/* TEXT GLOBAL */
body.dark-mode,
body.dark-mode p,
body.dark-mode span,
body.dark-mode small,
body.dark-mode label,
body.dark-mode li,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6{
  color:#f8fafc;
}

/* PARAGRAF MUTED */
body.dark-mode .card-desc,
body.dark-mode .note,
body.dark-mode .section-head p,
body.dark-mode .footer-brand p,
body.dark-mode .cart-item-meta,
body.dark-mode .loader-box p{
  color:#cbd5e1;
}

/* LOGO */
body.dark-mode .logo{
  color:#7dd3fc;
}

body.dark-mode .logo span{
  color:#ffffff;
}

/* NAVBAR */
body.dark-mode .nav-right{
  color:#e5e7eb;
}

/* HERO */
body.dark-mode .hero p{
  color:#f1f5f9;
}

/* MENU TITLE */
body.dark-mode .section-head h2{
  color:#ffffff;
}

/* PRODUCT */
body.dark-mode .card-title{
  color:#ffffff;
}

body.dark-mode .card-price{
  color:#ffb4b4;
}

/* INPUT */
body.dark-mode input,
body.dark-mode textarea{
  color:#ffffff;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder{
  color:#94a3b8;
}

/* SEARCH */
body.dark-mode .search-box input{
  color:#ffffff;
}

/* BUTTON */
body.dark-mode .btn-light{
  color:#7dd3fc;
}

body.dark-mode .btn-dark{
  color:#ffffff;
}

body.dark-mode .btn-add{
  color:#ffffff;
}

body.dark-mode .btn-wa{
  color:#ffffff;
}

/* QTY */
body.dark-mode .qty-input{
  color:#ffffff;
}

/* MODAL */
body.dark-mode .modal-header h3{
  color:#ffffff;
}

body.dark-mode .summary-row{
  color:#f3f4f6;
}

body.dark-mode .summary-row.total{
  color:#ffb4b4;
}

/* DELIVERY OPTION */
body.dark-mode .delivery-option label{
  color:#f8fafc;
}

/* STORE STATUS */
body.dark-mode .store-status.open{
  color:#4ade80;
}

body.dark-mode .store-status.closed{
  color:#f87171;
}

/* SEARCH STATUS */
body.dark-mode .search-success{
  color:#4ade80;
}

body.dark-mode .search-empty{
  color:#f87171;
}

/* FOOTER */
body.dark-mode .footer-bottom{
  color:#cbd5e1;
}

/* ADMIN BUTTON */
body.dark-mode .footer-admin-btn{
  color:#ffffff;
}

/* PRELOADER */
body.dark-mode #preloader{
  background:linear-gradient(
    135deg,
    #020617,
    #0f172a,
    #111827
  );
}

body.dark-mode .loader-box h2{
  color:#7dd3fc;
}

/* BADGE */
body.dark-mode .badge-open{
  color:#86efac;
}

body.dark-mode .badge-time{
  color:#93c5fd;
}

/* CART EMPTY */
body.dark-mode .cart-empty{
  color:#cbd5e1;
}

#typing::after{
  content:"|";
  animation:blink .7s infinite;
}

@keyframes blink{
  50%{
    opacity:0;
  }
}

.checkbox-note{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  font-weight:500;
  cursor:pointer;
}

.checkbox-note input{
  width:18px;
  height:18px;
  cursor:pointer;
}


.hidden{
  display:none !important;
}

.btn-pay{
  width:100%;
  margin-top:12px;
  border:none;
  background:linear-gradient(135deg,#0f172a,#102b4d);
  color:#e0f2fe;
  padding:14px;
  border-radius:14px;
  cursor:pointer;
  font-weight:800;
  font-size:1rem;
  transition:.25s ease;
}
.btn-pay:hover{
  filter:brightness(.96);
}

.payment-modal-box{
  max-width:560px;
}

.payment-option-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:14px;
}

.payment-option-btn{
  padding:14px 12px;
  border-radius:16px;
  border:none;
  cursor:pointer;
  color:#fff;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition:.25s ease;
}

.payment-option-btn:hover{
  transform:translateY(-2px);
}

.payment-option-btn.transfer{
  background:linear-gradient(135deg,#22c55e,#16a34a);
}

.payment-option-btn.qris{
  background:linear-gradient(135deg,#7c3aed,#22d3ee);
}

.payment-panel{
  margin-top:16px;
  padding:16px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
}

.rekening-box{
  display:grid;
  gap:8px;
  margin:12px 0 16px;
  line-height:1.6;
}

.payment-qris-img{
  width:100%;
  max-width:360px;
  margin:0 auto;
  display:block;
  border-radius:18px;
  background:#fff;
  padding:10px;
}

.payment-qris{
  text-align:center;
  display:grid;
  gap:12px;
  justify-items:center;
}

@media (max-width:768px){
  .payment-option-grid{
    grid-template-columns:1fr;
  }
}

/* CUSTOM ALERT MODAL STYLES */
.alert-modal-box {
  max-width: 400px;
  border: 1px solid rgba(251, 113, 133, 0.25);
  background: rgba(10, 16, 30, 0.96);
  box-shadow: 0 20px 50px rgba(251, 113, 133, 0.15);
}

.alert-modal-body {
  text-align: center;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.alert-icon {
  font-size: 3.5rem;
  color: #7dd3fc;
  margin-bottom: 8px;
  animation: pulseWarning 1.5s infinite;
}

@keyframes pulseWarning {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; text-shadow: 0 0 16px rgba(251, 113, 133, 0.4); }
  100% { transform: scale(1); opacity: 0.9; }
}

.alert-modal-body p {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
  color: #e0f2fe;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  padding: 50px 0 20px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.testi-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(20px);
  animation: testiFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--testi-delay, 100ms);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

@keyframes testiFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testi-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(192, 132, 252, 0.45);
  box-shadow: 
    0 20px 40px rgba(14, 165, 233, 0.18),
    0 0 25px rgba(192, 132, 252, 0.15);
}

.testi-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.testi-card:hover .testi-avatar {
  transform: scale(1.08) rotate(-5deg);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.testi-name {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0 0 2px;
}

.testi-status {
  font-size: 0.72rem;
  color: #34d399; /* emerald green */
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.testi-status i {
  animation: badgePulseGreen 2s infinite alternate;
}

@keyframes badgePulseGreen {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; text-shadow: 0 0 8px #34d399; }
}

.testi-stars {
  display: flex;
  gap: 3px;
  color: #7dd3fc;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.testi-stars i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.testi-card:hover .testi-stars i {
  animation: starTwinkle 0.8s ease infinite alternate;
}

.testi-card:hover .testi-stars i:nth-child(2n) {
  animation-delay: 0.15s;
}

.testi-card:hover .testi-stars i:nth-child(3n) {
  animation-delay: 0.3s;
}

@keyframes starTwinkle {
  0% { transform: scale(1) rotate(0deg); color: #7dd3fc; }
  100% { transform: scale(1.25) rotate(15deg); color: #fef08a; filter: drop-shadow(0 0 4px #fef08a); }
}

.testi-text {
  font-size: 0.92rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .testi-card {
    padding: 18px;
    border-radius: 20px;
  }
}

/* =========================================
   CUTE CARTOON MASCOT (DIMSUM AI)
========================================= */
.cute-mascot-container {
  position: fixed;
  left: 24px;
  bottom: 20px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.3s ease, bottom 0.3s ease;
  width: 120px;
  height: 140px;
}

/* Hologram base projector and cone */
.mascot-hologram-base {
  position: absolute;
  bottom: 0;
  width: 100px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
}

.mascot-hologram-source {
  width: 36px;
  height: 6px;
  background: rgba(34, 211, 238, 0.8);
  border-radius: 50%;
  filter: blur(1.5px) drop-shadow(0 0 6px #22d3ee);
  animation: hologramSourcePulse 2s infinite alternate;
}

.mascot-hologram-cone {
  position: absolute;
  bottom: 3px;
  width: 100px;
  height: 95px;
  background: linear-gradient(to top, rgba(34, 211, 238, 0.22), rgba(34, 211, 238, 0));
  -webkit-clip-path: polygon(35% 100%, 65% 100%, 100% 0%, 0% 0%);
  clip-path: polygon(35% 100%, 65% 100%, 100% 0%, 0% 0%);
  opacity: 0.65;
  animation: hologramConeFlicker 0.15s infinite alternate;
  pointer-events: none;
  transform-origin: bottom center;
}

@keyframes hologramSourcePulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.1); opacity: 1; }
}

@keyframes hologramConeFlicker {
  0% { opacity: 0.50; transform: scaleX(0.97); }
  100% { opacity: 0.75; transform: scaleX(1.03); }
}

/* Floating wrapper for the avatar and orbit rings */
.mascot-floating-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatMascot 4s ease-in-out infinite;
  z-index: 2;
  pointer-events: none; /* Let clicks pass through to the container */
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

@keyframes floatMascot {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

.mascot-avatar-wrapper {
  position: relative;
  width: 70px;
  height: 70px;
  z-index: 3;
  pointer-events: none;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.cute-mascot-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 10px rgba(6, 182, 212, 0.3));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.cute-mascot-container:hover .cute-mascot-svg {
  transform: scale(1.15) rotate(4deg);
  filter: drop-shadow(0 6px 15px rgba(6, 182, 212, 0.5));
}

.cute-mascot-container.happy-jump .cute-mascot-svg {
  animation: mascotJump 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes mascotJump {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  30% { transform: translateY(-25px) scale(0.9, 1.1) rotate(12deg); }
  70% { transform: translateY(4px) scale(1.1, 0.9) rotate(-8deg); }
  100% { transform: translateY(0) scale(1) rotate(0deg); }
}

/* 3D Orbit rings */
.mascot-orbit-ring-1 {
  position: absolute;
  top: 5px;
  left: -8px;
  width: 86px;
  height: 86px;
  border: 1.5px dashed rgba(34, 211, 238, 0.6);
  border-radius: 50%;
  pointer-events: none;
  transform: rotateX(72deg) rotateY(-8deg);
  animation: orbitRotateCW 4s linear infinite;
  filter: drop-shadow(0 0 3px rgba(34, 211, 238, 0.5));
  z-index: 1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.mascot-orbit-ring-2 {
  position: absolute;
  top: -2px;
  left: -15px;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(192, 132, 252, 0.4);
  border-top-color: rgba(192, 132, 252, 0.85);
  border-radius: 50%;
  pointer-events: none;
  transform: rotateX(75deg) rotateY(12deg);
  animation: orbitRotateCCW 6s linear infinite;
  filter: drop-shadow(0 0 3px rgba(192, 132, 252, 0.4));
  z-index: 2;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@keyframes orbitRotateCW {
  0% { transform: rotateX(72deg) rotateY(-8deg) rotateZ(0deg); }
  100% { transform: rotateX(72deg) rotateY(-8deg) rotateZ(360deg); }
}

@keyframes orbitRotateCCW {
  0% { transform: rotateX(75deg) rotateY(12deg) rotateZ(360deg); }
  100% { transform: rotateX(75deg) rotateY(12deg) rotateZ(0deg); }
}

/* Translucent cyber speech bubble */
.mascot-bubble {
  position: absolute;
  bottom: 120px;
  left: 45px;
  background: rgba(4, 10, 24, 0.88);
  border: 1px dashed rgba(34, 211, 238, 0.5);
  color: #e0f2fe;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.78rem;
  font-weight: 600;
  width: 190px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 10px rgba(34, 211, 238, 0.2), inset 0 0 8px rgba(34, 211, 238, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8) translate(-10px, 10px);
  transform-origin: bottom left;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  z-index: 10;
}

/* Cute cyber active dot indicator in speech bubble */
.mascot-bubble::before {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  animation: pulseActiveDot 1.5s infinite;
}

@keyframes pulseActiveDot {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.mascot-bubble::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 15px;
  width: 10px;
  height: 10px;
  background: rgba(4, 10, 24, 0.88);
  border-left: 1px dashed rgba(34, 211, 238, 0.5);
  border-bottom: 1px dashed rgba(34, 211, 238, 0.5);
  transform: rotate(-45deg);
}

.cute-mascot-container.show-bubble .mascot-bubble {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translate(0, 0);
}

/* Responsiveness */
@media (max-width: 768px) {
  .cute-mascot-container {
    bottom: 16px;
    left: 16px;
    width: 90px;
    height: 110px;
  }
  .mascot-hologram-cone {
    height: 75px;
    width: 80px;
  }
  .mascot-floating-wrapper {
    width: 60px;
    height: 60px;
    margin-top: 10px;
  }
  .mascot-avatar-wrapper {
    width: 52px;
    height: 52px;
  }
  .mascot-orbit-ring-1 {
    width: 64px;
    height: 64px;
    left: -6px;
  }
  .mascot-orbit-ring-2 {
    width: 76px;
    height: 76px;
    left: -12px;
  }
  .mascot-bubble {
    width: 160px;
    font-size: 0.72rem;
    bottom: 95px;
    left: 35px;
  }
}

/* =========================================
   PLAY WITH MAMYU MINI-GAME STYLES
   ========================================= */

.play-btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 20px 0 30px 0;
  width: 100%;
}

.btn-play-flappy {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.35), 0 0 12px rgba(8, 145, 178, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-play-flappy:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.5), 0 0 18px rgba(8, 145, 178, 0.4);
  color: #fff;
}

.btn-play-flappy:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-play-flappy i {
  font-size: 1.2rem;
  animation: flappyWobble 2.5s infinite ease-in-out;
}

@keyframes flappyWobble {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-4px) rotate(-10deg); }
}

.btn-play-mamyu {
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35), 0 0 12px rgba(168, 85, 247, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-play-mamyu:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.5), 0 0 18px rgba(168, 85, 247, 0.4);
}

.btn-play-mamyu:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-play-mamyu i {
  font-size: 1.2rem;
  animation: gamepadWobble 2s infinite ease-in-out;
}

@keyframes gamepadWobble {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-15deg); }
  50% { transform: rotate(15deg); }
  75% { transform: rotate(-10deg); }
}

.play-modal-box {
  max-width: 500px;
  width: 100%;
  border: 2px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 20px 50px rgba(168, 85, 247, 0.2), var(--shadow);
  background: var(--card-bg);
}

.play-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px 20px;
}

.game-mascot-container {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

.game-hologram-effect {
  position: absolute;
  bottom: -5px;
  width: 110px;
  height: 100px;
  background: linear-gradient(to top, rgba(168, 85, 247, 0.25), rgba(99, 102, 241, 0));
  clip-path: polygon(25% 100%, 75% 100%, 100% 0%, 0% 0%);
  opacity: 0.85;
  animation: gameHologramFlicker 0.15s infinite alternate;
  pointer-events: none;
  transform-origin: bottom center;
}

@keyframes gameHologramFlicker {
  0% { opacity: 0.6; transform: scaleX(0.97); }
  100% { opacity: 0.95; transform: scaleX(1.03); }
}

.game-mascot-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  animation: gameMascotFloat 3.5s ease-in-out infinite;
}

@keyframes gameMascotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.game-mascot-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 16px rgba(168, 85, 247, 0.4));
}

.game-mascot-avatar.jump {
  animation: gameMascotJump 0.5s ease-out forwards;
}

@keyframes gameMascotJump {
  0% { transform: translateY(0) scale(1); }
  30% { transform: translateY(-25px) scale(0.9, 1.15) rotate(8deg); }
  70% { transform: translateY(4px) scale(1.15, 0.9) rotate(-4deg); }
  100% { transform: translateY(0) scale(1) rotate(0); }
}

.game-bubble {
  background: rgba(15, 23, 42, 0.85);
  border: 1px dashed rgba(168, 85, 247, 0.45);
  border-radius: 18px;
  padding: 12px 18px;
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
  max-width: 95%;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(168, 85, 247, 0.08);
  position: relative;
  line-height: 1.5;
}

.game-bubble::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: rgba(15, 23, 42, 0.85);
  border-top: 1px dashed rgba(168, 85, 247, 0.45);
  border-left: 1px dashed rgba(168, 85, 247, 0.45);
}

.game-stats {
  width: 100%;
  margin-top: 5px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.9rem;
  color: #e0f2fe;
  margin-bottom: 8px;
}

.progress-bar {
  width: 100%;
  height: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 99px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #a855f7 0%, #6366f1 100%);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
  border-radius: 99px;
  transition: width 0.4s cubic-bezier(0.1, 0.8, 0.3, 1);
}

.game-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  margin-top: 5px;
}

.btn-feed {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #e2e8f0;
  padding: 12px;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-feed:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.8);
  box-shadow: 0 6px 15px rgba(168, 85, 247, 0.25);
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}

.btn-feed:active {
  transform: translateY(0);
}

.game-reward {
  width: 100%;
  background: rgba(168, 85, 247, 0.08);
  border: 1.5px solid rgba(168, 85, 247, 0.4);
  border-radius: 20px;
  padding: 18px;
  margin-top: 10px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.15), inset 0 0 15px rgba(168, 85, 247, 0.08);
  animation: gameRewardBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes gameRewardBounce {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

.game-reward.hidden {
  display: none !important;
}

.game-reward h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffd93d;
  margin-bottom: 6px;
  text-shadow: 0 0 10px rgba(255, 217, 61, 0.4);
}

.game-reward p {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 12px;
}

.code-box {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
}

.code-box code {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #38bdf8;
  padding: 10px;
}

.btn-copy-code {
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-code:hover {
  filter: brightness(1.15);
}

/* Desktop responsiveness adjustments for game */
@media (min-width: 769px) {
  .play-modal-box {
    max-width: 520px;
    border-radius: 28px;
    border: 2.5px solid rgba(168, 85, 247, 0.4);
  }
  
  .play-modal-body {
    padding: 30px 32px;
    gap: 24px;
  }
  
  .game-mascot-container {
    width: 190px;
    height: 190px;
    margin: 15px 0;
  }
  
  .game-hologram-effect {
    width: 130px;
    height: 120px;
    bottom: -10px;
  }
  
  .game-mascot-avatar {
    width: 140px;
    height: 140px;
  }
  
  .game-bubble {
    font-size: 0.92rem;
    max-width: 88%;
    padding: 14px 20px;
  }
  
  .btn-feed {
    padding: 14px;
    font-size: 0.92rem;
  }
  
  .game-reward {
    padding: 22px;
  }
}

/* IDLE SCREENSAVER OVERLAY */
#screensaver-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 12, 28, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
#screensaver-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
#screensaver-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.screensaver-hint {
  position: absolute;
  bottom: 40px;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
  animation: screensaver-pulse 2s infinite ease-in-out;
  pointer-events: none;
}
@keyframes screensaver-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.98); }
  50% { opacity: 0.9; transform: scale(1.02); }
}

.screensaver-clock {
  position: absolute;
  top: 60px;
  font-family: 'Poppins', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffd1dc;
  background: rgba(255, 255, 255, 0.04);
  border: 2px dashed rgba(255, 179, 186, 0.4);
  padding: 10px 28px;
  border-radius: 50px;
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(255, 179, 186, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 0 15px rgba(255, 179, 186, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  z-index: 10;
  animation: clock-float 4s infinite ease-in-out;
}

@keyframes clock-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

/* Mobile & iOS screensaver responsiveness */
@media (max-width: 1023px) {
  .screensaver-clock {
    font-size: 1.8rem;
    top: 35px;
    padding: 8px 20px;
    gap: 8px;
  }
  .screensaver-clock span:last-child {
    font-size: 0.9rem !important;
  }
  .screensaver-hint {
    font-size: 0.78rem;
    bottom: 25px;
    padding: 0 16px;
    text-align: center;
    line-height: 1.4;
    width: 90%;
  }
}

/* LANGUAGE SELECTOR MODAL */
#lang-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 12, 28, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
#lang-modal.show {
  opacity: 1;
  pointer-events: auto;
}
.lang-box {
  background: rgba(15, 23, 42, 0.6);
  border: 2px solid rgba(251, 113, 133, 0.3);
  box-shadow: 0 20px 50px rgba(251, 113, 133, 0.15), inset 0 0 20px rgba(251, 113, 133, 0.05);
  border-radius: 28px;
  padding: 35px 30px;
  width: 100%;
  max-width: 425px;
  text-align: center;
  animation: langBoxBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes langBoxBounce {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.lang-logo-img {
  width: 90px;
  height: 90px;
  margin: 0 auto 16px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  background: #fff;
  filter: drop-shadow(0 0 10px rgba(251, 113, 133, 0.3));
}
.lang-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 18px;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 14px;
}
.lang-btn-id {
  background: linear-gradient(135deg, var(--rose), var(--pink));
  color: white;
  box-shadow: 0 8px 20px rgba(244, 63, 94, 0.3);
}
.lang-btn-id:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(244, 63, 94, 0.45);
}
.lang-btn-en {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  border: 1.5px solid rgba(165, 180, 252, 0.3);
  color: white;
  box-shadow: 0 8px 20px rgba(49, 46, 129, 0.3);
}
.lang-btn-en:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(49, 46, 129, 0.45);
  border-color: rgba(165, 180, 252, 0.6);
}
.lang-btn:active {
  transform: translateY(0);
}

/* HEADER LANGUAGE SWITCH BUTTONS */
.lang-switcher {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(125, 211, 252, 0.15);
  border-radius: 99px;
  padding: 2px;
  gap: 2px;
}
.lang-switch-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  filter: grayscale(80%) opacity(60%);
}
.lang-switch-btn.active {
  background: linear-gradient(135deg, var(--rose), var(--pink));
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.3);
  filter: none;
}
.lang-switch-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.05);
  filter: grayscale(30%) opacity(90%);
}
.flag-icon-img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: block;
}
.flag-icon-img-modal {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: block;
}