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

:root {
  --bg: #08001a;
  --bg-2: #110026;
  --bg-3: #1a0033;
  --felt: #0a4d2e;
  --felt-dark: #062e1c;
  --fg: #fff5e8;
  --muted: #9c8fb8;
  --gold: #ffcc33;
  --gold-2: #d49a1a;
  --neon-pink: #ff2bd6;
  --neon-cyan: #00e5ff;
  --neon-purple: #b545ff;
  --neon-green: #39ff14;
  --neon-orange: #ff7043;
  --neon-amber: #ffb74d;
  --red: #ff2a45;
  --shame: #ff2a45;
  --line: #2b1750;
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(ellipse at top right, rgba(255, 43, 214, 0.10), transparent 45%),
    radial-gradient(ellipse at bottom left, rgba(0, 229, 255, 0.08), transparent 50%),
    var(--bg);
  color: var(--fg);
  line-height: 1.55;
  font-size: 16px;
  padding-bottom: 4rem;
  min-height: 100vh;
}

a { color: var(--neon-cyan); text-decoration: none; }
a:hover { color: var(--neon-pink); }

.logi-card a, .craps-note-box a {
  text-decoration: underline;
  text-decoration-color: rgba(0, 229, 255, 0.45);
  text-underline-offset: 3px;
}

/* ========= COUNTDOWN ========= */
.countdown {
  background:
    radial-gradient(ellipse at center top, rgba(255, 43, 214, 0.20), transparent 70%),
    #050010;
  border-bottom: 1px solid rgba(255, 43, 214, 0.4);
  padding: 1.1rem 1rem 1.2rem;
  text-align: center;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  position: relative;
  overflow: hidden;
}
.countdown::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(255, 43, 214, 0.05) 80px 81px);
  pointer-events: none;
}
.countdown-label {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--neon-pink);
  margin-bottom: 0.7rem;
  font-weight: 800;
  position: relative;
  text-shadow: 0 0 12px rgba(255, 43, 214, 0.65);
}
.countdown-label::before,
.countdown-label::after {
  content: "▸";
  margin: 0 0.5rem;
  color: rgba(255, 43, 214, 0.55);
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}
.cd-cell {
  background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(20,0,40,0.6));
  border: 1px solid rgba(255, 43, 214, 0.4);
  border-radius: 6px;
  padding: 0.55rem 0.3rem 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 0 12px rgba(255, 43, 214, 0.10);
}
.cd-num {
  display: block;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 0 12px rgba(255, 204, 51, 0.5);
}
.cd-lbl {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: 0.35rem;
}
.cd-blink { animation: cd-blink 1s steps(2) infinite; }
@keyframes cd-blink { 50% { opacity: 0.45; } }

@media (prefers-reduced-motion: reduce) {
  .cd-blink { animation: none; }
}

/* ========= TICKER ========= */
.ticker {
  background: #000;
  border-bottom: 1px solid var(--neon-cyan);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.5rem 0;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.ticker-track {
  display: inline-block;
  animation: scroll 30s linear infinite;
  padding-left: 100%;
}
.ticker-track span {
  margin-right: 2.5rem;
  color: var(--neon-cyan);
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.5);
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ========= HERO ========= */
.hero {
  background:
    radial-gradient(ellipse at top, rgba(255, 43, 214, 0.25), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(0, 229, 255, 0.18), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 1.25rem 3.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.kicker {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}
h1 {
  font-size: clamp(2.8rem, 14vw, 5.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  color: var(--fg);
  text-shadow:
    0 0 12px rgba(255, 43, 214, 0.35),
    0 0 4px rgba(255, 255, 255, 0.5);
}
h1 .city {
  background: linear-gradient(135deg, var(--gold) 0%, #fff19c 50%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(255, 204, 51, 0.55));
}
.tagline {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2rem;
  font-style: italic;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.hero-meta div {
  background: var(--bg-3);
  border: 1px solid var(--line);
  padding: 0.85rem 0.4rem;
  border-radius: 6px;
}
.hero-meta span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.hero-meta strong {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.hero-note {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 1.1rem;
  font-style: italic;
  opacity: 0.75;
}

/* ========= TABS ========= */
.tabs {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 0, 26, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto;
  padding: 1rem 0.9rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  text-shadow: 0 0 8px rgba(255, 204, 51, 0.4);
}
.craps-tab { color: var(--neon-green) !important; }
.craps-tab.active { border-bottom-color: var(--neon-green) !important; text-shadow: 0 0 10px rgba(57, 255, 20, 0.5); }
.strip-tab { color: var(--neon-pink) !important; }
.strip-tab.active { border-bottom-color: var(--neon-pink) !important; text-shadow: 0 0 10px rgba(255, 43, 214, 0.5); }
.whopays-tab { color: var(--shame) !important; }
.whopays-tab.active { border-bottom-color: var(--shame) !important; text-shadow: 0 0 10px rgba(255, 42, 69, 0.5); }
.budget-tab { color: var(--gold) !important; }
.survival-tab { color: #ffeb3b !important; }
.activities-tab { color: var(--neon-purple) !important; }

/* ========= MAIN ========= */
main { max-width: 700px; margin: 0 auto; padding: 0 1.25rem; }

section { padding: 2.5rem 0 1rem; scroll-margin-top: 60px; }

.day-head { margin-bottom: 2rem; }
.day-num {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  background: rgba(255, 204, 51, 0.08);
  border: 1px solid rgba(255, 204, 51, 0.35);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
h2 {
  font-size: clamp(1.8rem, 7vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.day-sub {
  color: var(--muted);
  font-size: 1rem;
}
.day-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  text-align: center;
  border-top: 1px dashed var(--line);
  padding-top: 1rem;
}

/* ========= CREW / PLAYERS ========= */
.crew-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}
.crew-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 0.85rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.15s;
}
.crew-card:hover {
  border-color: var(--neon-pink);
  transform: translateY(-2px);
}
.crew-icon {
  font-size: 2rem;
  margin-bottom: 0.4rem;
  line-height: 1;
}
.crew-card strong {
  display: block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--neon-cyan);
  margin-bottom: 0.3rem;
}
.crew-card span {
  display: block;
  font-size: 1rem;
  color: var(--fg);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.crew-role {
  display: block;
  font-size: 0.72rem;
  color: var(--gold);
  font-style: italic;
}

/* ========= HQ + TRAVEL (shared logi grid) ========= */
.logi-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
.logi-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem;
}
.logi-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--gold);
}
.logi-card p {
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
  color: #e3dbef;
}
.logi-card p.note {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  border-left: 2px solid rgba(255, 204, 51, 0.3);
  padding-left: 0.55rem;
}

/* ========= CRAPS TABLE ========= */
.craps-num {
  background: rgba(57, 255, 20, 0.10) !important;
  border-color: rgba(57, 255, 20, 0.5) !important;
  color: var(--neon-green) !important;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}
/* ========= CRAPS GROWTH CHART ========= */
.craps-growth-chart {
  background:
    radial-gradient(ellipse at center top, rgba(57, 255, 20, 0.10), transparent 65%),
    linear-gradient(180deg, var(--felt) 0%, var(--felt-dark) 100%);
  border: 2px solid rgba(57, 255, 20, 0.5);
  border-radius: 14px;
  padding: 1.1rem 1rem 0.85rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 32px rgba(57, 255, 20, 0.18), inset 0 0 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}
.craps-growth-chart::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 30px, rgba(57, 255, 20, 0.03) 30px 31px);
  pointer-events: none;
}
.craps-growth-head { text-align: center; margin-bottom: 0.7rem; position: relative; }
.craps-growth-ticker {
  display: inline-block;
  background: rgba(57, 255, 20, 0.18);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
  animation: cg-ticker-blink 2.4s ease-in-out infinite;
}
@keyframes cg-ticker-blink {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; box-shadow: 0 0 18px rgba(57, 255, 20, 0.6); }
}
.craps-growth-chart h3 {
  font-size: 1.1rem;
  color: var(--neon-green);
  margin-bottom: 0.25rem;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}
.craps-growth-sub {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.craps-growth-svg {
  width: 100%;
  height: auto;
  display: block;
  margin: 0.4rem 0 0.8rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.craps-growth-svg .cg-axis-y,
.craps-growth-svg .cg-axis-x {
  font-size: 11px;
  fill: var(--muted);
}
.craps-growth-svg .cg-axis-title {
  font-size: 10px;
  fill: var(--muted);
  letter-spacing: 0.18em;
}
.craps-growth-svg .cg-house-label {
  font-size: 10px;
  fill: #ff8a99;
  font-style: italic;
}
.craps-growth-svg .cg-points circle { fill: var(--neon-green); filter: drop-shadow(0 0 4px rgba(57, 255, 20, 0.7)); }
.craps-growth-svg .cg-points circle.cg-jackpot { fill: var(--gold); filter: drop-shadow(0 0 10px rgba(255, 204, 51, 0.8)); }
.craps-growth-svg .cg-point-labels text {
  font-size: 11px;
  font-weight: 800;
  fill: #fff5e8;
  text-shadow: 0 0 6px rgba(0,0,0,0.8);
}
.craps-growth-svg .cg-jackpot-label {
  fill: var(--gold) !important;
  font-size: 13px !important;
  text-shadow: 0 0 8px rgba(255, 204, 51, 0.6);
}
.craps-growth-svg .cg-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: cg-draw 2.4s 0.3s ease-out forwards;
}
.craps-growth-svg .cg-area {
  opacity: 0;
  animation: cg-fade-in 1.5s 2.3s ease-out forwards;
}
.craps-growth-svg .cg-points circle,
.craps-growth-svg .cg-point-labels text {
  opacity: 0;
  animation: cg-fade-in 0.5s ease-out forwards;
}
.craps-growth-svg .cg-points circle:nth-of-type(1) { animation-delay: 0.5s; }
.craps-growth-svg .cg-points circle:nth-of-type(2) { animation-delay: 0.9s; }
.craps-growth-svg .cg-points circle:nth-of-type(3) { animation-delay: 1.4s; }
.craps-growth-svg .cg-points circle:nth-of-type(4) { animation-delay: 1.9s; }
.craps-growth-svg .cg-points circle:nth-of-type(5) { animation-delay: 2.4s; }
.craps-growth-svg .cg-point-labels text:nth-of-type(1) { animation-delay: 0.6s; }
.craps-growth-svg .cg-point-labels text:nth-of-type(2) { animation-delay: 1.0s; }
.craps-growth-svg .cg-point-labels text:nth-of-type(3) { animation-delay: 1.5s; }
.craps-growth-svg .cg-point-labels text:nth-of-type(4) { animation-delay: 2.0s; }
.craps-growth-svg .cg-point-labels text:nth-of-type(5) { animation-delay: 2.5s; }

@keyframes cg-draw { to { stroke-dashoffset: 0; } }
@keyframes cg-fade-in { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .craps-growth-svg .cg-line { stroke-dashoffset: 0; animation: none; }
  .craps-growth-svg .cg-area,
  .craps-growth-svg .cg-points circle,
  .craps-growth-svg .cg-point-labels text { opacity: 1; animation: none; }
  .craps-growth-ticker { animation: none; }
}

.craps-growth-milestones {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: 1fr;
  margin-bottom: 0.7rem;
}
.cg-milestone {
  background: rgba(0, 0, 0, 0.35);
  border-left: 3px solid var(--neon-green);
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #e3dbef;
}
.cg-milestone strong {
  color: var(--neon-green);
  margin-right: 0.4rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  text-shadow: 0 0 6px rgba(57, 255, 20, 0.4);
}
.cg-milestone em { color: var(--gold); font-style: italic; }
.cg-milestone:last-child strong { color: var(--gold); text-shadow: 0 0 6px rgba(255, 204, 51, 0.5); }
.cg-milestone:last-child { border-left-color: var(--gold); }

.craps-growth-disclaimer {
  font-size: 0.72rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.55;
  margin-top: 0.3rem;
  text-align: center;
}
.craps-growth-disclaimer strong { color: var(--gold); }

@media (min-width: 640px) {
  .craps-growth-milestones { grid-template-columns: 1fr 1fr; }
}

.craps-table-wrap {
  background:
    radial-gradient(ellipse at center top, rgba(57, 255, 20, 0.10), transparent 70%),
    linear-gradient(180deg, var(--felt) 0%, var(--felt-dark) 100%);
  border: 2px solid rgba(57, 255, 20, 0.4);
  border-radius: 12px;
  padding: 0.5rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.12), inset 0 0 60px rgba(0, 0, 0, 0.3);
}
.craps-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 540px;
}
.craps-table thead th {
  background: rgba(0, 0, 0, 0.35);
  color: var(--gold);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  padding: 0.7rem 0.55rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 204, 51, 0.3);
}
.craps-table th.num { text-align: right; }
.craps-table tbody td {
  padding: 0.7rem 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e3dbef;
}
.craps-table td.num {
  text-align: right;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-weight: 700;
  color: var(--neon-green);
  text-shadow: 0 0 6px rgba(57, 255, 20, 0.4);
}
.craps-table td.odds { color: var(--gold); text-shadow: 0 0 6px rgba(255, 204, 51, 0.3); }
.craps-table tbody tr.hot { background: rgba(255, 204, 51, 0.06); }
.craps-table tbody tr.hot td:first-child { color: var(--gold); }
.craps-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }

.craps-note-box {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--neon-green);
  border-radius: 8px;
  padding: 1.1rem 1.15rem;
}
.craps-note-box h3 {
  color: var(--neon-green);
  font-size: 1rem;
  margin-bottom: 0.6rem;
  text-shadow: 0 0 6px rgba(57, 255, 20, 0.4);
}
.craps-note-box ul {
  list-style: none;
  font-size: 0.9rem;
}
.craps-note-box li {
  padding: 0.3rem 0 0.3rem 1.1rem;
  position: relative;
  color: #e3dbef;
}
.craps-note-box li::before {
  content: "🎲";
  position: absolute;
  left: 0;
  font-size: 0.8rem;
}

/* ========= MACHINE-CARDS (shared frame) ========= */
.machine-section { padding: 2.5rem 0 1rem; }
.machine-num {
  background: rgba(181, 69, 255, 0.12) !important;
  border-color: rgba(181, 69, 255, 0.5) !important;
  color: var(--neon-purple) !important;
  text-shadow: 0 0 10px rgba(181, 69, 255, 0.4);
}
.cocktail-num { color: var(--neon-pink) !important; border-color: rgba(255, 43, 214, 0.5) !important; background: rgba(255, 43, 214, 0.10) !important; }
.beer-num { color: var(--neon-amber) !important; border-color: rgba(255, 183, 77, 0.5) !important; background: rgba(255, 183, 77, 0.10) !important; }
.food-num { color: var(--neon-orange) !important; border-color: rgba(255, 112, 67, 0.5) !important; background: rgba(255, 112, 67, 0.10) !important; }
.strip-num { color: var(--neon-cyan) !important; border-color: rgba(0, 229, 255, 0.5) !important; background: rgba(0, 229, 255, 0.10) !important; }
.slots-num { color: var(--gold) !important; border-color: rgba(255, 204, 51, 0.5) !important; background: rgba(255, 204, 51, 0.10) !important; }
.whopays-num { color: var(--shame) !important; border-color: rgba(255, 42, 69, 0.55) !important; background: rgba(255, 42, 69, 0.12) !important; }

.machine-card {
  background:
    radial-gradient(ellipse at top, rgba(181, 69, 255, 0.18), transparent 65%),
    linear-gradient(135deg, #0c0418 0%, #150428 100%);
  border: 2px solid var(--neon-purple);
  border-radius: 12px;
  padding: 1.4rem 1.1rem;
  box-shadow: 0 0 40px rgba(181, 69, 255, 0.15);
  text-align: center;
}
.cocktail-card { border-color: var(--neon-pink); box-shadow: 0 0 40px rgba(255, 43, 214, 0.18); background: radial-gradient(ellipse at top, rgba(255, 43, 214, 0.18), transparent 65%), linear-gradient(135deg, #190614 0%, #2a0c1f 100%); }
.beer-card { border-color: var(--neon-amber); box-shadow: 0 0 36px rgba(255, 183, 77, 0.15); background: radial-gradient(ellipse at top, rgba(255, 183, 77, 0.16), transparent 65%), linear-gradient(135deg, #1c1208 0%, #2a1b0a 100%); }
.food-card { border-color: var(--neon-orange); box-shadow: 0 0 36px rgba(255, 112, 67, 0.15); background: radial-gradient(ellipse at top, rgba(255, 112, 67, 0.18), transparent 65%), linear-gradient(135deg, #1c0d08 0%, #2a140c 100%); }
.strip-card { border-color: var(--neon-cyan); box-shadow: 0 0 40px rgba(0, 229, 255, 0.18); background: radial-gradient(ellipse at top, rgba(0, 229, 255, 0.16), transparent 65%), linear-gradient(135deg, #021620 0%, #042736 100%); }
.slots-card { border-color: var(--gold); box-shadow: 0 0 40px rgba(255, 204, 51, 0.18); background: radial-gradient(ellipse at top, rgba(255, 204, 51, 0.18), transparent 65%), linear-gradient(135deg, #1a1408 0%, #2a200c 100%); }
.whopays-card { border-color: var(--shame); box-shadow: 0 0 40px rgba(255, 42, 69, 0.22); background: radial-gradient(ellipse at top, rgba(255, 42, 69, 0.16), transparent 65%), linear-gradient(135deg, #1e0708 0%, #2c0b0e 100%); }

.machine-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.1rem;
}
.machine-spin {
  background: linear-gradient(135deg, #7c3aed, var(--neon-purple));
  border: none;
  color: white;
  font-family: inherit;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.12em;
  padding: 1.05rem;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.1s, opacity 0.15s;
  box-shadow: 0 4px 24px rgba(181, 69, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  -webkit-tap-highlight-color: transparent;
}
.cocktail-card .machine-spin { background: linear-gradient(135deg, #c2185b, var(--neon-pink)); box-shadow: 0 4px 24px rgba(255, 43, 214, 0.35), inset 0 1px 0 rgba(255,255,255,0.15); }
.beer-card .machine-spin { background: linear-gradient(135deg, var(--neon-orange), var(--neon-amber)); color: #1a0a02; box-shadow: 0 4px 24px rgba(255, 183, 77, 0.35), inset 0 1px 0 rgba(255,255,255,0.15); }
.food-card .machine-spin { background: linear-gradient(135deg, #c62828, var(--neon-orange)); box-shadow: 0 4px 24px rgba(255, 112, 67, 0.35), inset 0 1px 0 rgba(255,255,255,0.15); }
.strip-card .machine-spin { background: linear-gradient(135deg, #006acc, var(--neon-cyan)); color: #001019; box-shadow: 0 4px 24px rgba(0, 229, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.15); }
.slots-card .machine-spin { background: linear-gradient(135deg, #b8860b, var(--gold)); color: #1a1200; box-shadow: 0 4px 24px rgba(255, 204, 51, 0.35), inset 0 1px 0 rgba(255,255,255,0.15); }
.whopays-card .machine-spin.shame-spin { background: linear-gradient(135deg, #8b0d1f, var(--shame)); color: #fff; box-shadow: 0 4px 24px rgba(255, 42, 69, 0.4), inset 0 1px 0 rgba(255,255,255,0.15); }

.machine-spin:active { transform: scale(0.98); }
.machine-spin.spinning { opacity: 0.55; cursor: wait; }

.machine-maps {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--fg) !important;
  padding: 0.85rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  font-family: inherit;
  text-align: center;
}
.machine-maps:hover { background: rgba(255, 255, 255, 0.12); }
.machine-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.55;
}

.readout-name {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
  color: var(--fg);
  word-break: break-word;
}
.readout-desc {
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.45;
}
.readout-emoji {
  font-size: 2.2rem;
  margin-bottom: 0.3rem;
  line-height: 1;
}

.cocktail-card .readout-name, .cocktail-card .card-name { color: var(--neon-pink); text-shadow: 0 0 14px rgba(255, 43, 214, 0.5); }
.beer-card .readout-name { color: var(--neon-amber); text-shadow: 0 0 14px rgba(255, 183, 77, 0.5); }
.food-card .readout-name { color: var(--neon-orange); text-shadow: 0 0 14px rgba(255, 112, 67, 0.5); }
.strip-card .readout-name { color: var(--neon-cyan); text-shadow: 0 0 14px rgba(0, 229, 255, 0.5); }
.slots-card .readout-name { color: var(--gold); text-shadow: 0 0 14px rgba(255, 204, 51, 0.5); }
.whopays-card .readout-name { color: var(--shame); text-shadow: 0 0 14px rgba(255, 42, 69, 0.55); }

/* ========= CARD FLIP (COCKTAIL) ========= */
.card-flip-stage {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.playing-card {
  width: 200px;
  height: 290px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.playing-card.flipping {
  animation: card-shake 0.08s steps(2) infinite;
}
.playing-card.flipped { transform: rotateY(180deg); }
.card-face {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.8rem;
  border: 2px solid var(--neon-pink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 43, 214, 0.25);
}
.card-back {
  background:
    repeating-linear-gradient(45deg, #c2185b 0 8px, #7a0d3c 8px 16px);
  color: var(--gold);
}
.card-back-pattern {
  font-size: 1.6rem;
  letter-spacing: 0.4em;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  border: 2px solid var(--gold);
  padding: 1.4rem 1rem;
  border-radius: 8px;
}
.card-front {
  background: linear-gradient(160deg, #fff 0%, #ffe0f0 100%);
  color: #1a0010;
  transform: rotateY(180deg);
  text-align: center;
}
.card-suit {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.card-front .card-name {
  font-size: 0.95rem;
  font-weight: 900;
  color: #6b0035;
  margin-bottom: 0.4rem;
  word-break: break-word;
  line-height: 1.2;
  text-shadow: none;
}
.card-desc {
  font-size: 0.72rem;
  color: #4a0030;
  font-style: italic;
  line-height: 1.35;
  max-height: 6rem;
  overflow: hidden;
}
@keyframes card-shake {
  0%, 100% { transform: rotateY(0deg) translateX(0); }
  50% { transform: rotateY(180deg) translateX(2px); }
}

/* ========= ONE-ARMED BANDIT (BEER) ========= */
.bandit-frame {
  background: linear-gradient(180deg, #2a1b0a, #1c1208);
  border: 2px solid var(--neon-amber);
  border-radius: 14px;
  padding: 1.1rem 0.9rem;
  position: relative;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
}
.bandit-reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-right: 2.6rem;
  margin-bottom: 1rem;
}
.reel {
  background: #0d0703;
  border: 2px solid var(--neon-amber);
  border-radius: 8px;
  height: 5rem;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.8);
}
.reel-inner {
  width: 100%;
  text-align: center;
  transition: transform 0.3s ease;
}
.reel-inner span {
  font-size: 2.4rem;
  line-height: 1;
  display: inline-block;
}
.reel.spinning .reel-inner {
  animation: reel-spin 0.12s linear infinite;
}
@keyframes reel-spin {
  0% { transform: translateY(-40%); }
  100% { transform: translateY(40%); }
}
.bandit-arm {
  position: absolute;
  top: 1rem;
  right: 0.6rem;
  width: 1.4rem;
  height: 5.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.bandit-arm.pulled { transform: rotate(35deg) translateY(0.4rem); }
.bandit-arm-shaft {
  width: 4px;
  height: 4.2rem;
  background: linear-gradient(180deg, #b3b3b3, #5a5a5a);
  border-radius: 2px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
}
.bandit-arm-knob {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff5252, #8b0000);
  margin-top: -0.3rem;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
}
.bandit-readout { text-align: center; }

/* ========= ROULETTE WHEEL (FOOD + WHO PAYS) ========= */
.roulette-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
}
.roulette-wheel {
  position: relative;
  width: 220px;
  height: 220px;
  margin-bottom: 1rem;
}
.roulette-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ff7043, #ff2bd6, #b545ff, #00e5ff, #39ff14, #ffcc33);
  box-shadow:
    0 0 0 4px #1a1408,
    0 0 0 6px var(--gold),
    inset 0 0 30px rgba(0, 0, 0, 0.55);
  transition: transform 4s cubic-bezier(0.17, 0.84, 0.34, 1);
  transform-origin: 50% 50%;
}
.shame-wheel .roulette-ring {
  box-shadow:
    0 0 0 4px #1a0708,
    0 0 0 6px var(--shame),
    inset 0 0 30px rgba(0, 0, 0, 0.55);
}
.roulette-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3.2rem;
  height: 3.2rem;
  margin: -1.6rem 0 0 -1.6rem;
  background: radial-gradient(circle at 30% 30%, #ffe999, #b8860b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #2a1500;
  border: 2px solid #4a2800;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}
.shame-wheel .roulette-hub {
  background: radial-gradient(circle at 30% 30%, #ff8a99, #8b0d1f);
  color: #fff;
  border-color: #4a0008;
}
.roulette-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 24px solid var(--gold);
  filter: drop-shadow(0 0 6px rgba(255, 204, 51, 0.55));
  z-index: 2;
}
.shame-pointer { border-top-color: var(--shame); filter: drop-shadow(0 0 6px rgba(255, 42, 69, 0.55)); }

.roulette-readout,
.shame-readout,
.bandit-readout,
.dice-readout,
.slot3-readout {
  text-align: center;
  padding: 0.4rem 0.5rem;
}

/* ========= DICE (STRIP) ========= */
.dice-stage {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.die {
  width: 4.5rem;
  height: 4.5rem;
  background: linear-gradient(135deg, #fff, #dde);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  color: #001019;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55), inset 0 0 8px rgba(0, 229, 255, 0.2);
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--neon-cyan);
}
.die.rolling {
  animation: die-tumble 0.12s linear infinite;
}
@keyframes die-tumble {
  0%   { transform: rotate(0deg) translateY(0); }
  25%  { transform: rotate(90deg) translateY(-6px); }
  50%  { transform: rotate(180deg) translateY(0); }
  75%  { transform: rotate(270deg) translateY(-4px); }
  100% { transform: rotate(360deg) translateY(0); }
}

/* ========= 3-REEL SLOT (SLOTS) ========= */
.slot3-frame {
  background: linear-gradient(180deg, #2a200c, #1a1408);
  border: 2px solid var(--gold);
  border-radius: 14px;
  padding: 1.1rem 0.9rem;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.55);
}
.slot3-reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.slot3-reel {
  border-color: var(--gold);
}
.slot3-readout { text-align: center; }

/* ========= WHEEL OF SHAME (WHO PAYS) ========= */
.whopays-section .day-num { color: var(--shame); border-color: rgba(255, 42, 69, 0.5); background: rgba(255, 42, 69, 0.12); }

.shame-readout {
  margin-top: 0.6rem;
}
.shame-reset {
  background: rgba(255, 42, 69, 0.08);
  border: 1px solid rgba(255, 42, 69, 0.35);
  color: var(--shame);
  padding: 0.85rem;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.shame-reset:hover { background: rgba(255, 42, 69, 0.16); }
.shame-tally {
  margin-top: 1.2rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 42, 69, 0.25);
  border-radius: 8px;
  padding: 0.85rem 0.9rem;
  text-align: left;
}
.shame-tally h3 {
  font-size: 0.95rem;
  color: var(--shame);
  margin-bottom: 0.6rem;
  text-align: center;
}
.shame-tally-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
}
.shame-tally-row:last-child { border-bottom: none; }
.shame-tally-name { flex: 1; font-weight: 700; }
.shame-tally-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  overflow: hidden;
  width: 40%;
}
.shame-tally-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--shame), #ff8a99);
  transition: width 0.35s ease;
}
.shame-tally-count {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-weight: 900;
  min-width: 1.8rem;
  text-align: right;
  color: var(--gold);
}
.shame-tally-empty {
  color: var(--muted);
  font-style: italic;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.4rem 0;
}

/* ========= HISTORIK ========= */
.history-num {
  background: rgba(255, 204, 51, 0.10) !important;
  border-color: rgba(255, 204, 51, 0.45) !important;
  color: var(--gold) !important;
}
.history-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem;
}
.history-list {
  max-height: 22rem;
  overflow-y: auto;
  margin-bottom: 0.85rem;
}
.history-empty {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  padding: 1.5rem 0.5rem;
  font-style: italic;
}
.history-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.88rem;
}
.history-item:last-child { border-bottom: none; }
.history-cat {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}
.history-cat-cocktail { background: rgba(255,43,214,0.15); color: var(--neon-pink); }
.history-cat-beer { background: rgba(255,183,77,0.15); color: var(--neon-amber); }
.history-cat-food { background: rgba(255,112,67,0.15); color: var(--neon-orange); }
.history-cat-strip { background: rgba(0,229,255,0.15); color: var(--neon-cyan); }
.history-cat-slots { background: rgba(255,204,51,0.15); color: var(--gold); }
.history-cat-whopays { background: rgba(255,42,69,0.18); color: var(--shame); }
.history-name { flex: 1; font-weight: 700; color: var(--fg); }
.history-when {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.7rem;
  color: var(--muted);
}
.history-clear {
  width: 100%;
  background: rgba(255, 42, 69, 0.10);
  border: 1px solid rgba(255, 42, 69, 0.35);
  color: var(--red);
  padding: 0.7rem;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.history-clear:hover { background: rgba(255, 42, 69, 0.18); }

/* ========= BUDGET ========= */
.budget-num {
  background: rgba(255, 204, 51, 0.10) !important;
  border-color: rgba(255, 204, 51, 0.45) !important;
  color: var(--gold) !important;
}
.budget-card {
  background:
    radial-gradient(ellipse at top, rgba(255, 204, 51, 0.15), transparent 60%),
    linear-gradient(135deg, #1c1408 0%, #2a200c 100%);
  border: 2px solid var(--gold);
  border-radius: 14px;
  padding: 1.4rem 1.15rem;
  box-shadow: 0 0 30px rgba(255, 204, 51, 0.18);
  text-align: center;
}
.budget-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: stretch;
  margin-bottom: 1.25rem;
}
.budget-side { display: flex; flex-direction: column; justify-content: space-between; }
@media (max-width: 520px) {
  .budget-layout { grid-template-columns: 1fr; justify-items: center; }
}

/* ========= COIN TUBE ========= */
.coin-tube {
  position: relative;
  width: 4.2rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.coin-tube-cap,
.coin-tube-base {
  height: 0.5rem;
  background: linear-gradient(180deg, #555, #1a1a1a);
  border-radius: 4px 4px 0 0;
  border: 1px solid #888;
  box-shadow: inset 0 0 4px rgba(255,255,255,0.18);
}
.coin-tube-base { border-radius: 0 0 4px 4px; background: linear-gradient(0deg, #555, #1a1a1a); }
.coin-tube-body {
  flex: 1;
  min-height: 18rem;
  display: flex;
  flex-direction: column-reverse;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,0.10) 0%,
      rgba(255,255,255,0.04) 30%,
      rgba(0,0,0,0.10) 70%,
      rgba(0,0,0,0.20) 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.18rem 0.18rem;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.coin-slot {
  flex: 1 1 0;
  min-height: 0.35rem;
  max-height: 0.55rem;
  border-radius: 50%;
  margin: 1px 0;
  background: rgba(255,255,255,0.02);
}
.coin-slot.filled {
  background:
    radial-gradient(circle at 35% 35%, #fff19c 0%, var(--gold) 45%, #8b6508 100%);
  box-shadow:
    0 0 4px rgba(255, 204, 51, 0.6),
    inset 0 0 2px rgba(255, 255, 255, 0.6);
  animation: coin-drop 0.45s ease-out backwards;
}
.coin-slot.starter { animation: none; }
@keyframes coin-drop {
  0%   { transform: translateY(-300%); opacity: 0; }
  60%  { transform: translateY(8%); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.coin-tube-label {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  text-align: center;
  margin-top: 0.3rem;
  text-shadow: 0 0 4px rgba(255, 204, 51, 0.4);
}

.budget-amount-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.budget-current {
  font-size: clamp(1.7rem, 6vw, 2.2rem);
  font-weight: 900;
  color: var(--neon-green);
  text-shadow: 0 0 14px rgba(57, 255, 20, 0.5);
  font-variant-numeric: tabular-nums;
}
.budget-divider { color: var(--muted); font-size: 1.4rem; }
.budget-goal {
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.budget-amount-sub {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  margin-top: 0.3rem;
}

.budget-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.budget-stat {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 204, 51, 0.25);
  border-radius: 8px;
  padding: 0.7rem 0.6rem;
}
.budget-stat-label {
  display: block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.budget-stat-num {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.budget-note { font-size: 0.85rem; color: #e3dbef; margin-bottom: 0.5rem; }
.budget-note strong { color: var(--gold); }
.budget-disclaimer { font-size: 0.7rem; color: var(--muted); font-style: italic; line-height: 1.5; }

/* ========= BUDGET BREAKDOWN ========= */
.budget-breakdown {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(255, 204, 51, 0.3);
  text-align: left;
}
.budget-breakdown h3 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
  text-align: center;
}
.budget-breakdown-sub {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  text-align: center;
  margin-bottom: 0.9rem;
}
.budget-breakdown-wrap {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 204, 51, 0.25);
  border-radius: 8px;
  padding: 0.4rem;
  overflow-x: auto;
}
.budget-breakdown-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  min-width: 480px;
}
.budget-breakdown-table thead th {
  background: rgba(0, 0, 0, 0.45);
  color: var(--gold);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  padding: 0.55rem 0.55rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 204, 51, 0.3);
}
.budget-breakdown-table th.num { text-align: right; }
.budget-breakdown-table tbody td {
  padding: 0.55rem 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #e3dbef;
  vertical-align: top;
}
.budget-breakdown-table td.num {
  text-align: right;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.budget-breakdown-table tr.emphasis {
  background: rgba(57, 255, 20, 0.06);
}
.budget-breakdown-table tr.emphasis td.num {
  color: var(--neon-green);
  text-shadow: 0 0 6px rgba(57, 255, 20, 0.4);
}
.budget-breakdown-table tr.total {
  background: rgba(255, 204, 51, 0.12);
  border-top: 2px solid var(--gold);
}
.budget-breakdown-table tr.total td {
  color: var(--gold);
  font-weight: 800;
  padding-top: 0.7rem;
}
.budget-breakdown-table tr.total td.num {
  text-shadow: 0 0 8px rgba(255, 204, 51, 0.5);
}
.budget-breakdown-note {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.7rem;
  line-height: 1.5;
  text-align: center;
}

/* ========= DONE ========= */
.done-num {
  background: rgba(57, 255, 20, 0.10) !important;
  border-color: rgba(57, 255, 20, 0.45) !important;
  color: var(--neon-green) !important;
}
.done-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr;
}
.done-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--neon-green);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0.78;
}
.done-icon { font-size: 2rem; line-height: 1; }
.done-card strong {
  display: block;
  color: var(--neon-green);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}
.done-card span { display: block; font-size: 0.82rem; color: var(--muted); }

/* ========= FOOTER ========= */
footer {
  margin-top: 4rem;
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--line);
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.disclaimer { font-size: 0.75rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.6; }
.brand {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-shadow: 0 0 8px rgba(255, 204, 51, 0.3);
}

/* ========= NEON DICE RAIN ========= */
.neon-drop {
  position: fixed;
  top: -3rem;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  will-change: transform, opacity;
  animation: neon-fall linear forwards;
  filter: drop-shadow(0 0 8px currentColor);
  mix-blend-mode: screen;
}
@keyframes neon-fall {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  8%   { opacity: var(--peak-opacity, 0.7); }
  90%  { opacity: var(--peak-opacity, 0.7); }
  100% { transform: translate3d(var(--drift, 0px), 110vh, 0) rotate(var(--spin, 540deg)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .neon-drop { display: none; }
  .reel.spinning .reel-inner,
  .die.rolling,
  .playing-card.flipping { animation: none; }
  .roulette-ring { transition: none; }
}

/* ========= FLY-KLASSE COMPARISON ========= */
.fly-class-title {
  margin-top: 1.8rem;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
  color: var(--neon-cyan);
  letter-spacing: 0.02em;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}
.fly-class-sub {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.55;
}
.fly-class-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  margin-bottom: 1rem;
}
.fly-class-card {
  position: relative;
  background:
    radial-gradient(ellipse at top right, rgba(0, 229, 255, 0.08), transparent 60%),
    linear-gradient(135deg, #050e18 0%, #0a1828 100%);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 10px;
  padding: 1.1rem 1.1rem 0.9rem;
  transition: border-color 0.2s, transform 0.15s;
}
.fly-class-card:hover { transform: translateY(-2px); }
.fly-class-card.recommended {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.18);
}
.fly-class-card.recommended::after {
  content: "★ RECOMMENDED";
  position: absolute;
  top: -0.7rem;
  right: 0.85rem;
  background: var(--neon-cyan);
  color: #001019;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}
.fly-class-card.tier-whale {
  border-color: var(--gold);
  background:
    radial-gradient(ellipse at top right, rgba(255, 204, 51, 0.10), transparent 60%),
    linear-gradient(135deg, #1a1408 0%, #2a2010 100%);
}
.fly-class-tier {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.tier-variance .fly-class-tier {
  color: var(--neon-cyan);
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.08);
}
.tier-whale .fly-class-tier {
  color: var(--gold);
  border-color: rgba(255, 204, 51, 0.45);
  background: rgba(255, 204, 51, 0.10);
}
.fly-class-name {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 0.4rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.tier-variance .fly-class-name { color: var(--neon-cyan); }
.tier-whale .fly-class-name { color: var(--gold); }
.fly-class-price {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--neon-green);
  margin-bottom: 0.55rem;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}
.fly-class-price .diff {
  font-size: 0.85rem;
  color: var(--muted);
  margin-left: 0.4rem;
  text-shadow: none;
  font-weight: 400;
}
.fly-class-desc {
  font-size: 0.86rem;
  color: #e3dbef;
  margin-bottom: 0.6rem;
  line-height: 1.45;
}
.fly-class-features {
  list-style: none;
  margin-bottom: 0.85rem;
  padding: 0;
}
.fly-class-features li {
  font-size: 0.82rem;
  color: #cdc4e0;
  padding: 0.2rem 0 0.2rem 1.1rem;
  position: relative;
  line-height: 1.4;
}
.fly-class-features li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--neon-cyan);
  font-weight: 900;
}
.tier-whale .fly-class-features li::before { color: var(--gold); }
.fly-class-impact {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 204, 51, 0.25);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  text-align: center;
}
.fly-class-impact-label {
  display: block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.fly-class-impact strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 8px rgba(255, 204, 51, 0.4);
}
.fly-class-impact-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.2rem;
  font-style: italic;
}
.fly-class-note {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.55;
  border-left: 2px solid rgba(255, 204, 51, 0.4);
  padding-left: 0.7rem;
  margin-top: 0.5rem;
}

/* ========= CIRCA AMENITIES ========= */
.circa-amenity-title {
  margin-top: 1.8rem;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.circa-amenity-sub {
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 0.85rem;
}
.circa-amenity-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr;
}
.circa-amenity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: rgba(255, 204, 51, 0.05);
  border: 1px solid rgba(255, 204, 51, 0.2);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
}
.circa-amenity-emoji { font-size: 1.4rem; line-height: 1.4; flex: 0 0 auto; }
.circa-amenity-text strong { display: block; color: var(--gold); font-size: 0.92rem; margin-bottom: 0.15rem; }
.circa-amenity-text span { display: block; font-size: 0.78rem; color: #d8d2c0; line-height: 1.45; }

/* ========= SURVIVAL KIT ========= */
.survival-section { padding: 2.5rem 0 1rem; }
.survival-num {
  background: rgba(255, 235, 59, 0.10) !important;
  border-color: rgba(255, 235, 59, 0.5) !important;
  color: #ffeb3b !important;
  text-shadow: 0 0 10px rgba(255, 235, 59, 0.4);
}
.survival-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
.survival-card {
  background:
    radial-gradient(ellipse at top right, rgba(255, 235, 59, 0.10), transparent 60%),
    linear-gradient(135deg, #1c1a08 0%, #2a2510 100%);
  border: 1px solid rgba(255, 235, 59, 0.35);
  border-left: 4px solid #ffeb3b;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.survival-emoji {
  font-size: 2.6rem;
  line-height: 1;
  flex: 0 0 auto;
}
.survival-body { flex: 1; }
.survival-body strong {
  display: block;
  color: #fff19c;
  font-size: 1.02rem;
  margin-bottom: 0.2rem;
}
.survival-dose {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  background: rgba(255, 235, 59, 0.12);
  color: #ffeb3b;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  margin-bottom: 0.45rem;
}
.survival-body p {
  font-size: 0.85rem;
  color: #e3dcc6;
  line-height: 1.5;
  margin: 0;
}

/* ========= ACTIVITIES / OFF-TABLE ========= */
.activities-section { padding: 2.5rem 0 1rem; }
.activities-num {
  background: rgba(181, 69, 255, 0.10) !important;
  border-color: rgba(181, 69, 255, 0.5) !important;
  color: var(--neon-purple) !important;
}
.activities-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
.activity-card {
  background:
    radial-gradient(ellipse at top, rgba(181, 69, 255, 0.10), transparent 60%),
    linear-gradient(135deg, #0d0418 0%, #15082a 100%);
  border: 1px solid rgba(181, 69, 255, 0.35);
  border-left: 4px solid var(--neon-purple);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  transition: transform 0.15s, border-color 0.15s;
}
.activity-card:hover { transform: translateY(-2px); border-color: var(--neon-pink); }
.activity-emoji { font-size: 2.4rem; line-height: 1; flex: 0 0 auto; }
.activity-body { flex: 1; }
.activity-body strong {
  display: block;
  color: var(--neon-purple);
  font-size: 1rem;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 8px rgba(181, 69, 255, 0.4);
}
.activity-body p { font-size: 0.85rem; color: #e3dbef; line-height: 1.5; margin-bottom: 0.5rem; }
.activity-maps {
  display: inline-block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--neon-cyan) !important;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  text-decoration: none !important;
}
.activity-maps:hover { background: rgba(0, 229, 255, 0.18); }

/* ========= SUMMON SHOOTER BUTTON ========= */
.summon-shooter {
  margin-top: 1rem;
  width: 100%;
  background: linear-gradient(135deg, #2a1500, #4a2800);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.15s;
  text-shadow: 0 0 8px rgba(255, 204, 51, 0.45);
}
.summon-shooter:hover {
  box-shadow: 0 0 18px rgba(255, 204, 51, 0.35), inset 0 0 18px rgba(255, 204, 51, 0.08);
}
.summon-shooter:active { transform: scale(0.98); }

/* ========= EPIC SHOOTER CAMEO ========= */
.shooter-cameo {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  z-index: 999;
  width: min(360px, 90vw);
  display: flex;
  gap: 0.7rem;
  background: linear-gradient(135deg, #1a0a02 0%, #2a1408 100%);
  border: 3px solid var(--gold);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(255, 204, 51, 0.35);
  transform: translateY(140%);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}
.shooter-cameo:not([hidden]) {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.shooter-dismiss {
  position: absolute;
  top: 0.2rem;
  right: 0.4rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0 0.3rem;
  line-height: 1;
}
.shooter-dismiss:hover { color: var(--gold); }
.shooter-character {
  position: relative;
  width: 90px;
  flex: 0 0 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.shooter-fur {
  width: 100%;
  height: 0.55rem;
  background:
    radial-gradient(circle at 10% 50%, #fff 0 6px, transparent 7px),
    radial-gradient(circle at 30% 50%, #f0f0f0 0 6px, transparent 7px),
    radial-gradient(circle at 50% 50%, #fff 0 6px, transparent 7px),
    radial-gradient(circle at 70% 50%, #f0f0f0 0 6px, transparent 7px),
    radial-gradient(circle at 90% 50%, #fff 0 6px, transparent 7px),
    #e8e8e8;
  background-size: 18px 12px, 18px 12px, 18px 12px, 18px 12px, 18px 12px, 100% 100%;
  background-repeat: repeat-x;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}
.shooter-fur-top { margin-bottom: 0.15rem; }
.shooter-fur-bot { margin-top: 0.15rem; }
.shooter-chains {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  text-shadow: 0 0 6px rgba(255, 204, 51, 0.5);
  line-height: 1;
}
.shooter-chains-top { margin-bottom: -0.15rem; }
.shooter-chains-bot { margin-top: -0.15rem; }
.shooter-face {
  font-size: 3rem;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(255, 204, 51, 0.5));
}
.shooter-bubble {
  flex: 1;
  background: linear-gradient(135deg, #fff5e8 0%, #ffe999 100%);
  color: #2a1500;
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.shooter-bubble::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 12px solid #fff5e8;
}
.shooter-bubble strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 0.2rem;
  text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}
.shooter-sub {
  display: block;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: #8b4500;
}
.shooter-cameo.shaking { animation: shooter-shake 0.18s cubic-bezier(0.36, 0.07, 0.19, 0.97) 4; }
@keyframes shooter-shake {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25%      { transform: translate3d(-3px, -1px, 0) rotate(-1.2deg); }
  75%      { transform: translate3d(3px, -2px, 0) rotate(1.2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .shooter-cameo.shaking { animation: none; }
  .shooter-cameo { transition: opacity 0.2s; transform: none; }
  .shooter-cameo[hidden] { opacity: 0; }
}

/* ========= TABLET+ ========= */
@media (min-width: 640px) {
  .crew-grid { grid-template-columns: repeat(3, 1fr); }
  .logi-grid { grid-template-columns: 1fr 1fr; }
  .circa-amenity-grid { grid-template-columns: 1fr 1fr; }
  .survival-grid { grid-template-columns: 1fr 1fr; }
  .activities-grid { grid-template-columns: 1fr 1fr; }
  .fly-class-grid { grid-template-columns: 1fr 1fr 1fr; }
  .done-grid { grid-template-columns: 1fr 1fr 1fr; }
  .budget-grid { grid-template-columns: repeat(4, 1fr); }
  main { padding: 0 2rem; }
  .hero-inner { padding: 5rem 2rem 5rem; }
  .roulette-wheel { width: 260px; height: 260px; }
}
@media (min-width: 900px) {
  .crew-grid { grid-template-columns: repeat(6, 1fr); }
}
