/* =========================
   🔥 HEADER
========================= */

header {
    padding: 140px 20px 80px;
}

.logo {
    width: 300px;
    margin-top: -150px;
    filter: drop-shadow(0 0 20px #6D609D);
    animation: glowPulse 3s infinite ease-in-out;
}

.subtitle {
    color: #b8aaff;
    margin-top: 10px;
}

@keyframes glowPulse {
    0% { filter: drop-shadow(0 0 10px #6D609D); }
    50% { filter: drop-shadow(0 0 30px #6D609D); }
    100% { filter: drop-shadow(0 0 10px #6D609D); }
}

/* =========================
   🎮 CARDS (Games + Explore)
========================= */

.games,
.explore {
    padding: 100px 20px;
    margin-top: -200px;
}

.games-grid,
.explore-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;

    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .explore-grid,
    .games-grid {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .game-card {
        flex: 1 1 300px;
        max-width: 350px;
    }
}


.game-card {
    display: block;
    text-decoration: none;
    color: #e6e0ff;

    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #6D609D;
    border-radius: 12px;

    width: 50%;
    height: 50%;
    padding: 50px 30px;

    backdrop-filter: blur(10px);

    box-shadow: 0 0 15px rgba(109, 96, 157, 0.2);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 35px #6D609D;
    cursor: pointer;
}

.game-card p {
    position: relative;
    margin-top: 15px;
    padding-top: 15px;
}

.game-card p::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 200px;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        #b8aaff,
        transparent
    );

    border-radius: 2px;
    opacity: 0.5;
}

.card-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    border: 1px solid #6D609D;
    color: #e6e0ff;
    transition: 0.3s;
}

.game-card:hover .card-btn {
    background: #6D609D;
    color: black;
    box-shadow: 0 0 20px #6D609D;
}


/* =========================
   Event
========================= */

.event {
    padding: 100px 20px;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 40px;
}


.event-grid img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid #6D609D;

    transition: 0.3s;
}

.event-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px #6D609D;
}

/* =========================
   🔗 LINKS
========================= */

.links {
    text-align: center;
    padding: 120px 20px;
}

.links h4 {
    
    font-size: 32px;
    margin-bottom: 30px;
    text-shadow: 0 0 10px #6D609D;
}

.links a {
    display: inline-block;
    margin: 20px 15px;
    padding: 14px 40px;

    font-size: 16px;
    letter-spacing: 1px;

    border: 1px solid #6D609D;
    color: #e6e0ff;
    text-decoration: none;

    transition: 0.3s;
}

.links a:hover {
    background: #6D609D;
    color: black;
    box-shadow: 0 0 25px #6D609D;
    transform: scale(1.05);
}
