@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

/* General Body Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #f0f0f0;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

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

/* Header Styles */
header {
    background: #2c2c2c;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
    border-bottom: 3px solid #00aaff;
}

header h1 {
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    font-size: 2.5em;
    font-weight: 700;
    color: #fff;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #00aaff,
        0 0 20px #00aaff,
        0 0 40px #00aaff;
}

header .intro-text {
    max-width: 800px;
    margin: 15px auto 0;
    font-size: 1.1em;
    color: #cccccc;
}

/* Category Filter Buttons */
.category-filter {
    text-align: center;
    margin-bottom: 30px;
}

.filter-btn {
    background-color: transparent;
    color: #00aaff;
    border: 2px solid #00aaff;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #00aaff;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.5);
}


/* Game Grid Layout */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

/* Game Card Styles */
.game-card {
    background-color: #2c2c2c;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.game-card .game-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.game-card .game-title {
    padding: 15px;
    font-weight: 600;
    font-size: 1em;
    color: #f0f0f0;
}


/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background-color: #2c2c2c;
    color: #aaaaaa;
    border-top: 1px solid #444;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }

    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .game-card .game-title {
        font-size: 0.9em;
        padding: 10px;
    }
} 