:root {
  --bg: #07080d;
  --panel: #10121a;
  --panel-2: #171a25;
  --line: #272b3a;
  --text: #f7f8fb;
  --muted: #9298aa;
  --gold: #f4c75b;
  --gold-2: #ff9d33;
  --purple: #8b5cf6;
  --red: #f04462;
  --green: #21d19f;
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--text); background: radial-gradient(circle at 50% 0, #171220 0, var(--bg) 34rem); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-shell { min-height: 100vh; overflow: hidden; }
.service-bar { color: #aeb3c1; font-size: 11px; background: #05060a; border-bottom: 1px solid #1b1d27; }
.service-inner { display: flex; gap: 22px; align-items: center; width: min(1480px, 100%); min-height: 34px; padding: 0 28px; margin: auto; }
.service-inner a:hover { color: var(--gold); }
.service-spacer { flex: 1; }
.status-dot, .online-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 10px #21d19fcc; }
.locale-badge { padding: 3px 8px; color: var(--gold); background: #f4c75b12; border: 1px solid #f4c75b3b; border-radius: 999px; }

.header { position: relative; z-index: 20; display: flex; gap: 34px; align-items: center; width: min(1480px, 100%); min-height: 82px; padding: 0 28px; margin: auto; }
.header-spacer { flex: 1; }
.logo { display: inline-flex; align-items: center; color: #fff; font-size: 25px; font-weight: 900; font-style: italic; letter-spacing: -1.5px; }
.logo > span:nth-child(2) > span { color: var(--gold); }
.logo small { align-self: flex-end; margin: 0 0 16px 8px; color: #5c6070; font-size: 7px; letter-spacing: 2px; }
.logo-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-right: 8px; color: #14100a; font-style: italic; background: linear-gradient(145deg, #fff0a0, #d99624 65%, #9d5d0a); border-radius: 11px 3px 11px 3px; box-shadow: 0 8px 30px #e5a52b32; transform: skew(-5deg); }
.desktop-nav { display: flex; flex: 1; gap: 8px; justify-content: center; }
.desktop-nav a { position: relative; padding: 30px 15px; color: #9ba0af; font-size: 13px; font-weight: 600; }
.desktop-nav a::after { position: absolute; right: 18px; bottom: 16px; left: 18px; height: 2px; content: ""; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transform: scaleX(.4); transition: .2s; }
.desktop-nav a:hover, .desktop-nav a.active { color: #fff; }
.desktop-nav a.active::after { opacity: 1; transform: scaleX(1); }
.actions { display: flex; gap: 9px; align-items: center; }
.gold-button, .glass-button, .ghost-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 23px; color: #161009; font-weight: 800; background: linear-gradient(135deg, #fff08b, var(--gold-2)); border: 0; border-radius: 10px; box-shadow: 0 8px 28px #e8a52b26; transition: transform .18s, filter .18s; }
.gold-button:hover, .glass-button:hover, .ghost-button:hover { filter: brightness(1.08); transform: translateY(-2px); }
.gold-button.compact { min-height: 38px; padding: 0 17px; font-size: 12px; }
.glass-button, .ghost-button { color: #eef0f6; background: #ffffff0b; border: 1px solid #ffffff1b; box-shadow: none; }
.gold-button.wide { width: 100%; }
.balance-pill { display: grid; gap: 2px; min-width: 130px; padding: 8px 14px; background: #141620; border: 1px solid #282c3a; border-radius: 10px; }
.balance-pill small { color: var(--muted); font-size: 10px; }
.balance-pill b { color: var(--gold); font-size: 13px; }

main { width: min(1480px, 100%); padding: 0 28px 64px; margin: auto; }
.hero { position: relative; display: grid; grid-template-columns: 1.05fr 1fr 250px; min-height: 500px; overflow: hidden; background: linear-gradient(110deg, #17121e 0, #17101c 45%, #0d1019 100%); border: 1px solid #34293d; border-radius: 26px; box-shadow: 0 30px 90px #0008, inset 0 1px #ffffff0d; }
.hero::before { position: absolute; inset: 0; content: ""; pointer-events: none; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right, #000, transparent 70%); }
.hero-copy { position: relative; z-index: 4; align-self: center; padding: 56px 0 56px 58px; }
.live-pill { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; color: #f8dca4; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; background: #f4c75b12; border: 1px solid #f4c75b3d; border-radius: 999px; }
.live-pill i { width: 7px; height: 7px; background: #ff4e63; border-radius: 50%; box-shadow: 0 0 10px #ff4e63; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.75); } }
.hero h1 { max-width: 650px; margin: 20px 0 16px; font-size: clamp(38px, 4.2vw, 68px); line-height: 1.02; letter-spacing: -2.8px; text-wrap: balance; }
.hero h1::first-line { color: #fff4d1; }
.hero-copy > p { max-width: 590px; margin: 0 0 27px; color: #b2adba; font-size: 15px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; }
.hero-metrics { display: flex; gap: 34px; margin-top: 38px; }
.hero-metrics div { display: grid; gap: 5px; }
.hero-metrics b { font-size: 20px; }
.hero-metrics span { color: #777b89; font-size: 10px; letter-spacing: .8px; text-transform: uppercase; }
.hero-visual { position: relative; min-width: 0; }
.hero-glow { position: absolute; top: 13%; left: 10%; width: 380px; height: 380px; background: radial-gradient(circle, #e3a5364d, #833b9630 40%, transparent 72%); filter: blur(6px); }
.hero-person { position: absolute; z-index: 2; right: -2%; bottom: 0; width: min(460px, 78%); max-height: 94%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 24px #0009); }
.hero-slot { position: absolute; z-index: 3; bottom: 0; left: 0; width: min(290px, 53%); filter: drop-shadow(0 18px 20px #0008); transform: translateX(-16%); }
.jackpot-card { position: absolute; z-index: 5; top: 15%; left: 0; display: grid; gap: 5px; min-width: 230px; padding: 16px 20px; background: #090a10d9; border: 1px solid #f4c75b4d; border-radius: 14px; box-shadow: 0 18px 50px #0009; backdrop-filter: blur(12px); }
.jackpot-card small, .jackpot-card span { color: #9699a4; font-size: 10px; text-transform: uppercase; }
.jackpot-card b { color: var(--gold); font-size: 20px; }
.daily-banner { position: relative; overflow: hidden; background: #ff7a22; border-left: 1px solid #ffffff14; }
.daily-banner img { width: 100%; height: 100%; object-fit: cover; }
.daily-banner::after { position: absolute; inset: 0; content: ""; background: linear-gradient(transparent 55%, #4b1700d9); }
.daily-banner span { position: absolute; z-index: 2; right: 18px; bottom: 18px; left: 18px; padding: 10px 12px; color: #fff; font-size: 11px; font-weight: 800; text-align: center; background: #ffffff22; border: 1px solid #ffffff3a; border-radius: 8px; backdrop-filter: blur(8px); }

.ticker { display: flex; gap: 18px; align-items: center; min-height: 48px; padding: 0 18px; margin: 14px 0; color: #8c91a1; font-size: 12px; background: #0d0f16; border: 1px solid #20232f; border-radius: 10px; }
.ticker-label { padding: 5px 8px; color: #fff; font-size: 9px; font-weight: 900; background: var(--red); border-radius: 4px; }
.ticker div { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ticker div b { color: var(--gold); }
.ticker strong { color: var(--green); font-size: 10px; text-transform: uppercase; }

.quick-actions { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 14px 0 24px; }
.quick-card { display: flex; gap: 12px; align-items: center; min-width: 0; padding: 15px; background: linear-gradient(145deg, #151822, #0f1118); border: 1px solid #252936; border-radius: 13px; transition: .18s; }
.quick-card:hover { border-color: #66502d; transform: translateY(-2px); }
.quick-card .nav-icon { display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; color: var(--gold); font-size: 12px; font-weight: 900; background: #f4c75b0f; border: 1px solid #f4c75b30; border-radius: 10px; }
.quick-card > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.quick-card b { overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.quick-card small { overflow: hidden; color: #696e7e; font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.quick-card i { margin-left: auto; color: #515665; font-style: normal; }

.category-rail { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; padding: 8px; margin: 18px 0 28px; background: #0d0f16; border: 1px solid #222633; border-radius: 15px; }
.category-rail button { display: flex; gap: 7px; align-items: center; min-width: 0; padding: 12px 13px; color: #8c91a0; background: transparent; border: 1px solid transparent; border-radius: 10px; }
.category-rail button:hover, .category-rail button.active { color: #fff; background: linear-gradient(135deg, #26202c, #1c1921); border-color: #5d4932; }
.category-rail .nav-icon { color: var(--gold); }
.category-rail button span:nth-child(2) { overflow: hidden; font-size: 11px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.category-rail button small { margin-left: auto; color: #5f6473; font-size: 9px; }

.content-section { margin: 46px 0; }
.content-section.dark-panel { padding: 30px; background: linear-gradient(145deg, #0e1017, #10121a); border: 1px solid #232633; border-radius: 22px; }
.section-heading { display: flex; align-items: flex-end; margin-bottom: 20px; }
.section-heading > div { flex: 1; }
.section-kicker { color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: 2.5px; }
.section-heading h2 { margin: 5px 0 0; font-size: 24px; letter-spacing: -.8px; }
.section-heading p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.section-heading > a { color: #b7bbc5; font-size: 11px; }
.section-heading > a b { margin-left: 6px; color: var(--gold); }

.game-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.game-card { min-width: 0; padding: 0; overflow: hidden; color: inherit; text-align: left; background: #11131b; border: 1px solid #252835; border-radius: 14px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.game-card:hover { border-color: #806238; box-shadow: 0 18px 38px #0007; transform: translateY(-5px); }
.game-image { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #191c28; }
.game-image > img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.game-card:hover .game-image > img { transform: scale(1.06); }
.game-image::after { position: absolute; inset: auto 0 0; height: 45%; content: ""; pointer-events: none; background: linear-gradient(transparent, #08090ee8); }
.game-badge { position: absolute; z-index: 2; top: 9px; left: 9px; padding: 4px 7px; color: #fff; font-size: 8px; font-weight: 900; letter-spacing: .6px; background: linear-gradient(135deg, #f85b4e, #c71965); border-radius: 5px; }
.play-overlay { position: absolute; z-index: 3; top: 50%; left: 50%; display: grid; place-items: center; width: 48px; height: 48px; padding: 0 0 0 3px; color: #19130a; background: linear-gradient(135deg, #fff6a6, #e6a72e); border: 0; border-radius: 50%; box-shadow: 0 10px 30px #0008; opacity: 0; transform: translate(-50%, -40%) scale(.8); transition: .2s; }
.game-card:hover .play-overlay { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.game-info { display: flex; gap: 8px; align-items: center; padding: 12px; }
.game-info > div { min-width: 0; flex: 1; }
.game-info h3 { margin: 0 0 5px; overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.game-info span { color: #74798a; font-size: 9px; }
.game-info .online-dot { flex: 0 0 auto; width: 6px; height: 6px; margin: 0; }
.generated-cover { display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; background: radial-gradient(circle at 72% 20%, #8c55e56b, transparent 30%), linear-gradient(145deg, #282034, #12131b); }
.generated-cover::before { position: absolute; top: -18%; right: -20%; width: 85%; aspect-ratio: 1; content: ""; border: 28px solid #ffffff09; border-radius: 50%; box-shadow: 0 0 0 30px #ffffff04; }
.generated-cover.type-1 { background: radial-gradient(circle at 72% 20%, #e84b8a75, transparent 30%), linear-gradient(145deg, #3e1c32, #17121b); }
.generated-cover.type-2 { background: radial-gradient(circle at 72% 20%, #24c9e573, transparent 30%), linear-gradient(145deg, #123a4a, #10181d); }
.generated-cover.type-4 { background: radial-gradient(circle at 72% 20%, #f7a43e7a, transparent 30%), linear-gradient(145deg, #50331a, #1b140e); }
.generated-cover.type-5 { background: radial-gradient(circle at 72% 20%, #37d67e70, transparent 30%), linear-gradient(145deg, #174632, #101a16); }
.generated-cover.type-6 { background: radial-gradient(circle at 72% 20%, #ed4f6475, transparent 30%), linear-gradient(145deg, #4a2029, #1a1115); }
.generated-cover.type-7 { background: radial-gradient(circle at 72% 20%, #3d83ee70, transparent 30%), linear-gradient(145deg, #18365e, #101620); }
.provider-watermark { position: absolute; top: 17px; left: 16px; color: #ffffff1a; font-size: 42px; font-weight: 950; letter-spacing: -3px; }
.cover-orb { position: absolute; top: 35%; left: 50%; width: 38%; aspect-ratio: 1; background: radial-gradient(circle at 35% 30%, #fff7, #f4c75b65 25%, #724713 70%); border: 8px solid #ffffff13; border-radius: 50%; box-shadow: 0 18px 38px #0008; transform: translate(-50%, -40%); }
.generated-cover > b, .generated-cover > small { position: relative; z-index: 2; }
.generated-cover > b { color: #fff; font-size: 20px; }
.generated-cover > small { margin-top: 4px; color: #c0b8c9; font-size: 9px; }
.image-error { background: linear-gradient(145deg, #2b2235, #151620); }

.provider-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 9px; margin-bottom: 18px; }
.provider-strip button { position: relative; display: grid; gap: 5px; min-height: 72px; padding: 14px; overflow: hidden; color: #fff; text-align: left; background: #151721; border: 1px solid #282c39; border-radius: 11px; }
.provider-strip button:hover { border-color: #7a6038; }
.provider-strip b { font-size: 16px; }
.provider-strip span { color: #777c8c; font-size: 9px; }
.provider-strip i { position: absolute; right: -15px; bottom: -24px; width: 62px; height: 62px; background: radial-gradient(circle, #f4c75b50, transparent 65%); border-radius: 50%; }
.platform-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.platform-grid button { display: flex; gap: 12px; align-items: center; min-width: 0; padding: 14px; color: inherit; text-align: left; background: #151721; border: 1px solid #292c39; border-radius: 12px; }
.platform-grid button:hover { border-color: #6e5633; }
.platform-brand { display: grid; flex: 0 0 45px; place-items: center; width: 45px; height: 45px; overflow: hidden; color: var(--gold); font-size: 12px; background: #0b0d13; border: 1px solid #303442; border-radius: 11px; }
.platform-brand img { width: 82%; height: 82%; object-fit: contain; }
.platform-grid button > div:nth-child(2) { min-width: 0; flex: 1; }
.platform-grid h3 { margin: 0 0 6px; overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.platform-grid span { color: #707686; font-size: 8px; }
.platform-grid .online-dot { width: 5px; height: 5px; }
.platform-grid strong { color: #575c6b; }

.promotion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.promo-card { position: relative; display: flex; min-height: 220px; overflow: hidden; background: linear-gradient(130deg, #332319, #1c1613); border: 1px solid #5d4329; border-radius: 18px; }
.promo-card::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: radial-gradient(circle at 80% 40%, #f4c75b25, transparent 36%); }
.promo-card > div { position: relative; z-index: 3; width: 62%; padding: 27px 0 24px 27px; }
.promo-card span { color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.promo-card h3 { margin: 10px 0 7px; font-size: 20px; line-height: 1.15; }
.promo-card p { margin: 0 0 24px; color: #b0a69b; font-size: 11px; line-height: 1.5; }
.promo-card > div > b { color: #fff; font-size: 10px; }
.promo-card img { position: absolute; z-index: 2; right: -4%; bottom: 0; width: 55%; max-height: 95%; object-fit: contain; object-position: bottom right; transition: transform .25s; }
.promo-card:hover img { transform: scale(1.05); }
.promo-2 { background: linear-gradient(130deg, #182337, #111821); border-color: #2d4b74; }
.promo-3 { background: linear-gradient(130deg, #2e1827, #171118); border-color: #67334e; }

.lobby-hero, .page-hero { position: relative; display: flex; align-items: flex-end; justify-content: space-between; min-height: 230px; padding: 44px; overflow: hidden; background: radial-gradient(circle at 78% 30%, #7b4ac45c, transparent 30%), linear-gradient(130deg, #211728, #10131c); border: 1px solid #3a2c46; border-radius: 22px; }
.lobby-hero::after, .page-hero::after { position: absolute; top: -80px; right: 4%; width: 310px; height: 310px; content: ""; border: 60px solid #ffffff08; border-radius: 50%; box-shadow: 0 0 0 45px #ffffff04; }
.lobby-hero.type-1 { background: radial-gradient(circle at 78% 30%, #d744845c, transparent 30%), linear-gradient(130deg, #35182c, #15121b); }
.lobby-hero.type-2 { background: radial-gradient(circle at 78% 30%, #21bed45c, transparent 30%), linear-gradient(130deg, #123b49, #10171c); }
.lobby-hero.type-4 { background: radial-gradient(circle at 78% 30%, #ef983f5c, transparent 30%), linear-gradient(130deg, #4a2d15, #18120d); }
.lobby-hero.type-5 { background: radial-gradient(circle at 78% 30%, #22bd715c, transparent 30%), linear-gradient(130deg, #143e2d, #0f1814); }
.lobby-hero.type-6 { background: radial-gradient(circle at 78% 30%, #e8465c5c, transparent 30%), linear-gradient(130deg, #421e25, #171114); }
.lobby-hero span, .page-hero > span { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: 2px; }
.lobby-hero h1, .page-hero h1 { margin: 8px 0 9px; font-size: clamp(32px, 4vw, 52px); }
.lobby-hero p, .page-hero p { max-width: 620px; margin: 0; color: #aaa6b1; font-size: 13px; line-height: 1.6; }
.lobby-stat { position: relative; z-index: 2; display: grid; min-width: 140px; padding: 18px; text-align: center; background: #090b11a8; border: 1px solid #ffffff17; border-radius: 15px; backdrop-filter: blur(12px); }
.lobby-stat b { color: var(--gold); font-size: 28px; }
.lobby-stat span { color: #9ba0ad; font-size: 9px; letter-spacing: 1px; }
.lobby-content { margin-top: 25px; }
.catalog-toolbar { display: grid; grid-template-columns: 1fr 220px auto; gap: 10px; margin: 24px 0 13px; }
.search-box { display: flex; align-items: center; background: #11131b; border: 1px solid #282c39; border-radius: 10px; }
.search-box span { padding-left: 15px; color: #6f7483; font-size: 19px; }
.search-box input { min-width: 0; flex: 1; color: #fff; background: transparent; border: 0; outline: 0; }
.catalog-toolbar input, .catalog-toolbar select { min-height: 44px; padding: 0 15px; color: #dddfe7; background: #11131b; border: 1px solid #282c39; border-radius: 10px; }
.search-box input { border: 0; }
.results-line { display: flex; justify-content: space-between; margin: 15px 0; color: #6e7383; font-size: 10px; }
.results-line b { color: #c8cbd3; }
.pagination { display: flex; gap: 14px; align-items: center; justify-content: center; margin: 30px 0; }
.pagination span { color: #858a99; font-size: 12px; }

.page-hero { display: block; min-height: 260px; padding-top: 70px; }
.offer-list { display: grid; gap: 10px; margin-top: 18px; }
.offer-list article { display: grid; grid-template-columns: 58px 1fr auto; gap: 18px; align-items: center; padding: 18px; background: #11131b; border: 1px solid #252936; border-radius: 12px; }
.offer-list article > span { color: var(--gold); font-size: 20px; font-weight: 900; }
.offer-list h3 { margin: 0 0 4px; font-size: 14px; }
.offer-list p { margin: 0; color: #777c8b; font-size: 10px; }
.offer-list a { color: var(--gold); font-size: 10px; }

.member-banner { display: flex; gap: 18px; align-items: center; min-height: 190px; padding: 34px; background: radial-gradient(circle at 80% 40%, #d79b3150, transparent 27%), linear-gradient(130deg, #292016, #15131a); border: 1px solid #5c4628; border-radius: 20px; }
.member-avatar { display: grid; place-items: center; width: 72px; height: 72px; color: #1d1509; font-size: 30px; font-weight: 900; background: linear-gradient(135deg, #fff0a0, #d89526); border: 5px solid #ffffff12; border-radius: 50%; }
.member-banner > div:nth-child(2) { flex: 1; }
.member-banner span, .member-banner small { color: #97928b; font-size: 10px; }
.member-banner h1 { margin: 5px 0; }
.member-balance { display: grid; gap: 5px; min-width: 220px; padding: 19px; background: #090a0fa8; border: 1px solid #ffffff14; border-radius: 14px; }
.member-balance b { color: var(--gold); font-size: 22px; }
.member-balance a { margin-top: 5px; color: #fff; font-size: 10px; }
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; }
.account-layout > aside { display: grid; align-content: start; gap: 7px; }
.account-layout > aside a { display: flex; gap: 10px; align-items: center; padding: 14px; color: #9398a7; background: #10121a; border: 1px solid #252936; border-radius: 10px; }
.account-layout > aside a:hover { color: #fff; border-color: #635033; }
.account-layout > aside b { margin-left: auto; }
.account-main { min-width: 0; padding: 24px; background: #0e1017; border: 1px solid #252936; border-radius: 16px; }
.account-main .quick-actions { grid-template-columns: repeat(3, 1fr); }
.account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 34px; }
.account-stats article { display: grid; gap: 8px; padding: 18px; background: #151721; border: 1px solid #292d3a; border-radius: 11px; }
.account-stats span { color: #7e8392; font-size: 10px; }
.account-stats b { color: var(--gold); }

.feature-hero { text-align: center; }
.feature-hero > span { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 15px; color: #201708; font-size: 16px; font-weight: 900; letter-spacing: 0; background: linear-gradient(135deg, #fff19a, #d89528); border-radius: 20px; }
.feature-hero p { margin: auto; }
.feature-panel { max-width: 720px; padding: 30px; margin: auto; text-align: center; background: #11131b; border: 1px solid #282c39; border-radius: 18px; }
.feature-symbol { display: grid; place-items: center; width: 82px; height: 82px; margin: auto; color: var(--gold); font-size: 20px; font-weight: 900; background: #f4c75b0f; border: 1px solid #f4c75b30; border-radius: 24px; }
.feature-panel > p { color: #858a99; line-height: 1.6; }
.feature-panel > label { display: grid; gap: 8px; margin: 24px 0; text-align: left; }
.feature-panel > label span { color: #9a9fad; font-size: 11px; }
.feature-panel input { width: 100%; padding: 15px; color: #fff; background: #090b10; border: 1px solid #303442; border-radius: 10px; }
.payment-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.payment-options button { display: grid; gap: 5px; padding: 15px; color: #8f94a3; background: #171923; border: 1px solid #2a2e3b; border-radius: 10px; }
.payment-options button.active { color: #fff; border-color: #b98632; }
.payment-options b { color: var(--gold); }
.amount-chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-bottom: 20px; }
.amount-chips button { padding: 10px; color: #a7abb8; background: #171923; border: 1px solid #2b2f3c; border-radius: 8px; }

.auth-page { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 620px; overflow: hidden; background: #10121a; border: 1px solid #292c39; border-radius: 24px; }
.auth-art { position: relative; min-height: 620px; padding: 70px; overflow: hidden; background: radial-gradient(circle at 70% 40%, #a1569d70, transparent 34%), linear-gradient(140deg, #291832, #11141e); }
.auth-art > span { color: var(--gold); font-size: 10px; letter-spacing: 2px; }
.auth-art h1 { position: relative; z-index: 2; max-width: 520px; font-size: 48px; }
.auth-art p { position: relative; z-index: 2; max-width: 480px; color: #aca8b4; line-height: 1.7; }
.auth-art img { position: absolute; right: -2%; bottom: 0; width: 55%; max-height: 75%; object-fit: contain; object-position: bottom; }
.auth-card { padding: 55px; background: #0d0f16; }
.auth-card > h1 { margin: 38px 0 8px; }
.auth-card > p { color: #7f8493; font-size: 11px; }
.field { display: grid; gap: 7px; margin: 16px 0; }
.field > span { color: #a0a4b1; font-size: 11px; }
.field input { width: 100%; min-height: 46px; padding: 0 14px; color: #fff; background: #151721; border: 1px solid #2a2e3b; border-radius: 9px; }
.field small { color: #6d7281; font-size: 9px; line-height: 1.5; }
.check-field { display: flex; gap: 8px; align-items: center; margin: 16px 0; color: #8c91a0; font-size: 10px; }
.form-message { min-height: 18px; color: #ff9da9; font-size: 10px; }
.auth-switch { text-align: center; }
.auth-switch a { color: var(--gold); }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); width: min(1424px, calc(100% - 56px)); margin: 0 auto; background: #0d0f16; border: 1px solid #232633; border-radius: 14px; }
.trust-strip div { display: grid; gap: 5px; padding: 18px 28px; border-right: 1px solid #242733; }
.trust-strip div:last-child { border-right: 0; }
.trust-strip b { color: #d6d8df; font-size: 12px; }
.trust-strip small { color: #6f7483; font-size: 9px; }
.footer { display: grid; grid-template-columns: 1.4fr 1fr 1fr .7fr; gap: 40px; width: min(1424px, calc(100% - 56px)); padding: 45px 0 110px; margin: auto; color: #777c8a; border-top: 0; }
.footer-logo { margin-bottom: 14px; }
.footer p, .footer a { color: #737887; font-size: 10px; line-height: 1.7; }
.footer h4 { margin: 0 0 12px; color: #d6d8df; font-size: 11px; }
.floating-tools { position: fixed; z-index: 15; right: 18px; bottom: 28px; display: grid; gap: 8px; }
.floating-tools a { display: grid; place-items: center; width: 62px; min-height: 58px; padding: 7px; color: #aeb2bd; font-size: 8px; background: #151721e8; border: 1px solid #303442; border-radius: 12px; box-shadow: 0 10px 30px #0007; backdrop-filter: blur(12px); }
.floating-tools b { color: var(--gold); font-size: 14px; }
.mobile-nav { display: none; }
.toast { position: fixed; z-index: 100; bottom: 28px; left: 50%; max-width: min(520px, calc(100vw - 32px)); padding: 14px 18px; color: #fff; pointer-events: none; background: #171923; border: 1px solid #66502e; border-radius: 10px; box-shadow: 0 18px 50px #000b; opacity: 0; transform: translate(-50%, 16px); transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error-toast { background: #321820; border-color: #884253; }
.empty-state { grid-column: 1 / -1; padding: 55px; color: #777c8b; text-align: center; background: #10121a; border: 1px dashed #303442; border-radius: 14px; }
.empty-state > b { color: var(--gold); font-size: 30px; }
.boot-screen, .fatal-screen { display: grid; place-items: center; align-content: center; min-height: 100vh; gap: 12px; color: #868b99; background: #08090e; }
.boot-screen > b { color: #fff; font-size: 24px; }
.boot-screen > span { font-size: 11px; }
button:disabled { cursor: not-allowed; opacity: .35; }

@media (max-width: 1180px) {
  .desktop-nav { gap: 0; }
  .desktop-nav a { padding-inline: 9px; }
  .hero { grid-template-columns: 1.05fr 1fr; }
  .daily-banner { display: none; }
  .game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .quick-actions { grid-template-columns: repeat(3, 1fr); }
  .category-rail { grid-template-columns: repeat(4, 1fr); }
  .provider-strip { grid-template-columns: repeat(5, 1fr); }
  .platform-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .header { min-height: 72px; }
  .header .actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr .8fr; min-height: 470px; }
  .hero-copy { padding: 42px 0 42px 38px; }
  .hero-metrics { gap: 20px; }
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .promotion-grid { grid-template-columns: 1fr; }
  .promo-card { min-height: 190px; }
  .account-layout { grid-template-columns: 1fr; }
  .account-layout > aside { grid-template-columns: repeat(4, 1fr); }
  .auth-page { grid-template-columns: 1fr; }
  .auth-art { display: none; }
}

@media (max-width: 700px) {
  body { background: #08090e; }
  .service-bar { display: none; }
  .header { position: sticky; top: 0; z-index: 30; min-height: 62px; padding: 0 14px; background: #090a0ef2; border-bottom: 1px solid #20232d; backdrop-filter: blur(15px); }
  .logo { font-size: 20px; }
  .logo-mark { width: 31px; height: 31px; border-radius: 8px 2px 8px 2px; }
  .logo small { display: none; }
  .header .ghost-button { display: none; }
  .header .gold-button.compact { min-height: 34px; padding: 0 12px; font-size: 10px; }
  .balance-pill { min-width: 104px; padding: 6px 9px; }
  main { padding: 0 12px 88px; }
  .hero { display: block; min-height: 500px; border-radius: 18px; }
  .hero-copy { z-index: 5; padding: 30px 24px; }
  .hero h1 { max-width: 90%; margin-top: 15px; font-size: 38px; letter-spacing: -1.7px; }
  .hero-copy > p { max-width: 90%; font-size: 12px; line-height: 1.6; }
  .hero-actions .gold-button, .hero-actions .glass-button { min-height: 40px; padding: 0 17px; font-size: 11px; }
  .hero-metrics { gap: 18px; margin-top: 24px; }
  .hero-metrics b { font-size: 15px; }
  .hero-visual { position: absolute; right: 0; bottom: 0; left: 0; height: 48%; }
  .hero-person { right: -8%; width: 55%; max-height: 100%; }
  .hero-slot { left: 8%; width: 39%; transform: none; }
  .jackpot-card { top: 13%; left: 8%; min-width: 180px; padding: 10px 13px; }
  .jackpot-card b { font-size: 14px; }
  .ticker { margin: 9px 0; }
  .ticker strong { display: none; }
  .quick-actions { grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 9px 0 16px; }
  .quick-card { display: grid; place-items: center; gap: 6px; padding: 10px 5px; text-align: center; }
  .quick-card .nav-icon { width: 33px; height: 33px; }
  .quick-card > span:nth-child(2) { gap: 0; }
  .quick-card b { font-size: 9px; }
  .quick-card small, .quick-card > i { display: none; }
  .category-rail { display: flex; gap: 7px; padding: 6px; overflow-x: auto; scrollbar-width: none; }
  .category-rail button { flex: 0 0 auto; min-width: 105px; padding: 10px; }
  .category-rail button small { display: none; }
  .content-section { margin: 28px 0; }
  .content-section.dark-panel { padding: 17px 12px; margin-inline: -12px; border-right: 0; border-left: 0; border-radius: 0; }
  .section-heading { align-items: center; margin-bottom: 14px; }
  .section-heading h2 { font-size: 19px; }
  .section-heading p { display: none; }
  .section-heading > a { font-size: 9px; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .game-card { border-radius: 10px; }
  .game-info { padding: 9px; }
  .game-info h3 { font-size: 10px; }
  .game-info span { font-size: 8px; }
  .play-overlay { display: none; }
  .game-badge { top: 6px; left: 6px; font-size: 7px; }
  .provider-watermark { font-size: 29px; }
  .generated-cover { padding: 10px; }
  .generated-cover > b { font-size: 14px; }
  .provider-strip { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
  .provider-strip button { flex: 0 0 120px; min-height: 63px; }
  .platform-grid { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .platform-grid button { flex: 0 0 195px; }
  .promotion-grid { gap: 10px; }
  .promo-card { min-height: 160px; border-radius: 14px; }
  .promo-card > div { width: 67%; padding: 20px 0 18px 18px; }
  .promo-card h3 { font-size: 16px; }
  .promo-card p { margin-bottom: 13px; font-size: 9px; }
  .lobby-hero, .page-hero { min-height: 190px; padding: 27px 22px; border-radius: 16px; }
  .lobby-hero h1, .page-hero h1 { font-size: 31px; }
  .lobby-stat { min-width: 90px; padding: 12px; }
  .lobby-stat b { font-size: 20px; }
  .catalog-toolbar { grid-template-columns: 1fr 115px; }
  .catalog-toolbar .gold-button { grid-column: 1 / -1; min-height: 40px; }
  .results-line span { display: none; }
  .offer-list article { grid-template-columns: 38px 1fr; }
  .offer-list article > a { grid-column: 2; }
  .member-banner { align-items: flex-start; padding: 22px; }
  .member-avatar { width: 54px; height: 54px; }
  .member-balance { min-width: 0; padding: 11px; }
  .member-balance b { font-size: 15px; }
  .account-layout > aside { display: flex; overflow-x: auto; }
  .account-layout > aside a { flex: 0 0 125px; }
  .account-main { padding: 15px; }
  .account-main .quick-actions { grid-template-columns: repeat(3, 1fr); }
  .account-stats { grid-template-columns: 1fr; }
  .feature-panel { padding: 19px; }
  .payment-options { grid-template-columns: repeat(3, 1fr); }
  .amount-chips { grid-template-columns: repeat(3, 1fr); }
  .auth-page { min-height: 0; border: 0; border-radius: 0; }
  .auth-card { padding: 28px 15px; background: transparent; }
  .auth-card > h1 { margin-top: 30px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); width: calc(100% - 24px); margin-bottom: 25px; }
  .trust-strip div:nth-child(2) { border-right: 0; }
  .trust-strip div:nth-child(-n+2) { border-bottom: 1px solid #242733; }
  .footer { grid-template-columns: 1fr 1fr; width: calc(100% - 30px); padding: 24px 0 110px; }
  .footer > div:first-child { grid-column: 1 / -1; }
  .floating-tools { display: none; }
  .mobile-nav { position: fixed; z-index: 50; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-around; padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); background: #0d0f16f4; border-top: 1px solid #292c37; backdrop-filter: blur(16px); }
  .mobile-nav a { display: grid; gap: 3px; place-items: center; min-width: 55px; color: #717685; font-size: 8px; }
  .mobile-nav .nav-icon { font-size: 15px; }
  .mobile-nav a.active { color: var(--gold); }
  .mobile-nav .deposit-nav .nav-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-top: -25px; color: #1b1307; font-size: 20px; background: linear-gradient(135deg, #fff19a, #db9628); border: 4px solid #0d0f16; border-radius: 50%; }
  .mobile-nav .deposit-nav span:last-child { color: var(--gold); }
  .toast { bottom: 78px; }
}

@media (max-width: 390px) {
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: 34px; }
  .hero-metrics div:last-child { display: none; }
}

/* VELA88 visual lobby */
body { background: radial-gradient(circle at 50% -12rem, #4b201f 0, #160e16 30rem, #07080d 58rem); }
.header { min-height: 70px; }
.game-nav { position: relative; z-index: 18; display: flex; justify-content: center; width: min(1424px, calc(100% - 56px)); min-height: 58px; padding: 5px 10px; margin: 0 auto 12px; overflow: hidden; background: linear-gradient(180deg, #441516, #250d11); border: 1px solid #a45f37; border-radius: 16px; box-shadow: 0 10px 38px #0008, inset 0 1px #ffc18136; }
.game-nav a { position: relative; display: flex; gap: 7px; align-items: center; justify-content: center; min-width: 0; padding: 8px 18px; color: #e9d8ce; font-size: 11px; font-weight: 800; white-space: nowrap; }
.game-nav a::after { position: absolute; right: 6px; bottom: 1px; left: 6px; height: 2px; content: ""; background: linear-gradient(90deg, transparent, #ffc95e, transparent); opacity: 0; }
.game-nav a:hover, .game-nav a.active { color: #fff5be; }
.game-nav a:hover::after, .game-nav a.active::after { opacity: 1; }
.game-nav .nav-icon { color: #ffcd67; font-size: 15px; text-shadow: 0 0 14px #ffb42b8a; }

.spectacle-hero { grid-template-columns: .9fr 1.1fr; min-height: 510px; background: radial-gradient(circle at 57% 15%, #982d4666, transparent 28%), radial-gradient(circle at 75% 80%, #f19f3552, transparent 31%), linear-gradient(115deg, #251015 0, #170b16 48%, #090b12 100%); border-color: #704028; }
.spectacle-hero::before { background-image: radial-gradient(circle at 15% 30%, #fff3 0 1px, transparent 1.5px), linear-gradient(90deg, transparent, #f2ba6430 50%, transparent); background-size: 32px 32px, 100% 100%; mask-image: none; }
.spectacle-hero .hero-copy { padding-left: 52px; }
.spectacle-hero h1 { color: #fff; text-shadow: 0 4px 24px #000a; }
.spectacle-hero h1::first-line { color: #ffd779; }
.hero-ring { position: absolute; right: 3%; bottom: 5%; width: 430px; height: 430px; border: 1px solid #ffcf7445; border-radius: 50%; box-shadow: 0 0 0 35px #fff2, 0 0 0 72px #fff1, inset 0 0 70px #ec8f3238; animation: orbit 12s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.spectacle-hero .hero-person { right: 0; width: 68%; }
.spectacle-hero .hero-slot { left: -3%; width: 49%; }
.spectacle-hero .daily-banner { display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, #f1c56b55, transparent 31%), linear-gradient(180deg, #3a1519, #140a10); }
.spectacle-hero .daily-banner img { width: 92%; height: auto; object-fit: contain; filter: drop-shadow(0 18px 30px #0008); }
.spectacle-hero .daily-banner strong { position: absolute; top: 28px; color: #fff2b9; font-size: 28px; font-style: italic; letter-spacing: -1px; text-shadow: 0 4px 18px #000; }

.sports-board { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 12px; margin: 14px 0 24px; background: linear-gradient(145deg, #101218, #0a0b10); border: 1px solid #2a2931; border-radius: 16px; }
.sports-board-head { display: flex; flex-direction: column; justify-content: space-between; padding: 16px; background: radial-gradient(circle at 100% 0, #34c2773a, transparent 55%), #141a18; border: 1px solid #2d4939; border-radius: 12px; }
.sports-board-head div { display: grid; gap: 9px; }
.sports-board-head span { width: max-content; padding: 4px 7px; color: #fff; font-size: 8px; font-weight: 900; background: #e52d4f; border-radius: 4px; }
.sports-board-head b { font-size: 19px; }
.sports-board-head a { color: #b2b9b3; font-size: 10px; }
.match-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; min-width: 0; }
.match-card { min-width: 0; padding: 13px; overflow: hidden; background: linear-gradient(145deg, #1b1d24, #13151b); border: 1px solid #2e313b; border-radius: 12px; transition: .2s; }
.match-card:hover { border-color: #6d5533; transform: translateY(-2px); }
.match-card small { display: block; overflow: hidden; color: #858b97; font-size: 8px; white-space: nowrap; text-overflow: ellipsis; }
.match-card > div { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.match-card > div span { display: grid; gap: 4px; place-items: center; font-size: 18px; }
.match-card > div b { font-size: 10px; }
.match-card > div i { color: #565b67; font-size: 8px; font-style: normal; }
.match-card footer { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 5px; align-items: center; }
.match-card footer em { color: #737986; font-size: 8px; font-style: normal; }
.match-card footer strong { padding: 6px; color: #ffe18d; font-size: 10px; text-align: center; background: #272a32; border-radius: 5px; }

.jackpot-stage { display: grid; grid-template-columns: 1.6fr .8fr; gap: 12px; min-height: 310px; margin: 26px 0; }
.jackpot-art { position: relative; display: flex; align-items: center; overflow: hidden; background: radial-gradient(circle at 28% 45%, #a1368c78, transparent 35%), radial-gradient(circle at 80% 45%, #f1a63b5c, transparent 34%), linear-gradient(125deg, #281126, #110c15); border: 1px solid #704064; border-radius: 22px; }
.jackpot-art::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, transparent 48%, #fff1 50%, transparent 52%); transform: skew(-18deg); }
.jackpot-art img { position: relative; z-index: 2; align-self: end; width: 43%; max-height: 290px; object-fit: contain; filter: drop-shadow(0 25px 25px #0009); }
.jackpot-art > div { position: relative; z-index: 3; display: grid; gap: 12px; padding: 24px; }
.jackpot-art span { color: #f8c6e4; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.jackpot-art strong { color: #fff09a; font-size: clamp(27px, 3vw, 46px); letter-spacing: -2px; text-shadow: 0 0 28px #f19c4d55; }
.jackpot-art a { width: max-content; padding: 10px 15px; color: #211208; font-size: 10px; font-weight: 900; background: linear-gradient(135deg, #fff19a, #e79e2e); border-radius: 8px; }
.winner-board { padding: 20px; background: linear-gradient(145deg, #1d1a21, #101117); border: 1px solid #332d39; border-radius: 22px; }
.winner-board header { display: flex; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid #302c35; }
.winner-board header span { color: #38d49b; font-size: 8px; }
.winner-board header b { font-size: 11px; }
.winner-board > div { display: grid; grid-template-columns: 32px 1fr auto; gap: 9px; align-items: center; padding: 18px 0; border-bottom: 1px solid #2b2830; }
.winner-board > div:last-child { border-bottom: 0; }
.winner-board i { display: grid; place-items: center; width: 28px; height: 28px; color: #211508; font-size: 10px; font-style: normal; font-weight: 900; background: linear-gradient(135deg, #fff0a2, #c98223); border-radius: 50%; }
.winner-board span { color: #b0aab4; font-size: 10px; }
.winner-board strong { color: #f4c75b; font-size: 11px; }

.visual-deck { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: repeat(2, 230px); gap: 12px; }
.visual-tile { position: relative; min-width: 0; padding: 0; overflow: hidden; color: #fff; text-align: left; background: #16131a; border: 1px solid #3a3038; border-radius: 18px; }
.visual-tile:first-child { grid-row: 1 / 3; }
.visual-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.visual-tile::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 35%, #09070ae8 100%); }
.visual-tile:hover img { transform: scale(1.06); }
.visual-tile > span { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 5px 8px; color: #241508; font-size: 8px; font-weight: 900; background: #f8c65b; border-radius: 5px; }
.visual-tile > div { position: absolute; z-index: 2; right: 18px; bottom: 18px; left: 18px; display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.visual-tile h3 { margin: 0; font-size: 18px; }
.visual-tile:first-child h3 { font-size: 28px; }
.visual-tile b { color: #ffd66e; font-size: 9px; white-space: nowrap; }

.left-event-rail, .right-service-rail { position: fixed; z-index: 45; top: 56%; display: grid; gap: 5px; transform: translateY(-50%); }
.left-event-rail { left: 0; padding: 8px 6px 8px 4px; background: linear-gradient(180deg, #2c112b, #130b18); border: 1px solid #774b72; border-left: 0; border-radius: 0 14px 14px 0; box-shadow: 0 18px 45px #0009; }
.right-service-rail { right: 0; }
.left-event-rail a, .right-service-rail a { display: grid; place-items: center; width: 58px; min-height: 55px; padding: 6px 4px; color: #e8dce9; font-size: 7px; text-align: center; background: linear-gradient(145deg, #3e1b4f, #21102e); border: 1px solid #8651a2; border-radius: 10px; box-shadow: 0 8px 24px #0006; }
.left-event-rail a { width: 62px; background: transparent; border: 0; box-shadow: none; }
.left-event-rail b, .right-service-rail b { color: #ffd363; font-size: 17px; line-height: 1; }
.left-event-rail span, .right-service-rail span { display: none; }
.left-event-rail a:hover, .right-service-rail a:hover { filter: brightness(1.2); transform: translateX(2px); }
.right-service-rail a:hover { transform: translateX(-2px); }

/* Stable desktop and device layout */
.game-nav { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); }
.game-nav a { min-width: 0; padding-inline: 8px; }
.game-nav a span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.spectacle-hero .hero-visual { min-width: 0; }
.sports-board, .jackpot-stage, .visual-deck, .content-section { min-width: 0; }
.game-card, .platform-grid button, .provider-strip button { isolation: isolate; }
.game-image { aspect-ratio: 1.12 / 1; }
.game-info { min-height: 59px; }

@media (max-width: 1400px) {
  .left-event-rail, .right-service-rail { display: none; }
}

@media (max-width: 1050px) {
  main { padding-inline: 18px; }
  .game-nav { width: calc(100% - 36px); }
  .game-nav a { gap: 4px; padding-inline: 5px; font-size: 9px; }
  .spectacle-hero { grid-template-columns: .95fr 1.05fr; min-height: 460px; }
  .spectacle-hero .hero-copy { padding: 38px 0 38px 34px; }
  .spectacle-hero h1 { font-size: 45px; }
  .jackpot-stage { grid-template-columns: 1.35fr .85fr; }
  .visual-deck { grid-template-rows: repeat(2, 190px); }
}

@media (max-width: 1180px) {
  .game-nav a { padding-inline: 11px; }
  .sports-board { grid-template-columns: 140px 1fr; }
  .match-track { grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; }
  .match-card:last-child { display: none; }
}

@media (max-width: 700px) {
  body { background: radial-gradient(circle at 50% 0, #32151a, #07080d 28rem); }
  .header { min-height: 58px; }
  .game-nav { position: sticky; top: 58px; z-index: 25; display: flex; justify-content: flex-start; width: 100%; min-height: 54px; padding: 5px 8px; margin: 0; overflow-x: auto; border-right: 0; border-left: 0; border-radius: 0; scrollbar-width: none; }
  .game-nav a { flex: 0 0 auto; padding: 7px 12px; font-size: 9px; }
  .game-nav .nav-icon { font-size: 12px; }
  .spectacle-hero { min-height: 520px; margin-top: 10px; background: radial-gradient(circle at 70% 68%, #b83e744f, transparent 32%), linear-gradient(145deg, #2a1018, #0d0b12); }
  .spectacle-hero .hero-copy { padding: 26px 21px; }
  .spectacle-hero h1 { max-width: 100%; font-size: 35px; }
  .spectacle-hero .hero-copy > p { max-width: 100%; }
  .spectacle-hero .hero-visual { right: 0; left: 0; height: 50%; }
  .spectacle-hero .hero-person { right: -5%; width: 63%; }
  .spectacle-hero .hero-slot { left: 2%; width: 44%; }
  .spectacle-hero .daily-banner { position: absolute; top: 230px; right: 10px; z-index: 8; display: grid; width: 90px; height: 105px; border: 1px solid #7d5733; border-radius: 13px; }
  .spectacle-hero .daily-banner img { width: 74%; }
  .spectacle-hero .daily-banner strong { top: 7px; font-size: 14px; }
  .spectacle-hero .daily-banner span { right: 5px; bottom: 5px; left: 5px; padding: 5px; font-size: 7px; }
  .hero-ring { right: -25%; bottom: -18%; width: 320px; height: 320px; }
  .spectacle-hero .jackpot-card { top: 20%; left: 4%; min-width: 166px; }
  .sports-board { display: block; padding: 9px; }
  .sports-board-head { flex-direction: row; align-items: center; padding: 10px 12px; margin-bottom: 8px; }
  .sports-board-head div { display: flex; align-items: center; }
  .match-track { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .match-card, .match-card:last-child { display: block; flex: 0 0 215px; }
  .jackpot-stage { grid-template-columns: 1fr; min-height: 0; }
  .jackpot-art { min-height: 230px; border-radius: 16px; }
  .jackpot-art img { width: 40%; max-height: 220px; }
  .jackpot-art > div { padding: 12px; }
  .jackpot-art strong { font-size: 24px; letter-spacing: -1px; }
  .winner-board { padding: 14px; border-radius: 16px; }
  .winner-board > div { padding: 11px 0; }
  .visual-deck { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; }
  .visual-tile, .visual-tile:first-child { flex: 0 0 76vw; height: 260px; }
  .visual-tile:first-child h3 { font-size: 21px; }
  .left-event-rail, .right-service-rail { display: none; }
  .game-image { aspect-ratio: 1 / 1; }
  .game-info { min-height: 52px; }
}
