:root {
    --primary-color: #004d25; /* Deep Forest Green */
    --secondary-color: #00c853; /* Bright Emerald */
    --accent-color: #ffd700; /* Polished Gold */
    --text-color: #e0e0e0;
    --bg-color: #050a05; /* Very dark green/black */
    --glass-bg: rgba(0, 20, 10, 0.7);
    --glass-border: 1px solid rgba(0, 200, 83, 0.2);
    --card-bg: rgba(255, 255, 255, 0.05);
    --nav-bg: rgba(0, 20, 10, 0.9);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    background-image: url('../images/bg-texture-emerald.jpg');
    background-attachment: fixed;
    background-size: cover;
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Panoramic Glass Layout */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Floating Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 5%;
    width: 90%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    background: var(--nav-bg);
    border: 1px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

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

.nav-links a {
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--secondary-color);
}

.auth-buttons .btn {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    cursor: pointer;
}

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

.btn-register {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 200, 83, 0.4);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 200, 83, 0.6);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), var(--bg-color)), url('../images/hero-emerald.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
    padding: 40px;
    background: rgba(0,0,0,0.6);
    border-radius: 20px;
    border: 1px solid var(--accent-color);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #fff;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(90deg, var(--accent-color), #ffecb3);
    color: #000;
    font-weight: bold;
    font-size: 18px;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

/* Main Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Game Grid */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--accent-color);
    margin: 10px auto 0;
}

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

.game-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 20px rgba(0, 200, 83, 0.2);
}

.game-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

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

.game-info h3 {
    color: var(--accent-color);
    margin-bottom: 5px;
}

/* Features Section */
.features {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 80px 0;
}

.feature-box {
    flex: 1;
    padding: 30px;
    text-align: center;
    background: linear-gradient(145deg, rgba(0,50,20,0.8), rgba(0,20,10,0.9));
    border: 1px solid var(--secondary-color);
    border-radius: 20px;
}

.feature-icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Content Section */
.seo-content {
    background: var(--glass-bg);
    padding: 50px;
    border-radius: 20px;
    margin-top: 60px;
    border: 1px solid rgba(255,255,255,0.05);
}

.seo-content h2 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.seo-content p {
    margin-bottom: 15px;
    color: #ccc;
}

/* Footer */
footer {
    background: #020502;
    padding: 60px 0 20px;
    margin-top: 80px;
    border-top: 1px solid var(--primary-color);
}

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

.footer-col h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 18px;
}

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

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

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

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        width: 100%;
        left: 0;
        top: 0;
        border-radius: 0;
        padding: 15px;
    }
    
    .nav-links {
        display: none; /* Mobile menu to be implemented */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .features {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
