/* CSS Reset & Variables */
:root {
    --bg-dark: #0a0a0c;
    --bg-card: #141417;
    --accent-red: #e60000;
    --accent-glow: rgba(230, 0, 0, 0.6);
    --text-main: #f0f0f0;
    --text-muted: #a0a0a5;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
header {
    background-color: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #222;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 40px;
    border-radius: 4px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-red);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a0505 0%, var(--bg-dark) 70%);
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem; /* Made slightly larger since the logo is gone */
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(230, 0, 0, 0.3);
}

/* Typewriter Animation Styles */
.typewriter-container {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    min-height: 60px; /* Prevents the layout from jumping as text types */
    border-right: 2px solid var(--accent-red);
    padding-right: 5px;
    animation: blinkCursor 0.75s step-end infinite;
}

@keyframes blinkCursor {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent-red); }
}

/* Games Section */
.games-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-red);
    margin: 15px auto 0;
    box-shadow: 0 0 10px var(--accent-glow);
}

.game-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #2a2a2f;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.game-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-right: 1px solid #2a2a2f;
}

.game-info {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-logo {
    max-width: 250px;
    margin-bottom: 20px;
}

.game-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    background-color: #222;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #444;
}

.game-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.btn-play {
    display: inline-block;
    background-color: var(--text-main);
    color: var(--bg-dark);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-play:hover {
    background-color: var(--accent-red);
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: #050505;
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #222;
    margin-top: 50px;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 900px) {
    .game-card {
        grid-template-columns: 1fr;
    }
    .game-banner {
        border-right: none;
        border-bottom: 1px solid #2a2a2f;
    }
    .nav-links {
        display: none; 
    }
}