/* --- Global Reset & Variables --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --bg-color: #0f0f13;
    --surface-color: #1a1a24;
    --text-main: #f0f0f5;
    --text-muted: #a0a0b0;
    --accent-color: #00e5ff;
    --accent-hover: #00b3cc;
    --card-radius: 12px;
    --transition: 0.3s ease;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

/* --- Header & Navigation --- */
header {
    background-color: rgba(26, 26, 36, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
    letter-spacing: 1px;
    text-transform: lowercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* --- Main Content --- */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Game Library Section */
.library-section {
    padding: 4rem 0;
}

.library-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    display: inline-block;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

/* Grid Layout */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Game Card */
.game-slot {
    background-color: var(--surface-color);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-slot:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
}

.thumbnail-placeholder {
    height: 180px;
    background-color: #2a2a36;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-style: italic;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.slot-info {
    padding: 1.5rem;
}

.slot-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.slot-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Buttons */
.launch-btn {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color var(--transition), transform 0.1s;
}

.launch-btn:hover {
    background-color: var(--accent-hover);
}

.launch-btn:active {
    transform: scale(0.98);
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 2rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
}