:root {
    color-scheme: dark;
    --bg: #05060d;
    --surface: rgba(12, 14, 24, 0.92);
    --surface-strong: rgba(20, 24, 41, 0.95);
    --surface-soft: rgba(255, 255, 255, 0.04);
    --accent: #f6b745;
    --accent-strong: #ffd474;
    --text: #f4f4f8;
    --muted: #abb3c6;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top left, rgba(246, 183, 69, 0.14), transparent 22%),
                radial-gradient(circle at bottom right, rgba(61, 180, 246, 0.08), transparent 20%),
                linear-gradient(180deg, #060710 0%, #090c15 100%);
    color: var(--text);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1140px, calc(100% - 2rem));
    margin: 0 auto;
}

.header-inner,
.hero-grid,
.server-grid,
.feature-grid,
.rules-grid,
.team-grid,
.footer-inner {
    display: grid;
    gap: 1.5rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(5, 7, 16, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 0.9rem 0;
}

.logo-holder {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-logo {
    width: min(220px, 100%);
    height: auto;
    display: block;
}

.brand {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    letter-spacing: 0.35rem;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 1.6rem;
    cursor: pointer;
}

.site-nav {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
    transform: translateY(-1px);
}

.hero {
    padding: 4rem 0 3rem;
    position: relative;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.hero::before {
    width: 340px;
    height: 340px;
    top: -80px;
    left: -50px;
    background: rgba(246, 183, 69, 0.16);
}

.hero::after {
    width: 420px;
    height: 420px;
    right: -80px;
    bottom: -120px;
    background: rgba(61, 180, 246, 0.12);
}

.hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-copy {
    display: grid;
    gap: 1.5rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.95rem;
    background: rgba(246, 183, 69, 0.12);
    border: 1px solid rgba(246, 183, 69, 0.22);
    border-radius: 999px;
    color: var(--accent);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.hero h1,
.section-heading h2 {
    margin: 0;
    line-height: 1.05;
    font-size: clamp(3rem, 5vw, 4.75rem);
    letter-spacing: -0.05em;
}

.hero h1 {
    background: linear-gradient(90deg, #f6b745, #f8d976 55%, #ffffff 95%);
    -webkit-background-clip: text;
    color: transparent;
}

.hero p,
.feature-card p,
.server-info p,
.rule-card p,
.team-card p,
.server-card-large p {
    max-width: 42rem;
    line-height: 1.8;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 42rem;
    color: #dcdfe8;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(246, 183, 69, 0.14);
    border: 1px solid rgba(246, 183, 69, 0.2);
    color: var(--accent);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.primary {
    background: linear-gradient(135deg, #f6b745, #ffd56f);
    color: #0d1018;
    box-shadow: 0 18px 40px rgba(246, 183, 69, 0.24);
}

.secondary {
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.server-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    padding: 1.35rem 1.5rem;
    border-radius: 1.5rem;
    display: grid;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.server-card code {
    background: rgba(255, 255, 255, 0.06);
    padding: 0.3rem 0.65rem;
    border-radius: 0.85rem;
    color: var(--text);
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 360px;
    object-fit: cover;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.section {
    padding: 4rem 0;
}

.section-heading {
    display: grid;
    gap: 0.95rem;
    margin-bottom: 2rem;
}

.section-heading::after {
    content: '';
    width: 90px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(246, 183, 69, 1), rgba(246, 183, 69, 0.2));
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

.feature-grid,
.rules-grid,
.team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid {
    gap: 1.5rem;
}

.feature-card,
.rule-card,
.team-card,
.server-card-large,
.server-info {
    padding: 1.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.75rem;
    box-shadow: rgba(0, 0, 0, 0.14) 0 25px 65px -35px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.feature-card:hover,
.rule-card:hover,
.team-card:hover,
.server-card-large:hover,
.server-info:hover {
    transform: translateY(-4px);
    border-color: rgba(246, 183, 69, 0.32);
    background: rgba(255, 255, 255, 0.08);
}

.feature-card h3,
.rule-card h3,
.team-card h3,
.server-card-large h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

.server-section .server-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
}

.server-info .info-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.75rem;
}

.server-info .info-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.85rem;
}

.server-card-large {
    display: grid;
    gap: 1.25rem;
    background: linear-gradient(180deg, rgba(246, 183, 69, 0.07), rgba(255, 255, 255, 0.02));
}

.server-card-large h3 {
    color: #ffe8b7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.stats-grid div {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(246, 183, 69, 0.12);
    text-align: center;
}

.stats-grid span {
    display: block;
    font-size: 2rem;
    color: var(--accent);
    font-weight: 700;
}

.rules-grid,
.team-grid {
    gap: 1.5rem;
}

.rule-card,
.team-card {
    min-height: 10rem;
    position: relative;
}

.rule-card::before,
.team-card::before {
    content: '';
    position: absolute;
    top: 1.45rem;
    left: 1.45rem;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--accent);
}

.rule-card {
    padding-left: 2.3rem;
}

.team-card {
    padding-left: 2.3rem;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(11, 13, 20, 0.92);
    padding: 2rem 0;
}

.footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
}

.footer-inner p {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 900px) {
    .header-inner,
    .server-grid,
    .hero-grid,
    .feature-grid,
    .rules-grid,
    .team-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 3rem;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 720px) {
    .header-inner {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .site-nav {
        position: absolute;
        inset: 100% auto auto 0;
        width: 100%;
        margin-top: 0.5rem;
        padding: 1rem;
        background: rgba(9, 10, 15, 0.96);
        border-radius: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-1rem);
        transition: all 0.25s ease;
    }

    .site-nav.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav a {
        width: 100%;
        padding: 0.85rem 0;
    }
}
