/* ================================
   RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #080b12;
    color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* ================================
   CONTAINER
================================ */

.container {
    width: min(1200px, 92%);
    margin: auto;
}


/* ================================
   NAVBAR
================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(8, 11, 18, 0.92);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-content {
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 20px;
    font-weight: 800;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand strong {
    color: #4da3ff;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    color: #8e96a8;
    transition: .2s;
}

nav a:hover,
nav a.active {
    color: #4da3ff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-button {
    position: relative;

    background: transparent;
    border: 0;

    color: white;
    font-size: 21px;

    cursor: pointer;
}

#cart-count {
    position: absolute;

    top: -8px;
    right: -10px;

    width: 19px;
    height: 19px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #4da3ff;
    color: #07101d;

    border-radius: 50%;

    font-size: 11px;
    font-weight: bold;
}

.login-button {
    padding: 10px 18px;

    border: 1px solid #25334b;
    border-radius: 8px;

    color: #cbd3df;

    transition: .2s;
}

.login-button:hover {
    border-color: #4da3ff;
    color: #4da3ff;
}


/* ================================
   HERO
================================ */

.shop-hero {
    min-height: 480px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 70% 50%,
            rgba(39, 130, 255, .22),
            transparent 35%
        ),
        linear-gradient(
            120deg,
            #080b12,
            #0b1424
        );

    border-bottom: 1px solid rgba(255,255,255,.05);
}

.hero-content {
    width: min(1200px, 92%);
    margin: auto;
}

.hero-label,
.section-title span,
.products-header span,
.shop-cta span {
    color: #4da3ff;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 3px;
}

.hero-content h1 {
    max-width: 750px;

    margin-top: 15px;

    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
}

.hero-content h1 span {
    display: block;
    color: #4da3ff;
}

.hero-content p {
    max-width: 600px;

    margin: 25px 0;

    color: #929baa;

    font-size: 17px;
    line-height: 1.7;
}

.hero-button,
.shop-cta a {
    display: inline-block;

    padding: 14px 25px;

    background: #4da3ff;
    color: #06101d;

    border-radius: 8px;

    font-weight: 700;

    transition: .2s;
}

.hero-button:hover,
.shop-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(77,163,255,.25);
}


/* ================================
   CATEGORIES
================================ */

.categories {
    padding: 80px 0 40px;
}

.section-title {
    margin-bottom: 30px;
}

.section-title h2,
.products-header h2 {
    margin-top: 8px;

    font-size: 32px;
}

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}

.category {
    padding: 22px;

    text-align: left;

    background: #0d121c;

    border: 1px solid #182333;
    border-radius: 12px;

    color: white;

    cursor: pointer;

    transition: .25s;
}

.category span {
    display: block;

    margin-bottom: 15px;

    font-size: 27px;
}

.category strong {
    display: block;

    font-size: 17px;
}

.category small {
    display: block;

    margin-top: 6px;

    color: #737e90;
}

.category:hover,
.category.active {
    border-color: #4da3ff;

    background: #0e1826;

    transform: translateY(-3px);
}


/* ================================
   PRODUCTS
================================ */

.products {
    padding: 60px 0 100px;
}

.products-header {
    display: flex;

    align-items: end;
    justify-content: space-between;

    margin-bottom: 30px;
}

.products-header select {
    background: #0d121c;

    border: 1px solid #1b293c;
    border-radius: 7px;

    padding: 10px 14px;

    color: #cbd3df;
}

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.product-card {
    overflow: hidden;

    background: #0d121c;

    border: 1px solid #182333;

    border-radius: 13px;

    transition: .25s;
}

.product-card:hover {
    transform: translateY(-6px);

    border-color: #31577f;

    box-shadow:
        0 20px 50px rgba(0,0,0,.3);
}

.product-image {
    height: 210px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    background:
        radial-gradient(
            circle,
            rgba(77,163,255,.18),
            transparent 60%
        );
}

.product-image.premium {
    background:
        radial-gradient(
            circle,
            rgba(180,120,255,.18),
            transparent 60%
        );
}

.product-image.coins {
    background:
        radial-gradient(
            circle,
            rgba(255,190,70,.15),
            transparent 60%
        );
}

.product-image.kit {
    background:
        radial-gradient(
            circle,
            rgba(255,80,100,.15),
            transparent 60%
        );
}

.product-tag {
    position: absolute;

    top: 12px;
    left: 12px;

    padding: 5px 9px;

    background: #4da3ff;
    color: #06101d;

    border-radius: 5px;

    font-size: 10px;
    font-weight: 800;
}

.product-icon {
    font-size: 75px;

    filter:
        drop-shadow(
            0 10px 25px rgba(0,0,0,.5)
        );
}

.product-info {
    padding: 20px;
}

.product-category {
    color: #4da3ff;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}

.product-info h3 {
    margin-top: 8px;

    font-size: 21px;
}

.product-info p {
    min-height: 65px;

    margin: 10px 0;

    color: #7e8899;

    font-size: 13px;
    line-height: 1.6;
}

.product-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-top: 15px;

    border-top: 1px solid #182333;
}

.product-bottom strong {
    font-size: 20px;
}

.product-bottom button {
    padding: 9px 13px;

    background: #4da3ff;

    border: 0;
    border-radius: 6px;

    color: #06101d;

    font-weight: 700;

    cursor: pointer;

    transition: .2s;
}

.product-bottom button:hover {
    transform: scale(1.04);
}


/* ================================
   CTA
================================ */

.shop-cta {
    padding: 80px 20px;

    text-align: center;

    background:
        radial-gradient(
            circle,
            rgba(77,163,255,.12),
            transparent 60%
        );

    border-top: 1px solid #121c29;
}

.shop-cta h2 {
    margin: 10px 0;

    font-size: 35px;
}

.shop-cta p {
    max-width: 550px;

    margin: 0 auto 25px;

    color: #858e9e;

    line-height: 1.7;
}


/* ================================
   CART
================================ */

.cart-overlay {
    position: fixed;

    inset: 0;

    display: flex;
    justify-content: flex-end;

    background: rgba(0,0,0,.65);

    opacity: 0;
    visibility: hidden;

    transition: .25s;

    z-index: 2000;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart {
    width: min(420px, 100%);

    height: 100%;

    background: #0b1019;

    padding: 25px;

    transform: translateX(100%);

    transition: .25s;
}

.cart-overlay.show .cart {
    transform: translateX(0);
}

.cart-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid #182333;
}

.cart-header button {
    background: none;
    border: 0;

    color: white;

    font-size: 20px;

    cursor: pointer;
}

.empty-cart {
    padding: 40px 0;

    color: #737e90;

    text-align: center;
}

.cart-item {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 18px 0;

    border-bottom: 1px solid #182333;
}

.cart-item strong {
    display: block;
}

.cart-item span {
    display: block;

    margin-top: 5px;

    color: #4da3ff;
}

.cart-item button {
    background: none;
    border: 0;

    color: #ff6574;

    cursor: pointer;
}

.cart-footer {
    position: absolute;

    bottom: 25px;

    width: calc(min(420px, 100%) - 50px);
}

.cart-footer > div {
    display: flex;

    justify-content: space-between;

    margin-bottom: 15px;
}

.cart-footer strong {
    font-size: 22px;
}

.checkout {
    width: 100%;

    padding: 14px;

    background: #4da3ff;

    border: 0;
    border-radius: 8px;

    font-weight: 800;

    cursor: pointer;
}


/* ================================
   FOOTER
================================ */

footer {
    border-top: 1px solid #121c29;

    padding: 35px 0;

    color: #687386;
}

.footer-content {
    display: flex;

    align-items: center;
    justify-content: space-between;
}

.footer-content strong {
    color: white;
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width: 900px) {

    nav {
        display: none;
    }

    .category-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .nav-content {
        height: 65px;
    }

    .login-button {
        display: none;
    }

    .shop-hero {
        min-height: 420px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .products-header {
        align-items: start;

        flex-direction: column;

        gap: 20px;
    }

    .footer-content {
        flex-direction: column;

        align-items: flex-start;

        gap: 15px;
    }

}
