/* ================================
   ZANDER SMP
   Global Styles
================================ */

:root {
    --bg: #080b09;
    --bg-secondary: #0d120f;
    --card: #111713;
    --card-hover: #151d18;

    --green: #55d66b;
    --green-dark: #2c9b43;
    --green-glow: rgba(85, 214, 107, 0.25);

    --white: #f2f5f2;
    --text: #b8c1ba;
    --muted: #69736c;

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

    --pixel: "Press Start 2P", monospace;
    --font: "Inter", sans-serif;
}


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

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font);
    line-height: 1.6;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
}


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

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 76px;

    z-index: 1000;

    background: rgba(8, 11, 9, 0.85);
    backdrop-filter: blur(14px);

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

.nav-container {
    max-width: 1200px;
    height: 100%;

    margin: auto;
    padding: 0 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-weight: 800;
    letter-spacing: 1px;
}

.logo strong {
    color: var(--green);
}

.logo-cube {
    color: var(--green);
    font-size: 22px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;

    transition: 0.2s ease;
}

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

.nav-button {
    padding: 11px 18px;

    background: var(--green);
    color: #071008;

    font-size: 12px;
    font-weight: 800;

    border-radius: 4px;

    transition: 0.2s ease;
}

.nav-button:hover {
    background: #70e783;
    transform: translateY(-2px);
}


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

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(8, 11, 9, 0.65),
            rgba(8, 11, 9, 0.95)
        ),
        url("https://images.unsplash.com/photo-1603481546238-487240415921?auto=format&fit=crop&w=2000&q=80");

    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8, 11, 9, 0.9),
            transparent,
            rgba(8, 11, 9, 0.9)
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 900px;

    padding: 120px 25px 80px;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 14px;

    border: 1px solid rgba(85, 214, 107, 0.25);
    border-radius: 30px;

    background: rgba(85, 214, 107, 0.08);

    color: var(--green);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

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

    border-radius: 50%;
    background: var(--green);

    box-shadow: 0 0 12px var(--green);
}

.hero h1 {
    margin-top: 28px;

    font-family: var(--pixel);
    font-size: clamp(45px, 8vw, 100px);

    line-height: 1.2;

    letter-spacing: -4px;

    text-shadow:
        5px 5px 0 #111,
        0 0 40px rgba(85, 214, 107, 0.15);
}

.hero h1 span {
    display: block;
    color: var(--green);
}

.hero-subtitle {
    margin-top: 25px;

    font-size: 22px;
    font-weight: 700;

    color: var(--white);
}

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

    margin: 15px auto 0;

    color: var(--text);
    font-size: 16px;
}

.hero-buttons {
    margin-top: 35px;

    display: flex;
    justify-content: center;
    gap: 14px;
}


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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 24px;

    border-radius: 4px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;

    transition: 0.2s ease;
}

.button.primary {
    background: var(--green);
    color: #071008;
}

.button.primary:hover {
    background: #70e783;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--green-glow);
}

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

    color: var(--white);
}

.button.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}


/* ================================
   Scroll Indicator
================================ */

.scroll-indicator {
    position: absolute;

    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--muted);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.scroll-indicator span {
    width: 6px;
    height: 6px;

    border-right: 1px solid var(--green);
    border-bottom: 1px solid var(--green);

    transform: rotate(45deg);
}


/* ================================
   Server Bar
================================ */

.server-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.server-info {
    max-width: 1100px;

    margin: auto;
    padding: 24px 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 35px;
}

.server-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.server-label {
    color: var(--muted);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.server-value {
    color: var(--white);

    font-size: 14px;
    font-weight: 700;
}

.divider {
    width: 1px;
    height: 35px;

    background: var(--border);
}

.copy-button {
    padding: 10px 15px;

    border: 1px solid rgba(85, 214, 107, 0.3);
    border-radius: 4px;

    background: rgba(85, 214, 107, 0.08);

    color: var(--green);

    font-size: 10px;
    font-weight: 800;

    cursor: pointer;

    transition: 0.2s ease;
}

.copy-button:hover {
    background: var(--green);
    color: #071008;
}


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

.section {
    max-width: 1200px;

    margin: auto;
    padding: 110px 25px;
}

.section-header {
    max-width: 700px;
    margin-bottom: 55px;
}

.section-tag {
    color: var(--green);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}

.section h2 {
    margin-top: 15px;

    font-family: var(--pixel);

    font-size: clamp(25px, 4vw, 42px);
    line-height: 1.5;
}

.section h2 span {
    color: var(--green);
}

.section-header p {
    margin-top: 18px;

    color: var(--text);
}


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

.features-grid {
    display: grid;

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

    gap: 16px;
}

.feature-card {
    padding: 30px 25px;

    background: var(--card);

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

    transition: 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-7px);

    background: var(--card-hover);

    border-color: rgba(85, 214, 107, 0.25);

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.feature-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 5px;

    background: rgba(85, 214, 107, 0.08);

    font-size: 22px;
}

.feature-card h3 {
    font-size: 14px;
    letter-spacing: 1px;
}

.feature-card p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 13px;
}


/* ================================
   About
================================ */

.about {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 80px;
}

.about-content {
    max-width: 550px;
}

.about-content p {
    margin-top: 18px;

    color: var(--text);
}

.about-content .button {
    margin-top: 30px;
}

.about-card {
    min-height: 350px;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

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

    background:
        linear-gradient(
            rgba(85, 214, 107, 0.08),
            rgba(8, 11, 9, 0.9)
        ),
        #111713;
}

.minecraft-grid {
    position: absolute;
    inset: 0;

    opacity: 0.12;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.1) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.1) 1px,
            transparent 1px
        );

    background-size: 45px 45px;
}

.about-card-content {
    position: relative;

    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 12px;
}

.about-card-content span {
    color: var(--muted);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 3px;
}

.about-card-content strong {
    font-family: var(--pixel);

    color: var(--green);

    font-size: 25px;
}

.about-card-content small {
    color: var(--muted);

    font-size: 9px;

    letter-spacing: 2px;
}


/* ================================
   Join
================================ */

.join {
    max-width: 100%;

    padding-left: 25px;
    padding-right: 25px;
}

.join-box {
    max-width: 950px;

    margin: auto;

    padding: 80px 40px;

    text-align: center;

    border: 1px solid rgba(85, 214, 107, 0.2);
    border-radius: 8px;

    background:
        radial-gradient(
            circle at center,
            rgba(85, 214, 107, 0.08),
            transparent 65%
        ),
        var(--card);
}

.join-box h2 {
    margin-top: 18px;
}

.join-box > p {
    margin-top: 15px;

    color: var(--text);
}

.ip-box {
    max-width: 550px;

    margin: 35px auto 0;

    padding: 5px 5px 5px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #080b09;

    border: 1px solid var(--border);
    border-radius: 5px;
}

.ip-box div {
    display: flex;
    flex-direction: column;

    text-align: left;
}

.ip-box small {
    color: var(--muted);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.ip-box strong {
    margin-top: 2px;

    color: var(--green);

    font-size: 14px;
}

.ip-box button {
    padding: 13px 18px;

    border: 0;
    border-radius: 4px;

    background: var(--green);

    color: #071008;

    font-size: 10px;
    font-weight: 800;

    cursor: pointer;
}

.join-note {
    font-size: 11px;
    color: var(--muted);
}


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

footer {
    background: #050705;

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

.footer-container {
    max-width: 1200px;

    margin: auto;
    padding: 50px 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    margin-top: 8px;

    color: var(--muted);

    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: var(--muted);

    font-size: 12px;

    transition: 0.2s ease;
}

.footer-links a:hover {
    color: var(--green);
}

.footer-bottom {
    max-width: 1200px;

    margin: auto;

    padding: 20px 25px;

    display: flex;
    justify-content: space-between;

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

    color: #4f5751;

    font-size: 10px;
}


/* ================================
   Toast
================================ */

.toast {
    position: fixed;

    bottom: 25px;
    left: 50%;

    transform: translate(-50%, 80px);

    padding: 12px 20px;

    background: var(--green);
    color: #071008;

    border-radius: 4px;

    font-size: 11px;
    font-weight: 800;

    opacity: 0;

    transition: 0.3s ease;

    z-index: 2000;
}

.toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}


/* ================================
   Responsive
================================ */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

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

    .about {
        grid-template-columns: 1fr;

        gap: 50px;
    }

}


@media (max-width: 650px) {

    .nav-button {
        display: none;
    }

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

    .hero-buttons {
        flex-direction: column;

        max-width: 280px;

        margin-left: auto;
        margin-right: auto;
    }

    .server-info {
        flex-wrap: wrap;

        gap: 18px;
    }

    .divider {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .join-box {
        padding: 60px 20px;
    }

    .ip-box {
        padding-left: 15px;
    }

    .ip-box strong {
        font-size: 11px;
    }

    .footer-container {
        flex-direction: column;

        align-items: flex-start;

        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }

}
