:root {
    color-scheme: dark;
    --bg: #10111d;
    --surface: #181a28;
    --surface-raised: #1d2030;
    --line: rgba(255, 255, 255, .09);
    --muted: #9a9daf;
    --text: #f7f7fb;
    --purple: #a38bff;
    --pink: #f48acb;
    --green: #81e3bc;
    --font: "DM Sans", sans-serif;
    --display: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(255,255,255,.055); background: rgba(16,17,29,.88); backdrop-filter: blur(18px); }
.nav-wrap { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -.8px; white-space: nowrap; }
.brand:not(.brand-footer) { font-size: 17px; }
.brand-mark { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 9px; color: #141322; background: linear-gradient(140deg, #c0aaff, #f398d2); font-size: 19px; font-weight: 800; }
.site-logo { width: auto; max-width: 150px; height: 34px; object-fit: contain; }
.brand-dot, .text-gradient { color: var(--purple); }
.main-nav, .nav-actions { display: flex; align-items: center; gap: 28px; }
.main-nav a, .nav-login, .nav-greeting { color: #c3c4d1; font-size: 13px; transition: color .2s ease; }
.main-nav a:hover, .nav-login:hover { color: #fff; }
.nav-actions { gap: 18px; }
.profile-nav-link { display: inline-flex; align-items: center; gap: 7px; }
.nav-avatar, .avatar-small { width: 31px; height: 31px; flex: 0 0 31px; border-radius: 50%; object-fit: cover; background: #282a3a; }
.nav-greeting { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid transparent; border-radius: 11px; cursor: pointer; font-size: 13px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #171322; background: linear-gradient(110deg, #bba8ff, #f398d2); box-shadow: 0 8px 26px rgba(180, 145, 255, .17); }
.button-primary:hover { box-shadow: 0 11px 32px rgba(180, 145, 255, .27); }
.button-outline { border-color: rgba(255,255,255,.16); color: var(--text); background: transparent; }
.button-dark { color: #fff; background: #282a3a; }
.button-dark:hover { background: #34364b; }
.button-small { min-height: 38px; padding: 0 14px; border-radius: 9px; font-size: 12px; }
.button-full { width: 100%; margin-top: 5px; }
.button:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.hero { position: relative; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.045); background-image: linear-gradient(90deg, rgba(16,17,29,.97), rgba(16,17,29,.72)), var(--hero-banner, none); background-size: cover; background-position: center; }
.hero::before { position: absolute; top: -350px; left: 45%; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(125,90,202,.13), transparent 68%); content: ""; pointer-events: none; }
.hero-grid { min-height: 560px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 20px; padding-block: 62px 66px; }
.hero-copy { position: relative; z-index: 1; padding-block: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #b6a2ff; font-size: 10px; font-weight: 700; letter-spacing: 1.25px; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #b397ff; box-shadow: 0 0 12px #b397ff; }
.hero h1, .auth-card h1, .section-heading h1, .section-heading h2 { margin: 20px 0 17px; font-family: var(--display); font-size: clamp(40px, 5vw, 61px); font-weight: 700; letter-spacing: -3.2px; line-height: 1.12; }
.hero-copy > p { max-width: 460px; margin: 0 0 29px; color: #a8a9b8; font-size: 15px; line-height: 1.8; }
.hero-trust { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 27px; color: #86889a; font-size: 11px; }
.trust-icon { width: 18px; height: 18px; display: inline-grid; place-items: center; border-radius: 50%; color: #a5f2d5; background: rgba(129,227,188,.12); font-size: 11px; }
.trust-separator { color: #595b6d; }
.hero-art { position: relative; height: 440px; display: grid; place-items: center; }
.art-glow { position: absolute; width: 255px; height: 255px; border-radius: 50%; background: radial-gradient(circle, rgba(171,126,255,.28), rgba(207,106,210,.08) 49%, transparent 72%); filter: blur(7px); }
.orbit { position: absolute; border: 1px solid rgba(193,166,255,.13); border-radius: 50%; transform: rotate(-20deg); }
.orbit-one { width: 410px; height: 250px; }
.orbit-two { width: 340px; height: 380px; transform: rotate(55deg); }
.hero-center { position: relative; width: 112px; height: 112px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 32px; background: linear-gradient(145deg, rgba(192,168,255,.24), rgba(232,144,211,.13)); box-shadow: 0 0 75px rgba(169,127,255,.28), inset 0 1px rgba(255,255,255,.25); font-family: var(--display); font-size: 61px; font-weight: 800; }
.center-spark { position: absolute; top: -23px; right: -14px; color: #e7c0ff; font-size: 23px; }
.floating-card { position: absolute; z-index: 2; min-width: 205px; display: flex; align-items: center; gap: 11px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; background: rgba(29,31,47,.88); box-shadow: 0 18px 48px rgba(0,0,0,.24); backdrop-filter: blur(14px); }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-size: 12px; font-weight: 700; }
.floating-card small { margin-top: 2px; color: #9798a9; font-size: 10px; }
.card-video { top: 57px; left: 7px; }
.card-ai { top: 175px; right: -3px; }
.card-stream { bottom: 76px; left: 20px; }
.service-icon { width: 35px; height: 35px; display: grid; flex: 0 0 35px; place-items: center; border-radius: 11px; font-size: 15px; }
.icon-video { color: #ff9aab; background: rgba(255,121,145,.13); }
.icon-ai { color: #b5a2ff; background: rgba(165,139,255,.15); font-size: 19px; }
.icon-stream { color: #ff9eae; background: rgba(235,77,102,.14); font-family: var(--display); font-size: 20px; font-weight: 800; }
.card-check { margin-left: auto; color: var(--green); font-size: 12px; }
.art-caption { position: absolute; right: 2px; bottom: 21px; color: #999bad; font-size: 10px; line-height: 1.7; text-align: right; }
.art-caption strong { color: #e5e3f0; font-size: 12px; font-weight: 600; }
.benefits { border-bottom: 1px solid rgba(255,255,255,.05); background: rgba(255,255,255,.012); }
.benefit-row { min-height: 103px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.benefit { display: flex; align-items: center; gap: 14px; padding-left: 30px; border-left: 1px solid var(--line); }
.benefit:first-child { padding-left: 0; border-left: 0; }
.benefit > span { color: #bb9cff; font-family: var(--display); font-size: 13px; font-weight: 700; }
.benefit strong, .benefit small { display: block; }
.benefit strong { font-size: 12px; font-weight: 600; }
.benefit small { margin-top: 2px; color: #8d8e9f; font-size: 10px; }
.catalog-section, .page-section { padding-block: 76px 90px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-heading h2, .section-heading h1 { margin: 10px 0 0; font-size: 37px; letter-spacing: -1.6px; }
.section-heading > p { max-width: 350px; margin: 0 0 4px; color: #9698a9; font-size: 12px; line-height: 1.8; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.product-card, .panel-card { border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg, rgba(29,31,47,.96), rgba(23,25,39,.96)); }
.product-card { min-height: 264px; display: flex; flex-direction: column; padding: 19px 18px 17px; transition: transform .2s ease, border-color .2s ease; }
.product-card:hover { transform: translateY(-4px); border-color: rgba(190,164,255,.32); }
.product-top { display: flex; align-items: center; justify-content: space-between; }
.product-logo { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #d3baff; background: rgba(172,142,255,.14); font-family: var(--display); font-size: 20px; font-weight: 800; }
.product-logo.video { color: #ff9cab; background: rgba(255,121,145,.13); }
.product-logo.ai { color: #c3b4ff; background: rgba(165,139,255,.15); }
.product-logo.фильмы { color: #ff9cab; background: rgba(235,77,102,.14); }
.product-badge { padding: 4px 8px; border: 1px solid rgba(255,255,255,.09); border-radius: 20px; color: #aaaabc; font-size: 9px; }
.product-card-meta { min-height: 27px; justify-content: flex-start; gap: 7px; margin-top: 12px; }
.product-image, .product-image-placeholder { width: 100%; height: 170px; display: block; border-radius: 10px; object-fit: cover; background: linear-gradient(140deg, rgba(165,139,255,.2), rgba(244,138,203,.13)); }
.product-image-placeholder { display: grid; place-items: center; color: #d3baff; font-family: var(--display); font-size: 46px; font-weight: 800; }
.product-card h3 { margin-top: 8px; }
.product-card h3 { margin: 18px 0 5px; font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: -.3px; }
.product-card > p { flex: 1; margin: 0; color: #989aaa; font-size: 11px; line-height: 1.65; }
.product-meta { display: flex; align-items: center; gap: 7px; margin-top: 15px; color: #9a9bad; font-size: 9px; }
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: #77798b; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); }
.product-bottom strong, .product-bottom small { display: block; }
.product-bottom strong { font-family: var(--display); font-size: 16px; }
.product-bottom small { color: #888a9b; font-size: 9px; }
.catalog-note { max-width: 760px; margin: 21px 0 0; color: #77798c; font-size: 10px; line-height: 1.75; }
.site-footer { border-top: 1px solid var(--line); background: #0e0f19; }
.footer-inner { min-height: 122px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 25px; padding-block: 24px; }
.brand-footer { font-size: 16px; }
.brand-footer .brand-mark { width: 24px; height: 24px; border-radius: 7px; font-size: 16px; }
.footer-inner p { margin: 0; color: #999bac; font-size: 11px; }
.footer-inner small { width: 100%; color: #6f7183; font-size: 9px; }
.footer-rules { color: #c3aaff; font-size: 10px; }
.auth-section { min-height: calc(100vh - 196px); display: grid; place-items: center; padding: 55px 24px 75px; background: radial-gradient(ellipse at 50% 20%, rgba(132,101,208,.12), transparent 48%); }
.auth-card { width: min(440px, 100%); padding: 37px; border: 1px solid var(--line); border-radius: 18px; background: rgba(25,27,42,.92); box-shadow: 0 24px 80px rgba(0,0,0,.2); }
.auth-card h1 { margin: 13px 0 8px; font-size: 34px; letter-spacing: -1.6px; }
.auth-intro { margin: 0 0 24px; color: #989aaa; font-size: 12px; }
.form-stack { display: grid; gap: 16px; }
.form-stack label { display: grid; gap: 7px; color: #d5d5df; font-size: 11px; font-weight: 600; }
.form-stack input, .form-stack textarea, .form-stack select, .inline-form select { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; outline: none; color: #f6f5fb; background: #121420; font-size: 12px; }
.form-stack textarea { resize: vertical; }
.form-stack input:focus, .form-stack textarea:focus, .form-stack select:focus, .inline-form select:focus { border-color: rgba(185,158,255,.65); box-shadow: 0 0 0 3px rgba(165,139,255,.1); }
.form-stack input::placeholder { color: #6f7183; }
.form-stack label small { color: #858799; font-size: 10px; font-weight: 400; }
.auth-switch { margin: 20px 0 0; color: #999bac; font-size: 11px; text-align: center; }
.auth-switch a, .text-link, .table-link { color: #c3aaff; }
.auth-switch a:hover, .text-link:hover, .table-link:hover { color: #e3d8ff; }
.link-button { padding: 0; border: 0; cursor: pointer; background: none; font-family: inherit; }
.alert { margin: 15px 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; font-size: 11px; }
.alert-error { border-color: rgba(255,128,143,.2); color: #ffb0bb; background: rgba(255,128,143,.07); }
.alert-success { border-color: rgba(129,227,188,.2); color: #a5f2d5; background: rgba(129,227,188,.07); }
.page-section { min-height: calc(100vh - 196px); }
.page-section .section-heading { margin-bottom: 27px; }
.section-subtitle { margin: 9px 0 0; color: #999bac; font-size: 12px; }
.panel-card { overflow: hidden; padding: 23px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.panel-heading h2 { margin: 0; font-family: var(--display); font-size: 16px; letter-spacing: -.35px; }
.panel-heading p { margin: 4px 0 0; color: #8f91a2; font-size: 10px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 11px 12px; border-bottom: 1px solid var(--line); color: #818395; font-size: 9px; font-weight: 600; letter-spacing: .55px; text-transform: uppercase; white-space: nowrap; }
td { padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,.055); color: #d0d0dc; font-size: 11px; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.table-link { font-size: 10px; font-weight: 600; white-space: nowrap; }
.status { display: inline-block; padding: 4px 8px; border-radius: 20px; font-size: 9px; }
.status-pending { color: #f5cd85; background: rgba(245,205,133,.1); }
.status-processing { color: #bda8ff; background: rgba(165,139,255,.13); }
.status-completed { color: #91e2bf; background: rgba(129,227,188,.1); }
.status-cancelled { color: #ff9fab; background: rgba(255,128,143,.1); }
.status-paid { color: #91e2bf; background: rgba(129,227,188,.1); }
.status-unpaid { color: #ff9fab; background: rgba(255,128,143,.1); }
.status-refunded { color: #bda8ff; background: rgba(165,139,255,.13); }
.empty-state { padding: 32px 18px; color: #9395a7; text-align: center; }
.empty-state h3 { margin: 0 0 5px; color: #e9e9f1; font-family: var(--display); font-size: 16px; }
.empty-state p { margin: 0 0 15px; font-size: 11px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 17px; }
.stat-card { min-height: 132px; display: flex; flex-direction: column; justify-content: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, rgba(29,31,47,.96), rgba(23,25,39,.96)); }
.stat-card > span { color: #a1a2b3; font-size: 10px; }
.stat-card > strong { margin-top: 6px; font-family: var(--display); font-size: 26px; letter-spacing: -.8px; }
.stat-card > small { margin-top: 1px; color: #77798b; font-size: 9px; }
.stat-highlight { border-color: rgba(194,164,255,.23); background: linear-gradient(145deg, rgba(70,54,105,.45), rgba(27,28,44,.96)); }
.stat-highlight > strong { color: #c9b5ff; }
.admin-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.admin-links a { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; color: #d1d1dc; background: #171927; font-size: 11px; font-weight: 600; }
.admin-links a span { color: #c3aaff; }
.table-empty { color: #888a9b; text-align: center; }
.cell-sub { display: block; margin-top: 3px; color: #888a9b; font-size: 9px; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(240px, .75fr); align-items: start; gap: 16px; }
.order-total { display: flex; justify-content: space-between; padding: 17px 12px 7px; color: #a3a4b4; font-size: 11px; }
.order-total strong { color: #f5f4fa; font-family: var(--display); font-size: 16px; }
.order-grand-total { margin-top: 5px; border-top: 1px solid var(--line); }
.order-grand-total strong { color: #cbb8ff; }
.order-payment-method { padding-inline: 12px; }
.invoice-admin-link { display: inline-block; margin: 17px 12px 7px; }
.inline-form { display: flex; align-items: center; gap: 6px; }
.inline-form select { width: auto; min-height: 34px; padding: 5px 8px; font-size: 10px; }
.role-badge { color: #c1a9ff; font-size: 10px; }
.muted { color: #858799; font-size: 10px; }
.checkbox-label { grid-template-columns: auto 1fr; align-items: center; justify-content: start; }
.checkbox-label input { width: 15px; min-height: 15px; accent-color: #b59aff; }
.product-admin-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(270px, .8fr); align-items: start; gap: 16px; }
.form-cancel { justify-self: center; font-size: 11px; }
.table-actions { display: flex; align-items: center; gap: 12px; }
.admin-product-image { width: 58px; height: 45px; display: block; border-radius: 7px; object-fit: cover; background: #222438; }
.admin-image-preview { width: min(220px, 100%); height: 130px; }
.image-preview { display: grid; justify-items: start; gap: 9px; }
.category-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 22px; }
.category-chip { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: #b6b7c5; background: #171927; font-size: 10px; }
.category-chip:hover, .category-chip-active { border-color: rgba(190,164,255,.45); color: #e6dcff; background: rgba(165,139,255,.12); }
.rules-container { max-width: 860px; }
.rules-content { color: #c6c7d2; font-size: 14px; line-height: 2; white-space: normal; }
.settings-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .7fr); align-items: start; gap: 16px; }
.user-edit-form { min-width: 290px; display: grid; grid-template-columns: repeat(2, minmax(125px, 1fr)); gap: 10px; align-items: end; }
.user-edit-form label { display: grid; gap: 5px; color: #d5d5df; font-size: 10px; }
.user-edit-form input, .user-edit-form select { width: 100%; min-height: 36px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; outline: none; color: #f6f5fb; background: #121420; font-size: 10px; }
.user-edit-form label small { color: #858799; font-size: 9px; }
.user-edit-form .button { justify-self: start; }
.user-identity { display: flex; align-items: center; gap: 10px; white-space: normal; }
.avatar-small { width: 39px; height: 39px; flex-basis: 39px; }
.avatar-fallback { display: grid; place-items: center; color: #ddcbff; font-size: 15px; }
.balance-adjust-form { min-width: 180px; display: grid; gap: 8px; margin-top: 9px; }
.balance-adjust-form label { display: grid; gap: 4px; color: #a7a8b7; font-size: 9px; white-space: normal; }
.balance-adjust-form input { width: 100%; min-height: 34px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; outline: none; color: #f6f5fb; background: #121420; font-size: 10px; }
.delete-link { color: #ff9fab; padding: 0; border: 0; cursor: pointer; background: transparent; font-size: 10px; font-weight: 600; }
.delete-link:hover { color: #ffd1d7; }
.button-danger { color: #ffccd2; border-color: rgba(255,128,143,.28); background: rgba(255,128,143,.09); }
.order-heading-actions { display: flex; align-items: center; gap: 16px; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(275px, .75fr); align-items: start; gap: 16px; }
.account-main, .account-side { display: grid; gap: 16px; }
.wallet-card { border-color: rgba(194,164,255,.2); background: radial-gradient(ellipse at 90% 15%, rgba(163,139,255,.16), transparent 40%), linear-gradient(145deg, rgba(29,31,47,.96), rgba(23,25,39,.96)); }
.wallet-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.wallet-heading h2 { margin: 4px 0 1px; color: #e6dcff; font-family: var(--display); font-size: 30px; letter-spacing: -.8px; }
.wallet-heading p { margin: 0; color: #999bac; font-size: 10px; }
.wallet-mark { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(210,190,255,.22); border-radius: 17px; color: #decfff; background: rgba(165,139,255,.12); font-family: var(--display); font-size: 23px; font-weight: 700; }
.wallet-empty { padding-block: 12px; }
.amount-positive { color: #91e2bf; }
.amount-negative { color: #ff9fab; }
.avatar-editor { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.avatar-editor > div:last-child strong, .avatar-editor > div:last-child small { display: block; }
.avatar-editor > div:last-child strong { font-size: 12px; }
.avatar-editor > div:last-child small { margin-top: 3px; color: #858799; font-size: 9px; }
.avatar-large { width: 58px; height: 58px; display: grid; flex: 0 0 58px; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; color: #ddcbff; background: #282a3a; font-size: 22px; }
.avatar-large img { width: 100%; height: 100%; object-fit: cover; }
.password-link { display: inline-block; margin-top: 17px; color: #c3aaff; font-size: 10px; font-weight: 600; }
.account-details h2 { margin: 0 0 14px; font-family: var(--display); font-size: 14px; }
.account-details p { display: flex; flex-direction: column; gap: 3px; margin: 0; padding-block: 10px; border-top: 1px solid var(--line); }
.account-details p span { color: #858799; font-size: 9px; }
.account-details p strong { overflow-wrap: anywhere; color: #d3d3de; font-size: 10px; }
.invoice-container { max-width: 820px; }
.invoice-actions { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.text-link { font-size: 11px; font-weight: 600; }
.invoice { padding: 45px; border: 1px solid var(--line); border-radius: 16px; background: #191b29; }
.invoice-top { display: flex; justify-content: space-between; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.invoice-subtitle { margin: 8px 0 0; color: #8d8fa0; font-size: 10px; }
.invoice-number { display: grid; align-content: start; gap: 3px; text-align: right; }
.invoice-number span, .invoice-info small { color: #858799; font-size: 9px; letter-spacing: .8px; }
.invoice-number strong { font-family: var(--display); font-size: 21px; }
.invoice-info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 25px 0; }
.invoice-info div { display: grid; gap: 4px; }
.invoice-info strong { font-size: 12px; }
.invoice-info span { color: #999bac; font-size: 10px; }
.invoice-total { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 12px; color: #a2a3b2; font-size: 10px; }
.invoice-total strong { color: #f6f5fb; font-family: var(--display); font-size: 17px; }
.invoice-disclaimer { margin: 12px 0 0; padding-top: 15px; border-top: 1px solid var(--line); color: #77798b; font-size: 9px; }
.public-page-content { color: #c3c4d1; font-size: 14px; line-height: 1.9; white-space: pre-wrap; }
.public-page-content p { margin-block: 0 1.2em; }
.form-help { color: #858799; font-size: 11px; }
.promo-form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-top: 14px; }
.promo-form label { flex: 1 1 180px; }
.voucher-code-output { overflow-wrap: anywhere; padding: 14px; border: 1px dashed rgba(194,164,255,.4); border-radius: 10px; color: #e6dcff; background: rgba(165,139,255,.08); font-family: monospace; font-size: 18px; letter-spacing: 1px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.maintenance-banner { margin-bottom: 18px; padding: 12px 16px; border: 1px solid rgba(255,196,107,.25); border-radius: 10px; color: #ffcf82; background: rgba(255,196,107,.08); }

@media (max-width: 900px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-grid { grid-template-columns: 1fr .9fr; }
    .floating-card { min-width: 185px; }
    .card-video { left: -5px; }
    .card-ai { right: -10px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
    .container { width: min(100% - 32px, 500px); }
    .nav-wrap { height: 65px; gap: 10px; }
    .brand { font-size: 17px; }
    .brand:not(.brand-footer) { font-size: 13px; letter-spacing: -.4px; }
    .brand-mark { width: 25px; height: 25px; font-size: 16px; }
    .main-nav { gap: 12px; }
    .main-nav a { font-size: 10px; }
    .main-nav a:first-child { display: none; }
    .nav-actions { gap: 9px; }
    .nav-login, .nav-greeting { display: none; }
    .nav-actions .button { min-height: 34px; padding-inline: 10px; font-size: 10px; }
    .hero-grid { grid-template-columns: 1fr; gap: 4px; padding-block: 65px 24px; }
    .hero h1 { max-width: 430px; font-size: clamp(41px, 11vw, 55px); letter-spacing: -2.7px; }
    .hero-copy > p { max-width: 440px; font-size: 13px; }
    .hero-art { height: 330px; margin-top: 3px; }
    .orbit-one { width: 320px; height: 200px; }
    .orbit-two { width: 280px; height: 320px; }
    .hero-center { width: 90px; height: 90px; border-radius: 27px; font-size: 50px; }
    .floating-card { min-width: 180px; padding: 10px 12px; }
    .card-video { top: 19px; left: 0; }
    .card-ai { top: 128px; right: 0; }
    .card-stream { bottom: 43px; left: 0; }
    .art-caption { bottom: 2px; right: 0; }
    .benefit-row { min-height: 0; grid-template-columns: 1fr; padding-block: 12px; }
    .benefit, .benefit:first-child { min-height: 59px; padding-left: 2px; border: 0; border-bottom: 1px solid var(--line); }
    .benefit:last-child { border-bottom: 0; }
    .benefit > span { width: 22px; }
    .catalog-section, .page-section { padding-block: 53px 65px; }
    .section-heading { align-items: start; flex-direction: column; gap: 12px; }
    .section-heading h1, .section-heading h2 { font-size: 31px; }
    .section-heading > p { font-size: 11px; }
    .product-grid { gap: 10px; }
    .product-card { min-height: 265px; padding: 14px 12px; }
    .product-image, .product-image-placeholder { height: 126px; }
    .product-card h3 { font-size: 13px; }
    .product-card > p { font-size: 10px; }
    .product-bottom { align-items: end; }
    .product-bottom strong { font-size: 14px; }
    .product-bottom .button { padding-inline: 9px; font-size: 10px; }
    .product-badge { font-size: 8px; }
    .footer-inner { min-height: 115px; }
    .footer-inner p { font-size: 10px; }
    .auth-section { min-height: calc(100vh - 180px); padding: 36px 16px 55px; }
    .auth-card { padding: 27px 22px; }
    .panel-card { padding: 16px 12px; }
    .stats-grid { gap: 9px; }
    .stat-card { min-height: 108px; padding: 13px; }
    .stat-card > strong { font-size: 22px; }
    .admin-links { grid-template-columns: 1fr; gap: 8px; }
    .order-layout, .product-admin-layout, .settings-layout { grid-template-columns: 1fr; }
    .account-grid { grid-template-columns: 1fr; }
    .order-heading-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
    .user-edit-form { min-width: 260px; }
    .invoice { padding: 22px 14px; }
    .invoice-info { gap: 12px; }
    .invoice-actions .button { padding-inline: 10px; font-size: 10px; }
}
@media print {
    :root { color-scheme: light; }
    body { color: #15151b; background: #fff; }
    .site-header, .site-footer, .invoice-actions, .alert { display: none !important; }
    .page-section { min-height: 0; padding: 0; }
    .invoice-container { width: 100%; max-width: none; }
    .invoice { padding: 24px; border: 0; color: #15151b; background: #fff; }
    .invoice-info span, .invoice-subtitle, .invoice-total, .invoice-disclaimer { color: #555; }
    .invoice-number span, .invoice-info small, th { color: #666; }
    td, .invoice-info strong, .invoice-total strong, .invoice-number strong { color: #15151b; }
}
