:root {
    color-scheme: dark;
    --bg: #0b0b0e;
    --surface: #141417;
    --ink: #fbf5ef;
    --muted: #bbb4b8;
    --line: #ffffff24;
    --accent: #ff7148;
    --container: 1330px;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.75 system-ui,Tahoma,Arial,sans-serif }
a { color: inherit; text-decoration: none }
button, input, textarea, select { font: inherit }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #ffc1af; outline-offset: 4px }
.skip { position: absolute; z-index: 20; top: 8px; right: 12px; padding: 8px 14px; background: var(--accent); color: #170a05; transform: translateY(-180%) }
.skip:focus { transform: none }
header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: #0b0b0eea; backdrop-filter: blur(18px) }
header nav, footer { max-width: var(--container); margin-inline: auto; padding-inline: clamp(18px,4vw,48px); display: flex; align-items: center; justify-content: space-between; gap: 20px }
header nav { min-height: 77px }
.brand { display: inline-flex; gap: 10px; align-items: center; white-space: nowrap }
.brand-mark { display: grid; width: 39px; height: 39px; place-items: center; background: var(--accent); color: #1a0904; font: 1000 italic 30px/.95 system-ui,sans-serif; clip-path: polygon(16% 0,100% 0,100% 76%,79% 100%,0 100%,0 23%) }
.brand strong { font: 900 18px/1 system-ui,sans-serif; letter-spacing: -.075em }
.brand small { display: block; color: var(--muted); font: 700 9px/1.7 system-ui,sans-serif; letter-spacing: .27em }
.navlinks { display: flex; align-items: center; gap: clamp(16px,3vw,42px); font-size: .91rem; font-weight: 650 }
.navlinks a, footer > a:last-child { color: var(--muted); transition: color .2s }
.navlinks a:hover, footer > a:last-child:hover { color: var(--ink) }
.outline, .button, button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 6px; font-size: .91rem; font-weight: 750; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s }
.outline:hover { border-color: var(--accent); color: var(--accent) }
.button, button { background: var(--accent); color: #190a06; border-color: transparent }
.button:hover, button:hover { background: #ff9a79 }
.hero { position: relative; display: grid; align-items: center; isolation: isolate; overflow: clip; min-height: clamp(470px,76svh,840px); background: #140c10 }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; z-index: -3 }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(270deg,#0b0b0eee 0%,#0b0b0eb3 28%,#0b0b0e14 64%),linear-gradient(0deg,#0b0b0e 0%,transparent 34%) }
.hero::after { content: ''; position: absolute; z-index: -1; inset: auto 0 0; height: 1px; background: linear-gradient(90deg,transparent,#ff714878,transparent) }
.hero-content { width: min(100%,var(--container)); margin-inline: auto; padding: 76px clamp(22px,6vw,92px); animation: arrive .68s ease-out both }
@keyframes arrive { from { opacity: 0; transform: translateY(15px) } to { opacity: 1; transform: translateY(0) } }
.eyebrow { display: flex; gap: 10px; align-items: center; margin: 0 0 20px; font-size: .91rem; font-weight: 750; color: #f3ded6 }
.eyebrow span { background: var(--accent); box-shadow: 0 0 14px #ff7148ac; width: 18px; height: 2px }
.hero h1 { margin: 0; font-size: clamp(3.8rem,8vw,8.2rem); font-weight: 950; line-height: 1.07; letter-spacing: -.055em }
.hero h1 span { display: block; color: var(--accent) }
.hero-description { margin: 26px 0; font-weight: 550; color: #e6dcda; max-width: 32ch }
.hero-button { min-height: 50px; padding-inline: 20px }
.hero-button:hover { transform: translateY(-2px) }
.catalog, .explore, .interior main { max-width: var(--container); margin-inline: auto; padding-inline: clamp(18px,4vw,48px) }
.catalog { padding-top: clamp(42px,6vw,82px); scroll-margin-top: 85px }
.explore { margin-block: 60px 75px }
.section-title h1, .section-title h2 { margin: 0 0 18px; font-size: clamp(1.7rem,3.8vw,2.7rem); line-height: 1.26 }
.section-title p { color: var(--muted) }
.product-detail { max-width: 760px }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px }
.tabs a { padding: 7px 13px; border: 1px solid var(--line); border-radius: 5px; font-size: .88rem; color: var(--muted) }
.tabs a:hover, .tabs a[aria-current] { border-color: #ff714881; background: #ff714818; color: #ffae97 }
.empty { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 8px; padding: 13px 18px; color: var(--muted); background: #141417 }
.empty p { margin: 0 }
.empty-mark { font-size: 1.4rem; color: var(--accent) }
.grid, .explore-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,270px),1fr)); gap: 14px }
.explore-card { position: relative; isolation: isolate; display: block; padding: 23px; min-height: 205px; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: linear-gradient(135deg,#151518,#1a1415); transition: transform .24s,border-color .24s }
.explore-card:hover { transform: translateY(-4px); border-color: #ff714881 }
.explore-card::after { content: ''; position: absolute; top: -55px; left: -38px; width: 155px; height: 155px; border: 1px solid #ff714855; box-shadow: 0 0 0 18px #ff714813,0 0 0 38px #ff714808; transform: rotate(38deg); z-index: -1 }
.apps::after { transform: rotate(18deg); border-color: #a7a4ff70; box-shadow: 0 0 0 18px #a7a4ff15,0 0 0 38px #a7a4ff0a }
.gear::after { border-radius: 50%; border-color: #62cbbb70; box-shadow: 0 0 0 18px #62cbbb15,0 0 0 38px #62cbbb0a }
.card-symbol { color: #ff9a79; font: 700 1.7rem/1 system-ui,sans-serif }
.apps .card-symbol { color: #b9b7ff }
.gear .card-symbol { color: #85d8cf }
.explore-card h3 { margin: 14px 0 3px; font-size: 1.42rem }
.explore-card p { margin: 0; color: var(--muted); font-size: .92rem }
.card-arrow { position: absolute; bottom: 17px; left: 20px; font-size: 1.4rem }
.panel, article, .notice { padding: clamp(16px,3vw,26px); background: var(--surface); border: 1px solid var(--line); border-radius: 9px }
.product small { color: #ffae97 }
.product h3 { margin-block: 9px 3px }
.product p { color: var(--muted) }
.panel { margin-block: 36px }
.narrow { max-width: 490px; margin-inline: auto }
.panel h1 { margin-top: 0 }
.panel form { display: grid; gap: 12px; margin-block: 16px }
.panel button { justify-self: start }
.panel a { color: #ffae97 }
.panel label { display: block; color: var(--muted) }
.panel input:not([type=checkbox]), .panel textarea, .panel select { display: block; width: 100%; margin-top: 4px; padding: 10px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 6px }
textarea { min-height: 80px }
footer { margin-top: 55px; padding-block: 24px; border-top: 1px solid var(--line); font-size: .85rem }
@media (max-width: 650px) {
    header nav { flex-wrap: wrap; gap: 10px; padding-block: 11px }
    .navlinks { order: 3; flex-basis: 100%; border-top: 1px solid var(--line); padding-top: 7px }
    .hero { min-height: 590px; align-items: end }
    .hero-content { padding-block: 45px }
    .hero-image { object-position: 34% center }
    .hero::before { background: linear-gradient(0deg,#0b0b0e 1%,#0b0b0edb 24%,#0b0b0e3c 59%,#0b0b0e12 100%) }
    .catalog { scroll-margin-top: 105px }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto }
    *, *::before, *::after { animation: none !important; transition: none !important }
}
.player-auth { background: radial-gradient(ellipse at 12% 45%,#221111,transparent 58%),var(--bg) }
.auth-shell {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    max-width: 1050px;
    margin: clamp(24px,6vh,70px) auto;
    min-height: 560px;
    border: 1px solid #ffac902b;
    border-radius: 20px;
    overflow: hidden;
    background: #111014;
    box-shadow: 0 24px 80px #0008;
}
.auth-art { position: relative; isolation: isolate; display: grid; align-content: end; justify-items: start; gap: 12px; padding: 28px; overflow: hidden; background: #211017 }
.auth-art img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 28% center }
.auth-art::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,#0b0b0eea,transparent 60%); border-bottom: 2px solid #ff7148ab }
.auth-art strong { font: 800 12px/1.5 system-ui,sans-serif; letter-spacing: .24em; color: #ffcab9 }
.auth-seal { display: grid; place-items: center; width: 54px; aspect-ratio: 1; background: #160c12d9; border: 1px solid #ff7148b0; border-radius: 12px; box-shadow: 0 0 24px #ff714833; color: var(--accent) }
.auth-seal span { font: 950 italic 38px/1 system-ui,sans-serif }
.auth-content { align-self: center; min-width: 0; padding: clamp(22px,5vw,56px); animation: arrive .42s ease-out both }
.auth-switch { display: grid; grid-template-columns: repeat(2,1fr); gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #0c0b0f; margin-bottom: 23px }
.auth-switch a { text-align: center; padding: 7px; color: var(--muted); font-weight: 700; border: 1px solid transparent; border-radius: 7px }
.auth-switch a:hover, .auth-switch a[aria-current] { color: #ffc0ad; border-color: #ff71484d; background: #ff714819 }
.auth-content h1 { margin: 0; line-height: 1.3; font-size: clamp(1.6rem,3.2vw,2.4rem); font-weight: 850 }
.auth-intro { margin: 8px 0 22px; color: var(--muted); font-size: .94rem }
.auth-notice { margin: 0 0 14px; padding: 9px 12px; border: 1px solid #ffac905c; border-radius: 8px; background: #ff714814; color: #ffe4dc }
.auth-form, .auth-phone { display: grid; gap: 8px }
.auth-form [hidden] { display: none }
.auth-form label { margin-top: 5px; font-size: .91rem; font-weight: 700 }
.auth-form input { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #ffffff36; border-radius: 8px; background: #0b0b0f; color: var(--ink) }
.auth-form input::placeholder { color: #9e959f }
.auth-form input:focus { border-color: var(--accent) }
.auth-phone.with-otp { grid-template-columns: minmax(0,1fr) auto; align-items: end }
.auth-phone label { grid-column: 1/-1 }
.auth-otp { min-height: 46px; background: #241519; color: #ffbea9; border-color: #ff714866; white-space: nowrap }
.auth-otp:hover { background: #623127; color: #fff3ef }
.auth-form small { color: var(--muted) }
.auth-profile { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px }
.auth-profile label { display: block; margin-bottom: 8px }
.birth-field { display: grid; gap: 8px }
.birth-picker summary { cursor: pointer; color: #ffbea9; font-size: .9rem; font-weight: 750 }
.birth-calendar { margin-top: 8px; padding: 10px; border: 1px solid #ff71484d; border-radius: 9px; background: #0c0b0f }
.birth-nav, .birth-days, .birth-week { display: grid; gap: 5px }
.birth-nav { grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 10px }
.birth-nav select { display: block; width: 100%; margin-top: 4px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 5px; padding: 5px }
.birth-days, .birth-week { grid-template-columns: repeat(7,minmax(0,1fr)) }
.birth-week { margin-bottom: 5px; text-align: center; color: var(--muted); font-size: .83rem }
.birth-days button { padding: 4px 0; min-height: 34px; background: #23171b; color: #ffddcf }
.birth-days button:hover:not(:disabled), .birth-days button[aria-pressed=true] { background: var(--accent); color: #190a06 }
.birth-days button:disabled { opacity: .35; cursor: default }
.birth-manual { justify-self: start; padding: 5px 0; border: 0; background: transparent; color: #ffbea9 }
.birth-manual:hover { background: transparent; color: var(--ink) }
@media (max-width: 760px), (pointer: coarse) {
    .birth-nav select, .birth-days button { min-height: 44px }
    .birth-nav select, .birth-field input { font-size: 16px }
    .birth-picker summary { min-height: 44px; align-content: center }
}
@media (max-width: 480px) {
    .birth-days, .birth-week { gap: 3px }
    .birth-calendar { padding-inline: 5px }
}
.auth-submit { justify-content: space-between; min-height: 50px; margin-top: 12px; border-radius: 8px; background: linear-gradient(110deg,#ff9d67,#ff7148 70%) }
.auth-submit:hover { background: #ffa47e; transform: translateY(-2px) }
@media (max-width: 760px) {
    .auth-shell { grid-template-columns: minmax(0,1fr); min-height: 0 }
    .auth-art { min-height: 140px; padding: 16px 21px; gap: 8px }
    .auth-art img { object-position: 29% 56% }
    .auth-seal { width: 38px; border-radius: 8px }
    .auth-seal span { font-size: 27px }
}
@media (max-width: 360px) {
    .auth-phone.with-otp { grid-template-columns: minmax(0,1fr) }
    .auth-otp { justify-self: start }
}
