/* ============================================================
   Boto Poker — landing page styles
   ============================================================ */

:root {
  --bg: #0a0a2b;
  --bg-2: #0d0d35;
  --bg-3: #12123e;
  --card: #14143f;
  --card-2: #1b1b52;
  --purple: #8b5cf6;
  --purple-deep: #6d28d9;
  --purple-soft: #a78bfa;
  --gold: #ffc233;
  --gold-deep: #f5a800;
  --text: #ffffff;
  --muted: #a9a9d1;
  --line: rgba(139, 92, 246, .28);
  --font-display: 'Montserrat', 'Segoe UI', sans-serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  width: min(1300px, 100% - 56px);
  margin-inline: auto;
}

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}

.btn-outline {
  color: var(--text);
  border: 1.5px solid rgba(255, 255, 255, .45);
  background: transparent;
}
.btn-outline:hover { border-color: var(--purple-soft); color: var(--purple-soft); }

.btn-gold {
  color: #16123a;
  background: linear-gradient(180deg, #ffd45e, var(--gold-deep));
  box-shadow: 0 4px 16px rgba(255, 194, 51, .35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(255, 194, 51, .5); }

.btn-play-now {
  color: #fff;
  background:
    linear-gradient(#0c0a24, #0c0a24) padding-box,
    linear-gradient(135deg, var(--purple, #8b5cf6), var(--gold, #ffc233)) border-box;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 10px 22px 10px 14px;
}
.btn-play-now-icon { width: 14px; height: 14px; flex-shrink: 0; fill: var(--gold, #ffc233); }
.btn-play-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(139, 92, 246, .35);
}

/* ============ Header ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 43, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
  background: rgba(8, 8, 36, .95);
  box-shadow: 0 6px 30px rgba(0, 0, 0, .45);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 78px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
}
.logo-img {
  height: 42px;
  width: auto;
  display: block;
}
/* Text fallback — hidden by default, shown via onerror if the image is missing */
.logo-text-fallback {
  display: none;
  flex-direction: column;
  line-height: 1;
}
.logo-boto {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 30px;
  letter-spacing: 1px;
  color: #fff;
}
.logo-o { color: var(--purple-soft); }
.logo-poker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--gold);
  align-self: flex-end;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline: auto;
}
.nav-link {
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text);
  padding: 6px 2px;
  position: relative;
  transition: color .2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.nav-link:hover { color: var(--gold); }
.nav-link.active { color: #fff; }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }

.nav-auth { display: none; }
.header-auth { display: flex; gap: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: rgba(139, 92, 246, .15);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ Hero ============ */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 75% 30%, rgba(109, 40, 217, .35), transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(76, 29, 149, .3), transparent 70%),
    linear-gradient(180deg, #0a0a2b 0%, #131347 55%, #1a1050 100%);
}

/* Large ambience background photo (casino scene, no dealer/chips baked in).
   Sits above the CSS gradient fallback, below the bokeh dots and content. */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 10, 43, .9) 0%, rgba(10, 10, 43, .6) 36%, rgba(10, 10, 43, .18) 60%, transparent 82%),
    linear-gradient(180deg, rgba(10, 10, 43, .15) 0%, rgba(10, 10, 43, .25) 70%, rgba(10, 10, 43, .8) 100%);
}

.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bokeh {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, .5), rgba(167, 139, 250, 0) 70%);
  filter: blur(2px);
}
.b1 { width: 90px;  height: 90px;  top: 12%; left: 55%; }
.b2 { width: 50px;  height: 50px;  top: 30%; left: 48%; opacity: .7; }
.b3 { width: 130px; height: 130px; top: 8%;  right: 4%; opacity: .6; }
.b4 { width: 60px;  height: 60px;  bottom: 30%; right: 12%; opacity: .8; }
.b5 { width: 40px;  height: 40px;  top: 55%; left: 40%; opacity: .5; }
.b6 { width: 80px;  height: 80px;  bottom: 18%; left: 3%; opacity: .45; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 32px;
  padding: 56px 0 96px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.12;
  letter-spacing: .5px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .4);
}
.gold { color: var(--gold); }

.hero-sub {
  margin-top: 22px;
  max-width: 420px;
  color: #dcdcf0;
  font-size: 16px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #16123a;
  background: linear-gradient(180deg, #ffd873, var(--gold-deep));
  padding: 13px 30px 13px 26px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
  box-shadow: 0 4px 16px rgba(255, 194, 51, .45), 0 0 32px rgba(255, 167, 38, .3);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.btn-play:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 6px 22px rgba(255, 194, 51, .55), 0 0 40px rgba(255, 167, 38, .4);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(76, 29, 149, .4);
  border: 1px solid rgba(167, 139, 250, .7);
  padding: 13px 32px;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: background .2s ease, transform .2s ease;
}
.btn-download:hover { background: rgba(109, 40, 217, .6); transform: translateY(-2px); }

/* Store badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #050510;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px;
  padding: 8px 18px 8px 14px;
  transition: border-color .2s ease, transform .2s ease;
}
.store-badge:hover { border-color: rgba(255, 255, 255, .6); transform: translateY(-2px); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.25; }
.store-badge small { font-size: 10px; letter-spacing: .5px; color: #cfcfe0; }
.store-badge strong { font-size: 16px; font-weight: 600; color: #fff; }

/* Hero figure — no card/box, sits directly on the hero background.
   Expects a transparent-background PNG/WebP cutout (subject only). */
.hero-figure {
  position: relative;
  align-self: stretch;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Ground-glow so the cutout doesn't feel like it's floating in a void */
.hero-figure::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 78%;
  height: 42%;
  background: radial-gradient(ellipse at center, rgba(167, 139, 250, .4), transparent 72%);
  transform: translateX(-50%);
  filter: blur(4px);
  z-index: 1;
  pointer-events: none;
}

.hero-figure img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  z-index: 2;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .5));
}

.figure-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 12%;
  gap: 10px;
  z-index: 1;
}
.ph-cards { filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .5)); }
.ph-note {
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(199, 187, 255, .55);
  border: 1px dashed rgba(167, 139, 250, .4);
  border-radius: 6px;
  padding: 4px 14px;
}

/* Desktop (≥1024px): hero art breaks out of the grid to fill the banner's
   full height and bleed to the browser's right edge; the left edge fades
   into the background via a mask so the photo doesn't cut off abruptly. */
@media (min-width: 1024px) {
  .hero-inner { min-height: 620px; }

  .hero-figure {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 53%;
    right: calc((100% - 100vw) / 2);
    align-items: stretch;
    justify-content: flex-start;
  }
  .hero-figure::before { content: none; }
  .hero-figure img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 6%, rgba(0, 0, 0, .45) 18%, #000 38%);
            mask-image: linear-gradient(90deg, transparent 0%, transparent 6%, rgba(0, 0, 0, .45) 18%, #000 38%);
  }
  .figure-placeholder { justify-content: center; padding-bottom: 0; }
}

/* Poker chip (pure CSS) */
.chip {
  --chip-color: #6d28d9;
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 8deg, #f5f2ff 0deg 24deg, var(--chip-color) 24deg 66deg);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .5), inset 0 -3px 6px rgba(0, 0, 0, .3);
  z-index: 3;
}
.chip::after {
  content: '';
  position: absolute;
  inset: 19%;
  border-radius: 50%;
  background: var(--chip-color);
  border: 2px dashed rgba(255, 255, 255, .55);
}

.chip-hero-1 { bottom: 90px; left: 44%; width: 62px; height: 62px; transform: rotate(-14deg); }
.chip-hero-2 { bottom: 60px; left: 52%; width: 46px; height: 46px; transform: rotate(20deg); }
.chip-hero-3 { bottom: 42px; right: 6%;  width: 58px; height: 58px; transform: rotate(8deg); }

/* Slanted transition band */
.hero-slant {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -34px;
  height: 90px;
  background:
    linear-gradient(180deg, rgba(10, 8, 32, 0) 0%, rgba(10, 8, 32, .8) 62%, rgba(10, 8, 32, .8) 100%),
    linear-gradient(90deg, #3b1d8f, #6d28d9 45%, #2a1a6e);
  transform: rotate(-1.6deg);
  box-shadow: 0 -8px 40px rgba(109, 40, 217, .35);
  z-index: 1;
}

/* ============ Stats ============ */

.stats {
  background: linear-gradient(180deg, #180f47 0%, #140f42 30%, var(--bg-2) 100%);
  border-bottom: 1px solid rgba(139, 92, 246, .15);
  position: relative;
  z-index: 2;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 38px 0;
}

.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
}
.stat-icon {
  color: var(--purple);
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 12px rgba(139, 92, 246, .55));
  flex-shrink: 0;
}
.stat-text { display: flex; flex-direction: column; line-height: 1.15; }
.stat-text strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  color: #fff;
}
.stat-text small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.stat-divider {
  width: 2px;
  height: 54px;
  background: linear-gradient(180deg, transparent, var(--purple), transparent);
  transform: skewX(-18deg);
  flex-shrink: 0;
  opacity: .5;
}

/* ============ Section title ============ */

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 44px;
}
.title-deco {
  position: relative;
  width: clamp(60px, 14vw, 170px);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple));
  flex-shrink: 1;
}
.title-deco::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  width: 9px;
  height: 9px;
  background: var(--purple);
  transform: translateY(-50%) rotate(45deg);
}
.title-deco.flip { background: linear-gradient(90deg, var(--purple), transparent); }
.title-deco.flip::after { right: auto; left: -6px; }

/* ============ Tournaments ============ */

.tournaments {
  padding: 72px 0 56px;
  background: var(--bg-2);
}

.tournament-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.t-card {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(145deg, #1c1655 0%, #141043 60%, #120e3e 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 20px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.t-card:hover {
  transform: translateY(-6px);
  border-color: rgba(167, 139, 250, .6);
  box-shadow: 0 18px 44px rgba(76, 29, 149, .45);
}

.t-art {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 18px rgba(139, 92, 246, .3));
}

.t-body { display: flex; flex-direction: column; align-items: flex-start; }
.t-body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 23px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.t-line1 { font-size: 13px; color: #e6e6f5; line-height: 1.5; }
.t-line2 { font-size: 13px; color: var(--muted); line-height: 1.5; }

.btn-join {
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, #2d2470, #1e1858);
  border: 1px solid var(--purple);
  border-radius: 8px;
  padding: 10px 26px;
}
.btn-join:hover {
  background: linear-gradient(180deg, #7c3aed, #5b21b6);
  box-shadow: 0 6px 20px rgba(124, 58, 237, .5);
  transform: translateY(-2px);
}

/* ============ Players + App ============ */

.players-app {
  padding: 28px 0 84px;
  background: var(--bg-2);
}

.players-app-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: stretch;
}
/* 防止表格 min-width 撑破 grid 子项 */
.players-app-inner > * { min-width: 0; }

.players-card {
  background: linear-gradient(160deg, #191350 0%, #131040 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}

.players-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.btn-view {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e7e2ff;
  border: 1px solid rgba(167, 139, 250, .5);
  border-radius: 8px;
  padding: 8px 18px;
  background: rgba(139, 92, 246, .12);
  transition: background .2s ease;
}
.btn-view:hover { background: rgba(139, 92, 246, .3); }

.table-scroll { overflow-x: auto; }

.players-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}
.players-table th {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 10px 10px 12px;
  border-bottom: 1px solid rgba(139, 92, 246, .2);
}
.players-table td {
  padding: 13px 10px;
  border-bottom: 1px solid rgba(139, 92, 246, .12);
  font-size: 14px;
  vertical-align: middle;
}
.players-table tbody tr:last-child td { border-bottom: none; }
.players-table tbody tr { transition: background .2s ease; }
.players-table tbody tr:hover { background: rgba(139, 92, 246, .08); }

/* Top-3 highlighted rows */
.players-table tbody tr td:first-child { border-left: 3px solid transparent; }

.players-table tbody tr.rank-1 {
  background: linear-gradient(90deg, rgba(255, 194, 51, .16), rgba(255, 194, 51, .03) 70%, transparent);
}
.players-table tbody tr.rank-1 td:first-child { border-left-color: var(--gold); }
.players-table tbody tr.rank-1:hover {
  background: linear-gradient(90deg, rgba(255, 194, 51, .24), rgba(255, 194, 51, .05) 70%, transparent);
}

.players-table tbody tr.rank-2,
.players-table tbody tr.rank-3 {
  background: linear-gradient(90deg, rgba(120, 180, 255, .15), rgba(120, 180, 255, .03) 70%, transparent);
}
.players-table tbody tr.rank-2 td:first-child,
.players-table tbody tr.rank-3 td:first-child { border-left-color: #78b4ff; }
.players-table tbody tr.rank-2:hover,
.players-table tbody tr.rank-3:hover {
  background: linear-gradient(90deg, rgba(120, 180, 255, .22), rgba(120, 180, 255, .05) 70%, transparent);
}

.medal {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #241c04;
}
.gold-medal   { background: radial-gradient(circle at 35% 30%, #ffe9a8, #f2b90d 70%); box-shadow: 0 0 12px rgba(255, 200, 40, .5); }
.silver-medal { background: radial-gradient(circle at 35% 30%, #f4f6fb, #a9b2c3 70%); color: #2a2f3a; }
.bronze-medal { background: radial-gradient(circle at 35% 30%, #ecb98a, #b06a2c 70%); color: #3a2410; }
.plain-medal  { background: #232059; color: #cfcbee; border: 1px solid rgba(167, 139, 250, .3); }

.player-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.avatar {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #2a2560;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, .25);
  transition: opacity .3s ease;
}
.verified { flex-shrink: 0; }
.player-name { transition: opacity .3s ease; }
.chips-won, .win-rate { transition: opacity .3s ease; }

.chips-won { color: var(--gold); font-weight: 700; white-space: nowrap; }
.win-rate  { font-weight: 600; }
.flag { border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); display: block; }

/* App promo */
.app-promo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(109, 40, 217, .3), transparent 70%),
    linear-gradient(150deg, #1d164f 0%, #120e3e 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 28px;
  overflow: hidden;
}

.app-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 31px);
  line-height: 1.18;
  letter-spacing: .5px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
}
.app-copy > p {
  margin-top: 16px;
  max-width: 250px;
  font-size: 13.5px;
  color: #d6d3ee;
}

/* Store badges sit right under the copy, forced to one row (never wrap) */
.app-store-badges-row {
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 22px;
}
.app-store-badges-row .store-badge { padding: 6px 10px 6px 9px; gap: 8px; flex: 0 0 auto; }
.app-store-badges-row .store-badge svg { flex-shrink: 0; }
.app-store-badges-row .store-badge small { font-size: 9px; }
.app-store-badges-row .store-badge strong { font-size: 12.5px; }

/* Phone + chips artwork — single composed image, replaces the CSS mockup below.
   Sized to fit beside the copy column without overlapping the buttons. */
.phone-art {
  display: block;
  width: 200px;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45));
  position: relative;
  z-index: 1;
}
.phone-css-fallback { display: none; }

/* Copy column always renders above the phone art, so buttons are never covered */
.app-copy { position: relative; z-index: 2; }

/* Phone mockup (pure CSS fallback) */
.phone-wrap { position: relative; padding: 10px 18px 30px 0; }

.phone {
  width: 220px;
  height: 320px;
  background: #0b0b1e;
  border: 3px solid #2c2c54;
  border-radius: 26px;
  padding: 10px;
  transform: rotate(8deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 40px rgba(124, 58, 237, .25);
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #0e2a1c, #071a10);
  position: relative;
}
.table-felt {
  position: absolute;
  inset: 12% 8%;
  border-radius: 50% / 42%;
  background: radial-gradient(ellipse at 50% 40%, #1d7a4b, #0f5231 70%);
  border: 6px solid #5a3b1e;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, .5);
}
.felt-ring {
  position: absolute;
  inset: 14%;
  border-radius: 50% / 42%;
  border: 1.5px solid rgba(255, 255, 255, .25);
}
.table-cards {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 3px;
}
.mini-card {
  width: 20px;
  height: 28px;
  background: #fff;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 700;
  color: #16162e;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .4);
}
.mini-card.red { color: #c62839; }
.seat {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #b9a5f5, #6d28d9);
  box-shadow: 0 0 8px rgba(139, 92, 246, .6);
}
.s1 { top: -8px;  left: 50%; transform: translateX(-50%); }
.s2 { top: 22%;   left: -9px; }
.s3 { top: 22%;   right: -9px; }
.s4 { bottom: 20%; left: -9px; }
.s5 { bottom: 20%; right: -9px; }
.s6 { bottom: -8px; left: 50%; transform: translateX(-50%); }

.chip-app-1 { bottom: 4px;  right: 60px; width: 48px; height: 48px; transform: rotate(-10deg); }
.chip-app-2 { bottom: -6px; right: 20px; width: 40px; height: 40px; transform: rotate(18deg); }
.chip-app-3 { bottom: 40px; right: -6px; width: 34px; height: 34px; transform: rotate(-24deg); }

/* ============ Language support ============ */

.lang-support {
  padding: 20px 0 88px;
  background: var(--bg-2);
}

.lang-sub {
  max-width: 560px;
  margin: -20px auto 40px;
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.lang-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  background: linear-gradient(145deg, #1c1655 0%, #141043 60%, #120e3e 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 12px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lang-card:hover {
  transform: translateY(-6px);
  border-color: rgba(167, 139, 250, .6);
  box-shadow: 0 18px 44px rgba(76, 29, 149, .45);
}

.lang-flag {
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
  flex-shrink: 0;
}

.lang-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}

.lang-caption {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============ Footer ============ */

.site-footer {
  background: linear-gradient(180deg, #0a0a2e 0%, #070722 100%);
  border-top: 1px solid rgba(139, 92, 246, .18);
  padding-top: 58px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr .9fr 1.3fr;
  gap: 36px;
  padding-bottom: 46px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 240px;
}

.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  color: #d7cdfa;
  background: rgba(139, 92, 246, .14);
  border: 1px solid rgba(139, 92, 246, .3);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.socials a:hover { background: var(--purple-deep); color: #fff; transform: translateY(-2px); }

.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 7px;
}
.footer-col a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color .2s ease;
  width: fit-content;
}
.footer-col a:hover { color: var(--gold); }

.footer-contact p { font-size: 13px; color: var(--muted); margin-bottom: 2px; }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.footer-contact .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  max-width: 230px;
  padding: 9px 14px;
  border-radius: 10px;
  background: rgba(139, 92, 246, .08);
  border: 1px solid rgba(139, 92, 246, .25);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-contact .contact-link:hover { transform: translateY(-2px); }

.contact-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}
.contact-telegram .contact-icon { background: rgba(41, 169, 235, .16); color: #29a9eb; }
.contact-telegram:hover { border-color: rgba(41, 169, 235, .55); background: rgba(41, 169, 235, .1); }
.contact-whatsapp .contact-icon { background: rgba(37, 211, 102, .16); color: #25d366; }
.contact-whatsapp:hover { border-color: rgba(37, 211, 102, .55); background: rgba(37, 211, 102, .1); }

.contact-text { display: flex; flex-direction: column; line-height: 1.3; }
.contact-text small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-text strong { font-size: 13.5px; font-weight: 600; color: #fff; white-space: nowrap; }

.footer-bottom {
  border-top: 1px solid rgba(139, 92, 246, .15);
  padding: 20px 0;
}
.footer-bottom p {
  text-align: center;
  font-size: 12.5px;
  color: #7d7da5;
}

/* Points-only / no-real-money notice */
.footer-disclaimer {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  max-width: 620px;
  margin: 0 auto 16px;
}
.footer-disclaimer svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--purple-soft);
  opacity: .75;
}
.footer-disclaimer p {
  font-size: 11.5px;
  line-height: 1.6;
  color: #7d7aa0;
  text-align: center;
  margin: 0;
}
.footer-legal-company {
  display: grid;
  gap: 4px;
  max-width: 820px;
  margin-inline: auto;
}
.footer-legal-company p {
  margin: 0;
  line-height: 1.55;
}
.footer-legal-company .footer-copyright {
  color: #a9a7c8;
  font-weight: 600;
}

/* ============ Legal / policy pages ============ */

.legal-page {
  background:
    radial-gradient(circle at 18% 8%, rgba(139, 92, 246, .22), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(255, 194, 51, .12), transparent 28%),
    var(--bg);
}

.legal-main {
  min-height: 62vh;
}

.legal-hero {
  padding: 88px 0 52px;
  border-bottom: 1px solid rgba(139, 92, 246, .18);
  background: linear-gradient(180deg, rgba(20, 20, 63, .72), rgba(10, 10, 43, .2));
}

.legal-hero-inner {
  max-width: 900px;
}

.legal-kicker {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  font-weight: 900;
  color: #fff;
}

.legal-hero p {
  max-width: 760px;
  margin-top: 18px;
  color: #d7d5ef;
  font-size: 17px;
}

.legal-hero .legal-updated {
  color: var(--muted);
  font-size: 13px;
}

.legal-content {
  padding: 54px 0 78px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 860px);
  gap: 46px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(139, 92, 246, .24);
  border-radius: 8px;
  background: rgba(20, 20, 63, .58);
}

.legal-sidebar a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: color .2s ease, transform .2s ease;
}

.legal-sidebar a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.legal-document {
  color: #dfdef5;
}

.legal-document section {
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(139, 92, 246, .16);
}

.legal-document section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-document h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.2;
  color: #fff;
}

.legal-document h3 {
  margin-bottom: 8px;
  font-size: 17px;
  color: #fff;
}

.legal-document p,
.legal-document li {
  color: #c8c5e8;
  font-size: 15px;
  line-height: 1.8;
}

.legal-document p + p,
.legal-document ul + p,
.legal-document p + ul {
  margin-top: 12px;
}

.legal-document ul {
  padding-left: 21px;
}

.legal-document li + li {
  margin-top: 7px;
}

.legal-document a {
  color: var(--gold);
  font-weight: 600;
}

.faq-item {
  padding: 20px 0;
  border-top: 1px solid rgba(139, 92, 246, .14);
}

.faq-item:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

/* ============================================================
   About Us page
   ============================================================ */

.about-page { background: var(--bg); }

/* ---- Hero: story + trust badges + image ---- */
.about-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 84px;
  background:
    radial-gradient(ellipse 60% 55% at 80% 15%, rgba(109, 40, 217, .3), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(76, 29, 149, .25), transparent 70%),
    linear-gradient(180deg, #120c38 0%, var(--bg) 100%);
  border-bottom: 1px solid rgba(139, 92, 246, .18);
}

/* Large ambience background photo (crowd/lights/banner, no dealer baked in).
   Sits above the CSS gradient fallback, below the copy + figure. */
.about-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.about-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.about-hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* flat dimmer across the whole photo, so it sits back tonally behind the copy/figure */
    linear-gradient(rgba(6, 4, 22, .38), rgba(6, 4, 22, .38)),
    linear-gradient(100deg, rgba(18, 12, 56, .9) 0%, rgba(18, 12, 56, .6) 36%, rgba(18, 12, 56, .18) 60%, transparent 82%),
    linear-gradient(180deg, rgba(18, 12, 56, .15) 0%, rgba(18, 12, 56, .25) 70%, rgba(18, 12, 56, .8) 100%);
}
.about-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.about-eyebrow {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .4);
}
.about-hero-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--gold);
}
.about-desc {
  margin-top: 20px;
  max-width: 460px;
  color: #d6d3ee;
  font-size: 15.5px;
  line-height: 1.75;
}
.about-signature {
  margin-top: 16px;
  font-family: 'Dancing Script', cursive;
  font-weight: 600;
  font-size: 27px;
  color: var(--gold);
}

.about-badges {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.about-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-badge-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(139, 92, 246, .14);
  border: 1px solid rgba(139, 92, 246, .3);
  color: var(--purple-soft);
}
.about-badge-text {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #e3e1f5;
}

.about-hero-figure {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 400px;
  align-self: stretch;
  /* No fill here — the figure image is a transparent cutout, so its
     empty areas should reveal .about-hero-photo behind it, not a
     separate box color of its own. */
}
.about-hero-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.about-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Desktop (≥1024px): the hero photo breaks out of the grid to fill the
   section's full height and bleed to the browser's right edge, same
   treatment as the homepage hero, so it reads as one scene instead of a
   boxed card sitting next to the text. */
@media (min-width: 1024px) {
  .about-hero { padding-bottom: 0; }
  .about-hero-inner { min-height: 520px; }

  .about-hero-figure {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 53%;
    right: calc((100% - 100vw) / 2);
    border-radius: 0;
    box-shadow: none;
  }
  .about-hero-figure img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    /* Extra soft fade on top of the PNG's own alpha, so the left edge
       eases into the background photo rather than however the source
       cutout happens to end. */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .6) 14%, #000 34%);
            mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .6) 14%, #000 34%);
  }
  .about-placeholder { justify-content: center; }
}

/* ---- Mission: device art + kicker + 3-up features ---- */
.about-mission {
  padding: 56px 0 88px;
  background: var(--bg-2);
  border-bottom: 1px solid rgba(139, 92, 246, .15);
}
.about-mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-mission-art {
  position: relative;
  overflow: visible;
  min-height: 360px;
}
.about-mission-art img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(118%, 720px);
  max-width: none;
  height: auto;
  transform: translate(-54%, -50%);
}

.section-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-soft);
}
.about-mission-copy h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
  text-transform: uppercase;
  color: #fff;
}
.about-mission-copy > p {
  margin-top: 18px;
  max-width: 480px;
  color: #c8c5e8;
  font-size: 15px;
  line-height: 1.75;
}

.about-mission-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
}
.mission-feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 12px;
  background: rgba(139, 92, 246, .14);
  border: 1px solid rgba(139, 92, 246, .28);
  color: var(--purple-soft);
}
.mission-feature p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---- Global tournaments: bordered panel + 5-card grid ---- */
.about-tournaments {
  padding: 88px 0 96px;
  background: var(--bg-2);
}
.about-tournaments-inner {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 15% 0%, rgba(109, 40, 217, .22), transparent 65%),
    radial-gradient(ellipse 70% 60% at 85% 100%, rgba(76, 29, 149, .2), transparent 65%),
    linear-gradient(160deg, #14103f 0%, #0f0c38 100%);
}
.about-tournaments-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-soft);
}
.about-tournaments-kicker .title-deco { width: clamp(50px, 8vw, 110px); }
.about-tournaments-inner h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 42px);
  text-transform: uppercase;
  color: #fff;
}
.about-tournaments-lead {
  margin: 16px auto 0;
  max-width: 560px;
  color: #c8c5e8;
  font-size: 15px;
  line-height: 1.7;
}

.about-tournament-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 44px;
  text-align: left;
}
.about-tournament-card {
  position: relative;
  min-height: 330px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(139, 92, 246, .22);
  background: var(--tcard-bg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.about-tournament-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .4);
}
.about-tournament-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.about-tournament-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 6, 26, .12) 0%, rgba(8, 6, 26, .26) 42%, rgba(8, 6, 26, .94) 100%);
  z-index: 1;
}
.about-card-icon {
  position: absolute;
  top: 28px;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 124px;
  height: 116px;
  color: var(--tcard-accent);
  transform: translateX(-50%);
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .36));
  opacity: .96;
}
.about-card-icon::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: currentColor;
  opacity: .1;
  filter: blur(18px);
}
.about-card-icon svg {
  position: relative;
  z-index: 1;
  width: 116px;
  height: 104px;
}
.about-card-body {
  position: relative;
  z-index: 2;
  padding: 18px;
}
.about-card-label {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  color: #fff;
  background: var(--tcard-accent);
}
.about-card-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.about-card-body p {
  font-size: 11.5px;
  line-height: 1.55;
  color: #cfcbe9;
}

.tcard-online        { --tcard-bg: linear-gradient(160deg, #3b1d8f, #1c1348); --tcard-accent: #8b5cf6; }
.tcard-live           { --tcard-bg: linear-gradient(160deg, #7a5a1e, #3a2a0c); --tcard-accent: #f5a800; }
.tcard-championship   { --tcard-bg: linear-gradient(160deg, #1e3a5f, #0c1a2e); --tcard-accent: #38bdf8; }
.tcard-satellite      { --tcard-bg: linear-gradient(160deg, #14532d, #0a2916); --tcard-accent: #22c55e; }
.tcard-special        { --tcard-bg: linear-gradient(160deg, #7a1e4a, #3a0c22); --tcard-accent: #ec4899; }

/* ============================================================
   Large screens (≥1600px) — fill wide / high-res displays
   ============================================================ */

@media (min-width: 1600px) {
  .container { width: min(1560px, 100% - 96px); }

  .header-inner { height: 88px; }
  .logo-boto { font-size: 34px; }
  .logo-img { height: 52px; }
  .main-nav { gap: 38px; }
  .nav-link { font-size: 15px; }
  .btn { font-size: 15px; padding: 12px 26px; }

  .hero-inner { gap: 48px; padding: 80px 0 120px; min-height: 680px; }
  .hero-title { font-size: clamp(56px, 4.4vw, 76px); }
  .hero-sub { font-size: 18px; max-width: 500px; }
  .btn-play { font-size: 17px; padding: 18px 46px; }
  .btn-download { font-size: 15px; padding: 17px 34px; }

  .stats-inner { padding: 52px 0; }
  .stat-text strong { font-size: 38px; }
  .stat-text small { font-size: 12.5px; }
  .stat-icon svg { width: 42px; height: 42px; }
  .stat-divider { height: 66px; }

  .tournaments { padding: 96px 0 72px; }
  .section-title { font-size: clamp(32px, 3vw, 42px); margin-bottom: 56px; }
  .tournament-grid { gap: 32px; }
  .t-card { padding: 34px 28px; }
  .t-body h3 { font-size: 27px; }
  .t-line1, .t-line2 { font-size: 14.5px; }

  .players-app { padding: 40px 0 110px; }
  .players-app-inner { gap: 36px; }
  .players-card { padding: 36px; }
  .card-title { font-size: 28px; }
  .players-table th { font-size: 12px; }
  .players-table td { padding: 16px 12px; font-size: 15.5px; }
  .app-title { font-size: clamp(31px, 2.4vw, 40px); }
  .app-copy > p { font-size: 15px; max-width: 300px; }
  .phone-art { width: 240px; }
  .phone { width: 260px; height: 376px; }

  .footer-grid { gap: 48px; padding-bottom: 60px; }

  .about-hero-inner { gap: 64px; }
  .about-hero-figure { min-height: 460px; }
  .about-mission-inner { gap: 70px; }
  .about-mission-art { min-height: 420px; }
  .about-tournament-card { min-height: 350px; }
}

@media (min-width: 1920px) {
  .container { width: min(1720px, 100% - 120px); }
  .hero-inner { padding: 96px 0 140px; min-height: 760px; }
}

/* ============================================================
   Responsive — iPad (768px – 1023px)
   ============================================================ */

@media (max-width: 1023px) {
  .header-inner { gap: 14px; }
  .main-nav { gap: 13px; }
  .nav-link { font-size: 11.5px; letter-spacing: .3px; }
  .header-auth { gap: 8px; }
  .header-auth .btn { padding: 8px 13px; font-size: 12px; }
  .logo-boto { font-size: 26px; }
  .logo-poker { font-size: 9.5px; letter-spacing: 4px; }
  .logo-img { height: 34px; }

  .hero-inner {
    grid-template-columns: 1fr .8fr;
    padding: 44px 0 90px;
  }
  .hero-figure { min-height: 360px; }
  /* 装饰筹码下移，避免遮挡商店徽章 */
  .chip-hero-1 { bottom: 26px; left: 40%; width: 52px; height: 52px; }
  .chip-hero-2 { bottom: 12px; left: 49%; width: 40px; height: 40px; }
  .chip-hero-3 { bottom: 20px; }

  .stats-inner { flex-wrap: wrap; padding: 30px 0; row-gap: 26px; }
  .stat { flex: 1 1 40%; justify-content: flex-start; padding-left: 8%; }
  .stat-divider { display: none; }

  .tournament-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .t-card { padding: 24px 28px; gap: 20px; }

  .players-app-inner { grid-template-columns: 1fr; }
  .app-promo { grid-template-columns: 1fr auto; }

  .lang-support { padding: 8px 0 64px; }
  .lang-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; max-width: 420px; }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .legal-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .legal-sidebar a {
    padding-right: 10px;
  }

  .about-hero { padding: 56px 0 64px; }
  .about-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-hero-figure { min-height: 340px; order: -1; }
  /* Stacked layout: image sits above the copy, not beside it, so the
     left-edge fade (meant to blend into adjacent text) is dropped. */
  .about-hero-figure img { -webkit-mask-image: none; mask-image: none; }
  .about-desc { max-width: 100%; }

  .about-mission { padding: 64px 0; }
  .about-mission-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-mission-art { min-height: clamp(500px, 58vw, 600px); }
  .about-mission-art img {
    transform: translate(-50%, -50%);
  }
  .about-mission-copy > p { max-width: 100%; }

  .about-tournaments { padding: 64px 0 72px; }
  .about-tournaments-inner { padding: 44px 24px; }
  .about-tournament-grid { grid-template-columns: repeat(3, 1fr); }
  .about-tournament-card { min-height: 340px; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  #home .hero-inner {
    grid-template-columns: 1fr;
    min-height: clamp(640px, 76vw, 760px);
    padding: 44px 0 86px;
  }
  #home .hero-figure {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 37%;
    right: calc((100% - 100vw) / 2);
    min-height: 0;
    margin-right: 0;
    align-items: stretch;
    justify-content: flex-start;
    z-index: 2;
  }
  #home .hero-figure::before { content: none; }
  #home .hero-figure img {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .22) 14%, rgba(0, 0, 0, .75) 30%, #000 48%);
            mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .22) 14%, rgba(0, 0, 0, .75) 30%, #000 48%);
  }
  #home .hero-copy {
    position: relative;
    z-index: 4;
    max-width: min(560px, 58vw);
  }
  #home .hero-cta {
    flex-wrap: nowrap;
    gap: 14px;
  }
  #home .btn-play,
  #home .btn-download {
    min-width: 0;
    padding-inline: 24px;
  }
  #home .tournament-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    gap: 22px;
  }
  #home .t-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 22px;
    gap: 12px;
  }
  #home .t-body {
    align-items: center;
  }
  #home .btn-join {
    align-self: center;
    width: min(190px, 100%);
  }

  .about-hero {
    padding: 40px 0 46px;
  }
  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .about-hero-figure {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    min-height: 0;
    aspect-ratio: 1691 / 930;
    margin-inline: calc((100vw - 100%) / -2);
    order: -1;
  }
  .about-hero-figure img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .about-hero-copy {
    position: relative;
    z-index: 4;
    margin: clamp(-360px, -36vw, -300px) calc((100vw - 100%) / -2) 0;
    padding: clamp(156px, 16vw, 184px) max(28px, calc((100vw - 100%) / 2 + 28px)) 28px;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 4, 22, .64) 18%, rgba(6, 4, 22, .9) 46%, rgba(6, 4, 22, .97) 100%);
  }
}

/* ============================================================
   Responsive — Mobile (<768px)
   ============================================================ */

@media (max-width: 767px) {
  .container { width: min(1200px, 100% - 36px); }

  .header-inner { height: 68px; }
  .logo-boto { font-size: 26px; }
  .logo-poker { font-size: 9.5px; letter-spacing: 4px; }
  .logo-img { height: 30px; }

  .hamburger { display: flex; margin-left: auto; }
  .header-auth { display: none; }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 18px 24px 24px;
    background: rgba(8, 8, 34, .98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s ease, opacity .3s ease, visibility .3s;
    z-index: 99;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-link { padding: 12px 4px; font-size: 14px; border-bottom: 1px solid rgba(139, 92, 246, .12); }
  .nav-link::after { display: none; }
  .nav-link.active { color: var(--gold); }
  .nav-auth { display: flex; gap: 12px; margin-top: 16px; }
  .nav-auth .btn { flex: 1; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 36px 0 84px;
    text-align: center;
  }
  .hero-title { font-size: clamp(30px, 9vw, 40px); }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .btn-play, .btn-download { flex: 1 1 auto; justify-content: center; }
  .store-badges { justify-content: center; }
  .hero-figure { min-height: 300px; order: 2; }
  /* 保证图片高度撑满盒子，允许左右裁切 */
  .hero-figure img { object-fit: cover; object-position: center top; }
  .hero-figure::before { content: none; }
  .chip-hero-1, .chip-hero-2 { display: none; }
  .chip-hero-3 { width: 44px; height: 44px; right: 4%; bottom: 30px; }

  .stats-inner { flex-wrap: wrap; padding: 26px 0; row-gap: 22px; column-gap: 0; }
  .stat { flex: 1 1 50%; justify-content: flex-start; padding-left: 4px; gap: 12px; }
  .stat-icon svg { width: 27px; height: 27px; }
  .stat-text strong { font-size: 23px; }
  .stat-text small { font-size: 9.5px; letter-spacing: 1px; }
  .stat-divider { display: none; }

  .tournaments { padding: 56px 0 40px; }
  .section-title { gap: 12px; margin-bottom: 32px; }

  .tournament-grid { grid-template-columns: 1fr; }
  .t-card { flex-direction: column; text-align: center; padding: 28px 22px; }
  .t-body { align-items: center; }

  .players-app { padding: 20px 0 64px; }
  .players-card { padding: 20px 16px; }
  .players-table th, .players-table td { padding: 11px 8px; }
  .players-table { min-width: 500px; }

  .app-promo {
    grid-template-columns: 1fr;
    padding: 28px 22px 40px;
    text-align: center;
  }
  .app-copy > p { margin-inline: auto; }
  .app-store-badges-row { justify-content: center; }
  .phone-wrap {
    margin-top: 26px;
    padding: 0;
    display: flex;
    justify-content: center;
  }
  .phone-art { width: 190px; }
  .phone { width: 190px; height: 276px; }
  .chip-app-1 { right: auto; left: 12%; }
  .chip-app-2 { right: 12%; }
  .chip-app-3 { right: 6%; bottom: 70px; }

  .lang-support { padding: 4px 0 48px; }
  .lang-sub { margin-top: -12px; margin-bottom: 28px; }
  .lang-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .lang-card { padding: 20px 10px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-contact .contact-link { max-width: 320px; }

  .legal-hero {
    padding: 58px 0 36px;
  }
  .legal-hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }
  .legal-hero p {
    font-size: 15px;
  }
  .legal-content {
    padding: 34px 0 56px;
  }
  .legal-sidebar {
    padding: 14px;
  }
  .legal-document h2 {
    font-size: 22px;
  }
  .legal-document p,
  .legal-document li {
    font-size: 14px;
  }

  .about-hero {
    padding: 28px 0 34px;
  }
  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .about-hero-copy {
    position: relative;
    z-index: 4;
    margin: clamp(-116px, -25vw, -92px) -18px 0;
    padding: clamp(60px, 15vw, 78px) 18px 22px;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 4, 22, .72) 26%, rgba(6, 4, 22, .96) 100%);
  }
  .about-eyebrow { font-size: clamp(30px, 9vw, 40px); }
  .about-hero-title { font-size: clamp(19px, 5.5vw, 24px); }
  .about-desc {
    margin-top: 18px;
    font-size: 14.5px;
    line-height: 1.65;
  }
  .about-signature {
    margin-top: 20px;
    font-size: 25px;
  }
  .about-hero-figure {
    min-height: 0;
    aspect-ratio: 1691 / 930;
    margin-inline: -18px;
  }
  .about-hero-figure img {
    object-fit: contain;
    object-position: center top;
  }
  .about-badges { gap: 20px 26px; }

  .about-mission { padding: 48px 0; }
  .about-mission-art { min-height: clamp(280px, 72vw, 420px); }
  .about-mission-art img { width: min(118%, 560px); }
  .about-mission-copy h2 {
    margin-top: 8px;
    font-size: clamp(25px, 8vw, 34px);
    line-height: 1.14;
  }
  .about-mission-copy > p {
    margin-top: 16px;
    font-size: 14.5px;
    line-height: 1.68;
  }
  .about-mission-features {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
  }
  .mission-feature {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(139, 92, 246, .22);
    border-radius: 8px;
    background: rgba(139, 92, 246, .08);
  }
  .mission-feature-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    border-radius: 10px;
    background: rgba(139, 92, 246, .18);
  }
  .mission-feature p {
    font-size: 13px;
    line-height: 1.55;
  }

  .about-tournaments { padding: 48px 0 56px; }
  .about-tournaments-inner { padding: 32px 18px; }
  .about-tournaments-kicker { gap: 10px; font-size: 11px; }
  .about-tournaments-kicker .title-deco { width: 28px; }
  .about-tournament-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .about-tournament-card { min-height: 260px; }
  .about-card-icon {
    top: 24px;
    width: 76px;
    height: 76px;
  }
  .about-card-icon svg {
    width: 68px;
    height: 68px;
  }
}

@media (min-width: 600px) and (max-width: 767px) {
  #home .tournament-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 680px;
    gap: 18px;
  }
  #home .t-card {
    min-height: 300px;
    justify-content: center;
    padding: 26px 18px;
  }
  #home .t-art svg {
    width: 112px;
    height: 96px;
  }
  #home .btn-join {
    width: min(180px, 100%);
  }
  .about-tournament-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 680px;
    gap: 18px;
  }
  .about-tournament-card {
    min-height: 300px;
  }
  .about-card-icon {
    top: 26px;
    width: 88px;
    height: 84px;
  }
  .about-card-icon svg {
    width: 80px;
    height: 74px;
  }
  .about-card-body {
    padding: 16px;
  }
}

/* Very narrow phones */
@media (max-width: 380px) {
  .hero-cta { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat { flex-basis: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
