:root { color-scheme: dark; font-family: Inter, system-ui, sans-serif; background: #10131d; color: #f5f2ea; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top, #293148, #10131d 58%); }
.shell { max-width: 980px; margin: auto; padding: 28px 20px 72px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 56px; }
.brand { color: #f6d693; text-decoration: none; font-weight: 700; letter-spacing: .04em; }
.card { background: rgba(26, 31, 47, .86); border: 1px solid rgba(246, 214, 147, .2); border-radius: 20px; padding: 28px; margin-bottom: 20px; box-shadow: 0 20px 70px rgba(0,0,0,.2); }
.intro { margin-bottom: 20px; }
.eyebrow { color: #f6d693; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
h1 { margin: 8px 0; font-size: clamp(32px, 6vw, 58px); }
h2 { margin: 10px 0; }
.muted { color: #aab1c3; }
form { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; max-width: 620px; }
label { display: grid; gap: 8px; flex: 1; color: #c4c9d6; }
input { width: 100%; padding: 13px 15px; border: 1px solid #48516a; border-radius: 10px; background: #111624; color: white; font: inherit; }
button { padding: 13px 18px; border: 0; border-radius: 10px; background: #f6d693; color: #171a24; font: inherit; font-weight: 700; cursor: pointer; }
.link-button { background: transparent; color: #f6d693; padding: 5px; }
.message { min-height: 24px; color: #f6d693; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 20px; }
.game-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; }
.game-meta { display: flex; justify-content: space-between; color: #aab1c3; margin: 18px 0; }
.orders:empty::after { content: 'Заказов пока нет'; color: #aab1c3; }
.order { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #30384d; }
@media (max-width: 600px) { .shell { padding: 20px 14px 48px; } form { display: grid; } button { width: 100%; } }

.public-page { background: #f7f3eb; color: #242838; color-scheme: light; }
.public-page .shell { max-width: 1180px; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; padding-bottom: 24px; margin-bottom: 0; }
.public-page .brand { color: #242838; }
.site-nav { display: flex; gap: 26px; align-items: center; }
.site-nav a, .site-footer a { color: inherit; text-decoration: none; }
.site-nav a:hover, .site-footer a:hover { color: #9c6f22; }
.nav-account { border: 1px solid #c9a35a; border-radius: 999px; padding: 10px 17px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: center; min-height: 510px; gap: 40px; }
.hero-copy { max-width: 680px; padding: 62px 0; }
.hero h1 { font-family: Georgia, serif; font-weight: 400; line-height: 1.02; font-size: clamp(48px, 8vw, 88px); letter-spacing: -.05em; }
.hero h1 em, .catalog-card h3 { color: #9c6f22; font-style: normal; }
.hero-lead { max-width: 520px; font-size: 19px; line-height: 1.6; color: #5e6272; margin: 24px 0 32px; }
.public-page .button { display: inline-flex; align-items: center; justify-content: center; background: #292d3d; color: #fff; text-decoration: none; border-radius: 999px; padding: 14px 24px; }
.public-page .button:hover { background: #9c6f22; }
.button-small { padding: 10px 17px !important; font-size: 14px; }
.hero-art { position: relative; min-height: 320px; border-radius: 48% 48% 42% 42%; background: linear-gradient(145deg, #343a56, #161a2a); overflow: hidden; display: grid; place-items: center; box-shadow: 22px 28px 0 rgba(198, 161, 91, .2); }
.hero-art::before, .hero-art::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(246, 214, 147, .3); }
.hero-art::before { width: 230px; height: 230px; }
.hero-art::after { width: 290px; height: 290px; }
.hero-art span { position: relative; z-index: 1; color: #f6d693; font-size: 90px; }
.hero-glow { position: absolute; width: 180px; height: 180px; background: #e8ba63; filter: blur(80px); opacity: .25; }
.catalog { padding-top: 48px; padding-bottom: 80px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; }
.public-page h2 { font-family: Georgia, serif; font-size: clamp(34px, 5vw, 58px); font-weight: 400; letter-spacing: -.04em; margin: 8px 0 0; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 24px; }
.catalog-card { overflow: hidden; background: #fff; border: 1px solid #e6dfd3; border-radius: 20px; box-shadow: 0 15px 40px rgba(48, 41, 31, .07); }
.catalog-image { display: block; aspect-ratio: 1.65; overflow: hidden; background: #d9e3ed; }
.catalog-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.catalog-card:hover .catalog-image img { transform: scale(1.04); }
.catalog-card-body { padding: 24px; }
.public-page .eyebrow { color: #9c6f22; }
.catalog-card h3 { font-family: Georgia, serif; font-size: 34px; font-weight: 400; margin: 10px 0; }
.catalog-card p { line-height: 1.55; }
.catalog-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; }
.catalog-card-bottom strong { font-size: 22px; }
.how { padding: 70px 0 100px; border-top: 1px solid #ded5c7; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 34px; }
.steps article { border-top: 1px solid #cdbfa9; padding-top: 16px; }
.steps span { color: #9c6f22; font-family: monospace; }
.steps h3 { font-family: Georgia, serif; font-size: 25px; font-weight: 400; margin: 18px 0 8px; }
.steps p { color: #656878; line-height: 1.55; }
.site-footer { background: #252838; color: #f7f3eb; padding: 52px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 35px; }
.footer-grid h3 { font-size: 14px; color: #f6d693; font-weight: 500; }
.footer-grid a { display: block; margin: 12px 0; color: #dbd7cf; }
.footer-grid .brand { color: #f6d693; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #4a4e61; padding-top: 20px; margin-top: 45px; color: #aeb1bd; font-size: 13px; }
.account-shell { max-width: 980px; }
.account-card { max-width: 720px; margin: 0 auto; }
@media (max-width: 700px) { .site-nav { gap: 11px; font-size: 14px; } .site-nav a:nth-child(2) { display: none; } .hero { grid-template-columns: 1fr; min-height: auto; } .hero-copy { padding: 44px 0 20px; } .hero-art { min-height: 220px; max-width: 290px; margin: 0 auto 30px; } .section-heading, .footer-bottom { align-items: start; flex-direction: column; } .steps, .footer-grid { grid-template-columns: 1fr; gap: 22px; } }
