:root {
    /* Color System */
    --bg-primary: #0b1f13;
    --bg-secondary: #142c1c;
    --bg-card: #1f3a27;
    --accent-primary: #22c55e;
    --accent-secondary: #facc15;
    --glow-highlight: #16a34a;
    --text-primary: #ffffff;
    --text-secondary: #d1fae5;
    
    /* Layout */
    --container-max-width: 1200px;
    --game-max-width: 1000px;
    
    /* Typography */
    --font-main: 'Helvetica Neue', Arial, sans-serif; /* Sports style default */
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

.highlight {
    color: var(--accent-secondary);
    font-weight: 700;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--accent-secondary); }
h3 { font-size: 1.5rem; color: var(--text-primary); }

p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

/* Layout Utilities */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

@media (max-width: 1024px) {
    .section { padding: 70px 0; }
}

@media (max-width: 768px) {
    .section { padding: 50px 0; }
}

/* Buttons */
.btn {
    display: inline-block;
    border-radius: 10px;
    padding: 12px 26px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(250, 204, 21, 0.5);
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
}

/* Header */
.main-header {
    background-color: var(--bg-primary);
    border-bottom: 2px solid var(--accent-secondary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
    /* Basic placeholder style if image is missing */
    background-color: var(--accent-primary);
    border-radius: 50%;
    padding: 5px;
}

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

.main-nav a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    padding: 5px 0;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--accent-secondary);
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-secondary);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--accent-secondary);
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.mobile-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--accent-secondary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 31, 19, 0.8), rgba(11, 31, 19, 0.95));
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

/* Featured Game Section */
.featured-game-section {
    background-color: var(--bg-primary);
    text-align: center;
}

.section-header {
    margin-bottom: 50px;
}

.game-wrapper {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.game-container {
    width: 100%;
    max-width: var(--game-max-width);
    background-color: var(--bg-card);
    border: 3px solid var(--accent-secondary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(250, 204, 21, 0.15), inset 0 0 20px rgba(22, 163, 74, 0.2);
    aspect-ratio: 16 / 9;
    position: relative;
}

.game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Features Section */
.features-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(34, 197, 94, 0.2);
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border-bottom: 3px solid var(--accent-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
    border-bottom-color: var(--accent-secondary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.6));
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--accent-secondary);
}

/* Content Box (About/SEO) */
.content-box {
    background-color: var(--bg-secondary);
    padding: 50px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.content-box p {
    margin-bottom: 20px;
}

.content-box ul {
    margin: 20px 0 20px 20px;
    list-style-type: disc;
    color: var(--text-secondary);
}

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

/* Responsible Notice */
.responsible-notice {
    text-align: center;
}

.notice-box {
    background-color: var(--bg-card);
    border: 2px dashed var(--accent-secondary);
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.notice-box h3 {
    color: var(--accent-secondary);
}

/* Page Header (Inner Pages) */
.page-header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 80px 0 40px;
    text-align: center;
    border-bottom: 1px solid rgba(250, 204, 21, 0.3);
}

.page-header h1 {
    color: var(--accent-secondary);
    text-shadow: 0 0 15px rgba(250, 204, 21, 0.3);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-details {
    margin-top: 20px;
}

.contact-details li {
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-details strong {
    color: var(--accent-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-primary);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.2);
}

/* Footer */
.main-footer {
    background-color: var(--bg-secondary);
    border-top: 3px solid var(--accent-primary);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h4 {
    color: var(--accent-secondary);
    margin-top: 15px;
}

.footer-logo-img {
    height: 40px;
    filter: grayscale(100%) brightness(200%);
}

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

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

.footer-links a:hover {
    color: var(--accent-secondary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(250, 204, 21, 0.2);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .game-container {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .header-content {
        position: relative;
    }
    
    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-primary);
        border-bottom: 2px solid var(--accent-secondary);
        display: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .main-nav li {
        text-align: center;
    }

    .main-nav a {
        display: block;
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .main-nav a::after {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .game-container {
        width: 100%;
        border-width: 2px;
        border-radius: 12px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo-img {
        margin: 0 auto;
    }
    
    .content-box {
        padding: 30px 20px;
    }
}