@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;700;800&display=swap');

:root {
    --fire-red: #dc2626;
    --fire-orange: #ea580c;
    --fire-yellow: #f59e0b;
    --dark-bg: #18181b;
    --darker-bg: #09090b;
    --light-text: #fafafa;
    --gray-text: #d4d4d8;
    --accent: #fb923c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background: var(--darker-bg);
    color: var(--light-text);
    overflow-x: hidden;
}

/* Top Header */
.top-bar {
    background: linear-gradient(90deg, var(--fire-red) 0%, var(--fire-orange) 100%);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-section h1 {
    font-size: 2.5rem;
    color: white;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-section .fire-icon {
    font-size: 2.5rem;
    animation: flicker 2s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.hamburger {
    display: none;
    background: white;
    color: var(--fire-red);
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
}

/* Navigation */
.nav-bar {
    background: var(--dark-bg);
    padding: 1rem 2rem;
    border-bottom: 2px solid var(--fire-orange);
}

.nav-bar nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
    justify-content: center;
}

.nav-bar nav a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-bar nav a:hover,
.nav-bar nav a.active {
    background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-orange) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

/* Split Screen Container */
.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 150px);
}

.split-left,
.split-right {
    padding: 3rem;
}

.split-left {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    border-right: 3px solid var(--fire-orange);
}

.split-right {
    background: var(--dark-bg);
}

/* Content Sections */
.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.content-section h3 {
    font-size: 1.8rem;
    color: var(--fire-orange);
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.content-section p {
    line-height: 1.9;
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.content-section ul {
    margin: 1.5rem 0 1.5rem 2rem;
    line-height: 1.9;
    color: var(--gray-text);
}

.content-section ul li {
    margin: 0.75rem 0;
}

/* Alert Box */
.alert-box {
    background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-orange) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.5);
}

.alert-box h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.alert-items {
    display: grid;
    gap: 1rem;
}

.alert-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-item span {
    font-size: 1.8rem;
}

/* Game Container */
.game-wrapper {
    background: var(--darker-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid var(--fire-orange);
    margin: 2rem 0;
}

.game-wrapper h3 {
    text-align: center;
    color: var(--fire-orange);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
    display: block;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 3rem;
    text-align: center;
    border-top: 3px solid var(--fire-red);
}

.footer h3 {
    color: var(--fire-orange);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.footer-links a {
    color: var(--fire-yellow);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--fire-red);
    transform: scale(1.1);
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-content {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.6);
    border: 3px solid var(--fire-orange);
}

.age-content h2 {
    background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.age-content p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--gray-text);
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-yes {
    background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-orange) 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.btn-no {
    background: #27272a;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Single Column Layout */
.single-column {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding: 2rem;
        z-index: 9999;
    }

    .nav-bar.active {
        transform: translateX(0);
    }

    .nav-bar nav ul {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .nav-bar nav a {
        display: block;
        width: 100%;
    }

    .split-container {
        grid-template-columns: 1fr;
    }

    .split-left {
        border-right: none;
        border-bottom: 3px solid var(--fire-orange);
    }

    .split-left,
    .split-right,
    .single-column {
        padding: 1.5rem;
    }

    .content-section h2 {
        font-size: 2rem;
    }

    .game-frame {
        height: 400px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .age-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}
