:root {
    --primary-color: #00f3ff;
    --secondary-color: #0c1b2b;
    --accent-color: #ff00ff;
    --text-color: #ffffff;
    --grid-color: rgba(0, 243, 255, 0.1);
}

@font-face {
    font-family: 'Press Start 2P';
    src: url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
}

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

body {
    font-family: 'Press Start 2P', monospace;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

header {
    padding: 2rem;
    background: rgba(12, 27, 43, 0.9);
    border-bottom: 2px solid var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.8rem;
}

nav a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

main {
    margin-top: 80px;
}

section {
    padding: 6rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#hero {
    background: linear-gradient(45deg, var(--secondary-color), #1a2b3c);
}

.hero-content {
    max-width: 800px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
}

.subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.cta-button:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 0 30px var(--primary-color);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 1200px;
}

.game-card {
    background: rgba(12, 27, 43, 0.8);
    padding: 1.5rem;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
}

.game-image {
    width: 100%;
    height: 200px;
    background: var(--grid-color);
    margin-bottom: 1rem;
    border: 1px solid var(--primary-color);
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    padding: 1rem 2rem;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 0 20px var(--primary-color);
}

footer {
    padding: 2rem;
    text-align: center;
    border-top: 2px solid var(--primary-color);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .contact-content {
        flex-direction: column;
    }
}
