:root {
    --bg: #080b11;
    --bg-soft: #0e131d;
    --panel: #121925;
    --panel-strong: #171f2d;
    --line: rgba(255, 255, 255, .09);
    --text: #f5f2e9;
    --muted: #9da8b8;
    --gold: #d6ad55;
    --gold-light: #f0d58d;
    --blue: #60b7e8;
    --green: #54d6a4;
    --danger: #e77c7c;
    --radius: 18px;
    --shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; line-height: 1.65; }
a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; background: white; color: black; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 11, 17, .88); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(214, 173, 85, .5); border-radius: 50%; color: var(--gold-light); font: 700 13px Cinzel, serif; background: radial-gradient(circle, rgba(214, 173, 85, .16), transparent 68%); }
.brand strong { display: block; color: var(--gold-light); font: 700 17px Cinzel, serif; letter-spacing: .16em; }
.brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a:not(.button) { color: #c6ced9; font-size: 14px; font-weight: 600; text-decoration: none; transition: color .2s; }
.nav-links > a:hover { color: white; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.nav-toggle span { display: block; width: 19px; height: 1px; margin: 5px auto; background: var(--gold-light); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 23px; border: 1px solid transparent; border-radius: 11px; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s, border-color .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #17130a; background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 12px 34px rgba(214, 173, 85, .16); }
.button-secondary, .button-ghost { color: var(--text); border-color: var(--line); background: rgba(255, 255, 255, .035); }
.button-secondary:hover, .button-ghost:hover { border-color: rgba(214, 173, 85, .45); }
.button-small { min-height: 42px; padding-inline: 17px; }
.button-wide { width: 100%; }

.hero { position: relative; min-height: 700px; display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 20% 20%, rgba(65, 111, 159, .17), transparent 32%), linear-gradient(180deg, #0b1019 0%, #080b11 100%); }
.hero::after { content: ''; position: absolute; inset: 0; opacity: .16; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.hero-orbit { position: absolute; border: 1px solid rgba(214, 173, 85, .11); border-radius: 50%; }
.hero-orbit-one { width: 620px; height: 620px; right: -170px; top: 20px; }
.hero-orbit-two { width: 430px; height: 430px; right: -75px; top: 115px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); align-items: center; gap: 80px; padding-block: 95px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--gold-light); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(84, 214, 164, .08); }
h1, h2, h3 { line-height: 1.15; }
.hero h1 { margin: 22px 0 25px; max-width: 760px; font: 700 clamp(52px, 7vw, 88px) Cinzel, serif; letter-spacing: -.045em; }
.hero h1 span { color: var(--gold-light); }
.hero-lead { max-width: 680px; margin: 0; color: #b1bbc9; font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 35px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 42px; }
.hero-meta span { padding-left: 16px; border-left: 1px solid var(--line); }
.hero-meta b, .hero-meta small { display: block; }
.hero-meta b { font-size: 14px; }
.hero-meta small { color: var(--muted); font-size: 11px; }
.hero-panel { padding: 32px; border: 1px solid rgba(214, 173, 85, .2); border-radius: 22px; background: linear-gradient(145deg, rgba(26, 35, 50, .96), rgba(13, 18, 28, .96)); box-shadow: var(--shadow); }
.panel-top, .realm-head, .news-meta, .file-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.server-kicker, .realm-head > div > span, .file-label { color: var(--gold-light); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.is-online { color: var(--green); background: rgba(84, 214, 164, .1); }
.is-offline { color: var(--danger); background: rgba(231, 124, 124, .1); }
.is-soon { color: var(--gold-light); background: rgba(214, 173, 85, .1); }
.hero-panel h2 { margin: 30px 0 10px; font: 700 32px Cinzel, serif; }
.hero-panel > p { color: var(--muted); }
.quick-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 28px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.quick-stats div { padding: 16px; background: #101620; }
.quick-stats dt { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.quick-stats dd { margin: 4px 0 0; color: var(--gold-light); font-weight: 700; }
.maintenance-note { margin-top: 18px; padding: 12px 14px; border-left: 3px solid var(--gold); background: rgba(214, 173, 85, .08); color: #d8d1c1; font-size: 13px; }

.section { padding-block: 105px; }
.section-tinted { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 42px; }
.section-heading h2, .download-grid h2, .registration h2 { margin: 10px 0 0; max-width: 720px; font: 700 clamp(32px, 4vw, 48px) Cinzel, serif; letter-spacing: -.025em; }
.section-heading > p { max-width: 430px; margin: 0; color: var(--muted); }
.server-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.realm-card { position: relative; overflow: hidden; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.realm-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--blue); }
.realm-classic::before { background: var(--gold); }
.realm-head h3 { margin: 6px 0 0; font: 700 28px Cinzel, serif; }
.realm-head h3 small { color: var(--muted); font: 600 14px Inter, sans-serif; }
.realm-card > p { min-height: 55px; color: var(--muted); }
.feature-list, .trust-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.feature-list li, .trust-list li { position: relative; padding-left: 22px; color: #cbd2dc; font-size: 14px; }
.feature-list li::before, .trust-list li::before { content: ''; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.realm-classic .feature-list li::before, .trust-list li::before { background: var(--gold); }
.rate-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.rate-row span { padding: 7px 10px; border-radius: 7px; background: rgba(255,255,255,.04); color: var(--muted); font-size: 11px; }
.rate-row b { color: white; }

.download-grid, .registration { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 90px; }
.download-grid > div:first-child > p, .registration-copy > p { max-width: 650px; color: var(--muted); font-size: 17px; }
.compact-steps { display: grid; gap: 0; margin: 35px 0 0; padding: 0; list-style: none; counter-reset: steps; }
.compact-steps li { display: grid; grid-template-columns: 32px 1fr; padding: 17px 0; border-bottom: 1px solid var(--line); }
.compact-steps li::before { counter-increment: steps; content: counter(steps, decimal-leading-zero); grid-row: span 2; color: var(--gold); font-size: 11px; font-weight: 700; }
.compact-steps b, .compact-steps span { grid-column: 2; }
.compact-steps span { color: var(--muted); font-size: 13px; }
.download-card, .form-card { padding: 36px; border: 1px solid rgba(214, 173, 85, .22); border-radius: 20px; background: linear-gradient(145deg, var(--panel-strong), #101620); box-shadow: var(--shadow); }
.download-card h3, .form-card h3 { margin: 12px 0 5px; font: 700 25px Cinzel, serif; }
.download-card > p { margin: 0 0 28px; color: var(--muted); font-size: 13px; }
.file-meta { margin: 14px 0 20px; color: var(--muted); font-size: 11px; }
.text-link { color: var(--gold-light); font-size: 13px; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.steps-grid, .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps-grid article, .news-card, .empty-state { padding: 28px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); }
.steps-grid article > span { color: var(--gold); font-size: 11px; font-weight: 700; }
.steps-grid h3 { margin: 26px 0 10px; font-size: 19px; }
.steps-grid p, .news-card p { margin: 0; color: var(--muted); font-size: 14px; }
.news-meta { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.news-meta span { color: var(--blue); font-weight: 700; }
.news-card h3 { min-height: 50px; margin: 24px 0 12px; font: 700 20px Cinzel, serif; }
.news-card details { margin-top: 22px; }
.news-card summary { color: var(--gold-light); font-size: 13px; font-weight: 700; cursor: pointer; }
.news-content { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: #bdc5d0; font-size: 13px; }

.registration { padding-block: 105px; }
.trust-list { margin-top: 28px; }
.form-card form, .form-card label { display: grid; gap: 8px; }
.form-card form { gap: 18px; margin-top: 26px; }
.form-card label { color: #d5dbe4; font-size: 12px; font-weight: 600; }
.form-card input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; outline: none; background: #0c111a; color: white; transition: border .2s, box-shadow .2s; }
.form-card input:focus { border-color: rgba(214, 173, 85, .7); box-shadow: 0 0 0 4px rgba(214, 173, 85, .08); }
.form-card small { color: var(--muted); font-weight: 400; }
.form-split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.form-message { margin-top: 18px; padding: 12px 14px; border-radius: 9px; font-size: 13px; }
.form-message.is-success { color: #baf2db; border: 1px solid rgba(84,214,164,.35); background: rgba(84,214,164,.08); }
.form-message.is-error { color: #fac1c1; border: 1px solid rgba(231,124,124,.35); background: rgba(231,124,124,.08); }
.hp-field { position: absolute !important; left: -10000px !important; }

.footer { padding: 36px 0; border-top: 1px solid var(--line); background: #06080c; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
.footer p { margin: 0; color: var(--muted); font-size: 12px; text-align: center; }
.footer > .shell > a { color: var(--muted); font-size: 12px; text-decoration: none; }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-links { position: absolute; top: 70px; left: 20px; right: 20px; display: none; align-items: stretch; flex-direction: column; gap: 4px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #101620; box-shadow: var(--shadow); }
    .nav-links.is-open { display: flex; }
    .nav-links a { padding: 11px; }
    .hero-grid, .download-grid, .registration { grid-template-columns: 1fr; gap: 52px; }
    .hero { min-height: auto; }
    .hero-grid { padding-block: 75px; }
    .server-grid { grid-template-columns: 1fr; }
    .section-heading { align-items: start; flex-direction: column; gap: 15px; }
    .steps-grid, .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; justify-items: center; }
}

@media (max-width: 560px) {
    .shell { width: min(100% - 28px, 1180px); }
    .nav { min-height: 68px; }
    .hero-grid, .section, .registration { padding-block: 68px; }
    .hero h1 { font-size: clamp(42px, 15vw, 62px); }
    .hero-lead { font-size: 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .hero-meta { gap: 20px; }
    .hero-panel, .realm-card, .download-card, .form-card { padding: 24px; }
    .quick-stats { grid-template-columns: 1fr 1fr; }
    .form-split { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
