/* Shop page (/shop/, /sr/prodavnica/): the club at night.
   Shared pieces (live tables, starry night, price chips) live in marketing.css. */

.page-club {
  --club-ink: #070b14;
  --club-ink-2: #0b1330;
  --club-ink-3: #1b1d3c;
  --club-text: #e9eef7;
  --club-muted: #9eabc4;
  --club-line: rgba(255, 255, 255, 0.08);
  --club-glass: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  --club-gold: #f5c842;
  --club-gold-soft: #ffe08a;
  --club-teal: #0092a4;
  color: var(--club-text);
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(0, 146, 164, 0.08), transparent 70%),
    var(--club-ink);
}

.page-club a {
  color: var(--club-gold-soft);
}

.page-club a.btn-primary {
  color: #1a1405;
}

.page-club a.btn-light {
  color: #fff;
}

.page-club [id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* Header: translucent ink over the page (the blur sits on a pseudo-element so
   the mobile drawer stays fixed to the viewport) */
.page-club .site-header {
  background: transparent;
  border-bottom: 1px solid var(--club-line);
}

.page-club .site-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: rgba(7, 11, 20, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}

.page-club .header-nav a,
.page-club .lang-switch a {
  color: #fff;
}

.page-club .lang-switch a[aria-current="page"] {
  color: #1a2e2a;
}

.page-club .nav-dropdown-menu {
  background: #0e1528;
}

.page-club .header-nav a[aria-current="page"] {
  background: rgba(245, 200, 66, 0.18);
  box-shadow: inset 0 0 0 1px rgba(245, 200, 66, 0.45);
}

.page-club .site-footer {
  background: #05070d;
  border-top: 1px solid var(--club-line);
}

/* Scroll reveal (js/shop-page.js); content stays visible without JS or with reduced motion */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--i, 0) * 90ms);
  }

  html.js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---- Layout ---------------------------------------------------------- */

.club-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.club-head {
  max-width: 780px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--club-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.club-head h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3.8vw, 2.75rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
}

.club-head p {
  margin: 0 auto;
  max-width: 660px;
  color: var(--club-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.glass {
  background: var(--club-glass);
  border: 1px solid var(--club-line);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.club-divider {
  height: 1px;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(245, 200, 66, 0.25), transparent);
}

/* ---- Hero ------------------------------------------------------------ */

.club-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(880px, calc(100vh - var(--header-h)));
  min-height: min(880px, calc(100svh - var(--header-h)));
  padding: 4.5rem 1.5rem 6rem;
}

.club-hero .backdrop-host {
  z-index: -2;
}

.club-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0) 0%, var(--club-ink) 100%);
  pointer-events: none;
}

.club-hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: center;
}

.club-hero h1 {
  margin: 1.1rem 0 1rem;
  font-size: clamp(2.1rem, 4.1vw, 3.35rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
}

.club-tagline {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.club-lead {
  margin: 0 0 1.5rem;
  max-width: 580px;
  color: rgba(233, 238, 247, 0.82);
  font-size: 1.08rem;
  line-height: 1.7;
}

.club-hero .shop-chips {
  margin-bottom: 2rem;
}

.club-hero-stage {
  position: relative;
  margin: 0;
  display: grid;
  justify-items: center;
}

.club-hero-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  width: 120%;
  padding-top: 120%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(37, 255, 190, 0.18) 0%, rgba(0, 146, 164, 0.12) 30%, rgba(245, 200, 66, 0.05) 45%, transparent 62%);
  pointer-events: none;
  z-index: -1;
}

.club-hero-stage .live-table {
  width: min(100%, 540px);
}

.club-hero-stage figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  color: rgba(233, 238, 247, 0.85);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin: 2.25rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--club-line);
  list-style: none;
}

.hero-stats li {
  display: grid;
  gap: 0.15rem;
}

.hero-stats strong {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.hero-stats span {
  color: var(--club-muted);
  font-size: 0.85rem;
}

/* Contents */
.club-toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 1000px;
  margin: -2.5rem auto 0;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.club-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--club-line);
  color: rgba(233, 238, 247, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.club-toc a:hover,
.club-toc a:focus-visible {
  border-color: rgba(245, 200, 66, 0.5);
  background: rgba(245, 200, 66, 0.08);
}

/* ---- Live table picker ------------------------------------------------ */

.lt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.lt-stage {
  position: relative;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(0, 146, 164, 0.22) 0%, transparent 70%),
    linear-gradient(145deg, #0a1a24 0%, #0b1330 55%, #140f26 100%);
  border: 1px solid var(--club-line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.lt-stage .live-table {
  max-width: 580px;
  margin: 0 auto;
}

.lt-stage .live-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
}

.lt-info h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.lt-info > [data-stage-desc] {
  margin: 0 0 1rem;
  color: var(--club-muted);
  line-height: 1.7;
  min-height: 5.1em;
}

.lt-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
}

.lt-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.lt-pick {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.75rem 0.5rem 0.65rem;
  border-radius: 16px;
  border: 1px solid var(--club-line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.lt-pick:hover,
.lt-pick:focus-visible {
  border-color: rgba(245, 200, 66, 0.45);
  transform: translateY(-2px);
}

.lt-pick[aria-pressed="true"] {
  border-color: var(--club-gold);
  background: rgba(245, 200, 66, 0.08);
  box-shadow: 0 0 0 1px var(--club-gold) inset, 0 12px 30px rgba(245, 200, 66, 0.15);
}

.lt-pick .live-table {
  width: 100%;
  max-width: 130px;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5));
}

.club-note {
  margin: 1.25rem 0 0;
  color: var(--club-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---- Catalog ------------------------------------------------------------ */

.tier {
  margin-top: 2.5rem;
}

.tier:first-of-type {
  margin-top: 0;
}

.tier-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1rem;
}

.tier-head h3 {
  margin: 0;
  color: rgba(233, 238, 247, 0.92);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tier-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--club-line);
}

.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-item {
  overflow: hidden;
  border-radius: 18px;
  background: var(--club-glass);
  border: 1px solid var(--club-line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.catalog-item:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 200, 66, 0.3);
}

.catalog-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  isolation: isolate;
}

@supports not (aspect-ratio: 1) {
  .catalog-stage::before {
    content: "";
    display: block;
    padding-top: 62.5%;
  }
}

.catalog-stage .backdrop-host,
.catalog-stage .tile-poster {
  z-index: -1;
}

.tile-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* A table centred in its room, like the game's shop tiles */
.stage-table,
.catalog-stage .live-table {
  position: absolute;
  top: 10%;
  left: 50%;
  height: 80%;
  width: auto;
  max-width: none;
  aspect-ratio: 180 / 160;
  transform: translateX(-50%);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.5));
}

.stage-table.is-small {
  top: 24%;
  height: 52%;
}

.catalog-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem 1rem;
}

.catalog-body h4 {
  margin: 0 0 0.3rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.catalog-body .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(233, 238, 247, 0.85);
}

.tag-free {
  background: rgba(0, 146, 164, 0.22);
  color: #7fe3ef;
}

.tag-anim {
  background: rgba(156, 110, 255, 0.2);
  color: #cdb8ff;
}

.tag-sky {
  background: linear-gradient(90deg, rgba(255, 154, 102, 0.28), rgba(80, 120, 255, 0.28));
  color: #ffe2cf;
}

.tag-live {
  background: linear-gradient(100deg, #f5c842 0%, #fff3c4 40%, #f5c842 60%, #e0a325 100%);
  background-size: 220% 100%;
  color: #2a1d00;
  animation: tagShimmer 3.5s linear infinite;
}

@keyframes tagShimmer {
  from { background-position: 100% 0; }
  to { background-position: -120% 0; }
}

.catalog-body .price {
  font-size: 0.98rem;
}

.price.is-free {
  color: #7fe3ef;
}

.price.is-free::before {
  display: none;
}

/* Static room backgrounds, copied from the game:
   front/roulette/src/app/components/game-themes/game-themes.css — keep in sync */
.theme-bg.bg-felt {
  background:
    radial-gradient(ellipse 70% 45% at 50% 40%, rgba(0, 146, 164, 0.15) 0%, transparent 70%),
    linear-gradient(145deg, #0a3d36 0%, #004d40 40%, #00695c 100%);
}

.theme-bg.bg-night {
  background:
    radial-gradient(ellipse 70% 45% at 50% 40%, rgba(0, 146, 164, 0.12) 0%, transparent 70%),
    linear-gradient(145deg, #0a0e12 0%, #121820 40%, #1a222c 100%);
}

.theme-bg.bg-parlor {
  background:
    radial-gradient(ellipse 70% 45% at 50% 40%, rgba(255, 180, 80, 0.12) 0%, transparent 70%),
    linear-gradient(145deg, #3d2414 0%, #5a3820 40%, #6b4428 100%);
}

.theme-bg.bg-salon {
  background:
    radial-gradient(ellipse 70% 45% at 50% 40%, rgba(212, 175, 55, 0.14) 0%, transparent 70%),
    linear-gradient(145deg, #2a0e16 0%, #4a1828 40%, #5c2034 100%);
}

.theme-bg.bg-ocean {
  background:
    radial-gradient(ellipse 70% 45% at 50% 40%, rgba(80, 180, 255, 0.14) 0%, transparent 70%),
    linear-gradient(145deg, #0a2848 0%, #0d3a62 40%, #12507a 100%);
}

.theme-bg.bg-midnight {
  background:
    radial-gradient(ellipse 70% 45% at 50% 40%, rgba(212, 175, 55, 0.1) 0%, transparent 70%),
    linear-gradient(145deg, #0c0c10 0%, #16161c 40%, #1e1e28 100%);
}

/* Casino lights and floating suits, ported from room-backdrop.component.css — keep in sync */
.backdrop-casino {
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, #4a1626 0%, #22091a 55%, #0c0409 100%);
}

.backdrop-casino::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(ellipse 90% 80% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.45) 100%);
}

.backdrop-casino .bokeh {
  width: var(--size);
  height: 0;
  padding-top: var(--size);
  border-radius: 50%;
  background: radial-gradient(circle, var(--color) 0%, transparent 68%);
  opacity: 0.85;
  animation: bokehDrift var(--duration) ease-in-out var(--delay) infinite alternate;
}

.backdrop-casino .bokeh:nth-child(1) { left: 6%; top: 10%; --size: 22%; --color: rgba(245, 200, 66, 0.5); --duration: 18s; --delay: -2s; --dx: 30%; --dy: -20%; }
.backdrop-casino .bokeh:nth-child(2) { left: 70%; top: 6%; --size: 26%; --color: rgba(255, 90, 95, 0.42); --duration: 22s; --delay: -8s; --dx: -25%; --dy: 18%; }
.backdrop-casino .bokeh:nth-child(3) { left: 40%; top: 30%; --size: 16%; --color: rgba(0, 146, 164, 0.5); --duration: 16s; --delay: -4s; --dx: 20%; --dy: 25%; }
.backdrop-casino .bokeh:nth-child(4) { left: 82%; top: 48%; --size: 20%; --color: rgba(255, 179, 71, 0.45); --duration: 20s; --delay: -12s; --dx: -30%; --dy: -15%; }
.backdrop-casino .bokeh:nth-child(5) { left: 12%; top: 58%; --size: 24%; --color: rgba(255, 90, 95, 0.38); --duration: 24s; --delay: -6s; --dx: 25%; --dy: -25%; }
.backdrop-casino .bokeh:nth-child(6) { left: 55%; top: 68%; --size: 18%; --color: rgba(245, 200, 66, 0.45); --duration: 19s; --delay: -10s; --dx: -20%; --dy: -30%; }
.backdrop-casino .bokeh:nth-child(7) { left: 28%; top: 82%; --size: 14%; --color: rgba(0, 146, 164, 0.45); --duration: 17s; --delay: -3s; --dx: 30%; --dy: -20%; }
.backdrop-casino .bokeh:nth-child(8) { left: 90%; top: 82%; --size: 16%; --color: rgba(245, 200, 66, 0.4); --duration: 21s; --delay: -14s; --dx: -35%; --dy: -10%; }
.backdrop-casino .bokeh:nth-child(9) { left: 48%; top: 2%; --size: 12%; --color: rgba(255, 179, 71, 0.45); --duration: 15s; --delay: -7s; --dx: 15%; --dy: 30%; }
.backdrop-casino .bokeh:nth-child(10) { left: 2%; top: 36%; --size: 12%; --color: rgba(0, 146, 164, 0.42); --duration: 23s; --delay: -9s; --dx: 35%; --dy: 10%; }
.backdrop-casino .bokeh:nth-child(11) { left: 66%; top: 34%; --size: 10%; --color: rgba(245, 200, 66, 0.5); --duration: 14s; --delay: -5s; --dx: -25%; --dy: 25%; }
.backdrop-casino .bokeh:nth-child(12) { left: 34%; top: 52%; --size: 10%; --color: rgba(255, 90, 95, 0.4); --duration: 18s; --delay: -11s; --dx: 20%; --dy: -30%; }

@keyframes bokehDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.85;
  }
  to {
    transform: translate3d(var(--dx), var(--dy), 0) scale(1.25);
    opacity: 0.35;
  }
}

.backdrop-suits {
  background:
    radial-gradient(ellipse 70% 45% at 50% 40%, rgba(0, 146, 164, 0.16) 0%, transparent 70%),
    linear-gradient(145deg, #0a3d36 0%, #004d40 40%, #00695c 100%);
}

.backdrop-suits .suit {
  font-size: calc(var(--scale) * 16px);
  line-height: 1;
  color: #fff;
  opacity: var(--alpha);
  animation: suitFloat var(--duration) ease-in-out var(--delay) infinite;
}

.backdrop-suits .suit.red {
  color: #ff8a80;
}

.backdrop-suits .suit:nth-child(1) { left: 8%; top: 14%; --scale: 1.0; --alpha: 0.12; --duration: 16s; --delay: -2s; }
.backdrop-suits .suit:nth-child(2) { left: 78%; top: 10%; --scale: 1.3; --alpha: 0.1; --duration: 20s; --delay: -9s; }
.backdrop-suits .suit:nth-child(3) { left: 30%; top: 40%; --scale: 0.8; --alpha: 0.13; --duration: 14s; --delay: -5s; }
.backdrop-suits .suit:nth-child(4) { left: 88%; top: 44%; --scale: 1.1; --alpha: 0.1; --duration: 18s; --delay: -12s; }
.backdrop-suits .suit:nth-child(5) { left: 14%; top: 70%; --scale: 1.4; --alpha: 0.09; --duration: 22s; --delay: -7s; }
.backdrop-suits .suit:nth-child(6) { left: 58%; top: 78%; --scale: 0.9; --alpha: 0.12; --duration: 17s; --delay: -3s; }

@keyframes suitFloat {
  0% {
    transform: translate3d(0, 0.6em, 0) rotate(-10deg);
    opacity: 0;
  }
  20%,
  80% {
    opacity: var(--alpha);
  }
  50% {
    transform: translate3d(0.3em, -0.8em, 0) rotate(4deg);
  }
  100% {
    transform: translate3d(0, -2em, 0) rotate(12deg);
    opacity: 0;
  }
}

/* In small tiles the suits are a touch brighter so they read at this size */
.catalog-stage .backdrop-suits .suit {
  --alpha: 0.2;
}

/* ---- Live sea ------------------------------------------------------------ */

.sea-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--club-line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  background: #0b1124;
}

.sea-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 78vh;
  width: 100%;
  background: linear-gradient(180deg, #29204f 0%, #8a4a6a 32%, #ff9a66 48%, #3a2c5a 52%, #151236 100%);
}

@supports not (aspect-ratio: 1) {
  .sea-screen::before {
    content: "";
    display: block;
    padding-top: 56.25%;
  }
}

.sea-screen > img,
.sea-screen > canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
}

.sea-screen > canvas {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.sea-band.is-live .sea-screen > canvas {
  opacity: 1;
}

.sea-hud {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(7, 11, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.sea-hud [data-sea-clock] {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: var(--club-gold-soft);
}

.sea-controls {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 1;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: 0.4rem;
  border-radius: 22px;
  background: rgba(7, 11, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.seg {
  display: flex;
  gap: 0.2rem;
}

.seg + .seg {
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.seg button {
  min-height: 44px;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.seg button:hover,
.seg button:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.seg button[aria-pressed="true"] {
  background: var(--club-gold);
  color: #1a1405;
}

.seg button[hidden] {
  display: none;
}

.live-note {
  margin: 0;
  padding: 0.75rem 1rem;
  color: var(--club-muted);
  font-size: 0.9rem;
  text-align: center;
}

.sea-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.sea-facts li {
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--club-line);
  color: var(--club-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.sea-facts strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #fff;
}

/* ---- Decks ------------------------------------------------------------- */

.deck-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.deck-card {
  padding: 1.5rem 1.25rem 1.35rem;
  text-align: center;
}

.fan {
  position: relative;
  height: 210px;
  margin: 0 auto 1.25rem;
  max-width: 280px;
}

.fan img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 108px;
  height: auto;
  max-width: none;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
  background: #fff;
  transform-origin: 50% 120%;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.fan img:nth-child(1) { transform: translateX(-50%) rotate(-21deg); }
.fan img:nth-child(2) { transform: translateX(-50%) rotate(-7deg); }
.fan img:nth-child(3) { transform: translateX(-50%) rotate(7deg); }
.fan img:nth-child(4) { transform: translateX(-50%) rotate(21deg); }

.deck-card:hover .fan img:nth-child(1) { transform: translateX(-50%) rotate(-27deg); }
.deck-card:hover .fan img:nth-child(2) { transform: translateX(-50%) rotate(-9deg); }
.deck-card:hover .fan img:nth-child(3) { transform: translateX(-50%) rotate(9deg); }
.deck-card:hover .fan img:nth-child(4) { transform: translateX(-50%) rotate(27deg); }

.deck-card h3 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: 1.2rem;
}

.deck-card p {
  margin: 0 0 0.85rem;
  color: var(--club-muted);
  line-height: 1.6;
  font-size: 0.93rem;
}

.deck-card .deck-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.deck-card .deck-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

/* ---- Earn pesos ----------------------------------------------------------- */

.earn-callout {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto 2.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(245, 200, 66, 0.14), rgba(245, 200, 66, 0.04));
  border: 1px solid rgba(245, 200, 66, 0.35);
}

.earn-callout img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(245, 200, 66, 0.35));
}

.earn-callout p {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.6;
}

.earn-callout strong {
  color: var(--club-gold-soft);
}

.earn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.earn-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem;
}

.earn-card.span-2 {
  grid-column: span 2;
}

.earn-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.earn-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(245, 200, 66, 0.12);
  border: 1px solid rgba(245, 200, 66, 0.25);
  font-size: 1.45rem;
  line-height: 1;
}

.earn-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
}

.earn-card p {
  margin: 0;
  color: var(--club-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.earn-card .fine {
  font-size: 0.85rem;
}

.places {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.places li {
  display: grid;
  gap: 0.2rem;
  justify-items: center;
  padding: 0.75rem 0.4rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--club-line);
  color: var(--club-muted);
  font-size: 0.8rem;
}

.places li:first-child {
  border-color: rgba(245, 200, 66, 0.4);
  background: rgba(245, 200, 66, 0.08);
}

.places .price {
  font-size: 1.2rem;
}

.mission-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.mission-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--club-line);
  color: rgba(233, 238, 247, 0.9);
  font-size: 0.82rem;
}

.mission-chips .price {
  font-size: 0.82rem;
}

.earn-shot {
  margin: 0.25rem 0 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--club-line);
}

.earn-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.earn-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

/* Daily streak: rising coin columns */
.streak {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 0.45rem;
  height: 190px;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.streak li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  height: 100%;
}

.streak b {
  color: var(--club-gold-soft);
  font-size: 0.88rem;
  font-weight: 800;
}

.streak-bar {
  width: 100%;
  max-width: 46px;
  height: var(--h);
  min-height: 12px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #ffe08a 0%, #e8b33a 55%, #a87810 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 6px 16px rgba(232, 179, 58, 0.2);
}

.streak li.is-top .streak-bar {
  background: linear-gradient(180deg, #fff6d0 0%, #f5c842 45%, #b8860b 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 28px rgba(245, 200, 66, 0.55);
}

.streak small {
  color: var(--club-muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.streak-total {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--club-muted);
  font-size: 0.88rem;
}

/* Weekly leaderboard podium */
.podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 0.5rem;
  height: 170px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.podium li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding-top: 0.75rem;
  border-radius: 14px 14px 4px 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--club-line);
  color: var(--club-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.podium .p1 {
  order: 2;
  height: 100%;
  background: linear-gradient(180deg, rgba(245, 200, 66, 0.32), rgba(245, 200, 66, 0.05));
  border-color: rgba(245, 200, 66, 0.45);
}

.podium .p2 {
  order: 1;
  height: 76%;
}

.podium .p3 {
  order: 3;
  height: 60%;
}

.podium .place-no {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.podium .price {
  font-size: 0.98rem;
}

.cup-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cup-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--club-line);
}

.cup-list strong {
  color: #fff;
}

.cup-list span {
  color: var(--club-gold-soft);
  font-weight: 700;
  font-size: 0.9rem;
}

.example-day {
  border-style: dashed;
  border-color: rgba(245, 200, 66, 0.35);
}

.example-lines {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.example-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--club-muted);
  font-size: 0.92rem;
}

.example-lines li b {
  color: #fff;
}

.example-lines .total {
  margin-top: 0.3rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--club-line);
  color: #fff;
  font-weight: 800;
}

.example-lines .total b {
  color: var(--club-gold-soft);
}

.spend-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.spend-row .earn-card {
  padding: 1.25rem 1.35rem;
}

/* ---- Screenshots ------------------------------------------------------- */

.shots-desktop {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  margin: 0 0 3rem;
}

.shot {
  margin: 0;
}

.shot a {
  display: block;
  text-decoration: none;
}

.shot figcaption {
  margin-top: 0.85rem;
  color: var(--club-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: center;
}

.shot figcaption strong {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.browser-frame {
  overflow: hidden;
  border-radius: 14px;
  background: #0d1222;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease;
}

.shot a:hover .browser-frame,
.shot a:focus-visible .browser-frame {
  transform: translateY(-4px);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 34px;
  padding: 0 0.8rem;
  background: #151b2e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
  flex-shrink: 0;
}

.browser-bar i:nth-child(2) {
  background: #febc2e;
}

.browser-bar i:nth-child(3) {
  background: #28c840;
}

.browser-bar span {
  flex: 1;
  min-width: 0;
  margin-left: 0.6rem;
  padding: 0.2rem 0.75rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--club-muted);
  font-size: 0.72rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.browser-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery {
  position: relative;
}

.phones {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.75rem 0.25rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.phones > :first-child {
  margin-left: auto;
}

.phones > :last-child {
  margin-right: auto;
}

.phone-shot {
  flex: 0 0 auto;
  width: clamp(190px, 21vw, 240px);
  scroll-snap-align: center;
}

.phone-frame {
  position: relative;
  padding: 9px;
  border-radius: 36px;
  background: linear-gradient(145deg, #2c3346 0%, #0d111c 100%);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1.5px rgba(255, 255, 255, 0.14);
  transition: transform 0.3s ease;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 1;
  width: 30%;
  height: 15px;
  border-radius: 10px;
  background: #05070d;
  transform: translateX(-50%);
}

.shot a:hover .phone-frame,
.shot a:focus-visible .phone-frame {
  transform: translateY(-4px);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.gallery-nav {
  display: none;
  justify-content: center;
  gap: 0.75rem;
}

.gallery.is-scrollable .gallery-nav {
  display: flex;
}

.gallery-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--club-line);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.gallery-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}

.preview-callout {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 860px;
  margin: 2.5rem auto 0;
  padding: 1.15rem 1.4rem;
}

.preview-callout .earn-icon {
  font-size: 1.3rem;
}

.preview-callout p {
  margin: 0;
  color: var(--club-muted);
  line-height: 1.6;
}

.preview-callout strong {
  color: #fff;
}

/* ---- FAQ & CTA ------------------------------------------------------------ */

.club-faq {
  display: grid;
  gap: 0.75rem;
  max-width: 860px;
  margin: 0 auto;
}

.club-faq details {
  padding: 0.6rem 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--club-line);
  transition: border-color 0.2s ease;
}

.club-faq details[open] {
  border-color: rgba(245, 200, 66, 0.3);
}

.club-faq summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 48px;
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  cursor: pointer;
}

.club-faq summary::-webkit-details-marker {
  display: none;
}

.club-faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--club-gold);
  font-size: 1.4rem;
  font-weight: 400;
}

.club-faq details[open] summary::after {
  content: "–";
}

.club-faq details p {
  margin: 0.25rem 0 0.75rem;
  color: var(--club-muted);
  line-height: 1.75;
}

.club-cta {
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto 5rem;
  padding: 3.5rem 2rem;
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(245, 200, 66, 0.2), transparent 65%),
    linear-gradient(135deg, #0b3b36 0%, #0b1330 100%);
  border: 1px solid rgba(245, 200, 66, 0.28);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.club-cta h2 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.club-cta p {
  margin: 0 auto 1.75rem;
  max-width: 620px;
  color: rgba(233, 238, 247, 0.82);
  line-height: 1.7;
}

.club-cta .shop-actions {
  justify-content: center;
}

.club-cta-wrap {
  padding: 0 1.5rem;
}

.page-club .ad-slot.is-active {
  max-width: 1200px;
}

/* ---- Reduced motion --------------------------------------------------------- */

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

  .catalog-item,
  .lt-pick,
  .fan img,
  .browser-frame,
  .phone-frame {
    transition: none;
  }
}

/* ---- Breakpoints -------------------------------------------------------------- */

@media (max-width: 1024px) {
  .earn-grid,
  .spend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .earn-card.span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .club-hero {
    min-height: 0;
    padding: 3.5rem 1.5rem 5rem;
  }

  .club-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    text-align: center;
  }

  .club-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .club-hero .shop-chips,
  .club-hero .shop-actions,
  .hero-stats {
    justify-content: center;
  }

  .club-hero-stage {
    order: -1;
  }

  .club-hero-stage .live-table {
    width: min(80vw, 420px);
  }

  .lt-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .lt-info {
    text-align: center;
  }

  .lt-info > [data-stage-desc] {
    min-height: 0;
  }

  .lt-meta {
    justify-content: center;
  }

  .sea-screen {
    aspect-ratio: 4 / 3;
  }

  .sea-controls {
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
    border-radius: 0;
    border: 0;
    border-top: 1px solid var(--club-line);
    background: #0b1124;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 0.6rem;
  }

  .seg {
    flex-wrap: wrap;
    justify-content: center;
  }

  .seg + .seg {
    padding-left: 0;
    border-left: 0;
  }

  .sea-facts,
  .deck-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .deck-grid {
    max-width: 460px;
    margin: 0 auto;
  }

  .shots-desktop {
    grid-template-columns: minmax(0, 1fr);
  }

  .earn-split {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .club-section {
    padding: 3.5rem 1rem;
  }

  .club-head {
    margin-bottom: 2rem;
  }

  .club-hero {
    padding: 2rem 1rem 4.5rem;
  }

  /* A smaller table on phones keeps the heading in the first screen */
  .club-hero-stage .live-table {
    width: min(64vw, 270px);
  }

  .club-hero-stage figcaption {
    margin-top: 0.6rem;
    font-size: 0.85rem;
  }

  .lt-stage {
    display: grid;
    justify-items: center;
  }

  .lt-stage .live-pill {
    position: static;
    margin-bottom: 0.75rem;
  }

  .club-toc {
    margin-top: -2rem;
    padding: 0 1rem;
  }

  .club-toc a {
    padding: 0.35rem 0.8rem;
    font-size: 0.85rem;
  }

  .earn-grid,
  .spend-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .earn-card.span-2 {
    grid-column: auto;
  }

  .earn-callout {
    flex-direction: column;
    text-align: center;
  }

  .sea-screen {
    aspect-ratio: 4 / 5;
    max-height: 70vh;
  }

  .sea-band {
    border-radius: 20px;
  }

  .lt-stage {
    border-radius: 20px;
  }

  .club-cta {
    margin-bottom: 3.5rem;
    padding: 2.5rem 1.25rem;
    border-radius: 20px;
  }

  .club-cta-wrap {
    padding: 0 1rem;
  }

  .phone-shot {
    width: min(68vw, 250px);
  }
}

@media (max-width: 480px) {
  .club-hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 1.25rem;
  }

  .hero-stats strong {
    font-size: 1.45rem;
  }

  .catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .catalog-body {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.65rem 0.7rem 0.75rem;
  }

  .catalog-body h4 {
    font-size: 0.9rem;
  }

  .seg button {
    padding: 0 0.7rem;
    font-size: 0.82rem;
  }

  .lt-picker {
    gap: 0.45rem;
  }

  .lt-pick {
    font-size: 0.8rem;
    padding: 0.6rem 0.3rem 0.5rem;
  }

  .streak {
    gap: 0.25rem;
    height: 170px;
  }

  .streak b {
    font-size: 0.75rem;
  }

  .fan {
    height: 180px;
  }

  .fan img {
    width: 92px;
  }

  .sea-hud {
    top: 0.65rem;
    left: 0.65rem;
    font-size: 0.78rem;
  }
}

/* The mobile nav drawer in the club colours */
@media (max-width: 960px) {
  .page-club .header-nav {
    background: #0b1124;
    border-left: 1px solid var(--club-line);
  }

  .page-club .nav-backdrop {
    background: rgba(3, 5, 10, 0.6);
  }
}

/* Without WebGL (or JavaScript) the sea is a still picture: no clock and no switches */
.sea-band.is-fallback .sea-hud,
.sea-band.is-fallback .sea-controls,
html:not(.js) .sea-hud,
html:not(.js) .sea-controls {
  display: none;
}

/* Hidden blocks stay hidden even where a class sets display */
.page-club [hidden] {
  display: none !important;
}

.earn-split.no-shot {
  grid-template-columns: minmax(0, 1fr);
}
