:root {
    --page-bg: #090b10;
    --header-bg: #0e1016;
    --text: #f3f4f8;
    --muted: #aeb2c2;
    --muted-strong: #c0c4d1;
    --line: #292d38;
    --gold: #e4bd75;
}
body { background: var(--page-bg); color: var(--text); -webkit-font-smoothing: antialiased; }
::selection { background: #e4bd75; color: #151212; }
input, textarea { caret-color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.site-header { min-height: 88px; background: #0e1016; border-bottom: 1px solid var(--line); }
.site-header .site-header__inner { width: min(1320px,calc(100% - 80px)); min-height: 88px; padding: 0; display: grid; grid-template-columns: 190px 1fr auto; gap: 36px; align-items: center; }
.site-header .brand__logo { width: 180px; height: auto; }
.site-header .main-nav { gap: 24px; justify-content: center; }
.site-header .main-nav__item { min-width: 0; height: 44px; padding: 0 2px; color: #aeb2c2; font-size: 13px; font-weight: 600; border: 0; border-radius: 0; box-shadow: none; background: none; transform: none; }
.site-header .main-nav__item:hover { color: #fff; background: none; transform: none; box-shadow: none; }
.site-header .main-nav__item--active { color: #f3f4f8; box-shadow: inset 0 -2px var(--gold); }
.auth-actions { gap: 20px; align-items: center; font-size: 12px; }
.auth-actions .text-link { color: #c0c4d1; }
.account-nav-link, .action-button { border-radius: 8px; background: var(--gold); color: #151212; font-weight: 600; box-shadow: none; }
.account-nav-link:hover, .action-button:hover { background: #f0cf93; color: #151212; }
.action-button--secondary, .action-button--secondary:hover { color: #f3f4f8; background: #1b1e28; border-color: #414653; }
.auth-actions .account-nav-link { min-height: 42px; padding: 10px 16px; font-size: 12px; }
.account-menu { position: relative; }
.account-menu summary { cursor: pointer; list-style: none; border: 1px solid #414653; padding: 13px 16px; border-radius: 8px; font-weight: 600; color: #f3f4f8; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary::after { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 14px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.account-menu[open] summary { border-color: #e4bd75; }
.account-menu__panel { position: absolute; top: calc(100% + 12px); right: 0; z-index: 50; width: 240px; padding: 10px; background: #181b24; border: 1px solid #414653; border-radius: 10px; box-shadow: 0 16px 36px #0007; }
.account-menu__panel p { padding: 8px 12px 14px; margin: 0; color: #aeb2c2; overflow-wrap: anywhere; }
.account-menu__panel a, .account-menu__panel button { display: flex; align-items: center; min-height: 44px; width: 100%; padding: 10px 12px; text-align: left; color: #f3f4f8; font-size: 13px; border-radius: 6px; }
.account-menu__panel a:hover, .account-menu__panel button:hover { background: #252936; color: #e4bd75; }
.site-footer { margin-top: 0; padding: 0; background: #0d0f15; border-top: 1px solid var(--line); }
.site-footer .site-footer__inner { width: min(1320px,calc(100% - 80px)); display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 40px 0 30px; margin: 0 auto; }
.site-footer .footer-brand__logo { width: 170px; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 12px 26px; width: auto; }
.site-footer .footer-links a { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 500; color: #b8bdcc; text-transform: none; }
.site-footer .footer-links a:hover { color: #e4bd75; }
.footer-bottom { width: min(1320px,calc(100% - 80px)); margin: 0 auto; padding: 0 0 32px; display: flex; justify-content: space-between; gap: 48px; color: #9ca2b3; font-size: 11px; line-height: 1.7; }
.footer-bottom p { max-width: 88ch; margin: 0; }
.footer-bottom small { white-space: nowrap; font-size: 11px; }
.public-content { width: min(1000px,calc(100% - 80px)); min-height: 55vh; padding: 56px 0 72px; }
.public-content h1 { font-size: clamp(30px,4vw,44px); letter-spacing: -.025em; }
.public-content h2 { font-size: 22px; }
.public-content p, .public-content li { color: #b7bdcc; }
.public-content p a, .public-content li a { color: #e4bd75; }
.catalog-action { background: #e4bd75; color: #151212; font-weight: 600; }
.catalog-action:hover { background: #f0cf93; color: #151212; }
.page-width { width: min(1320px,calc(100% - 80px)); margin-inline: auto; }
.bonus-strip { display: flex; gap: 36px; align-items: center; justify-content: space-between; margin-block: 0 60px; padding: 26px 32px; border: 1px solid #665438; border-radius: 12px; background: #191710; }
.bonus-strip h2 { margin: 0 0 8px; font-size: 21px; font-weight: 600; color: #f0d29a; letter-spacing: -.02em; }
.bonus-strip p { margin: 0; color: #c4bba9; line-height: 1.7; font-size: 12px; }
.bonus-strip .action-button { flex-shrink: 0; font-size: 12px; }
.shop-page { padding-block: 36px 80px; --shop-ink: #101012; }
.shop-layout { display: grid; grid-template-columns: 200px minmax(0,1fr); gap: 36px; align-items: start; }
.shop-sidebar { min-width: 0; position: sticky; top: 24px; }
.shop-sidebar h2 { font-size: 13px; font-weight: 600; margin: 8px 0 18px; color: #aeb2c2; }
.shop-games { display: flex; flex-direction: column; gap: 6px; }
.shop-games a { min-height: 52px; padding: 10px 12px; display: flex; align-items: center; gap: 12px; border: 1px solid transparent; border-radius: 8px; color: #aeb2c2; font-size: 12px; font-weight: 600; }
.shop-games img { width: 28px; height: 28px; padding: 4px; background: #20232d; border-radius: 6px; }
.shop-games a:hover { background: #171a23; color: #fff; }
.shop-games a[aria-current="page"] { background: var(--store-accent-soft); border-color: var(--store-accent); color: #fff; }
.shop-help { margin-top: 28px; border-top: 1px solid #292d38; padding: 24px 12px 0; }
.shop-help h3 { margin: 0 0 10px; font-size: 14px; }
.shop-help p { color: #aeb2c2; font-size: 13px; line-height: 1.8; margin: 0 0 12px; }
.shop-help a { display: inline-flex; align-items: center; min-height: 44px; color: #e4bd75; font-size: 12px; font-weight: 600; }
.shop-main { min-width: 0; }
.shop-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 245px; display: flex; align-items: center; border: 1px solid #292d38; border-radius: 12px; background: #151921; }
.shop-hero__image { position: absolute; inset: 0 0 0 auto; width: 80%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.shop-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#14171ffb 0%,#14171fea 28%,#14171f8c 60%,#14171f0d 100%); z-index: -1; }
.shop-hero__content { padding: 32px 36px; max-width: 63%; }
.shop-hero h1 { font-size: clamp(28px,3.1vw,44px); line-height: 1.15; letter-spacing: -.03em; margin: 0 0 16px; }
.shop-hero p { font-size: 13px; line-height: 1.8; color: #ced1da; margin: 0; max-width: 44ch; }
.shop-flow { display: flex; align-items: center; gap: 24px; margin: 22px 0 34px; padding: 0; list-style: none; font-size: 11px; font-weight: 500; color: #b2b8c8; }
.shop-flow li { display: flex; align-items: center; gap: 24px; }
.shop-flow li+li::before { content: '→'; color: #666e80; }
.shop-services__heading { display: flex; gap: 20px; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.shop-services__heading h2 { font-size: 22px; letter-spacing: -.025em; margin: 0; }
.shop-services__heading p { font-size: 11px; line-height: 1.6; color: #aeb2c2; margin: 0; }
.service-collection { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.boost-service { min-width: 0; display: flex; flex-direction: column; border: 1px solid #292d38; border-radius: 12px; background: #13151d; overflow: hidden; }
.boost-service:hover { border-color: var(--store-accent); }
.boost-service__media { aspect-ratio: 2; overflow: hidden; background: #1a1e27; }
.boost-service__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.boost-service__body { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.boost-service h3 { margin: 0 0 12px; font-size: 23px; font-weight: 600; letter-spacing: -.025em; }
.boost-service p { color: #b5bbca; font-size: 14px; line-height: 1.7; margin: 0 0 24px; max-width: 46ch; }
.boost-service__footer { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 20px; margin-top: auto; }
.boost-service__footer small { font-size: 12px; color: #aeb2c2; line-height: 1.6; }
.boost-service__action { display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; min-height: 42px; padding: 12px 16px; border-radius: 7px; font-size: 12px; font-weight: 700; background: var(--store-accent); color: #0c0c0e; }
.shop-main .bonus-strip { margin: 32px 0 0; gap: 24px; padding: 22px 26px; }
.shop-main .bonus-strip h2 { font-size: 18px; }
.shop-main .bonus-strip .action-button { background: none; border: 1px solid #7f6841; color: #f0d29a; }
@media (max-width:1100px) {
    .site-header .site-header__inner { grid-template-columns: auto 1fr; gap: 8px 20px; padding: 18px 0 10px; }
    .site-header .main-nav { grid-column: 1/-1; grid-row: 2; justify-content: flex-start; }
    .auth-actions { grid-column: 2; grid-row: 1; justify-content: flex-end; }
    .shop-layout { grid-template-columns: 175px minmax(0,1fr); gap: 24px; }
    .shop-hero__content { max-width: 75%; padding: 28px; }
    .boost-service__footer { flex-wrap: wrap; }
    .boost-service__action { width: 100%; }
}
@media (max-width:800px) {
    .page-width, .site-header .site-header__inner, .site-footer .site-footer__inner, .footer-bottom, .public-content { width: calc(100% - 40px); }
    .shop-layout { display: block; }
    .shop-sidebar { position: static; margin-bottom: 24px; }
    .shop-sidebar h2, .shop-help { display: none; }
    .shop-games { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: #656b79 #13151d; }
    .shop-games a { flex: 0 0 auto; min-height: 48px; padding: 8px 12px; border-color: #292d38; font-size: 11px; }
    .shop-games img { width: 24px; height: 24px; }
    .shop-hero__content { max-width: 70%; }
    .site-footer .site-footer__inner { align-items: flex-start; }
}
@media (max-width:560px) {
    .site-header .brand__logo { width: 142px; }
    .site-header .site-header__inner { gap: 8px 12px; padding-top: 14px; }
    .site-header .main-nav { gap: 0; justify-content: space-between; }
    .site-header .main-nav__item { padding: 0 4px; font-size: 11px; flex: initial; }
    .auth-actions { gap: 12px; font-size: 11px; }
    .auth-actions .account-nav-link { padding: 9px 10px; font-size: 10px; min-height: 38px; }
    .account-menu summary { padding: 11px; font-size: 11px; }
    .account-menu summary::after { margin-left: 10px; }
    .bonus-strip { align-items: flex-start; flex-direction: column; gap: 18px; padding: 24px; margin-bottom: 40px; }
    .bonus-strip h2 { font-size: 20px; }
    .shop-page { padding-top: 22px; }
    .shop-hero { min-height: 240px; }
    .shop-hero__content { max-width: 86%; padding: 24px; }
    .shop-hero__image { width: 100%; object-position: 65% center; }
    .shop-hero::after { background: linear-gradient(90deg,#14171ff5,#14171fba 65%,#14171f4d); }
    .shop-hero p { font-size: 12px; }
    .shop-flow { justify-content: space-between; gap: 8px; font-size: 10px; }
    .shop-flow li { gap: 8px; }
    .shop-services__heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .service-collection { grid-template-columns: 1fr; gap: 20px; }
    .boost-service__media { aspect-ratio: 2; }
    .boost-service__body { padding: 22px; }
    .boost-service__footer { flex-wrap: nowrap; }
    .boost-service__action { width: auto; }
    .shop-main .bonus-strip { padding: 24px; }
    .site-footer .site-footer__inner { flex-direction: column; gap: 24px; padding: 32px 0 24px; }
    .site-footer .footer-links { gap: 0 24px; }
    .footer-bottom { flex-direction: column; gap: 20px; padding-bottom: 28px; }
    .public-content { padding-block: 36px 56px; }
}
@media (max-width:360px) {
    .page-width, .site-header .site-header__inner, .site-footer .site-footer__inner, .footer-bottom, .public-content { width: calc(100% - 32px); }
    .site-header .brand__logo { width: 122px; }
    .auth-actions { gap: 9px; }
}
@media (prefers-reduced-motion:reduce) {
    .shop-page *, .site-header * { scroll-behavior: auto; transition: none; animation: none; }
}
