body {
    margin: 0;
    font-family: sans-serif;
    background: linear-gradient(to bottom right, #6b21a8, #9333ea, white);
    color: white;
    overflow-x: hidden;
    position: relative;
}
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}
nav a {
    margin-left: 1rem;
    text-decoration: none;
    color: white;
}
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #7c3aed;
    border-radius: 1rem;
    padding: 1rem;
    position: absolute;
    top: 4rem;
    right: 1rem;
    z-index: 20;
}
.hero {
    text-align: center;
    padding: 5rem 1rem 3rem;
    position: relative;
    z-index: 10;

    .bg-img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: .6;
        z-index: -10;
        pointer-events: none;
        height: 100%;
    }
}
.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
}
.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}
.hero-buttons a {
    display: inline-block;
    margin: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: white;
    background: #6b21a8;
    transition: background 0.3s;
}
.hero-buttons a:hover {
    background: #9333ea;
}
main {
    padding: 2rem 0;
}
section {
    margin-bottom: 4rem;

    .gamepad {
        right: 0;
    }
}
section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    width: 100%;
    max-width: 280px;
    border: 2px solid #c084fc;
    cursor: pointer;
    box-shadow:
            0 0 10px #d8b4fe,
            0 0 20px #c084fc,
            0 0 30px #a855f7,
            0 0 40px #9333ea;

    .title {
        font-size: 1.5rem;
    }
}
.card:hover {
    transform: scale(1.05);

    img {
        transform: translateY(-1rem);
    }
}
.card img {
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1rem;
    rotate: 11deg;
    transition: transform 0.3s ease;
    border-radius: 15px;
    width: 175px;
    height: 130px;
}
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    .hero .bg-img {
        width: calc(100% - 32px) !important;
        height: max-content;
    }
    .hero-buttons {
        display: block;
        a {
            width: 100%;
            padding: .75rem 0;
        }
    }

    header h1 {
        text-align: center;
    }

    a.banner {
        height: 100px !important;
        img {
            width: 100% !important;
        }

        .text {
            font-size: 1rem !important;
            max-width: 200px !important;
        }
    }
}

.category {
    position: relative;

    .side-img {
        position: absolute;
        z-index: -10;
        width: 100%;
        max-width: min(100%, 430px) !important;
        height: auto;
        top: 50%;
        transform: translateY(-50%);
        &.right {
            right: 0;
        }
    }
}

a.banner {
    text-decoration: none;
    margin: 1rem 0;
    padding: 0;
    display: flex;
    align-items: center;
    position: relative;
    height: 125px;

    img {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -10;
        border-radius: 15px;
        border: 2px solid #c084fc;
        box-shadow:
                0 0 10px #d8b4fe,
                0 0 20px #c084fc,
                0 0 30px #a855f7,
                0 0 40px #9333ea;
        width: 100%;
        height: 100%;
    }

    .text {
        font-size: 2rem;
        color: white;
        margin-left: 2rem;
        max-width: 600px;
        font-weight: bold;
    }
}