:root {
  --bg: #0f0f0f;
  --bg-alt: #181818;
  --card: #1c1c1c;
  --border: #2c2c2c;
  --text: #f1f1f1;
  --text-dim: #aaaaaa;
  --red: #e1002d;
  --red-dark: #a80021;
  --pink: #ff2056;
  --pink-dark: #c9083d;
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-light: #4ade80;
  --radius: 14px;
  --wrap: 1180px;
  --box-border: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }

a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 12, 12, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}

.brand-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--red);
}

.btn-nav { flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover { background: var(--red-dark); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red);
  margin-top: 28px;
}

.btn-outline:hover { background: var(--red); color: #fff; }

/* Hero */
.hero {
  position: relative;
  min-height: 535px;
  padding: 48px 0 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  background: var(--bg);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.9) 0%, rgba(8, 8, 8, 0.62) 54%, rgba(8, 8, 8, 0.28) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 48%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Logo + a small "500+ videos" plaque, side by side with the headline. */
.hero-brand-lockup {
  --hero-line: calc(clamp(3.5rem, 6.8vw, 6.4rem) * 0.82);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: clamp(10px, 1.25vw, 16px);
  width: 100%;
  margin-bottom: 26px;
}

.hero-logo-stack {
  --stack-height: calc(var(--hero-line) * 2);
  --plaque-height: clamp(20px, calc(var(--stack-height) * 0.22), 31px);
  --stack-gap: clamp(4px, calc(var(--stack-height) * 0.045), 7px);
  display: grid;
  grid-template-rows: calc(var(--stack-height) - var(--plaque-height) - var(--stack-gap)) var(--plaque-height);
  width: calc(var(--stack-height) - var(--plaque-height) - var(--stack-gap));
  height: var(--stack-height);
  gap: var(--stack-gap);
  padding: 0;
}

.hero-logo-stack span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 3px 5px 2px;
  color: #351600;
  background: linear-gradient(180deg, #ffe28a, #e9ad31);
  border: 2px solid #fff0bd;
  outline: 2px solid #8f4b00;
  border-radius: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.52rem, 0.7vw, 0.64rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 0.82;
  text-align: center;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(105, 48, 0, 0.32), 3px 4px 0 rgba(0, 0, 0, 0.28);
  transform: rotate(-1.5deg);
}

.hero-logo-stack b,
.hero-logo-stack small { display: block; }

.hero-logo-stack b { font-size: 1.05em; letter-spacing: 0.03em; }

.hero-logo-stack small {
  margin: 0 0 2px;
  font-size: 0.62em;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--red);
  box-shadow: 0 8px 30px rgba(225, 0, 45, 0.35);
}

.hero h1 {
  max-width: 870px;
  margin: 0;
  font-size: clamp(3.5rem, 6.8vw, 6.4rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.hero h1 span { display: block; }

.hero h1 span:last-child {
  margin-left: 0.28em;
  color: transparent;
  -webkit-text-stroke: 2px #fff;
}

.tagline {
  max-width: 710px;
  color: #d3d3d3;
  font-size: 1.05rem;
  margin: 0 4px 32px 4px;
  text-wrap: pretty;
}

.tagline-lede {
  display: inline-block;
  color: var(--text);
  font-weight: 700;
  max-width: 670px;
  background: rgba(225,0,45,0.32);
  border: 1px solid rgba(225,0,45,0.55);
  border-radius: 8px;
  padding: 10px 18px;
  margin: 0 0 15px;
  box-shadow: 0 0 0 1px rgba(225,0,45,0.12), 0 12px 28px rgba(225,0,45,0.2);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin: 12px 0 0 4px;
}

.hero-actions .btn {
  min-width: 230px;
  justify-content: center;
}

/* Search gets its own dedicated strip, overlapping the hero slightly, so
   it reads as a page feature rather than a cramped nav-bar control. */
.search-feature {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(320px, 1.25fr);
  align-items: center;
  gap: 42px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.035);
  border-radius: var(--radius);
}

.search-feature-copy { padding-left: 8px; }

.search-kicker {
  color: #ff718d;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.search-feature h2 {
  margin: 3px 0 1px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: -0.035em;
}

.search-feature p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.search-feature .search-box { max-width: none; }

.search-feature .search-input {
  min-height: 54px;
  padding-left: 48px;
  padding-right: 22px;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.search-feature .search-box::before {
  left: 18px;
  font-size: 1rem;
}

/* This row's own box is just dice + button + card — the same height as the
   plain YouTube button, so the two stay aligned. The marquee text and
   subtext float above/below as overlays and take no part in that box, so
   they can't throw off the alignment or the button's own size. */
.roulette-group {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.roulette-marquee-text {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  white-space: nowrap;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffd76a;
  animation: marquee-flicker 1.6s infinite steps(1);
}

.coupon-marquee-text {
  position: absolute;
  top: 13px;
  left: 50%;
  width: 88%;
  margin: 0;
  transform: translateX(-50%);
  color: #e0c77b;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.coupon-marquee-text::after {
  content: "";
  display: block;
  width: 82%;
  margin: 6px auto 0;
  border-bottom: 1px dashed rgba(224, 199, 123, 0.42);
}

.roulette-deco {
  font-size: 1.9rem;
  display: inline-block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  animation: deco-tumble 3.4s ease-in-out infinite;
}

.roulette-deco-card {
  animation-delay: 0.6s;
  animation-direction: reverse;
}

.roulette-subtext,
.coupon-subtext {
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 88%;
  min-height: 2.4em;
  margin: 0;
  transform: translateX(-50%);
  color: #9d9d9d;
  font-size: 0.72rem;
  font-style: italic;
  line-height: 1.2;
  text-align: center;
}

.coupon-subtext { color: #a99d7f; }

.search-box {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.search-box::before {
  content: "🔍";
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 0.9rem;
  opacity: 0.7;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 9px 20px 9px 40px;
  border-radius: 999px;
  border: 1px solid rgba(225, 0, 45, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  box-shadow: 0 0 0 1px rgba(225, 0, 45, 0.15), 0 6px 18px rgba(225, 0, 45, 0.18);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.search-input::placeholder { color: var(--text-dim); }

.search-input:hover {
  border-color: rgba(225, 0, 45, 0.75);
}

.search-input:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(225, 0, 45, 0.3), 0 0 0 4px rgba(225, 0, 45, 0.18), 0 10px 26px rgba(225, 0, 45, 0.3);
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  text-align: left;
  z-index: 10;
}

.search-result {
  display: block;
  padding: 12px 18px;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background 0.1s ease, color 0.1s ease;
}

.search-result:last-child { border-bottom: none; }

.search-result:hover,
.search-result.is-active {
  background: rgba(225, 0, 45, 0.16);
  color: #fff;
}

.search-empty {
  margin: 0;
  padding: 16px 18px;
  color: var(--text-dim);
  font-size: 0.88rem;
  font-style: italic;
  text-align: center;
}

/* Sections */
section h2 {
  font-size: 1.7rem;
  margin-bottom: 24px;
}

/* Feature-section openers ("Carpark Arcade", "Videos") — a small pinned
   sign plaque rather than a banner: dark tab, green left-edge accent, a
   slight rotation like it's been tacked onto the section by hand. */
.section-title-card {
  display: inline-block;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.section-title-card .section-heading {
  display: inline-block;
  margin: 0;
  padding: 7px 13px 8px;
  color: #fff;
  background: #182019;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-left: 5px solid var(--green);
  border-radius: 6px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-shadow: none;
  transform: rotate(-0.5deg);
}

.section-subtitle {
  margin: 0 0 20px;
  color: var(--text-dim);
  font-size: 0.95rem;
  font-style: italic;
}

/* Centres a heading + subtitle pair without affecting whatever grid or
   row follows it in the same section. */
.section-intro { text-align: center; }

/* Smaller, left-aligned labels for subsections nested inside a bigger
   feature-section opener, e.g. "Popular Carpark Videos" under "Videos". */
.subsection-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 20px;
}

.subsection-heading::before {
  content: "";
  width: 4px;
  height: 1.1em;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--red), var(--pink));
}

.section-divider {
  position: relative;
  height: 1px;
  max-width: 900px;
  margin: 64px auto;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4) 12%, rgba(255, 255, 255, 0.4) 88%, transparent);
}

.section-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--bg);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.section-divider-tight { margin: 40px auto; }

.btn-casino {
  position: relative;
  overflow: hidden;
  border: none;
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
  background: repeating-linear-gradient(135deg, var(--red) 0 10px, #1a0004 10px 20px);
  background-size: 200% 200%;
  color: #ffe9a8;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
  animation: casino-stripes 6s linear infinite, casino-glow 2.2s ease-in-out infinite;
}

.btn-casino:hover { filter: brightness(1.12); }

.roulette-shine {
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: shine-sweep 2.6s ease-in-out infinite;
}

@keyframes marquee-flicker {
  0%, 19%, 21%, 23%, 55%, 57%, 100% {
    opacity: 1;
    text-shadow: 0 0 8px rgba(255, 215, 106, 0.8), 0 0 16px rgba(255, 215, 106, 0.5);
  }
  20%, 22%, 56% { opacity: 0.35; text-shadow: none; }
}

@keyframes deco-tumble {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50% { transform: rotate(14deg) translateY(-6px); }
}

@keyframes casino-stripes {
  from { background-position: 0 0; }
  to { background-position: 140px 0; }
}

@keyframes casino-glow {
  0%, 100% {
    box-shadow: inset 0 0 0 2px #ffd76a, 0 0 0 3px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 14px rgba(255, 215, 106, 0.35);
  }
  50% {
    box-shadow: inset 0 0 0 2px #ffd76a, 0 0 0 3px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 106, 0.75);
  }
}

@keyframes shine-sweep {
  0% { left: -60%; }
  40%, 100% { left: 140%; }
}

@media (prefers-reduced-motion: reduce) {
  .roulette-marquee-text,
  .roulette-deco,
  .btn-casino,
  .roulette-shine,
  .roulette-card::before,
  .reel-item.winner-landed,
  .confetti-piece {
    animation: none;
  }
}

.videos {
  padding: 38px 34px 58px;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.08), transparent 28%),
    linear-gradient(180deg, #151816, #101110);
  border-color: rgba(34, 197, 94, 0.2);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.video-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 0, 45, 0.72);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.video-card-body {
  padding: 14px 16px;
}

.video-card-body h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.video-card-body span {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.subsection-heading-spaced { margin-top: 48px; }

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.playlist-card {
  display: block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.playlist-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
}

.playlist-icon {
  font-size: 1.8rem;
  display: inline-block;
  margin-bottom: 12px;
}

.playlist-card h3 { font-size: 1.1rem; }

.playlist-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 0;
}

.promo { padding: 30px 0 0; scroll-margin-top: 100px; }

.promo-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, rgba(255,32,86,0.14), var(--card));
  border: 1px solid rgba(255, 32, 86, 0.24);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22), inset 4px 0 0 var(--pink);
}

.promo-image {
  position: absolute;
  inset: 0;
  width: 90%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.3;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 12%, transparent 96%);
  mask-image: linear-gradient(90deg, #000 0%, #000 12%, transparent 96%);
}

.promo-badge {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,32,86,0.15);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-copy {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.promo-headline {
  margin: 0;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.promo-text {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin: 0;
}

.promo-text strong {
  display: inline-block;
  background: var(--pink-dark);
  color: #fff;
  font-weight: 800;
  padding: 1px 9px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(255,32,86,0.5);
}

.btn-promo {
  position: relative;
  z-index: 1;
  background: var(--pink);
  color: #fff;
  flex-shrink: 0;
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-promo:hover { background: var(--pink-dark); }

/* Arcade and Videos are boxed as independent destinations within the same
   page — the box edge itself is the section boundary, not a faint line. */
.promo-extra,
.videos {
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--box-border);
  border-radius: calc(var(--radius) + 5px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.promo-extra {
  margin-top: 42px;
  padding: 38px 34px 60px;
  background:
    radial-gradient(circle at 50% 12%, rgba(34, 197, 94, 0.1), transparent 36%),
    linear-gradient(180deg, #16201a, #111 72%);
  border-color: rgba(34, 197, 94, 0.24);
}

.promo-extra-label,
.section-subtitle {
  margin: 16px 0 32px;
  color: #bfc2bf;
  font-size: 0.95rem;
  font-style: italic;
}

.promo-extra-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 34px;
}

/* Equal "cabinets" for the two games — Roulette gets the deliberately
   tasteless casino excess, the coupon simulator a calmer ticket-booth box. */
.game-group,
.roulette-group {
  position: relative;
  width: min(350px, 100%);
  min-height: 156px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 28px 30px;
  border-radius: var(--radius);
}

.roulette-group {
  background:
    linear-gradient(115deg, transparent 0 12%, rgba(255, 255, 255, 0.035) 12% 13%, transparent 13% 87%, rgba(255, 255, 255, 0.035) 87% 88%, transparent 88%),
    linear-gradient(180deg, #4a0713 0%, #28030b 55%, #150005 100%);
  border: 1px solid rgba(244, 197, 66, 0.3);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
}

.roulette-group::before,
.roulette-group::after {
  position: absolute;
  top: 11px;
  color: #ffd76a;
  font-family: Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  opacity: 0.82;
  text-shadow: 0 0 12px rgba(255, 215, 106, 0.7);
}

.roulette-group::before { content: "♠ ♦"; left: 17px; }
.roulette-group::after { content: "♥ ♣"; right: 17px; }

.coupon-group {
  flex-direction: column;
  background: linear-gradient(145deg, #29251d, #171612);
  border: 1px solid rgba(244, 197, 66, 0.3);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
}

/* Shared sizing for the two "game" buttons so they match in width and
   height regardless of label length — text wraps to a second line rather
   than growing the box, and both stay vertically centred on that box. */
.game-btn {
  width: 260px;
  min-height: 58px;
  padding-block: 9px;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
  font-size: 1rem;
}

.btn-coupon-sim {
  position: relative;
  background: linear-gradient(135deg, #f4c542, #d9932a);
  color: #241a04;
  font-weight: 800;
  border: 1px solid rgba(255, 223, 128, 0.7);
  box-shadow: 0 8px 20px rgba(244, 197, 66, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  padding-left: 40px;
}

.btn-coupon-sim:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* A little illustrated coupon stub, peeking out from behind the button's
   left edge — taller than the button so it pokes out top and bottom. */
.btn-coupon-sim .coupon-deco {
  position: absolute;
  left: -22px;
  top: 50%;
  width: 42px;
  height: 66px;
  transform: translateY(-50%) rotate(-9deg);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.btn-coupon-sim .coupon-deco svg { display: block; width: 100%; height: 100%; }

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding: 38px 0 56px;
  }

  .hero-scrim {
    background: linear-gradient(0deg, var(--bg) 0%, rgba(8, 8, 8, 0.66) 54%, rgba(8, 8, 8, 0.2) 100%);
  }

  .hero-art {
    object-position: 42% top;
  }

  .hero-brand-lockup {
    --hero-line: calc(clamp(2.65rem, 11.5vw, 4.3rem) * 0.86);
    gap: clamp(9px, 2.5vw, 14px);
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 11.5vw, 4.3rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .hero h1 span:last-child {
    margin: 0;
    -webkit-text-stroke-width: 1px;
  }

  .tagline-lede { max-width: 100%; }

  .search-feature {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .promo-image {
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 0.22;
  }
  .promo-card { flex-wrap: wrap; justify-content: center; text-align: center; padding: 24px; gap: 16px; }
  .promo-copy { flex-basis: 100%; align-items: center; }

  .promo-extra,
  .videos { padding: 30px 22px 50px; }

  .promo-extra-row { flex-direction: column; gap: 32px; }
  .game-group,
  .roulette-group { width: min(350px, 100%); }

  .section-divider { margin: 40px auto; }
}

@media (max-width: 480px) {
  .wrap { padding-inline: 18px; }

  .hero-brand-lockup {
    --hero-line: calc(clamp(2.15rem, 9.9vw, 3rem) * 0.86);
    gap: 9px;
  }

  .hero-logo-stack span {
    padding: 2px 1px 1px;
    border-width: 1px;
    outline-width: 1px;
    font-family: Arial, sans-serif;
    font-size: clamp(0.42rem, 1.75vw, 0.52rem);
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(105, 48, 0, 0.25), 2px 2px 0 rgba(0, 0, 0, 0.24);
  }

  .hero-logo-stack small { display: none; }

  .hero h1 {
    font-size: clamp(2.15rem, 9.9vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .tagline:not(.tagline-lede) { font-size: 0.95rem; line-height: 1.55; }

  .promo-extra,
  .videos { padding-inline: 16px; }

  .section-title-card .section-heading { font-size: 2rem; }

  .game-group,
  .roulette-group { min-height: 166px; padding-inline: 16px; }

  .game-btn { width: min(250px, 84%); }
}

/* Car strip */
.car-strip {
  position: relative;
  left: 0;
  width: 100%;
  margin-left: 0;
  height: 96px;
  overflow: hidden;
  margin-top: 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.car-drive {
  position: absolute;
  bottom: var(--lane, 4px);
  left: 0;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.car-image {
  width: var(--car-width, 80px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
  transform-origin: 50% 100%;
}

@keyframes driveA {
  0%   { transform: translateX(-48px) translateY(0); }
  18%  { transform: translateX(16vw) translateY(-2px); }
  21%  { transform: translateX(17.5vw) translateY(0); }
  54%  { transform: translateX(56vw) translateY(-1px); }
  59%  { transform: translateX(63vw) translateY(0); }
  100% { transform: translateX(calc(100vw + 48px)) translateY(0); }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text); }

.footer-sep { margin: 0 8px; color: var(--border); }

.site-version {
  align-self: flex-end;
  color: #555;
  font-size: 0.72rem;
  white-space: nowrap;
}

.footer-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.footer-version-only {
  justify-content: flex-end;
}

.photo-credits {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.photo-credits a {
  color: #777;
}

.photo-credits a:hover { color: var(--text-dim); }

@media (max-width: 640px) {
  .header-inner { justify-content: space-between; gap: 10px; }
  .brand span { display: none; }
  .btn-nav { padding: 10px 16px; font-size: 0.9rem; }
  /* Below 16px, iOS Safari zooms the whole page in when this input is
     focused. Keep it at 16px here so tapping the search box doesn't. */
  .search-input { font-size: 16px; }
}

@media (max-width: 480px) {
  /* The hero already has its own "Visit YouTube Channel" button, so drop
     the redundant header link here and give the search box the room. */
  .btn-nav { display: none; }
}

/* Video roulette */
.confetti-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
}

.confetti-piece {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 14px;
  opacity: 0;
  animation: confetti-burst 1.1s ease-out forwards;
}

@keyframes confetti-burst {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(0.5); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) rotate(var(--rot)) scale(1); opacity: 0; }
}

.roulette-card {
  position: relative;
  z-index: 1;
  width: min(90vw, 420px);
  background:
    linear-gradient(160deg, rgba(30, 12, 14, 0.98), rgba(15, 5, 7, 0.98)),
    repeating-linear-gradient(135deg, rgba(225, 0, 45, 0.16) 0 10px, transparent 10px 20px);
  border: 2px solid #ffd76a;
  border-radius: var(--radius);
  padding: 36px 28px 30px;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(255, 215, 106, 0.3), 0 25px 70px rgba(0, 0, 0, 0.65), inset 0 0 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.roulette-card::before {
  content: "";
  position: absolute;
  inset: -4px;
  padding: 4px;
  border-radius: inherit;
  z-index: -1;
  opacity: 0.85;
  background: conic-gradient(
    #ffd76a 0 8deg, transparent 8deg 36deg,
    #ffd76a 36deg 44deg, transparent 44deg 72deg,
    #ffd76a 72deg 80deg, transparent 80deg 108deg,
    #ffd76a 108deg 116deg, transparent 116deg 144deg,
    #ffd76a 144deg 152deg, transparent 152deg 180deg,
    #ffd76a 180deg 188deg, transparent 188deg 216deg,
    #ffd76a 216deg 224deg, transparent 224deg 252deg,
    #ffd76a 252deg 260deg, transparent 260deg 288deg,
    #ffd76a 288deg 296deg, transparent 296deg 324deg,
    #ffd76a 324deg 332deg, transparent 332deg 360deg
  );
  animation: marquee-spin 3.5s linear infinite;
}

/* Once the wheel lands, swap the full sunburst for a thin ring confined to
   just outside the card edge (padding-box minus content-box), so the glow
   can no longer wash over the label/reel/link while the result is read. */
.roulette-card.is-landed::before {
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.card-suit {
  position: absolute;
  font-size: 1.3rem;
  color: #ffd76a;
  opacity: 0.5;
  text-shadow: 0 0 8px rgba(255, 215, 106, 0.6);
}

.suit-tl { top: 14px; left: 16px; }
.suit-br { bottom: 14px; right: 16px; }

.roulette-label {
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: #ffd76a;
  text-shadow: 0 0 10px rgba(255, 215, 106, 0.5);
}

.reel {
  position: relative;
  height: 192px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(180deg, #0b0b0c, #050505);
  border: 2px solid rgba(255, 215, 106, 0.55);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.8);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
}

.reel-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  will-change: transform;
}

.reel-item {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-size: 0.95rem;
  color: var(--text-dim);
  text-align: center;
}

.reel-item.winner-landed {
  color: #fff8e1;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(255, 215, 106, 0.9), 0 0 20px rgba(225, 0, 45, 0.6);
  animation: winner-pulse 0.6s ease-out 2;
}

.roulette-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.roulette-actions.is-pending {
  opacity: 0.35;
  pointer-events: none;
}

.roulette-play-link {
  width: 100%;
  justify-content: center;
}

.roulette-actions .btn-outline {
  border-color: rgba(255, 215, 106, 0.55);
  color: #ffd76a;
  font-size: 0.85rem;
  padding: 10px 18px;
}

.roulette-actions .btn-outline:hover {
  background: rgba(255, 215, 106, 0.12);
  color: #fff;
}

.reel-highlight {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  height: 64px;
  border-top: 2px solid #ffd76a;
  border-bottom: 2px solid #ffd76a;
  background: linear-gradient(180deg, rgba(255, 215, 106, 0.12), rgba(225, 0, 45, 0.1));
  box-shadow: inset 0 0 18px rgba(255, 215, 106, 0.25);
  pointer-events: none;
}

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

@keyframes winner-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
