:root {
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --accent-cyan: #00ffff;
    --accent-yellow: #ffff00;
    --accent-magenta: #ff00ff;
    --grid-color: rgba(0, 255, 255, 0.2);
    
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section 1: The Hero */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    perspective: 1000px;
}

.grid-floor {
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    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;
    transform: rotateX(60deg);
    animation: grid-move 20s linear infinite;
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 60%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 60%);
    z-index: -1;
}

@keyframes grid-move {
    0% { transform: rotateX(60deg) translateY(0); }
    100% { transform: rotateX(60deg) translateY(50px); }
}

.hero-content {
    z-index: 1;
    padding: 20px;
}

.logo {
    font-size: 4rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px var(--accent-magenta);
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
    margin-bottom: 1rem;
}

.headline {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.text-chaos {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan);
}

.sub-headline {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    border-color: var(--accent-magenta);
    color: var(--accent-magenta);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-magenta);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
}

.btn-cyan {
    background-color: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.btn-cyan:hover {
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.btn-yellow-outline {
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
    background: transparent;
}

.btn-yellow-outline:hover {
    background-color: var(--accent-yellow);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.6);
}

.btn-neutral {
    border-color: #555;
    color: #888;
    background: transparent;
}

.btn-neutral:hover {
    border-color: #fff;
    color: #fff;
}

/* Section 2: The Game Grid */
#games {
    padding: 100px 0;
    background: linear-gradient(to bottom, #0a0a0a, #111);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.game-card {
    background: #1a1a1a;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-10px);
}

.accent-cyan:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.accent-yellow:hover {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 20px rgba(255, 255, 0, 0.2);
}

.card-image {
    height: 200px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .card-image img {
    transform: scale(1.1);
}

.placeholder {
    background: #111;
    border-bottom: 1px solid #333;
}

.question-mark {
    font-size: 5rem;
    font-family: var(--font-display);
    color: #333;
}

.card-content {
    padding: 25px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.card-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.status {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.blink {
    color: #0f0;
    border: 1px solid #0f0;
    animation: blink-animation 2s infinite;
}

@keyframes blink-animation {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.accent-yellow .status {
    color: var(--accent-yellow);
    border: 1px solid var(--accent-yellow);
}

.genre {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pitch {
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: #ccc;
}

/* Section 3: About */
#about {
    padding: 80px 0;
    text-align: center;
    background-color: #0a0a0a;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #ccc;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-links a {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--accent-cyan);
    position: relative;
}

.social-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-cyan);
    transition: width 0.3s ease;
}

.social-links a:hover::after {
    width: 100%;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid #222;
    font-size: 0.9rem;
    color: #666;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-nav a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .logo { font-size: 2.5rem; }
    .headline { font-size: 1.5rem; }
    .footer-content { flex-direction: column; text-align: center; }
}
