:root {
  color-scheme: light;
  --ink: #17212e;
  --muted: #738091;
  --line: #e4e9ee;
  --paper: #f5f6f8;
  --card: #fff;
  --red: #e3134c;
  --red-deep: #b50e3d;
  --red-pale: #fff0f3;
  --gold: #f5b322;
  --amber: #a65a18;
  --green: #16a77d;
  --navy: #111a2d;
  --shadow: 0 12px 36px rgba(34, 48, 64, .045), 0 2px 6px rgba(34, 48, 64, .025);
  font-family: Inter, "DM Sans", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 14px; line-height: 1.45; }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(227, 19, 76, .32); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 12px; top: 10px; z-index: 20; transform: translateY(-150%); padding: 10px 14px; border-radius: 8px; color: white; background: var(--navy); }
.skip-link:focus { transform: none; }

.topbar { min-height: 78px; position: sticky; z-index: 15; top: 0; display: grid; grid-template-columns: 206px minmax(230px, 1fr) auto auto; align-items: center; gap: 19px; padding: 10px clamp(20px, 2.55vw, 42px); border-bottom: 1px solid rgba(222, 227, 232, .9); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.brand { min-width: 0; display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 15px; color: #fff; background: linear-gradient(145deg, #ef2857, #c8093f); box-shadow: 0 7px 15px rgba(203, 11, 62, .19); font-size: 22px; font-weight: 800; }
.brand-word { line-height: 1.1; }
.brand-word strong { display: block; white-space: nowrap; font-size: 20px; letter-spacing: -.035em; }
.brand-word strong span { margin-left: 4px; padding: 3px 6px; border-radius: 5px; color: #ac113b; background: #ffe3e8; font-size: 10px; letter-spacing: .04em; vertical-align: 3px; }
.brand-word small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.brand-status { display: inline-flex; align-items: center; gap: 5px; margin-left: 2px; padding: 5px 9px; border: 1px solid #bcebdc; border-radius: 99px; color: #158865; background: #f0fff8; font-size: 10px; font-weight: 700; white-space: nowrap; }
.brand-status i, .green-dot, .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.ticker { min-width: 0; height: 43px; display: flex; align-items: center; gap: 10px; overflow: hidden; padding: 0 15px; border: 1px solid #eceff2; border-radius: 99px; background: #f7f8fa; }
.ticker-flash { flex: 0 0 auto; padding: 4px 9px; border-radius: 99px; color: #ad103b; background: #ffe3e8; font-size: 11px; font-weight: 800; }
.ticker-copy { overflow: hidden; color: #4b5564; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.account-actions { display: flex; align-items: center; gap: 9px; }
.wallet { height: 47px; min-width: 164px; display: flex; position: relative; flex-direction: column; justify-content: center; padding: 5px 36px 5px 14px; border: 1px solid var(--line); border-radius: 14px; background: #f8f9fa; }
.wallet small { color: var(--muted); font-size: 10px; }
.wallet strong { font-size: 14px; letter-spacing: .01em; }
.wallet-check { position: absolute; right: 12px; top: 50%; width: 19px; height: 19px; display: grid; place-items: center; transform: translateY(-50%); border: 2px solid #b9e7d8; border-radius: 50%; color: #128563; font-size: 11px; font-weight: 800; }
.button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border: 1px solid transparent; border-radius: 13px; cursor: pointer; font-weight: 700; white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-soft { border-color: #ebedf0; background: #f3f4f6; }
.button-soft:hover { background: #ebeef1; }
.button-register { border-color: #f3ccd5; color: #ac103d; background: #fff5f7; }
.button-register:hover { background: #ffe8ed; }
.button-primary { color: #fff; background: var(--red); box-shadow: 0 6px 14px rgba(227,19,76,.2); }
.button-primary:hover { background: #ca0d42; box-shadow: 0 9px 18px rgba(227,19,76,.25); }
.button-dark { color: #fff; background: #111214; }
.button-dark:hover { background: #282a2e; }
.language-switch { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid #edf0f3; border-radius: 99px; background: #f7f8f9; white-space: nowrap; }
.language-switch a { padding: 6px 8px; border-radius: 99px; color: #697584; font-size: 11px; font-weight: 700; }
.language-switch a[aria-current="page"] { color: var(--red-deep); background: white; box-shadow: 0 1px 4px rgba(25,36,48,.09); }
.demo-ribbon { min-height: 28px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 5px 14px; color: #526171; background: #f9fafb; border-bottom: 1px solid #ebeff2; font-size: 11px; font-weight: 600; text-align: center; }
.pulse-dot { position: relative; flex: 0 0 auto; }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border: 1px solid rgba(22,167,125,.36); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 60%, 100% { transform: scale(1.65); opacity: 0; } }
.page-shell { width: min(100% - 56px, 1570px); margin-inline: auto; }
.page-heading { margin: 15px 0 -7px; font-size: clamp(17px,1.7vw,22px); font-weight: 800; letter-spacing: -.035em; line-height: 1.25; }
.feature-grid, .module-panel, #draw, #games, #sports, #vip { scroll-margin-top: 24px; }
.feature-grid { display: grid; grid-template-columns: minmax(295px, 1.02fr) minmax(300px, 1fr) minmax(300px, 1fr); gap: 22px; padding-top: 24px; }
.panel { border: 1px solid rgba(222, 228, 234, .92); border-radius: 27px; background: var(--card); box-shadow: var(--shadow); }
.jackpot-panel { min-height: 414px; display: flex; flex-direction: column; padding: 22px 24px 17px; overflow: hidden; background: radial-gradient(ellipse at 95% 11%, rgba(248, 211, 221, .72), transparent 46%), linear-gradient(138deg, #fff 0%, #fffdfd 58%, #fff6f7 100%); }
.panel-head { min-height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pill { min-height: 26px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border: 1px solid transparent; border-radius: 99px; font-size: 11px; font-weight: 800; line-height: 1; white-space: nowrap; }
.pill-red { color: #b30d3c; background: #ffe0e6; }
.pill-rose { color: #b21a46; background: #fff0f3; }
.pill-gold { color: #8b590b; border-color: #f4dc8d; background: #fff9e8; }
.pill-amber { color: #8f4d16; background: #ffead4; }
.overline { margin: 20px 0 0; color: #8c6b6d; font-size: 12px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.jackpot-value { margin-top: 2px; color: #8b2c13; font-size: clamp(35px, 3.2vw, 48px); font-weight: 850; letter-spacing: -.055em; line-height: 1.18; white-space: nowrap; }
.jackpot-value small { margin-right: 4px; color: #a71340; font-size: .54em; letter-spacing: -.01em; }
.jackpot-value span { color: #763814; font-size: .65em; }
.reward-box { min-height: 75px; display: flex; align-items: center; gap: 12px; margin-top: 13px; padding: 10px 12px; border: 1px solid #eceef0; border-radius: 20px; background: rgba(247,248,250,.88); }
.reward-icon { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; color: #fff; background: var(--red); font-size: 23px; box-shadow: 0 4px 10px rgba(227,19,76,.16); }
.reward-box strong, .reward-box small { display: block; }
.reward-box strong { font-size: 13px; }
.reward-box small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.countdown { margin-left: auto; padding: 7px 10px; border-radius: 10px; color: #b10c3c; background: #ffe0e6; font-size: 11px; font-weight: 800; white-space: nowrap; }
.progress-head { display: flex; justify-content: space-between; gap: 10px; margin: 17px 0 6px; color: #5d6878; font-size: 12px; }
.progress-head strong { color: #aa123b; white-space: nowrap; }
.progress-track { height: 9px; overflow: hidden; border-radius: 99px; background: #e8ebee; }
.progress-track span { width: 80%; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #c60c41 0%, #ef1855 55%, #ff942b 100%); }
.jackpot-actions { display: flex; gap: 12px; margin-top: auto; padding-top: 17px; }
.spin-button { min-height: 51px; flex: 1; border-radius: 17px; font-size: 15px; }
.wheel-symbol { display: inline-block; font-size: 20px; transition: transform .7s cubic-bezier(.17,.67,.26,1.12); }
.spin-button.is-spinning .wheel-symbol { transform: rotate(720deg); }
.help-button, .icon-button { width: 50px; min-width: 44px; height: 50px; display: grid; place-items: center; border: 1px solid #e9ecef; border-radius: 17px; color: inherit; background: #f5f6f7; cursor: pointer; font-size: 20px; font-weight: 700; text-decoration: none; }
.help-button:hover, .icon-button:hover { border-color: #f3bdcb; color: var(--red-deep); background: #fff2f5; }
.spin-result { min-height: 16px; margin: 6px 0 0; color: #9b2547; font-size: 11px; text-align: center; }
.promo-panel { min-height: 414px; display: flex; flex-direction: column; padding: 21px 23px 17px; }
.muted { color: #627080; font-size: 12px; }
.text-link { padding: 3px 0; border: 0; color: #a7133e; background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; white-space: nowrap; }
.promo-image { height: 260px; position: relative; display: block; overflow: hidden; margin-top: 17px; border-radius: 20px; background: #e6edf1; }
.promo-image::after { content: ""; position: absolute; inset: 34% 0 0; background: linear-gradient(transparent, rgba(17,20,25,.82)); pointer-events: none; }
.promo-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.promo-panel:hover .promo-image img { transform: scale(1.025); }
.image-label { position: absolute; z-index: 1; inset: auto 16px 14px; color: #fff; }
.image-label span { color: #ffc2d0; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.image-label h2 { margin: 3px 0 0; font-size: clamp(15px,1.35vw,19px); line-height: 1.2; }
.promo-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 17px; }
.promo-footer div { min-width: 0; }
.promo-footer small, .promo-footer strong { display: block; }
.promo-footer small { margin-bottom: 4px; color: var(--muted); font-size: 11px; }
.promo-footer strong { font-size: 15px; }
.amber-text { color: #945010 !important; }
.green-dot { display: inline-block; vertical-align: middle; }
.module-grid { display: grid; grid-template-columns: minmax(285px, 1fr) minmax(320px, 1fr) minmax(310px, 1fr); align-items: start; gap: 22px; margin-top: 22px; }
.module-panel { min-height: 556px; padding: 22px 22px 18px; }
.module-heading { min-height: 54px; display: flex; align-items: center; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid #ebedf0; }
.module-heading > div { min-width: 0; flex: 1; }
.module-heading h2 { overflow: hidden; margin: 0; font-size: 16px; letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }
.module-heading p { overflow: hidden; margin: 4px 0 0; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.module-icon { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; font-size: 20px; font-weight: 800; }
.rose-icon { color: #bd103d; background: #fff0f3; }
.gold-icon { color: #9b5b07; background: #fff8e6; }
.mint-icon { color: #0d815f; background: #eafbf4; }
.live-badge, .sla-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid #bce9d9; border-radius: 99px; color: #147c5e; background: #f1fff9; font-size: 10px; font-weight: 800; white-space: nowrap; }
.sla-badge { border: 0; background: transparent; }
.match-card { margin-top: 16px; padding: 14px; border: 1px solid #edf0f2; border-radius: 20px; background: #f8f9fa; }
.match-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 10px; font-size: 11px; }
.match-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-meta span { padding: 4px 7px; border-radius: 6px; color: #158161; background: #e9faf3; font-size: 10px; font-weight: 700; white-space: nowrap; }
.match-score { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 6px; margin: 4px 0 11px; }
.team { min-width: 0; display: flex; align-items: center; gap: 7px; overflow: hidden; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.team-right { justify-content: flex-end; }
.team-crest { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #a0133b; background: #ffe4ea; font-size: 10px; }
.blue-crest { color: #283f9c; background: #e2eaff; }
.gold-crest { color: #8b6300; background: #fff0c7; }
.match-score > strong { color: #b20c3c; font-size: 17px; white-space: nowrap; }
.match-score > strong em { color: #778392; font-size: 12px; font-style: normal; }
.score-gold { color: #915414 !important; }
.odds-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.odds-two { grid-template-columns: repeat(2,1fr); }
.odd-button { min-width: 0; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px 4px; border: 1px solid #e9edf0; border-radius: 12px; background: #fff; cursor: pointer; transition: .16s ease; text-decoration: none; }
.odd-button span { overflow: hidden; max-width: 100%; color: #788392; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.odd-button strong { font-size: 13px; }
.odd-button:hover, .odd-button.is-selected { border-color: #e52054; color: #ad0c3c; background: #fff2f5; box-shadow: 0 2px 8px rgba(210, 22, 70, .08); }
.multi-slip { width: 100%; display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 0 0; border: 0; color: #a30f39; background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; text-align: left; text-decoration: none; }
.multi-slip span { margin-left: auto; font-size: 18px; }
.multi-slip b { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--red); font-size: 10px; }
.game-filters { display: flex; gap: 5px; overflow-x: auto; padding: 12px 0 10px; scrollbar-width: none; }
.game-filters::-webkit-scrollbar { display: none; }
.game-filters button { flex: 0 0 auto; padding: 6px 9px; border: 1px solid transparent; border-radius: 99px; color: #667382; background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }
.game-filters button[aria-pressed="true"] { border-color: #f4d1da; color: #b20d3f; background: #fff0f4; }
.games-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.game-tile { min-width: 0; overflow: hidden; border: 1px solid #e9edf0; border-radius: 15px; background: #fff; }
.game-tile[hidden] { display: none; }
.game-tile > img { width: 100%; height: 180px; object-fit: cover; background: #161d30; }
.game-tile-copy { min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 5px 8px 5px 10px; }
.game-tile-copy > span { overflow: hidden; font-size: 11px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.icon-button { width: 28px; min-width: 28px; height: 28px; border-radius: 9px; font-size: 15px; }
.game-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 11px; }
.game-stats > div { display: flex; flex-direction: column; align-items: center; padding: 8px 3px; border-radius: 12px; background: #f5f6f8; text-align: center; }
.game-stats small { color: var(--muted); font-size: 9px; }
.game-stats strong { margin-top: 3px; font-size: 13px; }
.green-text { color: #13825f !important; }
.payment-methods { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 17px 0 14px; }
.payment-methods > div, .payment-methods > a { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 63px; padding: 7px 4px; border: 1px solid #ebedef; border-radius: 14px; color: inherit; background: #f8f9fa; text-align: center; text-decoration: none; transition: border-color .18s ease, background .18s ease; }
.payment-methods > a:hover { border-color: #bfe8d9; background: #f0fff8; }
.payment-methods strong { overflow: hidden; max-width: 100%; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.payment-methods small { color: #168360; font-size: 9px; font-weight: 700; }
.payment-methods .green-dot { width: 6px; height: 6px; margin-right: 4px; }
.settlement-list { display: grid; gap: 8px; }
.settlement-row { min-width: 0; min-height: 66px; display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid #edf0f2; border-radius: 15px; background: #fff; }
.settlement-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; font-size: 17px; font-weight: 800; }
.bank-icon { color: #ad1640; background: #fff0f3; }
.qr-icon { color: #2875c2; background: #edf5ff; }
.crypto-icon { color: #15906a; background: #eafaf3; }
.settlement-player { min-width: 0; flex: 1; }
.settlement-player strong, .settlement-player small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.settlement-player strong { font-size: 11px; }
.settlement-player small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.settlement-amount { flex: 0 0 auto; color: #ad123e; font-size: 11px; white-space: nowrap; }
.ledger-button { width: 100%; min-height: 40px; display: flex; align-items: center; justify-content: center; margin-top: 13px; border: 0; border-radius: 13px; color: inherit; background: #f2f3f5; cursor: pointer; font-size: 11px; font-weight: 750; text-decoration: none; }
.ledger-button:hover { background: #e9ecef; }
.vip-strip { min-height: 116px; display: flex; align-items: center; gap: 17px; margin: 22px 0 0; padding: 20px 26px; border: 1px solid #e8ebee; border-radius: 27px; background: linear-gradient(105deg,#fff 0%,#fff 75%,#fff8f0); box-shadow: var(--shadow); }
.vip-emblem { width: 58px; height: 58px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #f0c257; border-radius: 17px; color: white; background: linear-gradient(150deg,#ffbf31,#d98509); box-shadow: 0 7px 13px rgba(195,123,10,.18); font-size: 28px; }
.vip-copy { min-width: 0; flex: 1; }
.vip-title-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vip-title-line h2 { margin: 0; font-size: 17px; }
.vip-copy p { margin: 5px 0 0; color: #687586; font-size: 11px; }
.vip-progress { width: min(26%, 260px); display: flex; flex-direction: column; gap: 5px; padding-right: 4px; text-align: right; }
.vip-progress small { color: var(--muted); font-size: 10px; }
.vip-progress strong { color: #ad103c; font-size: 13px; }
.vip-progress strong span { color: #778292; font-weight: 500; }
.vip-progress .progress-track { height: 5px; margin-top: 2px; }
.vip-progress .progress-track span { width: 68%; }
.vip-strip > .button { min-height: 41px; border-radius: 13px; }

.seo-content { margin: 76px auto 60px; padding-top: 39px; border-top: 1px solid #e2e6ea; }
.seo-heading { max-width: 760px; }
.eyebrow { color: #a42142; font-size: 9px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.seo-heading h2, .faq-heading h2 { margin: 8px 0 7px; font-size: clamp(22px,2.4vw,30px); letter-spacing: -.045em; }
.seo-heading > p { margin: 0; color: #687585; font-size: 13px; line-height: 1.75; }
.seo-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 20px 0 25px; }
.seo-links a { display: flex; justify-content: space-between; gap: 10px; padding: 13px 15px; border: 1px solid #e6eaee; border-radius: 13px; background: #fff; font-size: 12px; font-weight: 700; }
.seo-links a:hover { border-color: #edb9c7; color: #ad103c; }
.seo-links a span { color: #b41140; }
.service-note { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 20px; border: 1px solid #e7eaee; border-radius: 17px; background: #fff; }
.service-note p { max-width: 870px; margin: 5px 0 0; color: #687585; font-size: 12px; line-height: 1.7; }
.service-note .button { flex: 0 0 auto; }
.faq-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 24px; margin-top: 45px; padding-top: 30px; border-top: 1px solid #e2e6ea; }
.faq-heading h2 { margin-top: 6px; }
.faq-list { display: grid; gap: 7px; }
.faq-item { padding: 14px 15px; border: 1px solid #e7eaee; border-radius: 13px; background: #fff; }
.faq-item summary { position: relative; padding-right: 20px; cursor: pointer; font-size: 12px; font-weight: 750; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: -3px; color: #b50d3e; font-size: 18px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 10px 20px 1px 0; color: #687585; font-size: 12px; line-height: 1.7; }
.site-footer { min-height: 122px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 23px clamp(22px,3vw,46px); border-top: 1px solid #e1e5e9; background: #fff; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.footer-brand img { width: 72px; height: 22px; object-fit: contain; }
.footer-brand strong { font-size: 13px; }
.site-footer p { max-width: 33%; margin: 0; color: #758091; font-size: 10px; line-height: 1.6; }
.site-footer > a:last-child { color: #9c1740; font-size: 11px; font-weight: 700; white-space: nowrap; }
.bottom-dock { width: min(100% - 36px, 560px); min-height: 68px; position: fixed; z-index: 14; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-around; gap: 2px; transform: translateX(-50%); padding: 7px 9px; border: 1px solid rgba(232,235,239,.9); border-radius: 99px; background: rgba(255,255,255,.95); box-shadow: 0 12px 35px rgba(31,43,58,.16); backdrop-filter: blur(18px); }
.dock-link { min-width: 52px; min-height: 51px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 3px 9px; border: 0; border-radius: 99px; color: #586475; background: transparent; cursor: pointer; }
.dock-link > span { font-size: 18px; font-weight: 700; line-height: 1.2; }
.dock-link small { font-size: 9px; font-weight: 700; }
.dock-link.is-active { min-width: 60px; color: white; background: #bd1042; box-shadow: 0 4px 10px rgba(189,16,66,.2); }
.dock-link[data-action="support"] { font-family: inherit; }
.dock-link:hover:not(.is-active) { color: #ab103e; background: #fff0f4; }

.app-dialog { width: min(92vw, 460px); max-width: 460px; padding: 0; border: 1px solid #e4e8ec; border-radius: 23px; color: var(--ink); background: #fff; box-shadow: 0 25px 80px rgba(16,25,40,.22); }
.app-dialog::backdrop { background: rgba(14,20,32,.44); backdrop-filter: blur(3px); }
.dialog-frame { position: relative; padding: 30px; }
.dialog-close { width: 34px; height: 34px; position: absolute; top: 16px; right: 16px; display: grid; place-items: center; border: 0; border-radius: 11px; background: #f2f4f6; cursor: pointer; font-size: 22px; line-height: 1; }
.dialog-kicker { color: #aa1640; font-size: 9px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.dialog-frame h2 { margin: 8px 36px 12px 0; font-size: 22px; letter-spacing: -.03em; }
.dialog-frame p { margin: 8px 0; color: #637082; font-size: 13px; line-height: 1.65; }
.dialog-form { display: grid; gap: 11px; margin-top: 17px; }
.dialog-form label { display: grid; gap: 5px; color: #5d6878; font-size: 11px; font-weight: 700; }
.dialog-form input { min-height: 43px; padding: 0 12px; border: 1px solid #dfe4e9; border-radius: 11px; outline: none; }
.dialog-form input:focus { border-color: #e95c7e; box-shadow: 0 0 0 3px #ffe8ee; }
.dialog-form button, .dialog-actions .button { width: 100%; min-height: 44px; margin-top: 3px; }
.dialog-notice { margin-top: 12px !important; padding: 10px 12px; border-radius: 10px; color: #826020 !important; background: #fff8e7; font-size: 11px !important; }
.selection-list { display: grid; gap: 7px; margin-top: 15px; }
.selection-item { display: flex; justify-content: space-between; gap: 10px; padding: 11px 12px; border: 1px solid #e9edf0; border-radius: 11px; background: #f8f9fa; font-size: 12px; }
.selection-item strong { color: #a60d39; }
.dialog-actions { margin-top: 16px; }

@media (min-width: 1650px) { .feature-grid, .module-grid { gap: 25px; } .jackpot-panel, .promo-panel { min-height: 488px; } .promo-image { height: 280px; } }
@media (max-width: 1260px) {
  .topbar { grid-template-columns: auto minmax(170px,1fr) auto; gap: 12px; }
  .topbar > .language-switch { display: none; }
  .page-shell { width: min(100% - 38px, 1120px); }
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .jackpot-panel { grid-row: span 2; }
  .promo-panel { min-height: 330px; }
  .promo-image { height: 220px; }
  .module-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vault-panel { grid-column: 1 / -1; min-height: auto; }
  .settlement-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .settlement-row { align-items: flex-start; flex-wrap: wrap; }
  .settlement-amount { margin-left: 43px; }
}
@media (max-width: 800px) {
  .topbar { min-height: 66px; grid-template-columns: 1fr auto; gap: 9px; padding: 8px 15px; }
  .brand-mark { width: 39px; height: 39px; border-radius: 13px; }
  .brand-word strong { font-size: 17px; }
  .brand-status { display: none; }
  .ticker { height: 34px; grid-column: 1 / -1; grid-row: 2; }
  .ticker-copy { font-size: 11px; }
  .account-actions { grid-column: 2; grid-row: 1; }
  .account-actions .wallet { min-width: 108px; height: 39px; padding: 4px 8px; text-align: center; }
  .wallet-check { display: none; }
  .wallet small { font-size: 8px; }
  .wallet strong { font-size: 11px; }
  .account-actions .button-soft { display: none; }
  .account-actions .button-primary { min-height: 38px; padding: 0 11px; border-radius: 12px; font-size: 11px; }
  .account-actions .button-register { min-height: 38px; padding-inline: 9px; font-size: 11px; }
  .demo-ribbon { align-items: flex-start; justify-content: flex-start; min-height: 34px; padding: 7px 14px; font-size: 10px; text-align: left; }
  .page-shell { width: min(100% - 28px, 650px); }
  .page-heading { margin: 12px 0 -5px; font-size: 18px; }
  .feature-grid { grid-template-columns: minmax(0,1fr); gap: 13px; padding-top: 14px; }
  .jackpot-panel { grid-row: auto; min-height: 377px; }
  .promo-panel { min-height: 320px; padding: 17px; border-radius: 22px; }
  .promo-image { height: clamp(190px, 60vw, 300px); margin-top: 12px; border-radius: 16px; }
  .module-grid { grid-template-columns: minmax(0,1fr); gap: 13px; margin-top: 13px; }
  .module-panel { min-height: auto; padding: 17px; border-radius: 22px; }
  .sports-panel { order: 1; }
  .games-panel { order: 2; }
  .vault-panel { grid-column: auto; order: 3; }
  .games-grid { gap: 9px; }
  .game-tile > img { height: clamp(170px, 46vw, 260px); }
  .settlement-list { grid-template-columns: 1fr; }
  .settlement-row { align-items: center; flex-wrap: nowrap; }
  .settlement-amount { margin-left: 0; }
  .vip-strip { min-height: 0; flex-wrap: wrap; gap: 12px; margin-top: 14px; padding: 17px; border-radius: 22px; }
  .vip-emblem { width: 46px; height: 46px; border-radius: 14px; font-size: 23px; }
  .vip-copy { flex-basis: calc(100% - 64px); }
  .vip-title-line h2 { font-size: 15px; }
  .vip-copy p { line-height: 1.6; }
  .vip-progress { width: calc(100% - 136px); margin-left: 58px; text-align: left; }
  .vip-strip > .button { margin-left: auto; padding-inline: 11px; font-size: 11px; }
  .seo-content { margin: 44px auto 45px; padding-top: 26px; }
  .seo-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-note { align-items: flex-start; flex-direction: column; gap: 12px; padding: 15px; }
  .faq-section { grid-template-columns: 1fr; gap: 12px; margin-top: 31px; padding-top: 22px; }
  .site-footer { min-height: auto; align-items: flex-start; flex-wrap: wrap; padding: 20px 18px 95px; }
  .site-footer p { max-width: none; flex-basis: calc(100% - 120px); }
  .site-footer > a:last-child { margin-left: 42px; }
  .bottom-dock { width: min(100% - 24px, 520px); min-height: 63px; bottom: max(8px, env(safe-area-inset-bottom)); padding: 5px 6px; }
  .dock-link { min-width: 42px; min-height: 49px; padding: 3px 6px; }
  .dock-link.is-active { min-width: 51px; }
  .dock-link > span { font-size: 17px; }
  .dock-link small { font-size: 8px; }
  .dialog-frame { padding: 25px 21px; }
}
@media (max-width: 420px) {
  .brand { gap: 8px; }
  .brand-mark { width: 35px; height: 35px; font-size: 19px; }
  .brand-word strong { font-size: 15px; }
  .account-actions { gap: 5px; }
  .account-actions .wallet { min-width: 92px; }
  .account-actions .button-primary { padding: 0 8px; font-size: 10px; }
  .account-actions .button-register { padding-inline: 7px; font-size: 10px; }
  .panel-head { gap: 5px; }
  .pill { padding-inline: 7px; font-size: 9px; }
  .jackpot-panel { padding: 19px 17px 15px; }
  .jackpot-value { font-size: 36px; }
  .reward-box { gap: 8px; padding-inline: 9px; }
  .reward-icon { width: 38px; height: 38px; }
  .reward-box strong { font-size: 11px; }
  .reward-box small { font-size: 10px; }
  .countdown { padding: 6px; font-size: 9px; }
  .promo-footer { align-items: flex-start; }
  .promo-footer .button { max-width: 50%; white-space: normal; text-align: center; }
  .module-panel { padding-inline: 13px; }
  .module-heading { gap: 8px; }
  .module-icon { width: 34px; height: 34px; }
  .module-heading h2 { font-size: 14px; }
  .module-heading p { font-size: 10px; }
  .live-badge, .sla-badge { padding-inline: 6px; font-size: 8px; }
  .match-card { padding: 11px 9px; }
  .match-meta { font-size: 10px; }
  .team { gap: 4px; font-size: 10px; }
  .team-crest { width: 23px; height: 23px; }
  .match-score > strong { font-size: 15px; }
  .settlement-row { gap: 6px; padding-inline: 7px; }
  .settlement-player strong { font-size: 10px; }
  .settlement-amount { font-size: 9px; }
  .vip-progress { width: 100%; margin-left: 0; }
  .vip-strip > .button { width: 100%; }
  .seo-links { gap: 6px; }
  .seo-links a { padding: 11px 10px; font-size: 10px; }
  .dock-link { min-width: 38px; padding-inline: 3px; }
  .dock-link.is-active { min-width: 47px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.local-action-notice { position: fixed; z-index: 50; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); width: max-content; max-width: min(92vw, 560px); padding: 12px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; color: #fff; background: var(--navy); box-shadow: 0 14px 38px rgba(17,26,45,.22); font-size: 13px; line-height: 1.5; text-align: center; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .18s ease, transform .18s ease; }
.local-action-notice.is-visible { opacity: 1; transform: translate(-50%, 0); }
.spin-button .wheel-symbol { display: inline-block; }
.spin-button.is-spinning .wheel-symbol { animation: cm8-demo-spin .72s linear infinite; }
.spin-button:disabled { cursor: wait; opacity: .86; }
.odd-button { font: inherit; color: inherit; }
.multi-slip { font: inherit; }
@keyframes cm8-demo-spin { to { transform: rotate(360deg); } }
