
:root {
  --ink: #e8eefc;
  --muted: #9aa6bd;
  --bg: #0b1220;
  --bar: #070d18;
  --card: #151d2e;
  --line: #2a354c;
  --blue: #2f7dff;
  --blue-2: #1c6ae6;
  --red: #ff3146;
  --gold: #f0c14a;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.5 "Avenir Next", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: -40px; background: #fff; color: #111; padding: 6px 10px; z-index: 9;
}
.skip:focus { top: 8px; }
.site-head {
  position: sticky; top: 0; z-index: 6; background: var(--bg); color: #fff;
  border-bottom: 1px solid #1d2740;
}
.cta-bar { border-bottom: 1px solid #1d2740; }
.cta-bar-inner, .mainbar-inner { display: flex; align-items: center; gap: 8px; }
.cta-bar-inner { justify-content: flex-end; min-height: 52px; }
.mainbar { position: relative; }
.mainbar-inner { min-height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 750; letter-spacing: 0.04em; }
.brand img { width: 40px; height: 40px; border-radius: 8px; }
.desk { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.desk a {
  color: #c5d0e4; text-decoration: none; font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 9px; white-space: nowrap;
}
.desk a:hover { color: #fff; }
.desk a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--red); }
.menu { display: none; }
.menu summary {
  cursor: pointer; list-style: none; color: #fff; font-weight: 700; font-size: 14px;
  padding: 8px 12px; border: 1px solid #2a354c; border-radius: 8px; background: #151d2e;
}
.menu summary::-webkit-details-marker { display: none; }
.menu nav {
  position: absolute; left: 0; right: 0; top: 100%; display: grid;
  background: var(--bg); border-bottom: 1px solid #2a354c; padding: 4px 16px 12px;
}
.menu a {
  color: #fff; text-decoration: none; font-size: 16px; font-weight: 650;
  padding: 14px 4px; border-bottom: 1px solid #243049;
}
.menu a[aria-current="page"] { color: var(--gold); }
.crumbs { display: flex; gap: 8px; align-items: center; margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.crumbs a { color: inherit; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hero.band {
  margin-top: 8px; padding: 32px 28px; border-radius: 18px;
  background: var(--bg);
}
.sheet { padding: 28px 0 48px; }
.hero h1, h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.05; margin: 0 0 12px; letter-spacing: -0.03em; }
.kicker { letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; color: var(--gold); margin: 0 0 8px; }
.lead { font-size: 18px; max-width: 46rem; color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 8px; text-decoration: none; font-weight: 750;
  background: var(--blue); color: #fff;
}
.btn.sm { min-height: 36px; font-size: 14px; }
.btn.line { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.cards article, .match, .split article {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px;
}
.cards article { display: flex; flex-direction: column; }
.cards article > .btn { margin-top: auto; align-self: flex-start; }
.cards h3, .match .series { margin: 0 0 6px; }
.prize { color: var(--gold); font-weight: 750; }
.match-list, .split { display: grid; gap: 12px; }
.split { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 8px 0 28px; }
.stats article {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 12px;
}
.stats b { display: block; color: var(--gold); font-size: 26px; line-height: 1.15; }
.stats span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.cat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cat-list a {
  display: block; background: #1a2438; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px; text-decoration: none; min-width: 0;
}
.cat-list strong { display: block; font-size: 18px; }
.cat-list span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; font-weight: 500; line-height: 1.45; }
.related { margin: 28px 0 8px; }
.related-links { display: flex; flex-wrap: wrap; gap: 8px; }
.related-links a {
  background: #1a2438; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; font-size: 14px; text-decoration: none;
}
.chips, .cols, .plain { padding: 0; list-style: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #1a2438; border-radius: 999px; padding: 6px 12px; }
.cols { columns: 2; }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.capture { color: var(--muted); font-size: 14px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { white-space: normal; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; margin: 12px 0 28px; }
.game-grid figure { margin: 0; }
.game-grid img { width: 100%; height: auto; border-radius: 12px; background: var(--card); }
.game-grid figcaption { margin-top: 6px; font-size: 13px; line-height: 1.3; }
.shot-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 12px 0 28px; }
.shot, .shot-link, .hero-art { margin: 0 0 12px; }
.shot img, .shot-link img, .hero-art img { width: 100%; height: auto; border-radius: 14px; background: var(--card); }
.hero-art { max-width: 420px; }
.shot figcaption, .shot-link span, .hero-art figcaption, .crest figcaption { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.shot-link { text-decoration: none; }
.crests { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0 24px; }
.crest { width: 96px; margin: 0; text-align: center; }
.crest img { width: 96px; height: 96px; object-fit: contain; background: var(--card); border-radius: 12px; }
.crest figcaption { font-size: 12px; }
.invite-grid article img { width: 100%; border-radius: 12px; margin-bottom: 8px; }
.logo-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 12px 0 28px; }
.logo-card { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.logo-card img { width: 100%; height: 64px; object-fit: contain; }
.logo-card strong { display: block; margin-top: 8px; }
.logo-card span { display: block; color: var(--muted); font-size: 13px; }
.banners { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.banner {
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 180px;
  padding: 18px; border-radius: 16px; text-decoration: none; color: #fff;
}
.banner.race { background: radial-gradient(circle at 80% 20%, #ff5a6a, #8e1224 55%, #2a0b12); }
.banner.vip { background: radial-gradient(circle at 20% 20%, #ffe08a, #8a6a1d 40%, #1b1408); }
.banner strong { font-size: 32px; }
.rummy-poster {
  background: radial-gradient(circle at 50% 30%, #c4232f, #6d0d16 70%);
  border-radius: 20px; padding: 48px 24px; text-align: center; color: #fff;
}
.rummy-poster ul { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 0; list-style: none; }
.foot { background: var(--bg); color: #9aa6bd; padding: 36px 0 28px; border-top: 1px solid #1c2638; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot h2 { margin: 0 0 10px; color: #fff; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 8px 0; }
.foot a { color: #c5d0e4; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot-brand { margin-bottom: 12px; }
.social { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.age { margin: 0 0 12px; }
@media (max-width: 1100px) {
  .desk { display: none; }
  .menu { display: block; margin-left: auto; }
}
@media (max-width: 720px) {
  .banners, .cols, .foot-grid, .cat-list, .stats, .cards { grid-template-columns: 1fr; columns: 1; }
  .cta-bar-inner { justify-content: stretch; }
  .cta-bar-inner .btn { flex: 1; }
  .hero .btn, .sheet .row .btn { width: 100%; }
  .hero.band { padding: 24px 16px; }
  .hero h1, h1 { font-size: 32px; }
}
