:root {
    --bg: #0b0b0d;
    --surface: #131316;
    --surface-2: #19191d;
    --border: rgba(255, 255, 255, 0.09);
    --text: #f5f5f5;
    --muted: #a6a6ad;
    --red: #e31e32;
    --red-dark: #a90f20;
    --white: #ffffff;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 75% 10%, rgba(227, 30, 50, 0.12), transparent 28rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 11, 13, 0.86);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 26px;
    color: var(--muted);
    font-size: 0.92rem;
}

.main-nav a:hover {
    color: var(--white);
}

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(3rem, 7vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

h1 span {
    color: var(--red);
}

.hero-text {
    max-width: 600px;
    color: var(--muted);
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 10px;
    font-weight: 750;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--red);
    color: white;
}

.button-primary:hover {
    background: #f02b3e;
}

.button-secondary {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.hero-logo {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 380px;
}

.hero-logo img {
    position: relative;
    width: min(360px, 80%);
    height: auto;
    filter: drop-shadow(0 25px 45px rgba(227, 30, 50, 0.22));
}

.logo-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(227, 30, 50, 0.12);
    filter: blur(60px);
}

.section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
}

.section-heading {
    max-width: 680px;
    margin-bottom: 42px;
}

.section-heading h2 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.035em;
}

.section-heading > p:last-child {
    color: var(--muted);
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.server-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 92px;
    padding: 18px;
    background: linear-gradient(145deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: 14px;
}

.server-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #ddd;
    font-size: 0.75rem;
    font-weight: 850;
}

.server-card h3 {
    margin-bottom: 2px;
    font-size: 1rem;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 0.82rem;
}

.status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #777;
}

.server-card[data-status="online"] {
    border-color: rgba(55, 210, 120, 0.24);
}

.server-card[data-status="online"] .status i {
    background: #35d278;
    box-shadow: 0 0 10px rgba(53, 210, 120, 0.7);
}

.server-card[data-status="online"] .status {
    color: #b9eecf;
}

.server-card[data-status="planned"] .status i {
    background: var(--red);
}

.server-card[data-status="planned"] .status {
    color: #ef9ca5;
}

.community-section {
    background: rgba(255, 255, 255, 0.015);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.community-card {
    min-height: 220px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(145deg, var(--surface), var(--surface-2));
}

.community-card:hover {
    border-color: rgba(227, 30, 50, 0.45);
}

.community-label {
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.community-card h3 {
    margin: 12px 0 8px;
    font-size: 1.35rem;
}

.community-card p {
    color: var(--muted);
}

.card-link,
.copy-button {
    color: var(--white);
    font: inherit;
    font-weight: 750;
}

.copy-button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.copy-button:hover {
    color: var(--red);
}

.copy-feedback {
    margin-left: 10px;
    color: #8bd7aa;
    font-size: 0.85rem;
}

.site-footer {
    padding: 28px 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 850px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero {
        min-height: auto;
    }

    .hero-logo {
        min-height: 280px;
    }

    .server-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 28px), var(--max-width));
    }

    .main-nav {
        display: none;
    }

    .hero-inner {
        padding: 60px 0;
    }

    .hero-logo img {
        width: 240px;
    }

    .section {
        padding: 70px 0;
    }

    .server-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
    }
}
