:root {
  /* Brand Pinkream — logo: rojo fresa + rosa crema */
  --red: #ff3231;
  --red-dark: #e01e2a;
  --red-glow: rgba(255, 50, 49, 0.4);
  --pink: #ff73b1;
  --pink-hot: #ff4d8d;
  --pink-soft: #ff9ec8;
  --pink-light: #ffd0e4;
  --pink-blush: #fff0f6;
  --yellow: #ffd91a;
  --yellow-soft: #ffe566;
  --cream: #fff9f5;
  --cream-warm: #fff3eb;
  --ink: #2a1418;
  --ink-soft: #4a3036;
  --muted: #8a6f76;
  --white: #fffdfb;
  --shadow: 0 20px 50px rgba(42, 20, 24, 0.12);
  --shadow-strong: 0 28px 60px rgba(42, 20, 24, 0.18);
  --radius: 28px;
  --radius-sm: 16px;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-script: "Pacifico", cursive;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container { width: min(1140px, calc(100% - 36px)); margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: all 0.28s cubic-bezier(0.34, 1.4, 0.64, 1);
  border: 2px solid transparent; position: relative; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform 0.5s;
}
.btn:hover::after { transform: translateX(100%); }

.btn-red {
  background: linear-gradient(135deg, var(--red) 0%, #ff4d6d 100%);
  color: white; box-shadow: 0 10px 28px var(--red-glow);
}
.btn-red:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 36px var(--red-glow); }

.btn-yellow {
  background: linear-gradient(135deg, var(--yellow) 0%, #ffe566 100%);
  color: var(--ink); box-shadow: 0 10px 28px rgba(255, 217, 26, 0.4);
}
.btn-yellow:hover { transform: translateY(-3px) scale(1.03); }

.btn-outline {
  background: transparent; border-color: rgba(26,15,18,0.2); color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: white; border-color: var(--ink); }

.btn-white {
  background: white; color: var(--red); box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.btn-white:hover { transform: translateY(-2px); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  letter-spacing: 1.5px; line-height: 1.05; margin-bottom: 10px;
}
.section-title span { color: var(--red); }
.section-sub { color: var(--muted); font-size: 1.08rem; max-width: 480px; line-height: 1.6; }

.blob {
  position: absolute; border-radius: 50%; filter: blur(60px);
  pointer-events: none; z-index: 0;
}
.blob-pink { background: rgba(255, 115, 177, 0.35); }
.blob-yellow { background: rgba(255, 217, 26, 0.3); }
.blob-red { background: rgba(255, 36, 55, 0.2); }
.blob-purple { background: rgba(255, 115, 177, 0.28); } /* legacy alias → pink */

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(26, 15, 18, 0.78); backdrop-filter: blur(14px);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden; transition: all 0.35s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  background: linear-gradient(165deg, #fffdf9 0%, #fff0f3 100%);
  border-radius: 32px; padding: 36px 30px; max-width: 420px; width: 100%;
  box-shadow: 0 40px 100px rgba(0,0,0,0.35);
  transform: scale(0.88) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center; position: relative; overflow: hidden;
}
.modal::before {
  content: ""; position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(255,115,177,0.25), transparent 70%);
  border-radius: 50%;
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); }

.modal-logo {
  width: 100px; margin: 0 auto 18px;
  filter: drop-shadow(0 8px 20px rgba(255,36,55,0.25));
}
.modal h2 {
  font-family: var(--font-display); font-size: 2.2rem;
  letter-spacing: 1px; margin-bottom: 6px;
}
.modal > p { color: var(--muted); margin-bottom: 24px; font-size: 0.95rem; }

.branch-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.branch-btn {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border-radius: 18px; background: white; border: 2px solid transparent;
  text-align: left; transition: all 0.25s; width: 100%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.branch-btn:hover, .branch-btn.selected {
  border-color: var(--red); background: #fff5f6; transform: translateX(4px);
}
.branch-btn .emoji { font-size: 1.9rem; }
.branch-btn .info strong { display: block; font-size: 1.02rem; }
.branch-btn .info span { font-size: 0.82rem; color: var(--muted); }

.order-step { display: none; }
.order-step.active { display: block; }

.delivery-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.delivery-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px; border-radius: 16px; font-weight: 700; font-size: 15px;
  color: white; transition: transform 0.2s, box-shadow 0.2s;
}
.delivery-btn:hover { transform: scale(1.04); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.delivery-btn.rappi { background: linear-gradient(135deg, #ff441f, #ff6b3d); }
.delivery-btn.didi { background: linear-gradient(135deg, #ff7a00, #ff9a33); }
.delivery-btn.uber { background: linear-gradient(135deg, #06c167, #00a854); }
.change-branch {
  margin-top: 16px; font-size: 0.85rem; color: var(--muted);
  text-decoration: underline; cursor: pointer;
}

/* ========== NAV ========== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 248, 232, 0.85);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(26,15,18,0.06);
  padding: 11px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.55rem;
  letter-spacing: 0.5px; color: var(--red);
}
.nav-logo img {
  width: 44px; height: 44px; object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(255,36,55,0.2));
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 9px 18px; border-radius: 999px; font-weight: 600;
  font-size: 0.92rem; transition: all 0.22s;
}
.nav-links a:hover, .nav-links a.active {
  background: linear-gradient(135deg, var(--red), #ff4d6d);
  color: white; box-shadow: 0 6px 16px var(--red-glow);
}
.nav-cta { display: none; }
@media (min-width: 768px) { .nav-cta { display: inline-flex; } }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; }
@media (min-width: 768px) { .nav-toggle { display: none; } }

/* ========== HERO ========== */
.hero {
  position: relative; overflow: hidden; padding: 40px 0 0;
  background: linear-gradient(155deg, #ff2437 0%, #ff4d6d 28%, #ff73b1 58%, #ffb5d1 100%);
  min-height: min(92vh, 820px);
}
.hero .blob { opacity: 0.55; }
.hero .blob-1 { width: 380px; height: 380px; top: -80px; left: -100px; }
.hero .blob-2 { width: 300px; height: 300px; bottom: 40px; right: -60px; }
.hero .blob-3 { width: 200px; height: 200px; top: 40%; left: 40%; }

.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  align-items: center; position: relative; z-index: 2; padding-bottom: 70px;
}
@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr; gap: 20px; min-height: 560px;
  }
}

.hero-copy { color: white; padding-top: 10px; }
.hero-copy .script {
  font-family: var(--font-script); color: var(--yellow);
  font-size: 1.45rem; margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.6rem);
  line-height: 0.92; letter-spacing: 1.5px; margin-bottom: 18px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.hero-copy h1 span {
  display: block;
  background: linear-gradient(90deg, #ffd91a, #ff73b1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-copy .intro {
  color: rgba(255,255,255,0.88); font-size: 1.1rem;
  max-width: 400px; margin-bottom: 28px; line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
  padding: 9px 16px; border-radius: 999px; font-size: 0.86rem;
  font-weight: 600; color: white; border: 1px solid rgba(255,255,255,0.2);
}

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-logo-wrap {
  position: relative; width: min(400px, 88vw);
  animation: floatY 4.5s ease-in-out infinite;
}
.hero-logo-wrap img {
  width: 100%; filter: drop-shadow(0 30px 50px rgba(0,0,0,0.35));
}
.hero-logo-wrap .glow {
  position: absolute; inset: -20%;
  background: radial-gradient(circle, rgba(255,115,177,0.4), transparent 65%);
  z-index: -1; animation: pulse 3s ease-in-out infinite;
}

.sticker {
  position: absolute; background: white; padding: 10px 16px;
  border-radius: 14px; font-weight: 800; font-size: 0.95rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  animation: float 3.2s ease-in-out infinite; z-index: 3;
}
.sticker.yum {
  top: 6%; right: -4%; background: var(--yellow); color: var(--ink);
  transform: rotate(10deg); --r: 10deg;
}
.sticker.heart {
  bottom: 16%; left: -10%;
  background: linear-gradient(135deg, var(--pink), #ff4d9a);
  color: white; animation-delay: 0.7s; --r: -8deg;
}
.sticker.rating {
  top: 42%; left: -16%; background: white; color: var(--ink);
  font-size: 0.85rem; padding: 10px 14px; animation-delay: 1.2s; --r: -5deg;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-12px) rotate(var(--r, 0deg)); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero-drip {
  position: absolute; bottom: -2px; left: 0; width: 100%; height: 70px; z-index: 3;
}
.hero-drip svg { width: 100%; height: 100%; display: block; }

/* ========== PROMO ========== */
.promo-section { padding: 50px 0 30px; position: relative; z-index: 2; }
.promo-card {
  background: linear-gradient(135deg, var(--red) 0%, #ff4d6d 50%, #ff73b1 100%);
  border-radius: 28px; padding: 32px 36px; color: white;
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px; box-shadow: 0 24px 50px rgba(255, 36, 55, 0.35);
}
.promo-card::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-42deg, transparent, transparent 14px, rgba(255,255,255,0.04) 14px, rgba(255,255,255,0.04) 28px);
  pointer-events: none;
}
.promo-card::after {
  content: "🍓"; position: absolute; right: 8%; bottom: -10px;
  font-size: 7rem; opacity: 0.12; transform: rotate(-15deg);
}
.promo-ribbon {
  display: inline-block; background: var(--yellow); color: var(--ink);
  font-weight: 800; font-size: 0.72rem; padding: 5px 14px; border-radius: 8px;
  margin-bottom: 12px; letter-spacing: 0.8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.promo-card h2 {
  font-family: var(--font-display); font-size: 2.6rem;
  letter-spacing: 1.5px; margin-bottom: 6px; position: relative;
}
.promo-card p { opacity: 0.92; max-width: 360px; position: relative; }
.promo-cta {
  background: white; color: var(--red); font-weight: 800;
  padding: 15px 28px; border-radius: 999px; display: inline-flex;
  align-items: center; gap: 8px; transition: transform 0.25s;
  position: relative; box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.promo-cta:hover { transform: scale(1.06); }
.no-promo {
  text-align: center; padding: 36px; background: white;
  border-radius: 24px; box-shadow: var(--shadow);
}

/* ========== PRODUCTS ========== */
.products-section {
  padding: 70px 0 80px; background: white; position: relative; overflow: hidden;
}
.products-section::before {
  content: ""; position: absolute; top: -100px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,115,177,0.12), transparent 70%);
  border-radius: 50%;
}
.products-header {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-end; gap: 20px; margin-bottom: 40px; position: relative;
}
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px; position: relative;
}
.product-card {
  background: linear-gradient(165deg, #fffdf9 0%, #fff5f7 100%);
  border-radius: 24px; padding: 22px 20px 20px;
  transition: all 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
  border: 2px solid transparent; position: relative; overflow: hidden;
  box-shadow: 0 8px 28px rgba(26,15,18,0.06);
}
.product-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--red), var(--pink), var(--yellow));
  opacity: 0; transition: opacity 0.3s;
}
.product-card:hover {
  border-color: rgba(255,115,177,0.4); transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(255, 36, 55, 0.12);
}
.product-card:hover::before { opacity: 1; }
.product-card .emoji {
  font-size: 3.2rem; margin-bottom: 12px; display: block;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.08)); transition: transform 0.3s;
}
.product-card:hover .emoji { transform: scale(1.12) rotate(-6deg); }
.product-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.2px; }
.product-card .size { font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; font-weight: 500; }
.product-card .desc {
  font-size: 0.88rem; color: var(--muted); margin-bottom: 16px;
  min-height: 42px; line-height: 1.45;
}
.product-card .price-row { display: flex; justify-content: space-between; align-items: center; }
.product-card .price {
  font-family: var(--font-display); font-size: 1.75rem;
  color: var(--red); letter-spacing: 0.5px;
}
.product-card .popular-tag {
  position: absolute; top: 14px; right: 14px;
  background: linear-gradient(135deg, var(--yellow), #ffe566);
  font-size: 0.68rem; font-weight: 800; padding: 4px 10px;
  border-radius: 8px; letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255,217,26,0.35);
}

/* ========== BRANCHES ========== */
.branches-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #fff5f7 0%, var(--cream) 100%);
  position: relative; overflow: hidden;
}
.branches-section .blob { width: 280px; height: 280px; bottom: -60px; left: -40px; opacity: 0.5; }
.branches-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 36px; position: relative;
}
.branch-card {
  background: white; border-radius: 28px; padding: 32px 28px;
  box-shadow: var(--shadow); border: 2px solid transparent;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.branch-card::after {
  content: ""; position: absolute; top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at top right, rgba(255,115,177,0.12), transparent 70%);
}
.branch-card:hover {
  border-color: var(--pink); transform: translateY(-6px); box-shadow: var(--shadow-strong);
}
.branch-card .icon { font-size: 2.6rem; margin-bottom: 14px; display: inline-block; }
.branch-card h3 { font-size: 1.3rem; margin-bottom: 8px; font-weight: 700; }
.branch-card .address { color: var(--muted); font-size: 0.94rem; margin-bottom: 20px; line-height: 1.5; }
.branch-card .actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ========== REVIEWS ========== */
.reviews-section { padding: 80px 0; background: white; position: relative; }
.reviews-summary {
  background: linear-gradient(135deg, #e01e2a 0%, #ff4d8d 100%);
  border-radius: 28px; padding: 36px 32px;
  box-shadow: 0 24px 50px rgba(45, 21, 72, 0.3);
  margin-bottom: 32px; display: flex; flex-wrap: wrap; gap: 32px;
  align-items: center; color: white; position: relative; overflow: hidden;
}
.reviews-summary::before {
  content: "★"; position: absolute; right: 5%; top: 50%;
  transform: translateY(-50%); font-size: 12rem; opacity: 0.06; color: var(--yellow);
}
.rating-big {
  font-family: var(--font-display); font-size: 4.2rem;
  color: var(--yellow); line-height: 1; letter-spacing: 2px;
}
.stars { color: var(--yellow); font-size: 1.4rem; letter-spacing: 3px; margin: 4px 0; }
.reviews-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.review-card {
  background: linear-gradient(165deg, #fffdf9, #fff5f7);
  border-radius: 22px; padding: 26px;
  box-shadow: 0 10px 30px rgba(26,15,18,0.06);
  border: 1px solid rgba(255,115,177,0.12); transition: transform 0.25s;
}
.review-card:hover { transform: translateY(-4px); }
.review-card .stars { font-size: 1rem; margin-bottom: 12px; }
.review-card p { font-size: 0.95rem; line-height: 1.55; color: var(--ink-soft); }
.review-card .author { font-weight: 700; font-size: 0.95rem; margin-top: 16px; }
.review-card .branch { font-size: 0.8rem; color: var(--muted); }

/* ========== GAME CTA ========== */
.game-cta {
  padding: 40px 0 70px;
  background: linear-gradient(180deg, white 0%, #fff5f7 100%);
}
.game-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  background: linear-gradient(135deg, #ff3231 0%, #ff4d8d 50%, #ff73b1 100%);
  border-radius: var(--radius); padding: 32px 36px; color: white;
  box-shadow: 0 16px 40px rgba(255, 50, 49, 0.3);
  position: relative; overflow: hidden;
}
.game-banner::before {
  content: "🐱"; position: absolute; right: 6%; bottom: -20px;
  font-size: 9rem; opacity: 0.1; transform: rotate(12deg);
}
.game-banner::after {
  content: ""; position: absolute; top: -50px; left: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,217,26,0.2), transparent 70%);
  border-radius: 50%;
}
.game-banner h2 {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: 1.5px; position: relative;
}
.game-banner p {
  opacity: 0.9; max-width: 400px; margin: 10px 0 0;
  position: relative; line-height: 1.55;
}

/* ========== FOOTER ========== */
.footer {
  background: linear-gradient(160deg, #ff3231 0%, #ff4d8d 55%, #ff73b1 100%);
  color: white; text-align: center; padding: 50px 20px 36px;
  position: relative; margin-top: 20px;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--pink), var(--yellow), var(--pink), var(--red));
}
.footer img {
  width: 80px; margin: 0 auto 14px;
  filter: brightness(1.15) drop-shadow(0 8px 20px rgba(255,115,177,0.3));
}
.footer p { opacity: 0.85; margin-bottom: 6px; font-size: 1.05rem; }
.footer small { opacity: 0.45; font-size: 0.8rem; }
.social-links { display: flex; justify-content: center; gap: 14px; margin: 22px 0; }
.social-links a {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.08); display: flex; align-items: center;
  justify-content: center; font-size: 1.25rem; transition: all 0.25s;
  border: 1px solid rgba(255,255,255,0.1);
}
.social-links a:hover {
  background: var(--red); transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--red-glow);
}

/* ========== MENU PAGE ========== */
.menu-hero {
  background: linear-gradient(160deg, #ff4d6d 0%, #ff73b1 50%, #ffb5d1 100%);
  padding: 50px 0 60px; text-align: center; color: white;
  position: relative; overflow: hidden;
}
.menu-hero .blob { width: 250px; height: 250px; opacity: 0.4; }
.menu-hero .script {
  font-family: var(--font-script); color: var(--yellow);
  font-size: 1.4rem; margin-bottom: 6px;
}
.menu-hero .section-title { color: white; }
.menu-hero .section-title span {
  background: linear-gradient(90deg, #ffd91a, #ff73b1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.menu-hero .section-sub { color: rgba(255,255,255,0.8); margin: 0 auto; }

.menu-filters {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 32px 0 40px; position: relative; z-index: 2;
}
.filter-btn {
  padding: 10px 20px; border-radius: 999px; font-weight: 600;
  font-size: 0.9rem; background: white; border: 2px solid transparent;
  transition: all 0.22s; box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.filter-btn.active, .filter-btn:hover {
  background: linear-gradient(135deg, var(--red), #ff4d6d);
  color: white; box-shadow: 0 8px 20px var(--red-glow);
}
.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px; padding-bottom: 60px;
}

/* ========== GAME PAGE ========== */
.game-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #fff0f6 0%, #ffe0ec 40%, #ffd0e4 100%);
  color: var(--ink); padding: 0 0 50px; position: relative; overflow-x: hidden;
}
.game-page::before {
  content: ""; position: fixed; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,115,177,0.12), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,217,26,0.08), transparent 40%);
  pointer-events: none; z-index: 0;
}
.game-page .navbar {
  background: rgba(26, 10, 46, 0.85); border-color: rgba(255,255,255,0.06);
}
.game-page .nav-logo { color: var(--yellow); }
.game-page .nav-links a { color: rgba(255,255,255,0.85); }
.game-page .nav-links a.active, .game-page .nav-links a:hover {
  background: linear-gradient(135deg, var(--pink), #ff4d9a); color: white;
}

.game-header { text-align: center; margin: 24px 0 16px; position: relative; z-index: 2; }
.game-header h1 {
  font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.4rem);
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--yellow), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.game-header p { opacity: 0.85; max-width: 480px; margin: 10px auto 0; font-size: 0.98rem; }

.game-stats {
  display: flex; justify-content: center; gap: 28px; margin: 20px 0;
  font-weight: 700; font-size: 1.15rem; position: relative; z-index: 2;
}
.game-stats > div {
  background: rgba(255,255,255,0.08); backdrop-filter: blur(8px);
  padding: 10px 20px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.1);
}

.game-container { max-width: 520px; margin: 0 auto; position: relative; z-index: 2; }
#gameCanvas {
  width: 100%; max-width: 480px; height: auto;
  background: #0a0414; border-radius: 20px; border: 4px solid transparent;
  background-image: linear-gradient(#0a0414, #0a0414), linear-gradient(135deg, var(--pink), var(--yellow), var(--pink));
  background-origin: border-box; background-clip: padding-box, border-box;
  display: block; margin: 0 auto;
  box-shadow: 0 0 40px rgba(255, 115, 177, 0.25), 0 20px 50px rgba(0,0,0,0.4);
}

.game-controls {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: 22px; position: relative; z-index: 2;
}
.game-btn {
  background: linear-gradient(135deg, var(--pink), #ff4d9a);
  color: white; padding: 13px 26px; border-radius: 999px; font-weight: 700;
  box-shadow: 0 8px 24px rgba(255,115,177,0.35); transition: transform 0.2s;
}
.game-btn:hover { transform: scale(1.05); }

.game-instructions {
  text-align: center; margin-top: 28px; opacity: 0.8; font-size: 0.9rem;
  max-width: 440px; margin-left: auto; margin-right: auto;
  position: relative; z-index: 2; line-height: 1.55;
}

.game-over-modal {
  position: absolute; inset: 0;
  background: rgba(10, 4, 20, 0.92); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  border-radius: 18px; flex-direction: column; gap: 12px;
  text-align: center; padding: 32px; z-index: 10;
}
.game-over-modal.active { display: flex; }
.game-over-modal h2 {
  font-family: var(--font-display); font-size: 2.6rem; letter-spacing: 1.5px;
  background: linear-gradient(90deg, var(--yellow), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

#mobileControls {
  display: none; justify-content: center; gap: 12px; margin-top: 18px;
  flex-wrap: wrap; position: relative; z-index: 2;
}
#mobileControls .game-btn { width: 64px; height: 54px; padding: 0; font-size: 1.3rem; }

@media (max-width: 767px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); flex-direction: column; padding: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06); box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .game-page .nav-links { background: #fff0f6; }
}
@media (max-width: 600px) {
  .hero { min-height: auto; }
  .promo-card { padding: 26px 22px; }
  .promo-card h2 { font-size: 2rem; }
  .game-banner { padding: 36px 24px; }
  .reviews-summary { padding: 28px 22px; }
}


/* ========== BRAND HARMONY (Pinkream) ========== */
body {
  background: var(--cream);
}
.navbar {
  background: rgba(255, 253, 251, 0.92) !important;
  border-bottom: 1px solid rgba(255, 77, 141, 0.12);
}
.nav-logo { color: var(--red) !important; }
.nav-links a.active,
.nav-links a:hover {
  background: linear-gradient(135deg, var(--red), var(--pink-hot)) !important;
  color: white !important;
}
.section {
  position: relative;
}
.section-alt {
  background: linear-gradient(180deg, var(--pink-blush) 0%, var(--cream) 100%);
}
.promo-card, .product-card, .branch-card, .glass-card {
  border: 1px solid rgba(255, 115, 177, 0.2);
}
.product-card:hover, .promo-card:hover {
  border-color: var(--pink-hot);
}

/* ========== SHARE EXPERIENCE ========== */
.share-xp-section {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--pink-blush) 100%);
}
.share-xp-card {
  max-width: 520px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 115, 177, 0.25);
  text-align: center;
}
.share-xp-preview {
  width: 100%;
  aspect-ratio: 1;
  max-height: 360px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff0f6, #ffe8f0);
  border: 2px dashed rgba(255, 77, 141, 0.35);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.share-xp-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.share-xp-preview img,
.share-xp-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.share-xp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}
.share-xp-hint {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 4px;
}
.share-xp-hint strong { color: var(--pink-hot); }


/* Hero product photo */
.hero-photo-wrap {
  position: relative;
  width: min(100%, 520px);
  margin: 0 auto;
}
.hero-photo {
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow:
    0 24px 50px rgba(255, 50, 49, 0.28),
    0 8px 20px rgba(0, 0, 0, 0.12);
  border: 4px solid rgba(255, 255, 255, 0.85);
  object-fit: cover;
  background: #ffe0ec;
}
.hero-photo-wrap .sticker {
  position: absolute;
  z-index: 2;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.hero-photo-wrap .sticker.yum {
  top: 12px; left: 12px;
  background: linear-gradient(135deg, #ffd91a, #ffe566);
  color: #2a1418;
}
.hero-photo-wrap .sticker.heart {
  top: 12px; right: 12px;
  color: #ff3231;
  font-size: 1.1rem;
}
.hero-photo-wrap .sticker.rating {
  bottom: 16px; right: 16px;
  background: rgba(255,255,255,0.95);
  color: #2a1418;
}
@media (max-width: 768px) {
  .hero-photo-wrap { width: 100%; max-width: 420px; }
  .hero-photo { border-radius: 20px; border-width: 3px; }
}


/* ========== HERO FULL BACKGROUND PHOTO ========== */
.hero.hero-fullbg {
  position: relative;
  min-height: min(100vh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  background: #ffb5d1;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #ffb5d1;
}
.hero-bg-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  /* hide video until it can play; poster/fallback shows underneath */
}
.hero-bg-video.is-ready {
  opacity: 1;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 36, 55, 0.25) 0%, rgba(255, 77, 141, 0.15) 35%, rgba(20, 8, 12, 0.55) 100%),
    linear-gradient(90deg, rgba(20, 8, 12, 0.55) 0%, rgba(20, 8, 12, 0.25) 45%, rgba(20, 8, 12, 0.1) 100%);
  pointer-events: none;
}
.hero-fullbg .hero-grid-full {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  padding: 120px 0 70px;
  max-width: 1140px;
}
.hero-fullbg .hero-copy {
  max-width: 560px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.hero-fullbg .hero-copy .script {
  color: #ffd91a;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-fullbg .hero-copy h1 span {
  background: linear-gradient(90deg, #ffd91a, #ffe566);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}
.hero-fullbg .hero-copy .intro {
  color: rgba(255,255,255,0.95);
  font-size: 1.1rem;
}
.hero-fullbg .badge {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
}
.hero-fullbg .btn-white {
  background: rgba(255,255,255,0.95);
}
@media (max-width: 768px) {
  .hero.hero-fullbg {
    min-height: min(92vh, 780px);
  }
  .hero-bg-video,
  .hero-bg-fallback {
    object-position: 65% center;
  }
  .hero-bg-overlay {
    background:
      linear-gradient(180deg, rgba(255, 36, 55, 0.2) 0%, rgba(20, 8, 12, 0.65) 100%);
  }
  .hero-fullbg .hero-grid-full {
    padding: 100px 0 56px;
  }
}
