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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #101510;
    color: #ffffff;
    line-height: 1.6;
}


/* NAVIGATION */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: rgba(10, 15, 10, 0.95);
    border-bottom: 1px solid #273027;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%;
    z-index: 1000;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.logo span {
    color: #55d13f;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: #ccc;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

nav a:hover {
    color: #55d13f;
}


/* HERO */

.hero {
    min-height: 100vh;

    background:
        linear-gradient(
            rgba(10, 20, 10, 0.75),
            rgba(10, 20, 10, 0.92)
        ),
        url("https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=2000&q=80");

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

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

    text-align: center;
    padding: 120px 20px 70px;
}

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

.badge {
    display: inline-block;
    background: #173b19;
    border: 1px solid #3fae43;
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 25px;
    color: #7cff75;
    font-weight: bold;
}

.hero h1 {
    font-size: clamp(42px, 8vw, 90px);
    font-weight: 900;
    letter-spacing: 3px;
    text-shadow: 5px 5px #000;
}

.hero h1 span {
    color: #55d13f;
}

.hero h2 {
    font-size: clamp(20px, 4vw, 32px);
    margin: 15px 0;
}

.hero p {
    max-width: 650px;
    margin: 0 auto 35px;
    color: #ccc;
    font-size: 18px;
}


/* SERVER BOX */

.server-box {
    max-width: 650px;
    margin: auto;

    background: rgba(10, 15, 10, 0.95);
    border: 1px solid #3a493a;

    padding: 20px;

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

.server-box small,
.status-box small {
    display: block;
    color: #888;
    font-size: 11px;
    font-weight: bold;
}

.server-box strong {
    font-size: 20px;
    color: #72e75f;
}

button,
.button {
    border: none;
    padding: 14px 22px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

button {
    background: #55d13f;
    color: #081008;
}

button:hover {
    background: #75ed61;
}

#copyMessage {
    min-height: 25px;
    margin-top: 10px;
    color: #72e75f;
    font-weight: bold;
}

.hero-buttons {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.primary {
    background: #55d13f;
    color: #081008;
}

.secondary {
    border: 1px solid #596559;
    color: white;
    background: rgba(0,0,0,0.4);
}

.primary:hover {
    background: #75ed61;
}

.secondary:hover {
    border-color: #55d13f;
}


/* SECTIONS */

.section {
    padding: 100px 7%;
    max-width: 1300px;
    margin: auto;
}

.section.dark {
    max-width: none;
    background: #0b100b;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.section-title span {
    color: #55d13f;
    font-weight: bold;
}

.section-title h2 {
    font-size: 34px;
}

.section-intro {
    color: #aaa;
    max-width: 800px;
    margin-bottom: 50px;
}


/* CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: #171d17;
    border: 1px solid #2d382d;
    padding: 30px;
    transition: 0.25s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #55d13f;
}

.icon {
    font-size: 40px;
    margin-bottom: 15px;
}

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

.card p {
    color: #999;
}


/* STATUS */

.status-box {
    margin-top: 50px;
    padding: 25px;

    background: #151b15;
    border: 1px solid #2b382b;

    display: flex;
    align-items: center;
    gap: 15px;
}

.status-indicator {
    width: 14px;
    height: 14px;
    background: #55d13f;
    border-radius: 50%;
    box-shadow: 0 0 15px #55d13f;
}

.players {
    margin-left: auto;
}


/* RANKS */

.rank-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.rank {
    background: #171d17;
    border: 1px solid #303a30;
    padding: 30px;
    width: 220px;
    text-align: center;
}

.rank:hover {
    border-color: #55d13f;
}

.rank-icon {
    font-size: 45px;
    margin-bottom: 10px;
}

.rank p {
    color: #999;
    font-size: 14px;
}

.arrow {
    display: flex;
    align-items: center;
    color: #55d13f;
    font-size: 30px;
}


/* RULES */

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

.rule {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #171d17;
    border-left: 3px solid #55d13f;
}

.rule > span {
    font-size: 22px;
    color: #55d13f;
    font-weight: bold;
}

.rule h3 {
    margin-bottom: 5px;
}

.rule p {
    color: #999;
}


/* COMMUNITY */

.community {
    padding: 100px 7%;
    background:
        linear-gradient(
            rgba(15, 30, 15, .9),
            rgba(15, 30, 15, .95)
        ),
        url("https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&w=2000&q=80");

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

.community-content {
    max-width: 900px;
    margin: auto;
}

.community p {
    color: #ccc;
    font-size: 18px;
    margin-bottom: 30px;
}

.community-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* FOOTER */

footer {
    text-align: center;
    padding: 60px 20px;
    background: #080b08;
    border-top: 1px solid #222;
}

.footer-logo {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

footer p {
    color: #777;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
}

.footer-links a:hover {
    color: #55d13f;
}

.copyright {
    font-size: 12px;
}


/* MOBILE */

@media (max-width: 900px) {

    nav {
        display: none;
    }

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

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

}

@media (max-width: 600px) {

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

    .server-box {
        flex-direction: column;
    }

    .status-box {
        flex-wrap: wrap;
    }

    .players {
        margin-left: 0;
        width: 100%;
    }

    .rank {
        width: 100%;
    }

    .arrow {
        transform: rotate(90deg);
    }

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

}