:root { color-scheme: dark; --page: #030407; --text: #f7f7f4; --muted: rgba(247,247,244,.45); --line: rgba(255,255,255,.08); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; margin: 0; padding-bottom: calc(87px + env(safe-area-inset-bottom,0px)); background: var(--page); color: var(--text); font-family: Inter,system-ui,sans-serif; -webkit-font-smoothing: antialiased; }
#site-content { display: contents; }
a { color: inherit; text-decoration: none; }
button,select,input { font: inherit; }
button { cursor: pointer; }
a:focus-visible,button:focus-visible { outline: 1px solid #424348; outline-offset: 3px; }
::selection { background: #632526; color: #fff; }
button,a,select { -webkit-tap-highlight-color: transparent; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.store-header { display: flex; flex-shrink: 0; height: 140px; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.brand-logo { display: block; width: 112px; height: 112px; object-fit: contain; }
.store-main { width: 100%; max-width: 1180px; flex-shrink: 0; margin: auto; padding: 34px 24px; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.product-card { padding: 34px; border: 1px solid var(--line); border-radius: 16px; background: #090a0d; }
.tier-vip { --accent: #e9c566; --gradient-low: #d2ac49; --gradient-high: #f7db83; }
.tier-premium { --accent: #eaaa70; --gradient-low: #cc8246; --gradient-high: #f4bd83; }
.tier-legend { --accent: #add47b; --gradient-low: #83af51; --gradient-high: #c3e797; }
h2 { margin: 0 0 20px; font-size: 24px; font-weight: 700; letter-spacing: -.4px; color: var(--accent); }
.period-select { position: relative; display: block; }
.period-select select { width: 100%; height: 46px; padding: 0 36px 0 14px; appearance: none; border: 1px solid var(--line); border-radius: 8px; background: #0d0e11; color: #d7d7d4; font-size: 13px; cursor: pointer; transition: background .15s,border-color .15s; }
.period-select select:hover { background: #131418; border-color: #2b2c30; }
.period-select select:focus { outline: none; box-shadow: none; border-color: #36373a; }
.period-select svg { position: absolute; right: 12px; top: 15px; width: 16px; height: 16px; pointer-events: none; color: var(--muted); }
.period-select option { background: #111216; color: #d7d7d4; }
@supports (appearance: base-select) {
    .period-select select,.period-select select::picker(select) { appearance: base-select; }
    .period-select select { align-items: center; }
    .period-select select::picker-icon { display: none; }
    .period-select select:open + svg { transform: rotate(180deg); }
    .period-select select::picker(select) { margin-top: 7px; padding: 5px; border: 1px solid #24252a; border-radius: 10px; background: #111216; color: #d7d7d4; box-shadow: 0 12px 28px rgba(0,0,0,.35); font-family: inherit; }
    .period-select option { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 10px; border: 0; border-radius: 6px; font-size: 13px; cursor: pointer; outline: none; }
    .period-select option:hover,.period-select option:focus-visible { background: #202126; }
    .period-select option:checked { background: #1b1c21; color: #f7f7f4; }
    .period-select option::checkmark { order: 1; margin-left: auto; color: #e34444; font-size: 12px; }
}
.product-days { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.product-price { margin: 34px 0 30px; font-size: 36px; font-weight: 600; letter-spacing: -.7px; }
.currency { margin-left: 6px; font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.details-button { width: 100%; height: 46px; border: 1px solid #25262b; border-radius: 8px; background: #141519; color: var(--text); font-size: 13px; font-weight: 500; transition: background .15s,border-color .15s; }
.details-button:hover { background: #1d1e23; border-color: #36373d; }
.details-button:active { background: #101115; }
.store-note { margin: 24px 0 0; text-align: center; font-size: 11px; line-height: 1.8; color: var(--muted); }
code { padding: 2px 6px; border-radius: 4px; background: rgba(227,68,68,.07); color: #e34444; font: inherit; }
.store-footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 22px 0 calc(28px + env(safe-area-inset-bottom,0px)); border-top: 1px solid var(--line); background: var(--page); }
.social-links { display: flex; justify-content: center; gap: 22px; }
.social-link { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; color: #9b9c9f; transition: color .15s,background .15s; }
.social-link:hover { background: #131418; color: #f7f7f4; }
.social-link svg { width: 21px; height: 21px; }
.sidebar-documents-link { position:absolute; left:24px; top:32px; display:inline-flex; align-items:center; min-height:20px; border-radius:8px; color:rgba(247,247,244,.36); font-size:12px; font-weight:800; line-height:1.1; text-decoration:none; transition:color 180ms ease,transform 180ms ease; }
.sidebar-documents-link:hover { color:rgba(247,247,244,.62); transform:translateY(-1px); }
@media(max-width:420px) { .sidebar-documents-link { left:16px; } .store-footer .social-links { justify-content:flex-end; gap:10px; padding-right:12px; } }
.dialog-open { overflow: hidden; }
.product-dialog { width: min(680px,calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: #090a0d; color: var(--text); }
.product-dialog::backdrop { background: rgba(0,0,0,.8); }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 1; width: 30px; height: 30px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 6px; background: #090a0d; color: #b0b0b2; }
.dialog-close svg { width: 18px; height: 18px; }
.dialog-close:hover { background: #202126; color: #f7f7f4; }
.dialog-scroll { padding: 28px; max-height: calc(100dvh - 34px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #35363c transparent; }
.dialog-scroll::-webkit-scrollbar { width: 6px; }
.dialog-scroll::-webkit-scrollbar-track { background: transparent; }
.dialog-scroll::-webkit-scrollbar-thumb { border-radius: 6px; background: #35363c; }
.benefit-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: #d0d0d3; font-size: 14px; line-height: 1.55; }
.benefit-list li { overflow-wrap: anywhere; }
.dialog-purchase { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.dialog-checkout-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
.dialog-price { margin: 0; font-size: 18px; font-weight: 500; }
.dialog-price [data-currency-label] { font-size: 21px; color: var(--muted); }
.purchase-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 0 24px; border: 1px solid #a83232; border-radius: 8px; background: #bd3535; color: #fff; font-size: 14px; font-weight: 600; transition: background .15s,border-color .15s; }
.purchase-button:hover { background: #d13d3d; border-color: #d13d3d; }
.purchase-button:disabled { cursor: wait; opacity: .6; }
.checkout-dialog { width: min(560px,calc(100% - 32px)); }
.checkout-dialog h2 { margin-bottom: 10px; padding-right: 24px; color: var(--text); line-height: 1.35; }
.purchase-context { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; color: #b5b6bc; font-size: 14px; line-height: 1.5; }
.purchase-context .tier-name { font-weight: 600; }
.recipient-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.recipient-choice .details-button { height: 44px; font-size: 14px; }
.friend-label { display: block; margin-bottom: 8px; color: #d7d7da; font-size: 14px; }
.friend-input { width: 100%; min-height: 46px; padding: 12px 14px; border: 1px solid #2b2c31; border-radius: 8px; background: #111216; color: var(--text); font-size: 14px; }
.friend-input:focus { outline: none; border-color: #52535a; }
.friend-input::placeholder { color: #92939b; }
.friend-input[aria-invalid="true"] { border-color: #a83232; }
.friend-examples { margin: 12px 0 18px; color: #a9aab1; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.friend-examples p { margin: 0 0 6px; }
.friend-examples ul { margin: 0; padding: 0; list-style: none; }
.friend-examples li { padding: 2px 0; }
.friend-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.text-button { padding: 8px 0; border: 0; background: transparent; color: #b7b8bf; font-size: 14px; }
.text-button:hover { color: var(--text); }
.purchase-error { margin: 14px 0 0; color: #e34444; font-size: 14px; line-height: 1.5; }
.recipient-result { display: grid; gap: 8px; margin-bottom: 16px; color: #c5c6cc; font-size: 14px; }
.recipient-result a { color: #e34444; overflow-wrap: anywhere; }
.recipient-result a:hover { text-decoration: underline; }
.product-title { height: 46px; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 28px; font-size: 32px; }
.tier-name { display: inline-block; background: linear-gradient(110deg,var(--gradient-low) 0%,var(--accent) 25%,var(--gradient-high) 50%,var(--accent) 75%,var(--gradient-low) 100%); background-size: 250% 100%; background-clip: text; -webkit-background-clip: text; color: transparent; animation: tier-gradient 6s ease-in-out infinite; }
@keyframes tier-gradient { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .tier-name { animation: none; } }
@media (max-width: 800px) {
    .store-header { height: 124px; }
    .brand-logo { width: 104px; height: 104px; }
    .store-main { padding: 30px 20px; }
    .product-grid { grid-template-columns: minmax(0,1fr); gap: 14px; }
    .product-card { padding: 24px; }
    .product-card h2 { margin-bottom: 20px; font-size: 28px; }
    .product-price { margin-top: 22px; }
    .dialog-scroll { padding: 22px 20px; }
}
.currency-selector { display:flex; justify-content:flex-end; align-items:center; gap:10px; margin:0 2px 18px; color:#65666b; font-size:20px; }
.currency-selector button { background:none; border:0; padding:3px 5px; color:#fff; opacity:.4; font:500 24px/1.2 Inter,Arial,sans-serif; cursor:pointer; transition:opacity .2s; }
.currency-selector button[aria-pressed="true"], .currency-selector button:hover { opacity:1; }
.currency-selector button:focus-visible { outline:1px solid #b93232; outline-offset:3px; border-radius:3px; }
.purchase-button:disabled { opacity:.45; cursor:default; }
.checkout-consents { display:grid; gap:10px; margin:0 0 22px; color:#b8b9bd; font-size:13px; line-height:1.55; }
.checkout-consents label { display:flex; align-items:flex-start; gap:10px; cursor:pointer; }
.checkout-consents input { appearance:none; flex:0 0 17px; width:17px; height:17px; margin:2px 0 0; border:1px solid #494a4e; border-radius:4px; background:#111216; cursor:pointer; }
.checkout-consents input:checked { border-color:#b93232; background:#b93232; box-shadow:inset 0 0 0 3px #111216; }
.checkout-consents input:focus-visible { outline:1px solid #b93232; outline-offset:3px; }
.checkout-consents a { color:#e6e6e8; text-underline-offset:3px; }
.checkout-consents[hidden] { display:none; }
.store-tabs { display: flex; align-self: center; gap: 28px; max-width: calc(100% - 32px); margin: 20px auto 0; }
.store-tabs button { min-height: 38px; padding: 0; border: 0; background: transparent; color: #65666b; font-size: 12px; font-weight: 400; letter-spacing: .5px; transition: color .15s; }
.store-tabs button:hover { color: #eee; }
.store-tabs button[aria-selected="true"] { color: #fff; }
.server-setup h1 { margin: 0 0 34px; text-align: center; color: #f7f7f4; font-size: clamp(23px, 3vw, 32px); font-weight: 600; letter-spacing: -.7px; }
.setup-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.setup-card { min-height: 360px; padding: 26px 28px 32px; border: 1px solid var(--line); border-radius: 16px; background: #090a0d; }
.setup-visual { width: 100%; height: 200px; margin: 0 0 26px; color: #bfc0c5; stroke-width: 1.4; }
.setup-visual .visual-faint { stroke: #3b3c44; }
.setup-visual .visual-accent { stroke: #e34444; }
.setup-visual .visual-knob { fill: #090a0d; stroke: #e34444; }
.setup-visual .visual-label { fill: #bfc0c5; stroke: none; font: 500 13px Inter, sans-serif; letter-spacing: 2px; }
.setup-card h2 { margin: 0 0 14px; color: #eee; font-size: 15px; font-weight: 600; line-height: 1.5; letter-spacing: .1px; }
.setup-card p { margin: 0; color: #92939b; font-size: 14px; line-height: 1.75; }
.setup-contact { margin-top: 30px; text-align: center; }
.setup-contact p { margin: 0 0 14px; color: #92939b; font-size: 13px; line-height: 1.6; }
.setup-contact-link { display: inline-flex; align-items: center; gap: 16px; padding: 15px 20px; border: 1px solid #303138; border-radius: 12px; background: #101115; text-align: left; transition: background .15s, border-color .15s; }
.setup-contact-link:hover { background: #191a20; border-color: #55565e; }
.setup-contact-link > svg { width: 25px; height: 25px; color: #c9c9ce; flex-shrink: 0; }
.setup-contact-link > span { display: grid; gap: 5px; }
.setup-contact-link strong { color: #eee; font-size: 14px; font-weight: 500; }
.setup-contact-link span span { color: #92939b; font-size: 12px; }
.setup-contact-link > .contact-arrow { width: 17px; height: 17px; margin-left: 18px; color: #72737b; }
@media (min-width: 801px) {
    .setup-card h2 { min-height: 3em; }
}
@media (min-width: 801px) and (max-height: 960px) {
    .store-header { height: clamp(90px, 13vh, 110px); }
    .brand-logo { width: 88px; height: 88px; }
    .store-main { padding: 20px 24px; }
    .server-setup h1 { margin-bottom: 22px; font-size: 28px; }
    .setup-card { min-height: 0; padding: 22px 24px; }
    .setup-visual { height: clamp(100px, 16vh, 144px); margin-bottom: 16px; }
    .setup-contact { margin-top: 20px; }
    .setup-contact p { margin-bottom: 10px; }
    .setup-contact-link { padding: 12px 18px; }
}
@media (min-width: 801px) and (max-height: 740px) {
    .store-header { height: 80px; }
    .brand-logo { width: 72px; height: 72px; }
    .store-tabs { margin-top: 14px; }
    .store-main { padding-top: 16px; padding-bottom: 16px; }
    .server-setup h1 { margin-bottom: 18px; font-size: 24px; }
    .setup-card { padding: 18px 22px; }
    .setup-visual { height: 96px; margin-bottom: 12px; }
    .setup-card h2 { margin-bottom: 12px; font-size: 14px; }
    .setup-card p { font-size: 13px; line-height: 1.6; }
    .setup-contact { margin-top: 18px; }
    .setup-contact p { margin-bottom: 8px; }
}
@media (min-width: 801px) and (max-width: 1000px) and (max-height: 960px) {
    .setup-visual { height: 96px; }
}
@media (min-width: 801px) and (max-width: 1000px) and (max-height: 740px) {
    .setup-visual { height: 72px; }
}
@media (max-width: 800px) {
    .store-tabs { margin-top: 18px; }
    .store-tabs button { font-size: 11px; }
    .setup-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .setup-card { min-height: 0; padding: 22px 24px 26px; }
    .setup-visual { height: 170px; margin-bottom: 14px; }
    .server-setup h1 { margin-bottom: 24px; }
}
