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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: white;
}

/* Header */
.header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header h1 {
    font-size: 48px;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.header p {
    font-size: 18px;
    opacity: 0.9;
}

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

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Game Card */
.game-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: white;
    display: block;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.game-thumbnail {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #70c5ce 0%, #a8e6f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.game-info {
    padding: 20px;
}

.game-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.game-info p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.5;
}

.game-status {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    background: rgba(76, 175, 80, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* Back Button */
.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.back-button::before {
    content: "←";
    font-size: 20px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.footer p {
    opacity: 0.7;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 36px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .back-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}
