/* tolamon · Heart of Vegas companion · 2026 */

:root {
  --t-void: #0f0408;
  --t-night: #1a0810;
  --t-panel: #250c18;
  --t-surface: #301022;
  --t-ink: #fff5f8;
  --t-muted: #c49aaa;
  --t-line: rgba(255,245,248,0.1);
  --t-rose: #ff3d6b;
  --t-rose-dim: rgba(255,61,107,0.15);
  --t-gold: #ffcc44;
  --t-gold-dim: rgba(255,204,68,0.15);
  --t-cream: #ffe4b0;
  --t-cream-dim: rgba(255,228,176,0.12);
  --t-shadow: 0 24px 60px rgba(0,0,0,0.55);
  --t-glow: 0 0 48px rgba(255,61,107,0.1);
  --font-display: "Cinzel", "Georgia", serif;
  --font-ui: "Lato", system-ui, sans-serif;
  --max: 1140px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--t-ink);
  background: var(--t-void);
  overflow-x: hidden;
  isolation: isolate;
}

a { color: var(--t-gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--t-rose); }
img { max-width: 100%; height: auto; display: block; }

/* Background */
.t-bg {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
}
.t-bg__mesh {
  position: absolute; inset: -25%;
  background:
    radial-gradient(ellipse 50% 40% at 25% 25%, var(--t-rose-dim), transparent 60%),
    radial-gradient(ellipse 45% 35% at 75% 15%, var(--t-gold-dim), transparent 55%),
    radial-gradient(ellipse 55% 45% at 50% 90%, var(--t-cream-dim), transparent 60%),
    linear-gradient(155deg, var(--t-void) 0%, #120308 50%, var(--t-night) 100%);
  animation: t-mesh 20s ease-in-out infinite alternate;
}
@keyframes t-mesh {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(3%,2%) scale(1.05); }
}

.t-spark {
  position: absolute;
  width: var(--sz,10px); height: var(--sz,10px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--t-gold), #e6a000);
  box-shadow: 0 0 8px rgba(255,204,68,0.5);
  opacity: var(--op,0.35);
  animation: t-float var(--dur,12s) ease-in-out infinite;
  animation-delay: var(--delay,0s);
}
.t-spark:nth-child(odd) {
  background: linear-gradient(135deg, var(--t-rose), #cc1144);
  box-shadow: 0 0 8px rgba(255,61,107,0.4);
}
@keyframes t-float {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-16px) scale(1.06); }
}

/* Skip */
.t-skip { position: absolute; left: -9999px; top: 8px; padding: 0.5rem 0.9rem; background: var(--t-rose); color: #fff; font-weight: 700; z-index: 1000; border-radius: 8px; }
.t-skip:focus { left: var(--gutter); outline: 3px solid var(--t-gold); }

/* Header */
.t-head-wrap { position: sticky; top: 0; z-index: 100; padding: 0.85rem var(--gutter); display: flex; justify-content: center; pointer-events: none; }
.t-head {
  pointer-events: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.25rem;
  max-width: var(--max); width: 100%;
  padding: 0.55rem 1rem 0.55rem 1.25rem;
  background: rgba(26,8,16,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--t-line);
  border-radius: var(--radius-pill);
  box-shadow: var(--t-shadow), inset 0 1px 0 rgba(255,255,255,0.04);
}
.t-logo {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--t-ink); text-decoration: none; letter-spacing: 0.06em;
}
.t-logo img { flex-shrink: 0; border-radius: 8px; }

.t-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem; }
.t-nav a { font-size: 0.87rem; font-weight: 500; color: var(--t-muted); text-decoration: none; padding: 0.28rem 0.65rem; border-radius: var(--radius-pill); transition: color 0.18s, background 0.18s; }
.t-nav a:hover, .t-nav a[aria-current="page"] { color: var(--t-ink); background: rgba(255,61,107,0.12); }

.t-nav-toggle { display: none; background: none; border: 1px solid var(--t-line); border-radius: 8px; color: var(--t-ink); padding: 0.35rem 0.6rem; font-size: 1.1rem; cursor: pointer; }
@media (max-width: 700px) {
  .t-nav-toggle { display: block; }
  .t-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; padding: 0.5rem 0; }
  .t-nav.is-open { display: flex; }
}

/* Play badge */
.t-play { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; transition: opacity 0.18s, transform 0.18s; }
.t-play:hover { opacity: 0.88; transform: translateY(-1px); }

/* Shell */
.t-shell { max-width: var(--max); margin: 0 auto; padding: 3rem var(--gutter) 5rem; }

/* Typography */
.t-kicker { display: inline-block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-rose); margin-bottom: 0.5rem; }
.t-page-title { font-family: var(--font-display); font-size: clamp(2rem,5vw,3.4rem); font-weight: 700; line-height: 1.1; color: var(--t-ink); margin: 0 0 1rem; letter-spacing: 0.02em; }
.t-lead { font-size: clamp(1rem,1.5vw,1.13rem); color: var(--t-muted); max-width: 64ch; margin: 0 0 1.5rem; }

/* Hero */
.t-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4rem; align-items: center; padding: 4rem 0 3rem; }
@media (max-width: 800px) { .t-hero { grid-template-columns: 1fr; } .t-hero__visual { order: -1; max-width: 260px; margin: 0 auto; } }
.t-hero h1 { font-family: var(--font-display); font-size: clamp(2rem,5vw,3.1rem); font-weight: 700; line-height: 1.1; color: var(--t-ink); margin: 0.5rem 0 1rem; letter-spacing: 0.02em; }
.t-hero__visual img { border-radius: var(--radius-lg); box-shadow: var(--t-shadow), 0 0 60px rgba(255,61,107,0.1); width: 100%; max-width: 340px; margin: 0 auto; }

/* Tags */
.t-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.5rem; }
.t-tag { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: var(--radius-pill); background: var(--t-panel); color: var(--t-muted); border: 1px solid var(--t-line); }
.t-tag--hot { background: linear-gradient(135deg, rgba(255,61,107,0.18), rgba(255,204,68,0.12)); color: var(--t-rose); border-color: rgba(255,61,107,0.25); }

/* CTA */
.t-cta-bar { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1rem; }

/* Intro */
.t-intro { max-width: 72ch; margin: 0 auto 2rem; text-align: center; color: var(--t-muted); font-size: 1.05rem; }

/* Cards */
.t-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.25rem; margin: 2rem 0 3rem; }
.t-strip__card { background: var(--t-panel); border: 1px solid var(--t-line); border-radius: var(--radius); padding: 1.5rem 1.25rem; transition: border-color 0.2s, box-shadow 0.2s; }
.t-strip__card:hover { border-color: rgba(255,61,107,0.3); box-shadow: 0 4px 24px rgba(255,61,107,0.08); }
.t-strip__card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--t-gold); margin: 0 0 0.5rem; }
.t-strip__card p { font-size: 0.92rem; color: var(--t-muted); margin: 0; }

/* Aside / Disclaimer */
.t-aside { background: rgba(255,61,107,0.05); border-left: 3px solid var(--t-rose); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.25rem; font-size: 0.88rem; color: var(--t-muted); margin: 2rem 0; }
.t-disclaimer-block { background: rgba(0,0,0,0.28); border: 1px solid var(--t-line); border-radius: var(--radius); padding: 1.25rem 1.5rem; font-size: 0.82rem; color: var(--t-muted); line-height: 1.6; margin: 2rem 0; }
.t-disclaimer-block strong { color: var(--t-ink); }
.t-rg-alert { background: rgba(255,180,0,0.07); border: 1px solid rgba(255,204,68,0.3); border-radius: var(--radius); padding: 1.25rem 1.5rem; font-size: 0.95rem; color: var(--t-ink); margin: 0 0 2rem; line-height: 1.6; }

/* Inline CTA */
.t-inline-cta { text-align: center; padding: 2.5rem 1rem; margin: 2rem 0; background: radial-gradient(ellipse at center, rgba(255,61,107,0.07) 0%, transparent 70%); border-radius: var(--radius-lg); border: 1px solid var(--t-line); }

/* Compliance bar */
.t-compliance-bar { background: rgba(255,61,107,0.05); border-top: 1px solid var(--t-line); border-bottom: 1px solid var(--t-line); padding: 0.6rem var(--gutter); display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; font-size: 0.78rem; color: var(--t-muted); text-align: center; }
.t-compliance-bar strong { color: var(--t-ink); }
.t-compliance-bar a { color: var(--t-rose); text-decoration: underline; text-underline-offset: 2px; }
.t-age-badge { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--t-rose); font-size: 0.7rem; font-weight: 800; color: var(--t-rose); flex-shrink: 0; }

/* Slider */
.t-slider { position: relative; margin: 0 0 3rem; outline: none; }
.t-slider:focus-visible { outline: 3px solid var(--t-rose); border-radius: var(--radius); }
.t-slider__frame { position: relative; display: flex; align-items: center; gap: 0.75rem; }
.t-slider__viewport { flex: 1; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--t-shadow); }
.t-slider__track { display: flex; transition: transform 0.42s cubic-bezier(0.4,0,0.2,1); will-change: transform; }
.t-slider__slide { flex: 0 0 100%; margin: 0; padding: 0; max-height: 540px; overflow: hidden; display: flex; justify-content: center; background: var(--t-panel); }
.t-slider__slide img { width: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.t-slider__slide figcaption { display: none; }
.t-slider__arrow { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--t-line); background: rgba(26,8,16,0.8); color: var(--t-ink); font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color 0.18s, background 0.18s; }
.t-slider__arrow:hover { border-color: rgba(255,61,107,0.4); background: rgba(255,61,107,0.12); }
.t-slider__meta { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 1rem; }
.t-slider__counter { font-size: 0.78rem; color: var(--t-muted); font-variant-numeric: tabular-nums; min-width: 4ch; text-align: center; }
.t-slider__dots { display: flex; gap: 0.45rem; }
.t-slider__dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: var(--t-surface); cursor: pointer; padding: 0; transition: background 0.18s, transform 0.18s; }
.t-slider__dot.is-active, .t-slider__dot:hover { background: var(--t-rose); transform: scale(1.3); }
.t-slider__thumbs { display: flex; gap: 0.5rem; justify-content: center; margin-top: 0.75rem; }
.t-slider__thumb { width: 52px; height: 92px; overflow: hidden; border-radius: 8px; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--t-panel); transition: border-color 0.18s; }
.t-slider__thumb.is-active, .t-slider__thumb:hover { border-color: var(--t-rose); }
.t-slider__thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .t-slider__thumbs { display: none; } .t-slider__arrow { width: 36px; height: 36px; font-size: 1.1rem; } }

/* Slot machine */
.t-slot-wrap { margin: 0 0 3rem; }
.t-slot { background: var(--t-panel); border: 1px solid var(--t-line); border-radius: var(--radius-lg); padding: 2rem 1.5rem 1.5rem; max-width: 540px; margin: 0 auto; position: relative; overflow: hidden; box-shadow: var(--t-shadow), 0 0 80px rgba(255,61,107,0.06); }
.t-slot__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.t-slot__head h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--t-gold); margin: 0; }
.t-slot__badge { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: var(--radius-pill); background: rgba(255,61,107,0.12); color: var(--t-rose); border: 1px solid rgba(255,61,107,0.2); }
.t-slot__hud { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.t-slot__stat { flex: 1; background: var(--t-surface); border-radius: var(--radius); padding: 0.65rem 0.75rem; text-align: center; border: 1px solid var(--t-line); }
.t-slot__stat span { display: block; font-size: 0.7rem; color: var(--t-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.15rem; }
.t-slot__stat strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--t-gold); }
.t-slot__window { display: flex; gap: 0.5rem; background: var(--t-surface); border-radius: var(--radius); padding: 0.5rem; border: 2px solid var(--t-line); margin-bottom: 1rem; overflow: hidden; }
.t-reel { flex: 1; height: 270px; overflow: hidden; border-radius: 8px; background: var(--t-void); position: relative; }
.t-reel__strip { display: flex; flex-direction: column; transition: transform 0.5s cubic-bezier(0.2,0.8,0.3,1); }
.t-symbol { height: 90px; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; user-select: none; }
.t-reel.is-spinning .t-reel__strip { animation: t-reel-blur 0.12s linear infinite; }
@keyframes t-reel-blur { 0%,100% { filter: blur(0); } 50% { filter: blur(3px); } }
.t-slot__bet { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.t-slot__bet label { font-size: 0.78rem; color: var(--t-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.t-slot__bet button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--t-line); background: var(--t-surface); color: var(--t-ink); font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s, border-color 0.15s; }
.t-slot__bet button:hover:not(:disabled) { background: rgba(255,61,107,0.15); border-color: rgba(255,61,107,0.4); }
.t-slot__bet button:disabled { opacity: 0.35; cursor: default; }
.t-slot__bet strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--t-gold); min-width: 3ch; text-align: center; }
.t-slot__actions { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 0.75rem; }
.t-slot__btn { padding: 0.65rem 1.5rem; border-radius: var(--radius-pill); border: none; font-family: var(--font-ui); font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: opacity 0.18s, transform 0.12s; letter-spacing: 0.03em; }
.t-slot__btn:hover { opacity: 0.88; transform: translateY(-1px); }
.t-slot__btn:active { transform: scale(0.97); }
.t-slot__btn--spin { background: linear-gradient(135deg, var(--t-rose), #aa1133); color: #fff; flex: 1; min-width: 100px; }
.t-slot__btn--muted { background: var(--t-surface); color: var(--t-gold); border: 1px solid var(--t-line); font-size: 0.82rem; padding: 0.55rem 0.9rem; }
.t-slot__fine { text-align: center; font-size: 0.72rem; color: var(--t-muted); opacity: 0.65; margin: 0.25rem 0 0; }
.t-slot__msg { text-align: center; font-size: 0.9rem; color: var(--t-muted); min-height: 1.4em; font-weight: 500; }
.t-slot__msg.is-win { color: var(--t-gold); }
.t-slot__msg.is-lose { color: #ff6b6b; }
.t-slot.is-shake { animation: t-shake 0.4s ease; }
@keyframes t-shake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }
.t-slot.is-win { border-color: rgba(255,204,68,0.4); box-shadow: var(--t-shadow), 0 0 40px rgba(255,204,68,0.15); }
.t-slot.is-jackpot { border-color: rgba(255,61,107,0.6); box-shadow: var(--t-shadow), 0 0 60px rgba(255,61,107,0.25); }
.t-slot.is-lose { border-color: rgba(255,100,100,0.2); }
#t-balance.is-pulse { animation: t-bal-pulse 0.45s ease; }
@keyframes t-bal-pulse { 0%,100% { transform: scale(1); color: var(--t-gold); } 50% { transform: scale(1.25); color: #fff; } }

/* Confetti */
.t-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; display: none; }
.t-confetti.is-active { display: block; }
.t-confetti-piece { position: absolute; border-radius: 3px; animation: t-confetti-fall 2s ease-in forwards; }
@keyframes t-confetti-fall { 0% { transform: translateY(-20px) rotate(0deg); opacity: 1; } 100% { transform: translateY(120px) rotate(360deg); opacity: 0; } }

/* Mini grid */
.t-mini-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem; margin: 1.5rem 0 2rem; }
.t-mini-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; max-height: 220px; }
.t-mini-grid figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .t-mini-grid { grid-template-columns: 1fr 1fr; } .t-mini-grid figure:last-child { display: none; } }

/* Prose */
.t-prose { max-width: 72ch; color: var(--t-muted); }
.t-prose h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--t-ink); margin: 2rem 0 0.6rem; }
.t-prose p { margin: 0 0 1rem; }
.t-prose ul { padding-left: 1.4em; margin: 0 0 1rem; }
.t-prose li { margin-bottom: 0.35rem; }

/* Footer */
.t-foot { border-top: 1px solid var(--t-line); padding: 2.5rem var(--gutter); }
.t-foot__inner { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.t-foot__logo { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--t-ink); text-decoration: none; margin-bottom: 0.5rem; }
.t-foot__meta { font-size: 0.82rem; color: var(--t-muted); margin: 0 0 0.5rem; }
.t-foot__links { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.t-foot__links a { font-size: 0.82rem; color: var(--t-muted); text-decoration: none; }
.t-foot__links a:hover { color: var(--t-ink); }
