:root {
    --primary: #00f2ff;
    --secondary: #ff00ff;
    --bg: #0a0a12;
    --card-bg: #1a1a24;
    --text: #ffffff;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(180deg, rgba(0, 242, 255, 0.1) 0%, rgba(10, 10, 18, 0) 100%);
}

.logo {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5em;
    color: var(--primary);
    text-shadow: 4px 4px var(--secondary);
    margin-bottom: 10px;
    animation: glitch 2s infinite;
}

.tagline {
    font-size: 1.2em;
    color: #aaa;
}

main {
    flex: 1;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.game-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.2);
    border-color: var(--primary);
}

.game-icon {
    font-size: 80px;
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
}

.game-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-info h3 {
    margin: 0 0 10px 0;
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2em;
    color: var(--secondary);
}

.game-info p {
    font-size: 0.9em;
    line-height: 1.5;
    color: #ccc;
    flex: 1;
}

.play-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--primary);
    color: #000;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coming-soon {
    opacity: 0.6;
    cursor: default;
}

.coming-soon:hover {
    transform: none;
    box-shadow: none;
    border-color: #333;
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.8em;
    color: #555;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}