:root {
    --primary-color: #00f3ff; /* Neon Cyan */
    --secondary-color: #bc13fe; /* Neon Purple */
    --accent-color: #ff0055; /* Neon Pink */
    --bg-dark: #050510; /* Deep Space Blue/Black */
    --bg-panel: rgba(20, 20, 40, 0.7); /* Glass Panel */
    --text-light: #ffffff;
    --text-dim: #a0a0c0;
    --gradient-main: linear-gradient(135deg, #00f3ff 0%, #bc13fe 100%);
    --glow-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    background-image: url('../images/bg-cyber-circuit.jpg');
    background-attachment: fixed;
    background-size: cover;
    color: var(--text-light);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif; /* Tech font */
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 15px;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-dim);
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(5, 5, 16, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
}

.logo span {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(188, 19, 254, 0.5);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.auth-buttons .btn {
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s;
}

.btn-login {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    margin-right: 15px;
}

.btn-login:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

.btn-register {
    background: var(--gradient-main);
    border: none;
    color: white;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.6);
}

/* Hero Section */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 80px; /* Navbar height */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,16,0.3), var(--bg-dark));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 40px;
}

.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    margin-top: 20px;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 0, 85, 0.8);
    color: white;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-box {
    background: linear-gradient(145deg, rgba(20,20,40,0.8), rgba(10,10,20,0.9));
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(0, 243, 255, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255,255,255,0.5);
}

/* Game Grid */
.game-grid-section {
    margin: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.game-card {
    background: #1a1a2e;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

.game-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(188, 19, 254, 0.4);
    z-index: 10;
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(0.8);
    transition: filter 0.3s;
}

.game-card:hover img {
    filter: brightness(1.1);
}

.game-info {
    padding: 15px;
    text-align: center;
}

.game-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

/* SEO Content */
.seo-content {
    background: rgba(10, 10, 20, 0.8);
    padding: 60px;
    border-radius: 20px;
    margin: 80px 0;
    border: 1px solid rgba(0, 243, 255, 0.1);
}

.seo-content ul {
    list-style-position: inside;
    margin-bottom: 1.5rem;
    color: var(--text-dim);
}

.seo-content li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: #02020a;
    padding: 80px 0 30px;
    margin-top: 100px;
    border-top: 1px solid rgba(188, 19, 254, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #555;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px;
    }
    
    .nav-links {
        display: none; /* Simple mobile hide for template */
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .auth-buttons {
        margin-top: 15px;
    }
}
