@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff4500;
    --secondary: #1e90ff;
    --dark-bg: #0f0f0f;
    --card-bg: #1a1a1a;
    --text: #ffffff;
    --text-muted: #cccccc;
    --border: #333333;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--dark-bg);
    color: var(--text);
    line-height: 1.6;
}

/* Header */
.site-header {
    background: var(--card-bg);
    padding: 1.5rem 0;
    border-bottom: 3px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
}

.site-logo {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 3px;
}

.main-menu {
    display: grid;
    grid-template-columns: repeat(5, auto);
    gap: 2.5rem;
    list-style: none;
    justify-self: end;
}

.main-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.main-menu a:hover,
.main-menu a.active {
    color: var(--primary);
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    background: var(--primary);
    border: none;
    color: white;
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1px;
}

/* Hero Grid */
.hero-grid {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.hero-box {
    background: var(--card-bg);
    padding: 4rem 3rem;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.hero-box:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.hero-box h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    line-height: 1;
}

.hero-box h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Feature Grid */
.feature-grid {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border: 2px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--secondary);
    transform: scale(1.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-item h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Content Grid */
.content-grid {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 2rem;
    display: grid;
    gap: 3rem;
}

.content-box {
    background: var(--card-bg);
    padding: 3rem;
    border-left: 5px solid var(--primary);
}

.content-box h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.content-box h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    color: var(--secondary);
    margin: 2rem 0 1rem;
    letter-spacing: 2px;
}

.content-box p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-box ul {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-box li {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

/* Game Grid */
.game-grid {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.game-header {
    background: var(--card-bg);
    padding: 3rem;
    border: 3px solid var(--primary);
    text-align: center;
    margin-bottom: 3rem;
}

.game-header h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.game-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.game-wrapper {
    background: var(--card-bg);
    padding: 2rem;
    border: 2px solid var(--border);
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    background: #000;
}

/* Footer Grid */
.site-footer {
    background: var(--card-bg);
    margin-top: 6rem;
    border-top: 3px solid var(--primary);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
    display: grid;
    gap: 3rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Age Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-modal.hidden {
    display: none;
}

.age-box {
    background: var(--card-bg);
    padding: 5rem 4rem;
    border: 4px solid var(--primary);
    max-width: 600px;
    text-align: center;
}

.age-box h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    letter-spacing: 3px;
}

.age-box p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.age-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.age-buttons button {
    padding: 1.2rem 2rem;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text);
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    cursor: pointer;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.btn-accept {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-accept:hover {
    background: var(--primary);
    color: white;
}

.btn-reject {
    border-color: #ff0000;
    color: #ff0000;
}

.btn-reject:hover {
    background: #ff0000;
    color: white;
}

/* Responsive */
@media (max-width: 968px) {
    .menu-btn {
        display: block;
    }
    
    .main-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        grid-template-columns: 1fr;
        background: var(--card-bg);
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        border-bottom: 3px solid var(--primary);
        justify-items: start;
    }
    
    .main-menu.active {
        left: 0;
    }
    
    .header-grid {
        grid-template-columns: auto auto;
    }
    
    .hero-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-box h1 {
        font-size: 2.5rem;
    }
    
    .game-frame {
        height: 500px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .age-box {
        margin: 2rem;
        padding: 3rem 2rem;
    }
    
    .age-buttons {
        grid-template-columns: 1fr;
    }
}
