/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
}

/* ===== BACKGROUND ===== */
body {
    background: #050505;
    color: #e0e0e0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== GLITCH TITLE ===== */
h1 {
    font-size: 3rem;
    text-align: center;
    margin-top: 50px;
    letter-spacing: 4px;
    color: #ff0066;
    text-shadow: 0 0 10px #ff0066, 0 0 25px #ff0066;
    animation: glitch 1.6s infinite;
}

@keyframes glitch {
    0% { text-shadow: 3px 2px #00fff2; }
    20% { text-shadow: -3px -2px #ff0066; }
    40% { text-shadow: 4px -2px #00fff2; }
    60% { text-shadow: -2px 3px #ff0066; }
    80% { text-shadow: 4px 2px #00fff2; }
    100% { text-shadow: -4px 2px #ff0066; }
}

/* ===== GAME GRID ===== */
.games {
    width: 90%;
    max-width: 900px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

/* ===== GAME CARD ===== */
.game {
    padding: 20px;
    background: #0d0d0d;
    border-radius: 10px;
    border: 2px solid #1a1a1a;
    text-align: center;
    transition: 0.3s ease;
    cursor: pointer;
}

.game:hover {
    border-color: #ff0066;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 0 15px #ff0066;
}

.game img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.game-title {
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 0 0 5px #ff0066;
}
