* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red: #e3262e;
    --red2: #a90f17;
    --black: #060709;
    --black2: #0c0e11;
    --card: #111317;
    --border: #292c31;
    --text: #f2f2f2;
    --muted: #858990;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(160, 12, 20, .18),
            transparent 40%
        ),
        #060709;

    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    min-height: 100vh;
}


/* ================= HEADER ================= */

header {
    height: 78px;

    background: rgba(6, 7, 9, .96);

    border-bottom: 1px solid #2b1113;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    position: sticky;
    top: 0;

    z-index: 100;

    backdrop-filter: blur(12px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;

    text-decoration: none;
    color: white;
}

.logo-box {
    width: 42px;
    height: 42px;

    background:
        linear-gradient(
            145deg,
            #ef3038,
            #8d0e14
        );

    display: flex;
    justify-content: center;
    align-items: center;

    transform: rotate(45deg);

    box-shadow:
        0 0 20px rgba(227, 38, 46, .25);
}

.logo-box span {
    transform: rotate(-45deg);

    font-size: 23px;
}

.logo-text {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--red);
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    color: #92959b;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    transition: .2s;
}

nav a:hover {
    color: white;
}

nav .active {
    color: var(--red);
}

.discord-button {
    background: #17191d;

    border: 1px solid #34373d;

    padding: 11px 17px;

    color: white;

    border-radius: 4px;
}

.discord-button:hover {
    border-color: var(--red);
}


/* ================= HERO ================= */

.hero {
    position: relative;

    text-align: center;

    padding: 95px 20px 70px;

    overflow: hidden;
}

.hero-glow {
    position: absolute;

    width: 700px;
    height: 350px;

    top: -170px;
    left: 50%;

    transform: translateX(-50%);

    background:
        radial-gradient(
            ellipse,
            rgba(227, 38, 46, .20),
            transparent 68%
        );

    pointer-events: none;
}

.hero h1 {
    position: relative;

    font-size: clamp(48px, 8vw, 88px);

    line-height: .88;

    font-weight: 1000;

    letter-spacing: -4px;

    text-transform: uppercase;

    text-shadow:
        0 5px 0 #4d0b0f,
        0 0 35px rgba(227, 38, 46, .15);
}

.hero h1 span {
    display: block;

    color: var(--red);

    margin-top: 8px;
}

.hero p {
    max-width: 620px;

    margin: 28px auto 0;

    color: #858990;

    font-size: 15px;

    line-height: 1.6;
}

.server-status {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-top: 27px;

    padding: 9px 15px;

    background: #101216;

    border: 1px solid #292c31;

    border-radius: 4px;

    font-size: 11px;

    font-weight: 900;

    color: #aaaeb4;
}

.server-status span {
    width: 7px;
    height: 7px;

    background: #35d15b;

    border-radius: 50%;

    box-shadow: 0 0 10px #35d15b;
}


/* ================= STORE ================= */

.store {
    width: min(1380px, 92%);

    margin: auto;

    padding-bottom: 80px;
}

.section-title {
    display: flex;

    justify-content: space-between;

    margin-bottom: 25px;
}

.section-title h2,
.crate-header h2,
.support h2 {
    font-size: 27px;

    font-weight: 1000;

    letter-spacing: 1px;
}

.section-title h2 span,
.crate-header h2 span,
.support h2 span {
    color: var(--red);
}

.section-title p,
.crate-header p,
.support p {
    color: #73777e;

    font-size: 13px;

    margin-top: 7px;
}


/* ================= PRODUCTS ================= */

.products {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.card {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.025),
            transparent 30%
        ),
        var(--card);

    border: 1px solid var(--border);

    border-radius: 6px;

    overflow: hidden;

    position: relative;

    transition: .25s;
}

.card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 3px;

    background: var(--red);
}

.card:hover {
    transform: translateY(-5px);

    border-color: #512024;

    box-shadow:
        0 20px 50px rgba(0,0,0,.4);
}


/* ================= ITEM IMAGE ================= */

.product-image {
    height: 205px;

    background:
        radial-gradient(
            circle,
            rgba(227,38,46,.12),
            transparent 62%
        ),
        #0a0c0f;

    border-bottom: 1px solid #25282d;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}

.product-image::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    border-radius: 50%;

    background: rgba(227,38,46,.09);

    filter: blur(30px);
}

.crown-icon {
    position: relative;
    z-index: 2;

    font-size: 100px;

    color: yellow;

    filter:
        drop-shadow(0 0 7px #ff5158)
        drop-shadow(0 0 20px #e3262e);
}

.master-icon {
    position: relative;
    z-index: 2;

    width: 108px;
    height: 108px;

    border: 7px solid rgb(52, 180, 223);

    transform: rotate(45deg);

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgb(52, 180, 223);

    font-size: 45px;

    font-weight: 1000;

    text-shadow:
        0 0 10px #ff343c;

    box-shadow:
        0 0 10px #ff3038,
        0 0 25px rgba(227,38,46,.6);
}

.master-icon::before {
    content: "";

    position: absolute;

    inset: 10px;

    border: 2px solid rgba(255,255,255,.12);
}

.master-icon {
    text-indent: -9999px;
}

.master-icon::after {
    content: "M";

    position: absolute;

    transform: rotate(-45deg);

    text-indent: 0;

    font-size: 48px;
}

.grandmaster-image {
    background:
        radial-gradient(
            circle,
            rgba(255, 145, 0, .13),
            transparent 62%
        ),
        #0a0c0f;
}

.grandmaster-icon {
    position: relative;
    z-index: 2;

    font-size: 100px;

    color: rgb(82, 82, 193);

    filter:
        drop-shadow(0 0 7px darkred)
        drop-shadow(0 0 20px red)
        drop-shadow(0 0 38px rgba(255,130,0,.5));
}

.minecraft-item {
    position: relative;
    z-index: 2;

    width: 130px;
    height: 130px;

    image-rendering: pixelated;

    object-fit: contain;

    filter:
        drop-shadow(0 0 4px white)
        drop-shadow(0 0 12px #ff2028)
        drop-shadow(0 0 30px rgba(255,0,10,.75));

    transition: .25s;
}

.card:hover .minecraft-item {
    transform: scale(1.08);
}

.crystal {
    filter:
        drop-shadow(0 0 4px white)
        drop-shadow(0 0 13px #a62cff)
        drop-shadow(0 0 32px rgba(155,35,255,.8));
}

.crystal-image {
    background:
        radial-gradient(
            circle,
            rgba(145,35,255,.15),
            transparent 62%
        ),
        #0a0c0f;
}

.custom-icon {
    position: relative;
    z-index: 2;

    font-size: 90px;

    color: #ff333b;

    filter:
        drop-shadow(0 0 7px #ff333b)
        drop-shadow(0 0 25px rgba(255,0,20,.7));
}


/* ================= CARD CONTENT ================= */

.card-content {
    padding: 22px;
}

.badge {
    display: inline-block;

    padding: 6px 9px;

    color: #ff4c53;

    background: #241114;

    border: 1px solid #5d2024;

    border-radius: 3px;

    font-size: 9px;

    font-weight: 1000;

    letter-spacing: 1px;

    margin-bottom: 13px;
}

.card h3 {
    font-size: 25px;

    font-weight: 1000;

    margin-bottom: 9px;
}

.card p {
    color: #8c9096;

    font-size: 13px;

    line-height: 1.55;

    min-height: 61px;
}

.features {
    list-style: none;

    margin-top: 18px;

    padding-top: 17px;

    border-top: 1px solid #282b30;
}

.features li {
    color: #979ba1;

    font-size: 12px;

    line-height: 1.4;

    margin-bottom: 9px;

    display: flex;

    gap: 8px;
}

.features li::before {
    content: "✓";

    color: var(--red);

    font-weight: 1000;
}

.features strong {
    color: #eeeeee;
}


/* ================= PURCHASE ================= */

.purchase {
    margin-top: 20px;

    padding-top: 18px;

    border-top: 1px solid #282b30;
}

.price {
    font-size: 30px;

    font-weight: 1000;

    margin-bottom: 13px;
}

.price small {
    font-size: 11px;

    color: #72767d;

    font-weight: normal;
}

.buy,
.ticket-button {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 45px;

    border-radius: 4px;

    text-decoration: none;

    border: 1px solid #94161d;

    background:
        linear-gradient(
            180deg,
            #d2212a,
            #9e1118
        );

    color: white;

    font-size: 12px;

    font-weight: 1000;

    letter-spacing: 1px;

    cursor: pointer;

    transition: .2s;
}

.buy:hover,
.ticket-button:hover {
    background:
        linear-gradient(
            180deg,
            #ed3038,
            #b7141c
        );

    box-shadow:
        0 0 22px rgba(227,38,46,.25);
}


/* ================= CRATES ================= */

.crates-section {
    width: min(1380px, 92%);

    margin: 0 auto;

    padding: 50px 0 90px;
}

.crate-header {
    margin-bottom: 25px;
}

.crate-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.crate-card {
    min-height: 280px;

    background:
        linear-gradient(
            135deg,
            #111923,
            #0c1015
        );

    border: 1px solid #273b4e;

    border-radius: 7px;

    overflow: hidden;

    display: grid;

    grid-template-columns: 45% 55%;

    transition: .25s;
}

.crate-card:hover {
    transform: translateY(-5px);

    border-color: #3e6688;

    box-shadow:
        0 20px 50px rgba(0,0,0,.4);
}

.crate-visual {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle,
            rgba(30,130,255,.15),
            transparent 65%
        );

    overflow: hidden;
}

.crate-glow {
    position: absolute;

    width: 150px;
    height: 150px;

    border-radius: 50%;

    background: rgba(0,130,255,.25);

    filter: blur(40px);
}

.crate {
    position: relative;

    z-index: 2;

    width: 130px;
    height: 120px;

    transform: perspective(400px) rotateX(8deg);

    filter:
        drop-shadow(0 12px 15px rgba(0,0,0,.7))
        drop-shadow(0 0 18px rgba(0,130,255,.45));
}

.crate-top {
    position: absolute;

    top: 0;

    left: 5px;

    width: 120px;
    height: 35px;

    background:
        linear-gradient(
            135deg,
            #398de2,
            #0e4b8e
        );

    border: 3px solid #6bb5ff;

    transform:
        skewX(-25deg);

    box-shadow:
        inset 0 0 15px rgba(255,255,255,.15);
}

.crate-body {
    position: absolute;

    top: 30px;
    left: 8px;

    width: 115px;
    height: 82px;

    background:
        linear-gradient(
            90deg,
            #0d427c,
            #1871bb,
            #0a3769
        );

    border: 3px solid #398fe5;

    box-shadow:
        inset 0 0 20px rgba(0,0,0,.45);
}

.crate-body::before,
.crate-body::after {
    content: "";

    position: absolute;

    background: #6ab7ff;

    opacity: .5;
}

.crate-body::before {
    width: 8px;
    height: 100%;

    left: 17px;
}

.crate-body::after {
    width: 8px;
    height: 100%;

    right: 17px;
}

.crate-band {
    position: absolute;

    z-index: 5;

    top: 26px;
    left: 56px;

    width: 25px;
    height: 90px;

    background:
        linear-gradient(
            90deg,
            #64b6ff,
            #1970bb,
            #64b6ff
        );

    border-left: 2px solid #8dcbff;
    border-right: 2px solid #0b3969;
}

.crate-lock {
    position: absolute;

    z-index: 10;

    left: 43px;
    top: 28px;

    width: 30px;
    height: 30px;

    background: #071b32;

    border: 3px solid #6dbbff;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #bde2ff;

    font-size: 13px;

    box-shadow:
        0 0 12px rgba(50,160,255,.7);
}


/* red crate */

.red-glow {
    background: rgba(220,20,30,.25);
}

.red-crate {
    filter:
        drop-shadow(0 12px 15px rgba(0,0,0,.7))
        drop-shadow(0 0 18px rgba(227,38,46,.45));
}

.red-crate .crate-top {
    background:
        linear-gradient(
            135deg,
            #e23c43,
            #781117
        );

    border-color: #ff777c;
}

.red-crate .crate-body {
    background:
        linear-gradient(
            90deg,
            #711117,
            #bb1d26,
            #671016
        );

    border-color: #e33b43;
}

.red-crate .crate-body::before,
.red-crate .crate-body::after {
    background: #ff7076;
}

.red-crate .crate-band {
    background:
        linear-gradient(
            90deg,
            #ff6c71,
            #9d171d,
            #ff6c71
        );

    border-color: #ff858a;
}

.red-crate .crate-lock {
    background: #36090c;

    border-color: #ff656b;

    color: #ffd2d4;
}


/* crate information */

.crate-info {
    padding: 32px 30px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.crate-tag {
    display: inline-block;

    width: max-content;

    color: #58adff;

    border: 1px solid #275c87;

    background: #0e253b;

    padding: 6px 9px;

    border-radius: 3px;

    font-size: 9px;

    font-weight: 1000;

    letter-spacing: 1px;

    margin-bottom: 12px;
}

.red-tag {
    color: #ff4d54;

    border-color: #6e2025;

    background: #291014;
}

.crate-info h3 {
    font-size: 25px;

    font-weight: 1000;

    margin-bottom: 10px;
}

.crate-info p {
    color: #858a91;

    font-size: 13px;

    line-height: 1.55;

    max-width: 390px;
}

.crate-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 22px;

    padding-top: 18px;

    border-top: 1px solid #29323b;
}

.crate-bottom strong {
    font-size: 26px;
}

.crate-bottom button {
    border: 1px solid #3375a9;

    background: #123a60;

    color: white;

    padding: 12px 20px;

    border-radius: 4px;

    font-weight: 1000;

    cursor: pointer;

    transition: .2s;
}

.crate-bottom button:hover {
    background: #195589;

    box-shadow:
        0 0 20px rgba(40,140,220,.2);
}


/* ================= SUPPORT ================= */

.support {
    text-align: center;

    padding: 70px 20px 80px;

    border-top: 1px solid #1c1f23;

    background:
        radial-gradient(
            circle at center,
            rgba(227,38,46,.08),
            transparent 55%
        );
}

.support p {
    max-width: 550px;

    margin: 10px auto 22px;

    line-height: 1.6;
}

.support-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 13px 26px;

    background: var(--red);

    color: white;

    text-decoration: none;

    border-radius: 4px;

    font-weight: 1000;

    font-size: 12px;

    letter-spacing: 1px;

    border: 1px solid #ff4c53;
}


/* ================= FOOTER ================= */

footer {
    border-top: 1px solid #202328;

    background: #070809;

    padding: 30px 7%;

    display: flex;

    justify-content: space-between;

    color: #686d74;

    font-size: 11px;
}

footer strong {
    color: #ddd;
}


/* ================= MODAL ================= */

.modal {
    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.8);

    backdrop-filter: blur(8px);

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    z-index: 200;
}

.modal.show {
    display: flex;
}

.modal-box {
    width: min(450px, 100%);

    background: #111317;

    border: 1px solid #392124;

    border-top: 3px solid var(--red);

    border-radius: 6px;

    padding: 30px;

    position: relative;

    box-shadow:
        0 30px 90px rgba(0,0,0,.8);
}

.close-modal {
    position: absolute;

    right: 17px;
    top: 12px;

    background: none;

    border: none;

    color: #777;

    font-size: 28px;

    cursor: pointer;
}

.close-modal:hover {
    color: white;
}

.modal-label {
    color: var(--red);

    font-size: 10px;

    font-weight: 1000;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.modal-box h2 {
    font-size: 25px;

    margin-bottom: 8px;
}

.modal-box p {
    color: #81858c;

    font-size: 13px;

    margin-bottom: 23px;
}

.modal-box label {
    display: block;

    font-size: 10px;

    font-weight: 1000;

    color: #b5b9be;

    margin-bottom: 7px;
}

.modal-box input {
    width: 100%;

    background: #080a0c;

    border: 1px solid #30343a;

    color: white;

    padding: 14px;

    border-radius: 4px;

    outline: none;

    margin-bottom: 15px;
}

.modal-box input:focus {
    border-color: var(--red);
}

.selected-product {
    display: flex;

    justify-content: space-between;

    padding: 12px 0;

    border-top: 1px solid #282b30;

    font-size: 12px;
}

.selected-product span:first-child {
    color: #71757c;
}

.selected-product strong {
    color: white;
}

.continue-button {
    width: 100%;

    margin-top: 15px;

    padding: 14px;

    border: 1px solid #a31820;

    background: var(--red);

    color: white;

    border-radius: 4px;

    font-weight: 1000;

    cursor: pointer;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1050px) {

    .products {
        grid-template-columns: repeat(2, 1fr);
    }

    .crate-grid {
        grid-template-columns: 1fr;
    }

    nav {
        gap: 15px;
    }
}

@media (max-width: 700px) {

    header {
        padding: 0 20px;
    }

    nav a:not(.discord-button) {
        display: none;
    }

    .hero {
        padding-top: 65px;
    }

    .products {
        grid-template-columns: 1fr;
    }

    .crate-card {
        grid-template-columns: 1fr;
    }

    .crate-visual {
        min-height: 240px;
    }

    footer {
        display: block;

        line-height: 2;
    }
}