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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #070b08;
    color: #e9f5eb;
    line-height: 1.6;
}


/* NAVBAR */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;

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

    padding: 0 7%;

    background: rgba(7, 11, 8, 0.9);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid #1c2b20;

    z-index: 1000;
}

.logo {
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 1px;
}

.navbar nav {
    display: flex;
    gap: 30px;
}

.navbar nav a {
    color: #a9b9ad;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.navbar nav a:hover {
    color: #65ff83;
}

.nav-button,
.primary,
.vote-button,
.discord-button {
    cursor: pointer;
}

.nav-button {
    border: 1px solid #65ff83;
    background: transparent;
    color: #65ff83;

    padding: 10px 18px;
    border-radius: 5px;

    font-weight: bold;

    transition: 0.2s;
}

.nav-button:hover {
    background: #65ff83;
    color: #071009;
}


/* HERO */

.hero {
    min-height: 100vh;

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

    padding: 140px 10% 80px;

    background:
        radial-gradient(circle at 75% 40%, #15351d 0%, transparent 35%),
        linear-gradient(135deg, #070b08, #0b120d);
}

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

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

    color: #65ff83;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;

    margin-bottom: 20px;
}

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

    background: #65ff83;
    border-radius: 50%;

    box-shadow: 0 0 12px #65ff83;
}

h1 {
    font-size: clamp(45px, 8vw, 100px);
    line-height: 0.95;
    font-weight: 1000;
    letter-spacing: -5px;
}

h1 span,
.community h2 span {
    color: #65ff83;
}

.tagline {
    margin-top: 25px;

    font-size: clamp(18px, 2vw, 25px);
    font-weight: bold;
}

.description {
    color: #9baa9f;
    max-width: 600px;
    margin-top: 15px;
}


/* SERVER IP */

.server-ip {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    margin-top: 30px;
    padding: 12px 17px;

    background: #101812;
    border: 1px solid #263b2b;
    border-radius: 6px;
}

.server-ip span {
    color: #65ff83;
    font-size: 11px;
    font-weight: bold;
}

.server-ip strong {
    font-family: monospace;
    font-size: 15px;
}


/* IP WARNING */

.ip-warning {
    margin-top: 12px;
    padding: 12px 15px;

    max-width: 600px;

    background: rgba(101, 255, 131, 0.06);
    border: 1px solid #304438;
    border-left: 3px solid #65ff83;

    border-radius: 5px;

    color: #a9b9ad;
    font-size: 13px;
}

.ip-warning strong {
    color: #65ff83;
}

.ip-warning code {
    display: inline-block;

    margin-left: 4px;

    font-family: monospace;
    font-size: 13px;

    color: #e9f5eb;
    background: #101812;

    padding: 2px 6px;

    border-radius: 3px;
}


/* BUTTONS */

.buttons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.primary,
.secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 22px;

    border-radius: 5px;

    font-weight: bold;
    text-decoration: none;

    transition: 0.2s;
}

.primary {
    border: none;
    background: #65ff83;
    color: #061009;
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(101, 255, 131, 0.2);
}

.secondary {
    border: 1px solid #304438;
    color: white;
}

.secondary:hover {
    background: #162219;
}


/* CUBE */

.hero-block {
    width: 300px;
    height: 300px;

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

.minecraft-cube {
    width: 150px;
    height: 150px;

    position: relative;

    transform: rotate(-15deg);
    animation: float 4s ease-in-out infinite;
}

.cube-top,
.cube-front,
.cube-side {
    position: absolute;

    border: 2px solid #1e5d2b;
}

.cube-top {
    width: 150px;
    height: 70px;

    background: #4d9b42;

    transform: skewX(-40deg);
    top: -35px;
    left: 30px;
}

.cube-front {
    width: 150px;
    height: 150px;

    background:
        repeating-linear-gradient(
            45deg,
            #267b35,
            #267b35 15px,
            #318d3e 15px,
            #318d3e 30px
        );

    left: 0;
    top: 0;
}

.cube-side {
    width: 70px;
    height: 150px;

    background: #185b27;

    transform: skewY(-40deg);
    right: -68px;
    top: -27px;
}

@keyframes float {

    0%, 100% {
        transform: rotate(-15deg) translateY(0);
    }

    50% {
        transform: rotate(-15deg) translateY(-20px);
    }
}


/* SECTIONS */

.section {
    padding: 110px 10%;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 45px;
}

.section-title span {
    color: #65ff83;
    font-family: monospace;
}

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


/* INFO */

.info-grid {
    display: grid;

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

    gap: 15px;
}

.info-card {
    padding: 30px;

    background: #0d140f;
    border: 1px solid #1c2b20;

    border-radius: 8px;

    transition: 0.25s;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #65ff83;
}

.icon {
    font-size: 30px;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 12px;
    letter-spacing: 1px;
    color: #89998e;
}

.info-card p {
    margin-top: 5px;
    font-weight: bold;
}


/* FEATURES */

.features-grid {
    display: grid;

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

    gap: 15px;
}

.feature {
    display: flex;
    gap: 20px;

    padding: 25px;

    background: #0c120e;
    border: 1px solid #1c2b20;

    border-radius: 8px;

    transition: 0.25s;
}

.feature:hover {
    border-color: #65ff83;
}

.feature > span {
    font-size: 30px;
}

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

.feature p {
    color: #89998e;
}


/* COMMUNITY */

.community {
    margin: 50px 10%;
    padding: 90px 10%;

    border: 1px solid #24382a;

    background:
        radial-gradient(circle at 80% 30%, #183b21, transparent 40%),
        #0b110d;
}

.community-content {
    max-width: 650px;
}

.community h2 {
    font-size: clamp(40px, 6vw, 75px);
    line-height: 1;
}

.community p {
    color: #99a99e;
    margin: 20px 0 30px;
}

.discord-button {
    display: inline-block;

    padding: 13px 22px;

    background: #65ff83;
    color: #061009;

    text-decoration: none;
    font-weight: bold;

    border-radius: 5px;
}

.discord-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(101, 255, 131, 0.2);
}


/* VOTE */

.vote {
    margin: 50px 10%;

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

    gap: 30px;

    padding: 35px;

    background: #0d140f;
    border: 1px solid #1c2b20;

    border-radius: 8px;
}

.small-title {
    color: #65ff83;
    font-size: 11px;
    letter-spacing: 2px;
}

.vote h2 {
    margin: 5px 0;
}

.vote p {
    color: #89998e;
}

.vote-button {
    display: inline-block;

    padding: 14px 25px;

    background: #65ff83;
    color: #061009;

    text-decoration: none;

    border-radius: 5px;

    font-weight: bold;

    white-space: nowrap;
}

.vote-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(101, 255, 131, 0.2);
}


/* FOOTER */

footer {
    padding: 50px 10%;

    border-top: 1px solid #1c2b20;

    text-align: center;

    color: #66736a;
}

.footer-logo {
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
}

.hashtags {
    margin-top: 15px;
    font-size: 12px;
    color: #536057;
}


/* TOAST */

#toast {
    position: fixed;

    bottom: 25px;
    left: 50%;

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

    background: #65ff83;
    color: #061009;

    padding: 12px 20px;

    border-radius: 5px;

    font-weight: bold;

    transition: 0.3s;

    z-index: 9999;
}

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


/* MOBILE */

@media (max-width: 800px) {

    .navbar {
        padding: 0 5%;
    }

    .navbar nav {
        display: none;
    }

    .hero {
        padding: 130px 7% 80px;
    }

    .hero-block {
        display: none;
    }

    h1 {
        letter-spacing: -3px;
    }

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

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

    .vote {
        flex-direction: column;
        align-items: flex-start;
    }

    .community {
        margin: 30px 5%;
        padding: 60px 7%;
    }

    .section {
        padding: 80px 7%;
    }

}


@media (max-width: 500px) {

    .nav-button {
        display: none;
    }

    .buttons {
        flex-direction: column;
    }

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

    .server-ip {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .ip-warning {
        font-size: 12px;
    }

    .ip-warning code {
        display: block;
        width: fit-content;
        margin: 6px 0 0;
    }

}
