:root {
    --bg-color: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --card-bg: rgba(30, 41, 59, 0.7);
    --card-border: rgba(51, 65, 85, 0.5);
    --neon-blue: #38bdf8;
    --neon-green: #4ade80;
    --primary-glow: rgba(56, 189, 248, 0.15);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Background ambient glow */
.glow {
    position: absolute;
    top: -20vh;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 5rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo-mark {
    width: 32px;
    height: 32px;
    background: var(--text-main);
    border-radius: 8px;
    transform: rotate(45deg);
    position: relative;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.logo-mark::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 2px solid var(--bg-color);
    border-radius: 2px;
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Games Section */
.games-section h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.games-section h2::after {
    content: '';
    height: 1px;
    flex: 1;
    background: var(--card-border);
}

.game-card {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--primary-glow);
}

.game-image {
    width: 200px;
    background: #0b1121;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--card-border);
}

/* CSS representation of Neon Sync Icon */
.neon-sync-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--card-border);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neon-circle {
    width: 24px;
    height: 24px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--neon-green);
}

.game-content {
    padding: 2rem;
    flex: 1;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.game-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
}

.badge {
    background: rgba(56, 189, 248, 0.1);
    color: var(--neon-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.game-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.platform-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
    transition: background 0.2s;
}

.game-card:hover .platform-chip {
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    margin-top: auto;
    padding-top: 4rem;
    text-align: center;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-main);
}

.separator {
    color: var(--card-border);
    margin: 0 1rem;
}

footer p {
    color: rgba(148, 163, 184, 0.5);
    font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .game-card {
        flex-direction: column;
    }
    
    .game-image {
        width: 100%;
        height: 160px;
        border-right: none;
        border-bottom: 1px solid var(--card-border);
    }
    
    h1 {
        font-size: 2.5rem;
    }
}
