:root {
    --bg-primary: #0A0A0D;
    --bg-secondary: #141417;
    --card-bg: rgba(255, 255, 255, 0.03);
    --accent-primary: #00FF88;
    --accent-secondary: #00FFCC;
    --text-primary: #F5F5F5;
    --text-secondary: #9CA3AF;
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    --spacing-desktop: 100px;
    --spacing-tablet: 70px;
    --spacing-mobile: 50px;
    
    --transition-fast: 0.3s ease;
    --radius-btn: 14px;
    --radius-card: 16px;
    --radius-game: 20px;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-primary);
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; }
p { color: var(--text-secondary); margin-bottom: 1rem; font-size: 1.1rem; }

/* Layout & Containers */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-spacing {
    padding: var(--spacing-desktop) 0;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 13, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

.nav-toggle {
    display: none;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-links li a {
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-primary);
    transition: width var(--transition-fast);
    box-shadow: 0 0 8px var(--accent-primary);
}

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

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #00cc6a);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
    color: var(--bg-primary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-outline:hover {
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-secondary);
    background-image: linear-gradient(to bottom, rgba(10, 10, 13, 0.3), rgba(10, 10, 13, 1));
    overflow: hidden;
}

.hero-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
    mix-blend-mode: luminosity;
}

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

.hero h1 {
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.disclaimer-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--accent-secondary);
}

.hero-legal {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.hero-legal span {
    display: flex;
    align-items: center;
}

.hero-legal span::before {
    content: '•';
    color: var(--accent-primary);
    margin-right: 8px;
}

/* Game Section */
.game-section {
    background: var(--bg-primary);
    position: relative;
}

.game-wrapper {
    max-width: 1300px;
    width: 90%;
    margin: 0 auto;
    background: var(--bg-secondary);
    border-radius: var(--radius-game);
    padding: 10px;
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.1);
    position: relative;
    z-index: 2;
}

.game-wrapper::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--accent-primary), transparent, var(--accent-secondary));
    z-index: -1;
    border-radius: calc(var(--radius-game) + 2px);
    opacity: 0.3;
}

.game-frame {
    width: 100%;
    height: 750px;
    border: none;
    border-radius: calc(var(--radius-game) - 5px);
    background: #000;
    display: block;
}

/* Feature Cards / Standard Content */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-card);
    text-align: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.05);
    border-color: rgba(0, 255, 136, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 32px;
    height: 32px;
    filter: invert(72%) sepia(51%) saturate(5451%) hue-rotate(113deg) brightness(101%) contrast(105%);
}

/* Page Header */
.page-header {
    background: var(--bg-secondary);
    padding: calc(var(--spacing-desktop) * 1.5) 0 var(--spacing-desktop);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Content Pages */
.content-wrapper {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.content-wrapper h2 {
    color: var(--accent-primary);
    font-size: 1.8rem;
    margin-top: 2rem;
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
    display: grid;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.site-footer {
    background: var(--bg-secondary);
    padding: var(--spacing-desktop) 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-col p {
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.legal-warning {
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
    color: #ff6b6b;
    font-weight: 600;
}

/* Media Queries */
@media (max-width: 1024px) {
    .game-wrapper {
        width: 95%;
    }
    .game-frame {
        height: 600px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section-spacing {
        padding: var(--spacing-tablet) 0;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hamburger {
        display: block;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(20, 20, 23, 0.98);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-fast);
        border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    }
    
    .nav-toggle:checked ~ .nav-links {
        max-height: 400px;
        padding: 2rem 0;
    }
    
    .hero-legal {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .hero-legal span::before {
        display: none;
    }
    
    .game-wrapper {
        width: 100%;
        padding: 5px;
        border-radius: 12px;
    }
    
    .game-frame {
        height: 500px;
        border-radius: 8px;
    }
    
    .game-wrapper::before {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-wrapper {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-spacing {
        padding: var(--spacing-mobile) 0;
    }
    
    .game-frame {
        height: 400px;
    }
}