* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    text-align: center;
    margin-bottom: 60px;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00d9ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2rem;
    color: #8892b0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.game-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.snake-icon {
    background: linear-gradient(135deg, #00ff88, #00d9ff);
    position: relative;
}

.snake-icon::before {
    content: '';
    width: 60px;
    height: 15px;
    background: #fff;
    border-radius: 10px;
    position: absolute;
}

.snake-icon::after {
    content: '';
    width: 15px;
    height: 15px;
    background: #ff6b6b;
    border-radius: 50%;
    position: absolute;
    top: 30px;
    right: 25px;
}

.game-card h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.game-card p {
    color: #8892b0;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.play-btn {
    background: linear-gradient(90deg, #00d9ff, #00ff88);
    color: #1a1a2e;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.game-card:hover .play-btn {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.4);
}

footer {
    text-align: center;
    margin-top: 60px;
    color: #8892b0;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2.5rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 20px 15px;
    }
}
