.quick-card { position: relative; min-height: 126px; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--dark-gradient); box-shadow: var(--shadow-card); cursor: pointer; }
.quick-card::before { content: ""; position: absolute; inset: auto 25% -70% -15%; height: 120px; background: radial-gradient(circle, rgba(215,168,62,.17), transparent 68%); }
.quick-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.quick-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: rgba(215,168,62,.07); color: var(--gold-300); font-size: 25px; }
.quick-card b, .quick-card small { display: block; }
.quick-card b { margin-bottom: 7px; color: var(--gold-100); font-size: 17px; }
.quick-card small { color: var(--muted); line-height: 1.35; }
.quick-arrow { color: var(--gold-300); font-size: 24px; }
.game-card { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--surface-1); box-shadow: var(--shadow-card); scroll-snap-align: start; transition: transform .22s var(--ease), border-color .22s, box-shadow .22s; }
.game-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-card), var(--shadow-gold); }
.game-card-art { position: relative; aspect-ratio: 4/5; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 35%, var(--art-glow, #8b581e), transparent 30%), linear-gradient(145deg, var(--art-a, #291b09), var(--art-b, #060504)); isolation: isolate; }
.game-card-art::before, .game-card-art::after { content: ""; position: absolute; border: 1px solid rgba(255,225,133,.2); border-radius: 50%; }
.game-card-art::before { width: 75%; aspect-ratio: 1; transform: rotate(25deg); box-shadow: 0 0 55px rgba(215,168,62,.12); }
.game-card-art::after { width: 47%; aspect-ratio: 1; transform: rotate(-25deg); }
[data-game-id="demo-golden-reels"] .game-card-art { --art-a:#352007;--art-b:#070503;--art-glow:#b87717; }
[data-game-id="demo-royal-fortune"] .game-card-art { --art-a:#3a1015;--art-b:#080304;--art-glow:#d23d4e; }
[data-game-id="demo-black-diamond"] .game-card-art { --art-a:#0d2741;--art-b:#030609;--art-glow:#3d89d2; }
[data-game-id="demo-majestic-777"] .game-card-art { --art-a:#4a0b07;--art-b:#0a0202;--art-glow:#e54322; }
[data-game-id="demo-vip-nights"] .game-card-art { --art-a:#26143c;--art-b:#050308;--art-glow:#9659d8; }
[data-game-id="demo-golden-lion"] .game-card-art { --art-a:#4a2505;--art-b:#0b0501;--art-glow:#e09b24; }
[data-game-id="demo-emerald-vault"] .game-card-art { --art-a:#083527;--art-b:#020806;--art-glow:#2fbf82; }
[data-game-id="demo-midas-touch"] .game-card-art { --art-a:#3e2c0a;--art-b:#080602;--art-glow:#d9ad3f; }
[data-game-id="demo-live-roulette"] .game-card-art { --art-a:#3c1709;--art-b:#090302;--art-glow:#d16824; }
[data-game-id="demo-live-blackjack"] .game-card-art { --art-a:#122f23;--art-b:#030805;--art-glow:#38ad77; }
[data-game-id="demo-live-baccarat"] .game-card-art { --art-a:#3a1018;--art-b:#090204;--art-glow:#d14461; }
[data-game-id="demo-live-show"] .game-card-art { --art-a:#322409;--art-b:#080602;--art-glow:#d9aa38; }
[data-game-id="demo-live-dice"] .game-card-art { --art-a:#172338;--art-b:#030509;--art-glow:#467bd3; }
.game-symbol { position: relative; z-index: 2; color: var(--gold-100); font: 700 clamp(46px, 6vw, 78px)/1 Georgia, serif; text-shadow: 0 4px 26px rgba(255,201,73,.7); }
.game-art-title { position: absolute; z-index: 2; inset: auto 12px 18px; color: #fff6d6; font: 700 19px/1 Georgia, serif; text-align: center; text-transform: uppercase; text-shadow: 0 2px 9px #000; }
.game-card-copy { min-height: 83px; padding: 14px 15px; }
.game-card-copy b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-card-copy span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.game-card .demo-badge { position: absolute; z-index: 4; top: 10px; left: 10px; }
.game-play { position: absolute; z-index: 4; right: 10px; bottom: 96px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,240,164,.65); border-radius: 50%; background: var(--gold-gradient); color: #090704; opacity: 0; transform: translateY(8px); cursor: pointer; transition: opacity .2s, transform .2s; }
.game-card:hover .game-play, .game-card:focus-within .game-play { opacity: 1; transform: translateY(0); }
.live-card .game-card-art { aspect-ratio: 16/10; }
.live-card .game-symbol { font-size: clamp(46px, 7vw, 78px); }
.live-card .game-play { bottom: 96px; }
.jackpot-card { position: relative; min-height: 330px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: radial-gradient(circle at center, rgba(178,112,11,.28), transparent 34%), linear-gradient(110deg,#080704,#1b1104 48%,#070604); box-shadow: inset 0 0 70px rgba(215,168,62,.08), var(--shadow-card); text-align: center; isolation: isolate; }
.jackpot-card::before, .jackpot-card::after { content: ""; position: absolute; width: 360px; aspect-ratio: 1; border: 1px solid rgba(242,209,112,.18); border-radius: 50%; }
.jackpot-card::before { left: -120px; bottom: -210px; box-shadow: 0 0 90px rgba(215,168,62,.1); }
.jackpot-card::after { right: -130px; top: -220px; }
.jackpot-content { position: relative; z-index: 2; padding: 45px 24px; }
.jackpot-crown { margin-bottom: 8px; color: var(--gold-300); font-size: 48px; }
.jackpot-label { color: var(--gold-300); font-size: 13px; font-weight: 900; letter-spacing: .24em; text-transform: uppercase; }
.jackpot-amount { margin: 12px 0; color: var(--gold-100); font: 700 clamp(42px, 7vw, 92px)/1 Georgia, serif; letter-spacing: -.035em; text-shadow: 0 4px 38px rgba(215,168,62,.28); }
.jackpot-currency { margin-right: .24em; }
.jackpot-note { color: var(--muted); }
.promotion-card { position: relative; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(160deg, var(--promo-a,#302009), var(--promo-b,#080705)); box-shadow: var(--shadow-card); }
.promotion-card::before { content: attr(data-symbol); position: absolute; top: 16px; right: 22px; color: rgba(255,231,160,.18); font: 700 122px/1 Georgia, serif; transform: rotate(-8deg); }
[data-promotion-id="welcome-demo"] { --promo-a:#3b2507;--promo-b:#080603; }
[data-promotion-id="cashback-demo"] { --promo-a:#261735;--promo-b:#070408; }
[data-promotion-id="tournaments-demo"] { --promo-a:#30200b;--promo-b:#080502; }
.promotion-card.featured::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 65% 30%, rgba(242,209,112,.28), transparent 26%); }
.promotion-content { position: relative; z-index: 2; padding: 28px; background: linear-gradient(0deg, rgba(3,3,2,.96), rgba(3,3,2,.03)); }
.promotion-content h3 { margin-bottom: 10px; color: var(--gold-100); font-family: Georgia, serif; font-size: 28px; }
.promotion-content p { max-width: 520px; color: var(--muted); line-height: 1.5; }
.promotion-content .btn { margin-top: 6px; }
.modal { width: min(520px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 22px; background: #0b0b09; color: var(--text); box-shadow: 0 35px 100px #000; }
.modal::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(8px); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 24px 26px 18px; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 0; color: var(--gold-100); font-size: 34px; }
.modal-close { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 24px; }
.modal-body { padding: 26px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 24px; padding: 5px; border-radius: 12px; background: #050504; }
.auth-tabs button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; font-weight: 800; }
.auth-tabs button.active { background: var(--surface-3); color: var(--gold-100); }
.form-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; color: #e7e1d5; font-size: 13px; font-weight: 700; }
.field input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #050504; color: var(--text); }
.form-status { min-height: 20px; margin: 4px 0 0; color: var(--gold-300); font-size: 13px; }
.search-input-wrap { position: relative; }
.search-input-wrap .icon { position: absolute; left: 15px; top: 15px; color: var(--muted); }
.search-input { width: 100%; min-height: 54px; padding: 0 15px 0 48px; border: 1px solid var(--line-strong); border-radius: 12px; background: #050504; color: var(--text); }
.search-results { max-height: 380px; display: grid; gap: 8px; margin-top: 16px; overflow: auto; }
.search-result { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-1); cursor: pointer; }
.search-result:hover { border-color: var(--line-strong); }
.search-result small { display: block; margin-top: 4px; color: var(--muted); }
.mobile-drawer { position: fixed; z-index: 140; inset: 0 auto 0 0; width: min(88vw, 390px); padding: 20px; transform: translateX(-105%); border-right: 1px solid var(--line-strong); background: #080806; transition: transform .3s var(--ease); }
.mobile-drawer.open { transform: translateX(0); }
.drawer-backdrop { position: fixed; z-index: 130; inset: 0; border: 0; background: rgba(0,0,0,.7); opacity: 0; visibility: hidden; transition: opacity .25s; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.drawer-head img { width: 210px; }
.drawer-nav a { display: flex; justify-content: space-between; padding: 16px 5px; border-bottom: 1px solid var(--line); font-weight: 750; }
.drawer-tools { margin-top: 24px; }
.drawer-tools .language-select { width: 100%; }
.toast-region { position: fixed; z-index: 300; right: 22px; bottom: 24px; display: grid; gap: 10px; }
.toast { max-width: 360px; padding: 15px 18px; border: 1px solid var(--line-strong); border-radius: 12px; background: #16130d; color: var(--gold-100); box-shadow: 0 15px 45px #000; animation: toast-in .28s var(--ease); }
.empty-state { padding: 35px; border: 1px dashed var(--line); border-radius: var(--radius-md); color: var(--muted); text-align: center; }
