:root {
    color-scheme: dark;
    --bg: #050505;
    --panel: #0f1117;
    --text: #f5f5f5;
    --muted: #b0b4bf;
    --accent: #ff2020;
    --border: rgba(255, 32, 32, 0.25);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

main {
    position: relative;
    z-index: 1;
}

.background {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, rgba(255, 32, 32, 0.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.02), transparent 18%);
    pointer-events: none;
    z-index: 0;
}

.navbar {
    position: relative;
    width: 100%;
    background: rgba(4, 5, 6, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 20;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 22px;
    align-items: center;
}

.navbar li {
    margin: 0;
}

.navbar a {
    color: #eee;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.navbar a:hover {
    color: var(--accent);
}

.logo {
    width: 140px;
    max-width: 100%;
    display: block;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 999px;
    background: rgba(255, 32, 32, 0.14);
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 32, 32, 0.24);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.discord-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 32, 32, 0.24);
}

.footer {
    padding: 24px 0;
    background: rgba(4, 5, 6, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #aaa;
}

.footer p {
    margin: 0;
    font-size: 0.95rem;
    text-align: center;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 0;
    background:
        radial-gradient(circle at top, rgba(255, 32, 32, 0.2), transparent 45%),
        radial-gradient(circle at center, rgba(120, 0, 0, 0.22), rgba(0, 0, 0, 0.95)),
        url("../img/background.jpg") center center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.72) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 860px;
    padding: 30px 0;
}

.hero-logo {
    width: 420px;
    max-width: 80%;
    margin: 0 auto 26px;
    display: block;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35));
}

.hero-mini {
    display: inline-block;
    margin: 0 0 18px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: #d6d6d6;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.04);
}

.hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    font-weight: 900;
    color: white;
    line-height: 1.05;
    margin: 0 0 18px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-description {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.75;
}

.hero-buttons {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-red,
.btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
}

.btn-red {
    background: linear-gradient(135deg, #ff2020 0%, #c20d0d 100%);
    color: white;
    box-shadow: 0 12px 30px rgba(255, 32, 32, 0.25);
}

.btn-dark {
    background: rgba(255, 255, 255, 0.06);
    color: #f3f3f3;
    border-color: rgba(255, 255, 255, 0.14);
}

.btn-red:hover,
.btn-dark:hover {
    transform: translateY(-2px);
}

.stats {
    background: linear-gradient(180deg, #060606 0%, #0b0d12 100%);
    padding: 80px 0 96px;
}

.stats-header {
    max-width: 720px;
    margin: 0 auto 32px;
    text-align: center;
}

.stats-eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.stats-header h3 {
    font-size: 1.9rem;
    margin: 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.stat {
    background: linear-gradient(145deg, rgba(17, 21, 29, 0.95), rgba(10, 12, 17, 0.95));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 22px;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.stat:hover {
    transform: translateY(-6px);
    border-color: #ff1b1b;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.16);
}

.stat h2 {
    color: white;
    font-size: 2.1rem;
    margin: 0 0 8px;
}

.stat p {
    color: var(--muted);
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-logo {
        width: 260px;
    }

    .hero-content {
        padding: 18px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-red,
    .btn-dark {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-header h3 {
        font-size: 1.45rem;
    }
}