/* Plixwin: smoked glass surfaces and a warm champagne accent. */
:root {
    --c-cream: #e8c68a;
    --c-cream-dark: #d1ac6b;
    --c-cream-glow: rgba(232, 198, 138, .2);
    --glass-border: rgba(239, 221, 187, .15);
    --glass-surface: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015)), rgba(29, 28, 27, .85);
}
body {
    background: radial-gradient(ellipse at 70% 0, rgba(176, 135, 68, .1), transparent 45%), #121214;
}
.app-shell { background: transparent; }
.ui-icon { width: 21px; height: 21px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
header.top-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 16px;
    min-height: 96px;
    background: rgba(18, 18, 20, .8);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(239, 221, 187, .07);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
}
.header-left { grid-column: 1; min-width: 0; }
.header-right { grid-column: 3; justify-self: end; min-width: 0; gap: 8px; }
.top-nav-tabs {
    grid-column: 2; justify-self: center;
    display: flex; gap: 5px; padding: 6px;
    border: 1px solid rgba(239, 221, 187, .2); border-radius: 21px;
    background: linear-gradient(125deg, rgba(255, 255, 255, .095), rgba(255, 255, 255, .025)), rgba(38, 36, 33, .68);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 12px 28px rgba(0, 0, 0, .2);
}
.top-tab-item {
    justify-content: center; gap: 9px; padding: 13px 17px; min-height: 48px;
    border: 1px solid transparent; border-radius: 15px;
    color: #c9c6c1; font-size: 14px; font-weight: 700;
    transition: background .2s, color .2s, box-shadow .2s;
}
.top-tab-item .ui-icon { width: 20px; height: 20px; }
.top-tab-item:hover { background: rgba(232, 198, 138, .09); color: #f7e6c5; }
.top-tab-item.active, .top-tab-item.active:hover {
    color: #292015;
    background: linear-gradient(135deg, #f1d9aa, #d9b573);
    border-color: rgba(255, 239, 207, .6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 3px 15px rgba(213, 172, 101, .18);
}
.btn-header-login, .user-profile-pill, .wallet-pill {
    background: var(--glass-surface); border: 1px solid var(--glass-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); border-radius: 13px;
}
.btn-header-login, .btn-header-register { padding: 13px 19px; font-size: 14px; min-height: 46px; }
.btn-header-login:hover { border-color: rgba(232, 198, 138, .45); background: rgba(232, 198, 138, .09); }
.btn-header-register, .btn-header-register:hover, .btn-header-deposit,
.btn-modal-submit, .btn-modal-submit:hover, .btn-card-play-circle, .btn-card-play-circle:hover, .mobile-dock-deposit {
    background: linear-gradient(135deg, #efd4a0, #d8b16d); color: #251d13;
    border-color: #e8c68a; box-shadow: 0 4px 18px rgba(201, 154, 78, .13);
}
.guest-auth-actions .btn-header-register { display: block; }
.header-right { max-width: 100%; flex-wrap: wrap; justify-content: flex-end; }
.wallet-pill { max-width: 100%; }
.wallet-balance-box { min-width: 0; }
#headerBalanceVal { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-sidebar {
    background: linear-gradient(165deg, rgba(232, 198, 138, .035), transparent 40%), rgba(28, 28, 29, .96);
    border-right: 1px solid var(--glass-border);
}
.sidebar-link { border: 1px solid transparent; }
.sidebar-link:hover { background: rgba(232, 198, 138, .055); }
.sidebar-link.active {
    color: #f4dcaf; border-color: rgba(232, 198, 138, .17);
    background: linear-gradient(110deg, rgba(232, 198, 138, .13), rgba(232, 198, 138, .035));
    box-shadow: inset 3px 0 0 #e8c68a;
}
.sidebar-icon { display: inline-flex; align-items: center; color: #aaa69e; }
.sidebar-link.active .sidebar-icon { color: #e8c68a; }
.sidebar-avatar { color: #d3c5ac; background: linear-gradient(135deg, #454039, #2b2927); border: 1px solid var(--glass-border); }
.sidebar-avatar .ui-icon { width: 25px; height: 25px; }
.sidebar-heading { color: #928b80; border-top-color: var(--glass-border); }
.sidebar-promo { background: var(--glass-surface); border: 1px solid var(--glass-border); }
.hero-carousel-wrap, .promo-tile, .promo-casino-feature {
    border: 1px solid rgba(239, 221, 187, .2);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.hero-carousel-wrap { outline: 5px solid rgba(232, 198, 138, .025); }
.btn-hero-primary { background: linear-gradient(135deg, #f3dfb9, #dfbd7e); color: #292015; }
.btn-hero-primary:hover { background: #f4ddb1; color: #292015; box-shadow: 0 5px 20px rgba(232, 198, 138, .18); }
.promo-casino-feature { background: radial-gradient(ellipse at top, #5d4c32, #26221c); }
.feature-poster { box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.casino-mode-tabs, .cat-pill-btn, .search-input-wrap, .provider-select-wrap select, .catalog-sort-wrap select {
    background: var(--glass-surface); border: 1px solid var(--glass-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.cat-pill-btn { display: inline-flex; align-items: center; gap: 8px; }
.cat-pill-btn .ui-icon { width: 19px; height: 19px; }
.cat-pill-btn.active, .casino-mode-tabs button.active {
    background: linear-gradient(135deg, #efd4a0, #d8b16d); color: #251d13; border-color: #e8c68a;
}
.cat-pill-btn:hover { border-color: rgba(232, 198, 138, .4); }
.search-input-wrap:focus-within { border-color: #d9b573; box-shadow: 0 0 0 3px rgba(232, 198, 138, .1); }
.provider-select-wrap select option, .catalog-sort-wrap select option { background: #242320; color: #f5eee1; }
.sec-title-icon, .card-hover-prov, .wallet-currency-sym { color: #e8c68a; }
.sec-title-badge-blue { background: rgba(232, 198, 138, .12); color: #f0d7a7; border: 1px solid rgba(232, 198, 138, .18); }
.game-card { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.game-card:hover { border-color: rgba(232, 198, 138, .5); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.modal-box { background: #22211f; border: 1px solid var(--glass-border); }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible {
    outline: 2px solid #e8c68a; outline-offset: 4px;
}
.mobile-bottom-dock {
    background: rgba(29, 28, 27, .92); border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.mobile-bottom-dock .active { color: #e8c68a; }
.section-title-link:hover .sec-chevron-arrow { color: #e8c68a; }
body.sports-mode .sportsbook-hero h1 span { color: #866129; }
body.sports-mode .sportsbook-actions .btn-hero-primary,
body.sports-mode .sportsbook-feature .btn-hero-primary,
body.sports-mode .sportsbook-tab.active { background: #dfbd7e; color: #292015; }
body.sports-mode .sportsbook-feature-badge { background: #f0e4cf; color: #775826; }
.mobile-menu-toggle { color: #e8c68a; align-items: center; justify-content: center; min-width: 30px; min-height: 40px; }
@media (min-width: 1251px) and (max-width: 1450px) {
    header.top-header { gap: 10px; padding-left: 20px; padding-right: 20px; }
    .top-tab-item { padding: 12px 10px; gap: 6px; font-size: 13px; }
    .btn-header-login, .btn-header-register { padding: 12px; font-size: 13px; }
    .brand-logo-img { max-width: 110px; }
}
@media (max-width: 1250px) {
    .mobile-menu-toggle { display: inline-flex; }
}
@media (max-width: 1050px) {
    header.top-header { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 12px 20px; }
    .header-left { grid-column: 1; grid-row: 1; gap: 10px; }
    .header-right { grid-column: 2; grid-row: 1; }
    .top-nav-tabs { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 768px) {
    header.top-header { padding: 10px 12px 12px; gap: 10px; }
    .top-nav-tabs { width: min(100%, 480px); gap: 3px; padding: 5px; border-radius: 17px; }
    .top-tab-item { flex: 1; min-width: 0; min-height: 42px; padding: 9px 6px; gap: 6px; border-radius: 12px; font-size: 12px; }
    .top-tab-item[data-nav="live"] { flex: 1.4; }
    .top-tab-item .ui-icon { width: 17px; height: 17px; }
    .btn-header-login, .btn-header-register { padding: 9px 12px; font-size: 12px; min-height: 38px; border-radius: 11px; }
    .brand-logo-img { max-width: 108px; }
    .header-right { max-width: calc(100vw - 175px); }
    .user-profile-pill { padding: 4px; }
    .user-name-text { display: none; }
    .wallet-balance-box { padding: 6px; font-size: 12px; }
    .btn-header-deposit { padding: 6px; font-size: 11px; }
    .hero-carousel-wrap { outline-width: 3px; }
    #heroSlide0::after { background: linear-gradient(90deg, rgba(5, 9, 17, .82), rgba(5, 9, 17, .32) 72%, transparent); }
}
@media (max-width: 380px) {
    .top-tab-item { font-size: 11px; gap: 4px; padding-left: 3px; padding-right: 3px; }
    .top-tab-item .ui-icon { width: 15px; height: 15px; }
    .brand-logo-img { max-width: 87px; }
    .header-left { gap: 5px; }
    .header-right { max-width: calc(100vw - 140px); }
    .btn-header-login, .btn-header-register { padding: 8px; font-size: 11px; }
    .user-name-text { max-width: 66px; overflow: hidden; text-overflow: ellipsis; }
    .wallet-balance-box { padding: 6px; }
    .btn-header-deposit { padding: 6px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .top-tab-item, .game-card, .btn-header-register, .btn-hero-primary { transition: none; }
}
