* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #08060f;
    --bg2: #100a1d;
    --card: #151020;
    --purple: #9b5cff;
    --purple-dark: #5b20a8;
    --red: #ff3158;
    --text: #ffffff;
    --muted: #aaa4b8;
    --border: rgba(255, 255, 255, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at 20% 20%, rgba(155, 92, 255, 0.15), transparent 30%),
        radial-gradient(circle at 80% 30%, rgba(255, 49, 88, 0.12), transparent 30%),
        var(--bg);
    color: var(--text);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* NAVBAR */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 5%;
    background: rgba(8, 6, 15, 0.88);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo span,
.footer-logo span,
.hero h1 span {
    color: var(--purple);
}

.navbar nav {
    display: flex;
    gap: 25px;
}

.navbar nav a {
    color: #ddd;
    font-size: 14px;
    font-weight: bold;
    transition: 0.25s;
}

.navbar nav a:hover {
    color: var(--purple);
}

.cart-button {
    border: 1px solid rgba(155, 92, 255, 0.5);
    background: rgba(155, 92, 255, 0.12);
    color: white;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 15px;
    transition: 0.25s;
}

.cart-button:hover {
    background: var(--purple);
}

/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 120px 20px 80px;

    background:
        linear-gradient(rgba(8, 6, 15, 0.35), rgba(8, 6, 15, 0.9)),
        radial-gradient(circle at center, rgba(155, 92, 255, 0.2), transparent 45%);
}

.hero-content {
    max-width: 850px;
}

.badge {
    display: inline-block;
    padding: 9px 15px;
    margin-bottom: 20px;

    border: 1px solid rgba(155, 92, 255, 0.4);
    border-radius: 999px;

    background: rgba(155, 92, 255, 0.1);
    color: #d9c7ff;

    font-size: 12px;
    font-weight: bold;
}

.hero h1 {
    font-size: clamp(60px, 10vw, 120px);
    line-height: 0.95;
    font-weight: 1000;
    letter-spacing: -5px;
    text-shadow: 0 0 40px rgba(155, 92, 255, 0.3);
}

.hero p {
    max-width: 600px;
    margin: 25px auto;

    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.server-ip {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin: 15px 0;
    padding: 7px 8px 7px 17px;

    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.server-ip span {
    font-weight: bold;
}

.server-ip button {
    border: 0;
    border-radius: 8px;
    padding: 9px 13px;

    background: var(--purple);
    color: white;
    font-weight: bold;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.button {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: bold;
    transition: 0.25s;
}

.button.primary {
    background: linear-gradient(135deg, var(--purple), var(--red));
}

.button.discord {
    background: #5865f2;
}

.button:hover {
    transform: translateY(-3px);
}

/* SECTIONS */

.section {
    max-width: 1200px;
    margin: auto;
    padding: 100px 25px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 34px;
}

.section-description {
    max-width: 700px;
    margin: 0 auto 40px;

    text-align: center;
    color: var(--muted);
    line-height: 1.6;
}

/* INFO */

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 45px;
}

.info-card {
    padding: 30px;

    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.06),
        rgba(255, 255, 255, 0.02)
    );

    border: 1px solid var(--border);
    border-radius: 18px;

    text-align: center;
    transition: 0.3s;
}

.info-card:hover {
    transform: translateY(-6px);
    border-color: rgba(155, 92, 255, 0.45);
}

.info-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.info-card h3 {
    margin-bottom: 12px;
}

.info-card p {
    color: var(--muted);
    line-height: 1.6;
}

/* CANDIDATURE */

.application-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
}

.application-buttons button {
    padding: 15px 22px;
    border: 1px solid rgba(155, 92, 255, 0.4);
    border-radius: 12px;

    background: rgba(155, 92, 255, 0.1);
    color: white;

    font-weight: bold;
    transition: 0.25s;
}

.application-buttons button:hover {
    background: var(--purple);
}

.application-form {
    max-width: 800px;
    margin: 30px auto 0;

    padding: 30px;

    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.application-form h3 {
    margin-bottom: 20px;
}

.question {
    margin-bottom: 20px;
}

.question label {
    display: block;
    margin-bottom: 8px;

    color: #eee;
    font-weight: bold;
}

.question textarea,
.question input {
    width: 100%;
    padding: 12px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: #0d0915;
    color: white;

    outline: none;
    resize: vertical;
}

.question textarea {
    min-height: 90px;
}

.question textarea:focus,
.question input:focus {
    border-color: var(--purple);
}

.submit-application {
    width: 100%;
    padding: 14px;

    border: 0;
    border-radius: 10px;

    background: linear-gradient(135deg, var(--purple), var(--red));
    color: white;

    font-weight: bold;
    font-size: 15px;
}

/* STORE */

.mode-title {
    max-width: 350px;
    margin: 30px auto;

    padding: 14px;

    text-align: center;
    font-weight: bold;

    border-radius: 12px;
    background: linear-gradient(
        135deg,
        rgba(155, 92, 255, 0.2),
        rgba(255, 49, 88, 0.15)
    );

    border: 1px solid rgba(155, 92, 255, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    overflow: hidden;

    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;

    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-image {
    height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 65px;

    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 55%),
        var(--product-color);
}

.product-content {
    padding: 22px;
}

.product-content h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.product-price {
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 900;
}

.product-description {
    min-height: 55px;
    margin-bottom: 20px;

    color: var(--muted);
    line-height: 1.5;
}

.add-cart {
    width: 100%;
    padding: 13px;

    border: 0;
    border-radius: 10px;

    background: linear-gradient(135deg, var(--purple), var(--red));
    color: white;

    font-weight: bold;
}

/* CART */

.overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
}

.overlay.active {
    display: flex;
}

.cart {
    position: relative;

    width: 100%;
    max-width: 550px;
    max-height: 85vh;
    overflow-y: auto;

    padding: 30px;

    background: #120d1c;
    border: 1px solid var(--border);
    border-radius: 20px;
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;

    border: 0;
    background: transparent;
    color: white;

    font-size: 22px;
}

.cart h2 {
    margin-bottom: 25px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item-info {
    flex: 1;
}

.cart-item-info strong {
    display: block;
    margin-bottom: 5px;
}

.cart-item-info span {
    color: var(--muted);
}

.cart-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-controls button {
    width: 30px;
    height: 30px;

    border: 1px solid var(--border);
    border-radius: 7px;

    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.cart-total {
    display: flex;
    justify-content: space-between;

    margin-top: 25px;
    padding-top: 20px;

    border-top: 1px solid var(--border);
    font-size: 20px;
}

.checkout-button {
    width: 100%;
    margin-top: 20px;
    padding: 15px;

    border: 0;
    border-radius: 10px;

    background: linear-gradient(135deg, var(--purple), var(--red));
    color: white;

    font-size: 15px;
    font-weight: bold;
}

/* FOOTER */

footer {
    padding: 60px 20px;

    text-align: center;

    background: #05040a;
    border-top: 1px solid var(--border);
}

.footer-logo {
    margin-bottom: 10px;

    font-size: 28px;
    font-weight: 900;
}

footer p {
    color: var(--muted);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;

    margin: 25px 0;
}

.footer-links a:hover {
    color: var(--purple);
}

.copyright {
    font-size: 13px;
}

/* MOBILE */

@media (max-width: 850px) {

    .navbar {
        height: auto;
        min-height: 70px;
        flex-wrap: wrap;
        gap: 12px;
        padding: 15px 20px;
    }

    .navbar nav {
        order: 3;
        width: 100%;

        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .info-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        letter-spacing: -3px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}

@media (max-width: 500px) {

    .section {
        padding: 75px 15px;
    }

    .section-title h2 {
        font-size: 27px;
    }

    .server-ip {
        flex-direction: column;
        padding: 12px;
    }

    .server-ip button {
        width: 100%;
    }

    .application-form,
    .cart {
        padding: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}