/* Shared visual refresh. Original purple, blue and green brand colors retained. */
:root { --surface: #181120; --surface-raised: #21182d; --line-soft: #ffffff12; --text-muted: #a49caf; }
html { scroll-behavior: smooth; scroll-padding-top: 180px; }
body { background: var(--bg-dark); }
button, input, select { font-family: inherit; }
a, button, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.container { max-width: 1280px; }
.header { background: #0f0916f5; backdrop-filter: blur(18px); border-bottom: 1px solid var(--line-soft); }
.header-content { min-height: 86px; grid-template-columns: auto 1fr auto; gap: 40px; }
.header-logo { grid-column: 1; grid-row: 1; transform: none; }
.header-logo-img { height: 64px; }
.header-content .nav { grid-column: 2; grid-row: 1; justify-self: start; gap: 26px; align-items: center; }
.nav-link { font-size: 13px; white-space: nowrap; }
.nav-link.active { color: var(--text); }
.header-content .header-actions { grid-column: 3; grid-row: 1; }
.header-account { justify-self: end; white-space: nowrap; color: var(--text); font-size: 13px; padding: 10px 17px; border: 1px solid #ffffff24; border-radius: 8px; text-decoration: none; }
.header-account:hover { border-color: var(--accent); color: var(--accent); }
.filters-platform { padding: 13px 0; background: #15101d; border-top: 1px solid var(--line-soft); }
.filters .filters-platform-inner { justify-content: space-between; gap: 16px; }
.filters-platform-start { gap: 14px; }
.platform-filter-buttons { gap: 5px; }
.platform-btn { padding: 10px 13px; border-radius: 7px; font-size: 11px; letter-spacing: .05em; background: transparent; border: 1px solid transparent; color: var(--text-muted); }
.platform-btn.is-active { background: #58a6ff15; color: var(--accent); border-color: #58a6ff35; }
.advanced-filters-toggle { font-size: 12px; border-radius: 7px; background: transparent; color: var(--text-muted); padding: 10px 12px; }
.search-container { border: 1px solid #ffffff20; border-radius: 8px; background: var(--bg-dark); box-shadow: none; }
.search-container:focus-within { border-color: var(--accent); }
.search-input, .search-input::placeholder { color: var(--text-muted); font-size: 13px; }
.search-input { color: var(--text); }
.search-btn { color: var(--text-muted); }
.search-btn-icon { display: none; }
.search-btn-fallback { display: inline; font-size: 21px; }
.cart-btn { color: var(--text); background: var(--surface); border-color: #ffffff20; border-radius: 8px; min-height: 40px; }
.cart-count { color: var(--accent); background: #58a6ff18; }
.locale-dropdown { background: var(--surface-raised); border-color: #ffffff20; }
.locale-dropdown li { color: var(--text); }
.store-hero { margin: 30px auto 0; }
.hero-panel { min-height: 420px; position: relative; isolation: isolate; overflow: hidden; border: 1px solid #ffffff1a; border-radius: 20px; background: #1e1234 url('banner2.png') center bottom / auto 100% no-repeat; display: flex; align-items: center; }
.hero-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #140c22 5%, #140c22ed 35%, #140c2260 100%); }
.hero-copy { padding: 52px; max-width: 660px; position: relative; z-index: 2; }
.eyebrow { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: 18px; }
.hero-copy h1 { font-size: clamp(38px, 4.8vw, 62px); letter-spacing: -.055em; line-height: 1.06; font-weight: 700; margin-bottom: 20px; }
.hero-copy h1 span { color: var(--accent); }
.hero-copy p { max-width: 370px; font-size: 14px; line-height: 1.8; color: #bbb3c9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 13px 22px; background: var(--accent); color: var(--bg-dark); text-decoration: none; font-size: 13px; font-weight: 700; border-radius: 8px; }
.primary-link:hover { background: var(--accent-hover); }
.quiet-link { font-size: 13px; color: var(--text); text-decoration: none; }
.quiet-link:hover { color: var(--accent); }
.hero-art { position: absolute; width: 41%; right: 30px; top: 54px; bottom: 54px; display: flex; align-items: center; justify-content: center; gap: 14px; transform: rotate(8deg); opacity: .95; }
.hero-art img { width: 44%; height: 92%; object-fit: cover; border-radius: 12px; border: 1px solid #ffffff35; box-shadow: 0 18px 45px #0008; }
.hero-art img:first-child { transform: translateY(28px); }
.hero-art img:last-child { transform: translateY(-22px); }
.store-benefits { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 24px 8px; border-bottom: 1px solid var(--line-soft); color: var(--text-muted); font-size: 12px; }
.store-benefits span { display: flex; align-items: center; gap: 10px; }
.store-benefits b { font-size: 16px; color: var(--accent); font-weight: 400; }
.ads-banner { background: none; border: 0; padding: 32px 0 0; }
.banner-inner { max-width: 1280px; }
.banner-track-wrap { padding: 0; }
.banner-track { gap: 16px; padding-bottom: 4px; }
.banner-card { width: calc((100% - 32px) / 3); height: 150px; border-radius: 12px; border-color: var(--line-soft); }
.banner-card-img { opacity: .65; transition: transform .3s; }
.banner-card:hover .banner-card-img { transform: scale(1.04); }
.banner-card-label { font-size: 17px; left: 22px; bottom: 20px; }
.banner-arrow { width: 32px; height: 32px; background: var(--surface-raised); border: 1px solid #ffffff30; }
.banner-arrow-prev { left: 8px; }.banner-arrow-next { right: 8px; }
.banner-arrow-icon { width: 26px; height: 26px; }
.games-section { padding: 42px 0 64px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { font-size: 28px; letter-spacing: -.04em; }
.section-heading p { font-size: 12px; color: var(--text-muted); }
.games-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.game-card { position: relative; display: flex; flex-direction: column; border-radius: 12px; background: var(--surface); border-color: #ffffff10; }
.game-card:hover { transform: translateY(-5px); border-color: #58a6ff60; box-shadow: 0 14px 28px #0003; }
.game-image { display: block; aspect-ratio: 4 / 4.5; object-position: center 25%; }
.game-discount { position: absolute; top: 12px; left: 12px; padding: 5px 9px; background: var(--accent); color: var(--bg-dark); font-size: 12px; font-weight: 700; border-radius: 5px; }
.game-info { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.game-title { font-size: 15px; min-height: 45px; margin-bottom: 8px; }
.game-meta { gap: 5px; margin-bottom: 18px; }
.game-platform, .game-genre, .game-tag { background: transparent; border: 0; padding: 0; font-size: 10px; }
.game-meta > span:nth-child(-n+3)::after { content: ' /'; opacity: .5; margin-left: 4px; }
.game-meta .game-tag:last-child { display: none; }
.game-price-row { margin-top: auto; align-items: center; }
.game-price { color: var(--text); font-size: 21px; line-height: 1.3; }
.game-price del { display: block; color: var(--text-muted); font-size: 11px; font-weight: 400; }
.btn-add { font-size: 11px; padding: 10px; color: var(--bg-dark); border-radius: 6px; }
.btn-details { color: var(--text-muted); border-color: #ffffff16; margin-top: 15px; font-size: 11px; padding: 9px; }
.empty-results { grid-column: 1 / -1; padding: 70px 24px; text-align: center; color: var(--text-muted); border: 1px dashed #ffffff25; border-radius: 12px; }
.join-banner { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 36px; margin-bottom: 64px; border-radius: 14px; border: 1px solid #58a6ff25; background: linear-gradient(110deg, #21182d, #15111f); }
.join-banner h2 { font-size: 25px; letter-spacing: -.04em; margin-bottom: 8px; }
.join-banner p { color: var(--text-muted); font-size: 13px; }
.site-footer { background: #0b0711; border-top: 1px solid var(--line-soft); padding: 44px 0 22px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
.footer-brand { font-size: 19px; letter-spacing: -.04em; font-weight: 700; text-decoration: none; color: var(--text); }
.footer-brand span { color: var(--accent); }
.footer-top p { margin-top: 12px; max-width: 280px; color: var(--text-muted); font-size: 12px; line-height: 1.8; }
.footer-top h3 { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-top ul { list-style: none; display: grid; gap: 9px; }
.footer-top li a { text-decoration: none; font-size: 12px; color: var(--text-muted); }
.footer-top li a:hover { color: var(--accent); }
.footer-bottom { padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--text-muted); font-size: 11px; }
.about-body-loaded { --loaded-teal: var(--accent); --loaded-teal-dim: #58a6ff35; --loaded-footer-bg: var(--bg-dark); background: var(--bg-dark); }
.loaded-hero { padding: 80px 0; background: radial-gradient(ellipse at top, #29183f, var(--bg-dark) 75%); }
.loaded-hero-title { font-size: clamp(36px, 5vw, 58px); letter-spacing: -.05em; }
.loaded-hero-lead { max-width: 500px; margin-top: 18px; margin-bottom: 26px; font-size: 15px; }
.loaded-hero-cta { padding: 13px 24px; border-radius: 8px; font-size: 13px; }
.loaded-faq { padding: 48px 0 64px; }
.loaded-faq .container { max-width: 900px; }
.loaded-block-title { font-size: 25px; margin-bottom: 24px; }
.faq-accordion { border: 0; display: grid; gap: 12px; overflow: visible; }
.faq-item { border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; background: var(--surface); }
.faq-item summary { padding: 22px; font-size: 14px; }
.loaded-social-bar { padding: 28px 0; }
.modal-content, .advanced-filters-panel { background: var(--surface); border: 1px solid #ffffff20; border-radius: 14px; }
.checkout-btn { background: var(--accent); color: var(--bg-dark); }
.game-details img { max-height: 380px; object-fit: contain; background: var(--bg-dark); }
.auth-main { background: radial-gradient(ellipse at 15% 40%, #29183f 0, transparent 60%); padding-top: 64px; padding-bottom: 64px; }
.auth-card { border-color: #ffffff16; box-shadow: 0 24px 80px #0003; }
.auth-footer { border-top: 1px solid var(--line-soft); }
.palette-toggle { width: 36px; height: 36px; font-size: 17px; opacity: .6; }
.palette-toggle:hover { opacity: 1; }
@media (max-width: 1000px) {
 .header-content { gap: 24px; }.hero-art { right: -30px; opacity: .55; }.hero-copy { max-width: 620px; }
 .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.filters-toolbar-actions { flex-basis: 100%; }
}
@media (max-width: 700px) {
 html { scroll-padding-top: 20px; }.header { position: relative; }.header-content { grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; }
 .header-logo-img { height: 52px; }.header-content .nav { grid-column: 1 / -1; grid-row: 2; justify-self: start; gap: 24px; }
 .about-body-loaded .header-logo-img { width: 130px; height: auto; }.about-body-loaded .header-account { padding: 10px; }.about-body-loaded .header-content { gap: 12px; }
 .header-content .header-actions, .header-account { grid-column: 2; grid-row: 1; }.container, .banner-inner { padding-left: 20px; padding-right: 20px; }
 .filters-platform-start { width: 100%; justify-content: space-between; gap: 8px; }.platform-btn { padding: 9px 8px; font-size: 10px; }.advanced-filters-toggle { font-size: 10px; padding: 9px 8px; }
 .filters-toolbar-actions { flex-wrap: wrap; gap: 8px; }.filters-toolbar-actions .search-container { flex: 1 1 100%; }.header-locale { margin-right: auto; }
 .store-hero { margin-top: 20px; }.hero-panel { min-height: 390px; }.hero-copy { padding: 30px 25px; }.hero-copy h1 { font-size: 42px; }.hero-copy p { max-width: 260px; }
 .hero-art { opacity: .15; width: 65%; right: -70px; }.hero-art img { height: 85%; }.store-benefits { display: grid; grid-template-columns: 1fr 1fr; font-size: 10px; gap: 14px; }
 .banner-card { width: 78%; height: 140px; }.games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }.section-heading h2 { font-size: 23px; }.section-heading p { max-width: 95px; text-align: right; }
 .game-info { padding: 12px; }.game-title { font-size: 13px; min-height: 39px; }.game-price-row { flex-wrap: wrap; gap: 10px; }.game-price { font-size: 19px; }.btn-add { width: 100%; }.game-meta { min-height: 30px; }.game-discount { top: 8px; left: 8px; font-size: 10px; }
 .join-banner { align-items: flex-start; flex-direction: column; padding: 26px; margin-bottom: 40px; }.footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }.footer-top > div:first-child { grid-column: 1 / -1; }
 .loaded-hero { padding: 54px 0; }.loaded-social-headline-text { font-size: 14px; }.auth-main { padding: 32px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
