/* LuckyBuzz × Emporio Caffé — Italian espresso bar vibe */
@import url('https://fonts.googleapis.com/css2?family=Forum&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  /* Emporio brand tokens — matched to emporiocaffe.com */
  --gold: #E4C490;
  --gold-hover: #D4B478;
  --gold-dim: #8A7550;
  --bg: #0E0D0B;
  --bg-card: #141310;
  --bg-panel: #1B1A17;
  --bg-input: #212121;
  --text: #FFFFFF;
  --text-muted: #A6A6A6;
  --border: rgba(228, 196, 144, 0.15);
  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 30px rgba(228, 196, 144, 0.2);
  --radius: 24px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --font-display: 'Forum', serif;
  --font-body: 'DM Sans', sans-serif;

  --green: #7FB97B;
  --red: #D46A5A;
}

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

html, body {
  height: 100%;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}

body {
  background:
    radial-gradient(ellipse at top, rgba(228, 196, 144, 0.08), transparent 50%),
    radial-gradient(ellipse at bottom, rgba(228, 196, 144, 0.04), transparent 50%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Coffee bean decorative pattern */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('https://emporiocaffe.com/assets/images/avif/zrncapozadina.avif');
  background-size: cover;
  background-position: center;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

#app {
  max-width: 440px;
  margin: 0 auto;
  padding: 0 16px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Typography — classical serif for headings */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
}

h1 { font-size: 1.8rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }

.tagline {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.85;
  margin-top: 4px;
  font-style: italic;
}

/* Top Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 8px 0;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(to bottom, var(--bg) 70%, transparent);
  backdrop-filter: blur(6px);
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
}

.lang-bar {
  display: flex;
  gap: 6px;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
}

.lang-btn:hover, .lang-btn.active {
  border-color: var(--gold);
  background: rgba(228, 196, 144, 0.08);
}

.lang-btn .fi {
  font-size: 16px;
  border-radius: 2px;
}

/* Screens */
.screen {
  display: none;
  width: 100%;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 0 32px 0;
  animation: fadeIn 0.5s ease;
}

.screen.active { display: flex; }

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

/* Logo / Business Name */
.logo-area {
  text-align: center;
  margin: 20px 0 24px 0;
  width: 100%;
}

.since-badge {
  display: inline-block;
  padding: 3px 14px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.8;
}

.biz-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.1;
}

.biz-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  width: 100%;
  box-shadow: var(--shadow);
  text-align: center;
}

/* Form */
.form-group { margin-bottom: 20px; text-align: left; }

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  background: var(--bg-input);
  color: var(--text);
  font-size: 1.05rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.25s;
  text-align: center;
  letter-spacing: 0.05em;
}

.form-group input:focus { border-color: var(--gold); }
.form-group input::placeholder { color: var(--text-muted); opacity: 0.5; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(228, 196, 144, 0.25);
}

.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(228, 196, 144, 0.35);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-ghost:hover {
  background: rgba(228, 196, 144, 0.08);
}

.btn-large {
  width: 100%;
  padding: 18px;
  font-size: 0.95rem;
}

/* Main Menu (after phone) — 3 options */
.main-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 16px;
}

.menu-option {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.3s ease;
  text-align: left;
}

.menu-option:hover {
  border-color: var(--gold);
  transform: translateX(4px);
  box-shadow: var(--shadow-gold);
}

.menu-option:active { transform: scale(0.98); }

.menu-option-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(228, 196, 144, 0.08);
  border-radius: 50%;
  flex-shrink: 0;
}

.menu-option-text { flex: 1; }
.menu-option h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  letter-spacing: 0.12em;
}
.menu-option p {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.menu-option-arrow {
  color: var(--gold);
  font-size: 1.5rem;
  opacity: 0.5;
}

/* Back button */
.back-btn {
  align-self: flex-start;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 0;
  margin-bottom: 8px;
  font-family: var(--font-body);
}

.back-btn:hover { color: var(--gold); }

/* SCRATCH CARD */
.scratch-wrap {
  text-align: center;
  width: 100%;
  margin-top: 8px;
}

.hint {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.scratch-container {
  position: relative;
  width: 300px;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 0 auto;
  border: 2px solid var(--gold);
  background: var(--bg-card);
}

.scratch-prize {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1815, #0E0D0B);
  padding: 16px;
}

.scratch-prize .prize-emoji {
  font-size: 3.5rem;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 12px rgba(228, 196, 144, 0.4));
}

.scratch-prize .prize-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.scratch-prize .prize-code {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 0.3em;
}

#scratch-canvas {
  position: absolute;
  top: 0; left: 0;
  z-index: 2;
  cursor: grab;
  touch-action: none;
  width: 100%;
  height: 100%;
}

#scratch-canvas:active { cursor: grabbing; }

/* SLOT MACHINE */
.slot-machine {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding: 24px 16px;
  background: linear-gradient(180deg, #1a1815 0%, #0E0D0B 100%);
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 0 30px rgba(0, 0, 0, 0.6);
  position: relative;
}

.slot-machine::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, var(--gold), var(--gold-dim), var(--gold));
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.4;
}

.slot-title {
  font-family: var(--font-display);
  text-align: center;
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.slot-subtitle {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.slot-legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(228, 196, 144, 0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 14px;
}

.legend-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.legend-item span:first-child {
  font-size: 0.9rem;
  letter-spacing: 0;
}

.legend-item span:last-child {
  color: var(--gold);
}

.slot-reels {
  display: flex;
  gap: 8px;
  justify-content: center;
  background: #000;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 2px inset var(--gold-dim);
  margin-bottom: 20px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.slot-reel {
  width: 90px;
  height: 120px;
  background: #fff;
  background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 50%, #f5f5f5 100%);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.3), inset 0 -4px 10px rgba(0, 0, 0, 0.3);
}

.reel-strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.reel-symbol {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  flex-shrink: 0;
}

/* Reel edge shadows */
.slot-reel::before, .slot-reel::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 20px;
  z-index: 2;
  pointer-events: none;
}

.slot-reel::before {
  top: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4), transparent);
}

.slot-reel::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.4), transparent);
}

.slot-lever-row {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.spin-btn {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-hover) 100%);
  color: var(--bg);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  padding: 18px 56px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--gold);
  text-transform: uppercase;
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(228, 196, 144, 0.4), inset 0 2px 6px rgba(255, 255, 255, 0.3);
  transition: all 0.15s ease;
}

.spin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(228, 196, 144, 0.5), inset 0 2px 6px rgba(255, 255, 255, 0.3);
}

.spin-btn:active { transform: translateY(1px); }

.spin-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Reel blur during spin */
.slot-reel.spinning .reel-strip {
  filter: blur(1px);
}

/* Winner highlight */
.slot-reel.winner {
  box-shadow: 0 0 30px var(--gold), inset 0 0 20px rgba(228, 196, 144, 0.4);
  animation: winner-flash 1s ease 3;
}

@keyframes winner-flash {
  0%, 100% { box-shadow: 0 0 30px var(--gold), inset 0 0 20px rgba(228, 196, 144, 0.4); }
  50% { box-shadow: 0 0 50px var(--gold), inset 0 0 30px rgba(228, 196, 144, 0.6); }
}

/* DIGITAL MENU */
.menu-wrap { width: 100%; }

.menu-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0 16px 0;
  margin: 0 -4px;
  scrollbar-width: none;
}

.menu-categories::-webkit-scrollbar { display: none; }

.cat-btn {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-body);
  transition: all 0.25s;
}

.cat-btn.active, .cat-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(228, 196, 144, 0.06);
}

.menu-grid {
  display: grid;
  gap: 12px;
  width: 100%;
}

.menu-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  transition: border-color 0.25s;
}

.menu-item:hover { border-color: var(--gold); }

.menu-item-img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-panel);
  flex-shrink: 0;
}

.menu-item-info { flex: 1; min-width: 0; }

.menu-item-name {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.menu-item-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.menu-item-price {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 400;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

/* LOYALTY CARD */
.loyalty-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-gold);
  text-align: center;
  margin-top: 8px;
}

.loyalty-title {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.loyalty-progress-text {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.stamps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.stamp {
  aspect-ratio: 1;
  border: 2px dashed var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  transition: all 0.4s ease;
}

.stamp.filled {
  border-style: solid;
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  box-shadow: 0 0 12px rgba(228, 196, 144, 0.5);
  transform: rotate(-8deg);
  animation: stamp-pop 0.5s ease;
}

.stamp.filled::after {
  content: '☕';
  font-size: 1.5rem;
  filter: brightness(0) saturate(100%);
}

@keyframes stamp-pop {
  0% { transform: rotate(-8deg) scale(0.5); opacity: 0; }
  50% { transform: rotate(-8deg) scale(1.15); }
  100% { transform: rotate(-8deg) scale(1); opacity: 1; }
}

.loyalty-reward-ready {
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  color: var(--bg);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-top: 12px;
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(228, 196, 144, 0.4); }
  50% { box-shadow: 0 0 40px rgba(228, 196, 144, 0.7); }
}

.loyalty-hint {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 16px;
  line-height: 1.6;
}

/* RESULT SCREEN */
.result-card {
  padding: 40px 24px;
  text-align: center;
}

.result-emoji {
  font-size: 4.5rem;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 20px rgba(228, 196, 144, 0.5));
}

.result-card h2 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.result-prize-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.redemption-box {
  background: rgba(228, 196, 144, 0.08);
  border: 2px dashed var(--gold);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  margin: 20px 0 16px;
}

.redemption-code {
  font-family: 'Courier New', monospace;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--gold);
  padding-left: 0.4em; /* balance letter-spacing */
}

.redemption-hint {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.result-card.lose h2 { color: var(--text-muted); }
.result-card.lose .result-emoji { filter: none; opacity: 0.7; }

/* Social Links */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-label {
  width: 100%;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(228, 196, 144, 0.08);
  border: 1px solid var(--border);
  color: var(--gold);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.25s ease;
}

.social-link:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 32px 0 20px;
  text-align: center;
  width: 100%;
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 12px;
  opacity: 0.5;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-brand a {
  color: var(--gold);
  text-decoration: none;
}

.footer-brand a:hover { text-decoration: underline; }

/* Cooldown */
.cooldown-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.7; }
#cooldown-time { color: var(--text-muted); margin-top: 12px; font-size: 0.85rem; }

/* GAME PICK — the "wow" hero screen after phone entry */
.game-pick-hero {
  text-align: center;
  margin: 16px 0 24px;
  position: relative;
}

.sparkle {
  color: var(--gold);
  font-size: 1.4rem;
  display: inline-block;
  animation: sparkle-rot 3s ease-in-out infinite;
  margin-bottom: 6px;
}

@keyframes sparkle-rot {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.7; }
  50% { transform: rotate(180deg) scale(1.2); opacity: 1; }
}

.game-pick-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
  text-shadow: 0 0 20px rgba(228, 196, 144, 0.4);
  animation: title-pulse 2s ease-in-out infinite;
}

@keyframes title-pulse {
  0%, 100% { text-shadow: 0 0 20px rgba(228, 196, 144, 0.4); }
  50% { text-shadow: 0 0 30px rgba(228, 196, 144, 0.7), 0 0 50px rgba(228, 196, 144, 0.3); }
}

.game-pick-sub {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

.game-pick-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  margin-bottom: 24px;
}

.game-pick-card {
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 16px 24px;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.2, 1, 0.3, 1);
  box-shadow: 0 4px 24px rgba(228, 196, 144, 0.15);
  animation: card-float 3s ease-in-out infinite;
}

.game-pick-card:nth-child(2) { animation-delay: 0.7s; }

@keyframes card-float {
  0%, 100% { transform: translateY(0); box-shadow: 0 4px 24px rgba(228, 196, 144, 0.15); }
  50% { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(228, 196, 144, 0.25); }
}

.game-pick-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(228,196,144,0.15) 0%, transparent 50%);
  animation: card-glow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes card-glow {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
}

.game-pick-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 14px 40px rgba(228, 196, 144, 0.4);
  border-color: #FFE0A0;
  animation: none;
}

.game-pick-card:active {
  transform: scale(0.98);
}

.gpc-icon {
  font-size: 3.8rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 14px rgba(228, 196, 144, 0.5));
}

.gpc-title {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.gpc-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

.skip-link {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 12px 24px;
  font-family: var(--font-body);
  margin: 0 auto;
  display: block;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.skip-link:hover { opacity: 1; color: var(--gold); }

/* Subtle variant of menu-option for secondary actions like "Play Again" */
.menu-option.subtle {
  background: transparent;
  border: 1px dashed var(--border);
  opacity: 0.7;
}

.menu-option.subtle:hover {
  opacity: 1;
  border-style: solid;
}

/* BONUS TASKS (social follow rewards) */
.bonus-tasks {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  margin-top: 16px;
  width: 100%;
}

.bonus-tasks-title {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 4px;
}

.bonus-tasks-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 14px;
}

.task-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: rgba(228, 196, 144, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 8px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: all 0.25s;
  font-family: var(--font-body);
}

.task-btn:hover {
  border-color: var(--gold);
  background: rgba(228, 196, 144, 0.12);
  transform: translateX(2px);
}

.task-btn.claimed {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.task-btn.claimed .task-reward { color: #5CB85C; }

.task-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-panel);
  border-radius: 50%;
}

.task-body {
  flex: 1;
  min-width: 0;
}

.task-title {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.task-reward {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.task-arrow {
  color: var(--gold);
  font-size: 1.2rem;
  opacity: 0.5;
}

/* PENDING REWARDS */
.pending-rewards {
  background: linear-gradient(135deg, rgba(228,196,144,0.12), rgba(228,196,144,0.04));
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 16px;
  width: 100%;
  box-shadow: 0 0 30px rgba(228, 196, 144, 0.15);
}

.pending-rewards-title {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
}

.pending-reward-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(228, 196, 144, 0.2);
  font-size: 0.85rem;
}

.pending-reward-item:last-of-type { border-bottom: none; }

.pending-reward-emoji { font-size: 1.4rem; }

.pending-reward-name {
  flex: 1;
  color: var(--gold);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.pending-rewards-hint {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 10px;
  opacity: 0.7;
}

/* EVENTS */
.events-grid {
  display: grid;
  gap: 16px;
  width: 100%;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.event-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.event-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  background: var(--bg-panel);
}

.event-body { padding: 18px 20px; }

.event-card h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.event-date {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.8;
}

.event-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Phone identity badge */
.phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(228, 196, 144, 0.08);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  margin: 4px 0 8px;
  align-self: flex-end;
  transition: all 0.2s;
}

.phone-badge:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.phone-badge-change {
  color: var(--gold);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-left: 6px;
  border-left: 1px solid var(--border);
}

/* Table Badge */
.table-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 16px;
  background: var(--gold);
  color: var(--bg);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(228, 196, 144, 0.3);
}

/* Menu item Add-to-Cart controls */
.menu-item { position: relative; }

.qty-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.add-btn {
  background: var(--gold);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}

.add-btn:hover { background: var(--gold-hover); }
.add-btn:active { transform: scale(0.95); }

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.qty-btn:active { transform: scale(0.9); }

.qty-val {
  min-width: 22px;
  text-align: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}

.menu-item-price {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.95rem;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* Override: menu-item-info now holds price inside */
.menu-item-info .menu-item-price {
  margin-top: 6px;
}

/* Cart Drawer (sticky bottom) */
.cart-drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 100%);
  border-top: 1px solid var(--gold);
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0));
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 500;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.3s ease;
  max-width: 440px;
  margin: 0 auto;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cart-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-count-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

#cart-summary-text {
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.cart-total {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.cart-drawer .btn-primary {
  padding: 12px 22px;
  font-size: 0.75rem;
}

/* Stamp notification toast */
.stamp-toast {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  color: var(--bg);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  box-shadow: 0 10px 40px rgba(228, 196, 144, 0.4);
  z-index: 9998;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.stamp-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Confetti Canvas */
#confetti-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* Loader */
.loader {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(228, 196, 144, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 40px auto 12px;
}

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

#screen-loading p {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
}

/* Shake animation */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.shake { animation: shake 0.5s ease; }

/* Responsive */
@media (max-width: 380px) {
  .scratch-container { width: 280px; height: 185px; }
  .slot-reel { width: 78px; height: 105px; }
  .reel-symbol { height: 105px; font-size: 3.5rem; }
  .slot-machine { padding: 20px 12px; }
  .stamps-grid { gap: 8px; }
  .menu-option { padding: 18px 16px; gap: 14px; }
  .menu-option-icon { width: 50px; height: 50px; font-size: 2rem; }
}
