:root {
    --bg: #0a0d12;
    --bg-elev: #11161d;
    --bg-card: #161c25;
    --fg: #e6ecf3;
    --fg-muted: #8c98a8;
    --accent: #ff5a1f;
    --accent-dim: #c1431b;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --max: 1120px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    background: var(--bg);
    color: var(--fg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: var(--accent);
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    line-height: 1.1;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }

code {
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    background: rgba(255, 255, 255, 0.06);
    padding: .15rem .45rem;
    border-radius: 4px;
    font-size: .9em;
}

.accent { color: var(--accent); }

/* Nav */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 13, 18, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-weight: 700;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: #000;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .5px;
}

.brand-text {
    font-size: 1.05rem;
    letter-spacing: .5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: .95rem;
}

.nav-links a {
    color: var(--fg-muted);
}

.nav-links a:hover {
    color: var(--fg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: .75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .3px;
    text-transform: uppercase;
    transition: all .2s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: #0a0d12;
}

.btn-primary:hover {
    background: var(--accent-dim);
    color: #fff;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--fg);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-ghost {
    background: transparent;
    padding: .5rem 1rem;
    font-size: .85rem;
    border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Hero */
.hero {
    position: relative;
    padding: 6rem 1.5rem 8rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(255, 90, 31, 0.15), transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 90, 31, 0.08), transparent 60%),
        linear-gradient(180deg, #0a0d12 0%, #11161d 100%);
    z-index: -1;
}

.hero-inner {
    max-width: var(--max);
    margin: 0 auto;
    text-align: center;
}

.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.lede {
    font-size: 1.15rem;
    color: var(--fg-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 5rem 1.5rem;
    border-top: 1px solid var(--border);
}

.section-dark {
    background: var(--bg-elev);
}

.section-inner {
    max-width: var(--max);
    margin: 0 auto;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.two-col p {
    color: var(--fg-muted);
    margin-bottom: 1rem;
}

@media (max-width: 800px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Stat grid */
.stat-grid {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-grid li {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.stat-grid strong {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--accent);
    letter-spacing: 1px;
}

.stat-grid span {
    color: var(--fg-muted);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Steps */
.steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 780px;
    margin-top: 2rem;
}

.steps li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 50%;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

.steps p {
    color: var(--fg-muted);
    margin-bottom: 1rem;
}

.step-content {
    flex: 1;
    min-width: 0;
}

.discord-embed {
    margin: 1rem 0 1.25rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    max-width: 350px;
}

.discord-embed iframe {
    display: block;
    width: 100%;
    height: 500px;
    background: #2f3136;
}

@media (max-width: 600px) {
    .discord-embed { max-width: 100%; }
    .discord-embed iframe { height: 420px; }
}

/* Server card */
.server-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .5rem 1.5rem;
    margin-top: 1rem;
    max-width: 780px;
}

.server-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
    flex-wrap: wrap;
}

.server-row:last-child {
    border-bottom: none;
}

.server-row .label {
    color: var(--fg-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: .8rem;
    font-weight: 600;
}

.muted {
    color: var(--fg-muted);
    margin-top: 2rem;
    font-size: .95rem;
}

.muted-small {
    color: var(--fg-muted);
    font-size: .85rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 1.5rem;
    background: var(--bg-elev);
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--fg-muted);
    font-size: .9rem;
}

@media (max-width: 600px) {
    .nav-links { gap: .75rem; }
    .nav-links a:not(.btn) { display: none; }
    .hero { padding: 4rem 1.5rem 6rem; }
    .section { padding: 3.5rem 1.5rem; }
}
