* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #080b09;
    color: #f5f7f5;
    font-family: "Inter", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* NAVBAR */

.navbar {
    height: 76px;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;

    display: flex;
    align-items: center;

    padding: 0 5vw;

    background: rgba(7, 10, 8, 0.82);
    backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
    display: flex;
    align-items: center;

    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo strong {
    color: #7df04f;
}

.logo-crown {
    color: #7df04f;
    margin-right: 9px;
    font-size: 22px;
}

.navbar nav {
    margin: auto;

    display: flex;
    gap: 36px;
}

.navbar nav a {
    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.3px;

    text-transform: uppercase;

    color: #b9c0ba;
}

.navbar nav a:hover {
    color: #7df04f;
}

.discord-small {
    border: 1px solid rgba(125,240,79,.55);

    padding: 12px 18px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;
}


/* HERO */

.hero {
    height: 100vh;
    min-height: 720px;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero-background {
    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:

    linear-gradient(
        90deg,
        rgba(5,8,6,.97) 0%,
        rgba(5,8,6,.75) 38%,
        rgba(5,8,6,.15) 75%
    ),

    linear-gradient(
        0deg,
        #080b09 0%,
        transparent 35%
    );
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(760px, 90%);

    margin-left: 8vw;
    margin-top: 50px;
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 800;

    color: #bac3bc;
}

.eyebrow span {
    display: inline-block;

    width: 35px;
    height: 1px;

    margin: 0 12px 3px;

    background: #7df04f;
}

h1,
h2,
h3 {
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(55px, 6vw, 100px);

    line-height: .9;

    letter-spacing: -5px;

    margin: 22px 0 25px;
}

h1 em {
    font-style: normal;
    color: #7df04f;
}

.hero-content > p {
    max-width: 610px;

    color: #c0c7c1;

    font-size: 17px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;

    gap: 14px;

    margin-top: 34px;
}

.play-button {
    border: none;

    background: #7df04f;
    color: #071008;

    font-weight: 900;

    padding: 15px 22px;

    cursor: pointer;

    display: flex;
    align-items: center;

    gap: 12px;

    letter-spacing: .7px;
}

.play-button small {
    display: block;

    font-size: 8px;

    opacity: .6;

    margin-top: 2px;
}

.shop-button {
    border: 1px solid rgba(125,240,79,.55);

    padding: 15px 22px;

    display: flex;
    align-items: center;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1px;
}


/* GENERAL SECTION */

.section {
    padding: 110px 7vw;

    max-width: 1600px;

    margin: auto;
}

.section-label {
    font-size: 10px;

    letter-spacing: 3px;

    font-weight: 900;

    color: #7df04f;

    margin-bottom: 15px;
}

.section h2 {
    font-size: clamp(42px, 5vw, 72px);

    line-height: .95;

    letter-spacing: -3px;

    margin: 0;
}

.section h2 span {
    color: #7df04f;
}

.section-description {
    color: #8f9991;

    max-width: 600px;

    line-height: 1.7;
}


/* GAMEMODES */

.gamemode-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin-top: 48px;
}

.gamemode-card {
    height: 470px;

    position: relative;

    overflow: hidden;

    border: 1px solid #202621;

    background-position: center;
    background-size: cover;

    transition: .25s;
}

.gamemode-card:hover {
    transform: translateY(-5px);

    border-color: #7df04f;
}

.gamemode-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(5,8,6,.99),
            rgba(5,8,6,.15)
        );
}

.lifesteal-card {
    background-image:
        url("assets/battlemc-chest.png");
}

.ffa-card {
    background-image:
        url("assets/battlemc-modes.png");

    background-position: 42% center;
}

.hunger-card {
    background-image:
        url("assets/battlemc-modes.png");

    background-position: 88% center;
}

.card-content {
    position: absolute;

    z-index: 2;

    bottom: 30px;
    left: 30px;
    right: 30px;
}

.card-content small {
    font-size: 9px;

    color: #7df04f;

    letter-spacing: 2px;

    font-weight: 900;
}

.card-content h3 {
    font-size: 28px;

    line-height: 1.05;

    margin: 10px 0;
}

.card-content p {
    font-size: 13px;

    color: #a6aea8;

    line-height: 1.6;
}

.card-content a {
    font-size: 10px;

    font-weight: 900;

    color: #7df04f;
}


/* STORE */

.store-section {
    border-top: 1px solid #171d18;
}

.store-tabs {
    display: flex;

    gap: 8px;

    margin: 45px 0 28px;

    flex-wrap: wrap;
}

.store-tab {
    background: #0d120e;

    border: 1px solid #222a23;

    color: #aeb6af;

    padding: 14px 19px;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1px;

    cursor: pointer;
}

.store-tab.active {
    background: #7df04f;

    color: #071008;

    border-color: #7df04f;
}

.store-panel {
    display: none;
}

.store-panel.active {
    display: block;
}

.shop-heading {
    display: flex;

    justify-content: space-between;
    align-items: end;

    padding: 26px 0;

    border-bottom: 1px solid #202620;
}

.shop-heading small,
.rank-heading small,
.vip-card small {
    font-size: 9px;

    color: #7df04f;

    letter-spacing: 2px;

    font-weight: 900;
}

.shop-heading h3,
.rank-heading h3,
.vip-card h3 {
    font-size: 34px;

    margin: 5px 0 0;
}

.shop-heading p {
    color: #89918a;

    max-width: 420px;

    font-size: 13px;
}


/* PRODUCTS */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 10px;

    margin-top: 18px;
}

.product-card {
    min-height: 190px;

    background: #0e130f;

    border: 1px solid #202620;

    padding: 28px 20px;

    position: relative;

    display: flex;
    flex-direction: column;

    align-items: flex-start;

    transition: .2s;
}

.product-card:hover {
    border-color: #7df04f;

    transform: translateY(-3px);
}

.product-card strong {
    font-family: "Montserrat";

    font-size: 30px;
}

.product-card span {
    font-size: 9px;

    letter-spacing: 2px;

    color: #7df04f;

    margin-top: 4px;
}

.product-card button {
    margin-top: auto;

    width: 100%;

    background: #171e18;

    color: #e8eee9;

    border: 1px solid #283129;

    padding: 10px;

    cursor: pointer;

    font-weight: 800;

    font-size: 9px;
}

.product-card.popular {
    border-color: #7df04f;

    background:
        linear-gradient(
            145deg,
            #142017,
            #0d120e
        );
}

.product-card label {
    position: absolute;

    right: 12px;
    top: 12px;

    font-size: 7px;

    background: #7df04f;

    color: #071008;

    padding: 5px 7px;

    font-weight: 900;
}


/* RANKS */

.rank-heading {
    margin: 70px 0 20px;
}

.rank-grid {
    display: grid;

    grid-template-columns:
        repeat(7, 1fr);

    gap: 8px;
}

.rank-card {
    border: 1px solid #202620;

    background: #0d120e;

    padding: 22px 15px;

    min-height: 190px;

    display: flex;

    flex-direction: column;

    position: relative;

    transition: .2s;
}

.rank-card:hover {
    border-color: #7df04f;

    transform: translateY(-3px);
}

.rank-card i {
    font-style: normal;

    font-size: 9px;

    color: #556057;
}

.rank-card strong {
    font-family: "Montserrat";

    margin-top: 24px;

    font-size: 15px;
}

.rank-card span {
    font-size: 9px;

    color: #7d877f;

    margin-top: 5px;
}

.rank-card b {
    margin-top: auto;

    color: #7df04f;
}

.rank-card.highest {
    border-color: #7df04f;

    background:
        linear-gradient(
            145deg,
            #172319,
            #0d120e
        );
}

.rank-card label {
    position: absolute;

    right: 8px;
    top: 8px;

    font-size: 6px;

    color: #071008;

    background: #7df04f;

    padding: 4px 5px;

    font-weight: 900;
}

.price-note {
    font-size: 9px;

    color: #606a62;

    margin-top: 12px;
}


/* VIP */

.vip-card {
    margin-top: 20px;

    border: 1px solid #263027;

    background:
        linear-gradient(
            110deg,
            #111812,
            #0b0f0c
        );

    padding: 50px;

    display: grid;

    grid-template-columns:
        1fr 1fr auto;

    align-items: center;

    gap: 45px;
}

.vip-card p {
    color: #8f9991;
}

.vip-card ul {
    list-style: none;

    padding: 0;

    line-height: 2;

    color: #aeb6af;

    font-size: 13px;
}

.vip-card li b {
    color: #7df04f;
}


/* COMMUNITY */

.community {
    height: 680px;

    position: relative;

    overflow: hidden;

    margin-top: 70px;
}

.community-background {
    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.community-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4,7,5,.99) 0%,
            rgba(4,7,5,.88) 38%,
            rgba(4,7,5,.08) 75%
        );
}

.community-content {
    position: relative;

    z-index: 2;

    padding: 130px 8vw;

    max-width: 700px;
}

.community-content > small {
    font-size: 9px;

    letter-spacing: 3px;

    color: #7df04f;

    font-weight: 900;
}

.community h2 {
    font-size: clamp(50px, 6vw, 88px);

    letter-spacing: -4px;

    line-height: .9;

    margin: 15px 0;
}

.community h2 em {
    color: #7df04f;

    font-style: normal;
}

.community p {
    color: #aeb6af;

    line-height: 1.7;

    max-width: 470px;
}

.discord-button {
    display: inline-flex;

    margin-top: 20px;

    background: #7df04f;

    color: #071008;

    padding: 15px 22px;

    font-weight: 900;

    gap: 18px;
}

.discord-button small {
    opacity: .65;
}


/* FOOTER */

footer {
    min-height: 150px;

    padding: 40px 6vw;

    display: flex;

    align-items: center;

    gap: 35px;

    border-top: 1px solid #1d231e;
}

footer p {
    color: #667068;

    font-size: 9px;

    margin: auto;
}

.footer-links {
    display: flex;

    gap: 20px;

    align-items: center;
}

.footer-links button,
.footer-links a {
    background: none;

    border: none;

    color: #aeb6af;

    font-size: 10px;

    cursor: pointer;
}


/* COPY NOTIFICATION */

#toast {
    position: fixed;

    z-index: 999;

    bottom: 25px;
    left: 50%;

    transform:
        translate(-50%, 30px);

    background: #7df04f;

    color: #071008;

    padding: 12px 18px;

    font-size: 10px;

    font-weight: 900;

    opacity: 0;

    pointer-events: none;

    transition: .25s;
}

#toast.show {
    opacity: 1;

    transform:
        translate(-50%, 0);
}


/* TABLET */

@media (max-width: 1000px) {

    .navbar nav {
        display: none;
    }

    .discord-small {
        margin-left: auto;
    }

    .gamemode-grid {
        grid-template-columns: 1fr;
    }

    .gamemode-card {
        height: 400px;
    }

    .product-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .rank-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .vip-card {
        grid-template-columns: 1fr;
    }

    .hero-content {
        margin-left: 5vw;
    }

    .section {
        padding: 85px 5vw;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .navbar {
        height: 65px;
    }

    .logo {
        font-size: 17px;
    }

    .discord-small {
        padding: 9px 11px;
    }

    .hero {
        min-height: 760px;
    }

    .hero-content {
        margin-top: 40px;
    }

    h1 {
        letter-spacing: -3px;
    }

    .eyebrow {
        font-size: 8px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .play-button,
    .shop-button {
        justify-content: center;
    }

    .product-grid,
    .rank-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .shop-heading {
        display: block;
    }

    .vip-card {
        padding: 28px;
    }

    .community {
        height: 620px;
    }

    .community-content {
        padding:
            100px 5vw;
    }

    footer {
        flex-direction: column;

        text-align: center;
    }

    footer p {
        margin: 0;
    }

}