/* ================================
   SILVERSERVER
   Main Stylesheet
================================ */

:root {
    --background: #08090c;
    --surface: #111318;
    --surface-light: #181b22;

    --text: #f5f5f5;
    --text-muted: #9297a3;

    --accent: #7c5cff;
    --accent-light: #9b83ff;

    --border: rgba(255, 255, 255, 0.08);

    --max-width: 1200px;
}


/* ================================
   Reset
================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;
}

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


/* ================================
   Navigation
================================ */

.navbar {
    position: sticky;
    top: 0;

    z-index: 100;

    background: rgba(8, 9, 12, 0.85);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--max-width);

    margin: auto;

    height: 72px;

    padding: 0 24px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.logo {
    font-size: 20px;

    font-weight: 800;

    letter-spacing: 2px;
}

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

nav {
    display: flex;

    gap: 32px;
}

nav a {
    color: var(--text-muted);

    font-size: 14px;

    transition: color 0.2s;
}

nav a:hover {
    color: white;
}


/* ================================
   Hero
================================ */

.hero {
    min-height: 650px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 100px 24px;

    background:
        radial-gradient(
            circle at center,
            rgba(124, 92, 255, 0.16),
            transparent 45%
        );
}

.hero-content {
    max-width: 850px;
}

.status-badge {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 14px;

    margin-bottom: 28px;

    border: 1px solid var(--border);

    border-radius: 999px;

    background: rgba(255,255,255,0.03);

    font-size: 12px;

    letter-spacing: 1px;
}

.status-dot {
    width: 8px;
    height: 8px;

    display: inline-block;

    border-radius: 50%;

    background: #45e082;

    box-shadow:
        0 0 12px rgba(69, 224, 130, 0.7);
}

.hero h1 {
    font-size: clamp(48px, 8vw, 90px);

    line-height: 0.95;

    letter-spacing: -4px;

    margin-bottom: 28px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-description {
    max-width: 600px;

    margin: auto auto 35px;

    color: var(--text-muted);

    font-size: 18px;
}


/* ================================
   Server Address
================================ */

.server-address {
    display: inline-flex;

    align-items: center;

    gap: 15px;

    padding: 6px 6px 6px 20px;

    border: 1px solid var(--border);

    background: var(--surface);

    border-radius: 8px;

    font-family: monospace;

    margin-bottom: 25px;
}

.server-address button {
    border: none;

    background: var(--accent);

    color: white;

    padding: 11px 16px;

    border-radius: 6px;

    cursor: pointer;

    font-weight: 700;

    font-size: 11px;

    letter-spacing: 1px;
}

.server-address button:hover {
    background: var(--accent-light);
}


/* ================================
   Buttons
================================ */

.hero-buttons {
    display: flex;

    justify-content: center;

    gap: 12px;
}

.button {
    padding: 13px 22px;

    border-radius: 7px;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.5px;
}

.primary {
    background: var(--accent);
}

.primary:hover {
    background: var(--accent-light);
}

.secondary {
    border: 1px solid var(--border);

    background: var(--surface);
}

.secondary:hover {
    background: var(--surface-light);
}


/* ================================
   Sections
================================ */

.section {
    max-width: var(--max-width);

    margin: auto;

    padding: 100px 24px;
}

.section-header {
    margin-bottom: 40px;
}

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

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 38px;

    letter-spacing: -1px;
}


/* ================================
   Server Status
================================ */

.status-card {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    padding: 30px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: var(--surface);
}

.card-label {
    color: var(--text-muted);

    font-size: 11px;

    letter-spacing: 1.5px;

    margin-bottom: 8px;
}

.online-status {
    display: flex;

    align-items: center;

    gap: 9px;

    font-weight: 700;
}

.player-count {
    font-size: 24px;

    font-weight: 700;
}


/* ================================
   Worlds
================================ */

.world-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.world-card {
    position: relative;

    padding: 30px;

    min-height: 270px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 12px;

    transition:
        transform 0.2s,
        border-color 0.2s;
}

.world-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(124, 92, 255, 0.5);
}

.world-number {
    color: var(--accent);

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 30px;
}

.world-card h3 {
    font-size: 25px;

    margin-bottom: 12px;
}

.world-card p {
    color: var(--text-muted);

    font-size: 14px;

    margin-bottom: 25px;
}

.world-card a {
    color: var(--accent-light);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.5px;
}


/* ================================
   Features
================================ */

.features-section {
    border-top: 1px solid var(--border);
}

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.feature {
    padding: 30px;
}

.feature-icon {
    color: var(--accent);

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 10px;
}

.feature p {
    color: var(--text-muted);

    font-size: 14px;
}


/* ================================
   Footer
================================ */

footer {
    border-top: 1px solid var(--border);

    padding: 50px 24px 25px;
}

.footer-container {
    max-width: var(--max-width);

    margin: auto;

    display: flex;

    justify-content: space-between;
}

footer p {
    color: var(--text-muted);

    margin-top: 8px;
}

.footer-links {
    display: flex;

    gap: 25px;

    color: var(--text-muted);

    font-size: 13px;
}

.copyright {
    max-width: var(--max-width);

    margin: 50px auto 0;

    padding-top: 20px;

    border-top: 1px solid var(--border);

    color: var(--text-muted);

    font-size: 12px;
}


/* ================================
   Mobile
================================ */

@media (max-width: 700px) {

    nav {
        display: none;
    }

    .hero {
        min-height: 600px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .server-address {
        flex-direction: column;

        padding: 15px;

        width: 100%;
    }

    .server-address button {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .status-card,
    .world-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;

        gap: 30px;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}
