/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #ff4d1f;
    --primary-dark: #c24625;
    --bg-dark: #0e0c0e;
    --bg-lighter: #1a1618;
    --text-light: #c9c5c4;
    --text-white: #ffffff;
    --accent-orange: #ff6b3d;
    --border-orange: #ff4d1f;
    --success-green: #2e4e37;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    color: var(--accent-orange);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* ===== 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: var(--bg-lighter);
    border: 3px solid var(--border-orange);
    border-radius: 15px;
    padding: 3rem 2.5rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 40px rgba(255, 77, 31, 0.4);
    animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.age-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-orange);
}

.age-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.btn-yes {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 77, 31, 0.4);
}

.btn-yes:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 31, 0.6);
}

.btn-no {
    background: #2a2a2a;
    color: var(--text-light);
}

.btn-no:hover {
    background: #3a3a3a;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--bg-lighter);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-orange);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.site-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.fire-icon {
    font-size: 2.5rem;
}

.logo-section h1 {
    font-size: 2rem;
    letter-spacing: 2px;
    margin: 0;
    background: linear-gradient(135deg, var(--accent-orange), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ===== NAVIGATION ===== */
.nav-bar {
    background: var(--bg-dark);
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 77, 31, 0.2);
}

.nav-bar nav ul {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.nav-bar nav ul li a {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-bar nav ul li a:hover,
.nav-bar nav ul li a.active {
    background: var(--primary-color);
    color: white;
}

/* ===== SPLIT CONTAINER ===== */
.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.split-left,
.split-right {
    padding: 0 1rem;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    margin-bottom: 1.5rem;
}

.content-section h3 {
    color: var(--accent-orange);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section ul li {
    list-style: disc;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.content-section ul li strong {
    color: var(--text-white);
}

/* ===== ALERT BOX ===== */
.alert-box {
    background: linear-gradient(135deg, rgba(255, 77, 31, 0.1), rgba(194, 70, 37, 0.1));
    border: 2px solid var(--border-orange);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(255, 77, 31, 0.2);
}

.alert-box h3 {
    color: var(--accent-orange);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.alert-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.alert-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.alert-item span {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.alert-item div {
    flex: 1;
}

.alert-item strong {
    color: var(--accent-orange);
    display: block;
    margin-bottom: 0.3rem;
}

/* ===== GAME WRAPPER ===== */
.game-wrapper {
    background: var(--bg-lighter);
    border: 2px solid var(--border-orange);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(255, 77, 31, 0.2);
}

.game-wrapper h3 {
    color: var(--accent-orange);
    margin-bottom: 1rem;
    text-align: center;
}

.game-wrapper iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 8px;
    background: #000;
}

/* ===== SINGLE COLUMN ===== */
.single-column {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-lighter);
    border-top: 2px solid var(--border-orange);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

.footer h3 {
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
    padding: 1.5rem 0;
}

.logos-grid a {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.logos-grid a:hover {
    transform: translateY(-5px) scale(1.05);
    opacity: 1;
}

.logos-grid img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.logos-grid a:hover img {
    filter: brightness(1.1);
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-orange);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ===== PLAY PAGE ===== */
.play-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.play-header {
    text-align: center;
    margin-bottom: 3rem;
}

.play-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.play-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.game-frame {
    background: var(--bg-lighter);
    border: 3px solid var(--border-orange);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 3rem;
    box-shadow: 0 6px 30px rgba(255, 77, 31, 0.3);
}

.game-frame iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
    background: #000;
}

.play-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--bg-lighter);
    border: 2px solid rgba(255, 77, 31, 0.3);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--border-orange);
    box-shadow: 0 4px 20px rgba(255, 77, 31, 0.2);
    transform: translateY(-5px);
}

.info-card h3 {
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.info-card ul {
    margin-left: 1.5rem;
}

.info-card ul li {
    list-style: disc;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

/* ===== LEGAL PAGES ===== */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.legal-container h1 {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 3rem;
    background: var(--bg-lighter);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.legal-section h2 {
    color: var(--accent-orange);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.legal-section h3 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section ul li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

.legal-section strong {
    color: var(--text-white);
}

.legal-section p strong {
    color: var(--accent-orange);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .split-container {
        grid-template-columns: 1fr;
    }

    .nav-bar nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .hamburger {
        display: block;
    }

    .nav-bar {
        display: none;
    }

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

    .logos-grid {
        gap: 1.5rem;
    }

    .logos-grid img {
        max-width: 120px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .play-info {
        grid-template-columns: 1fr;
    }

    .game-frame iframe {
        height: 500px;
    }

    .game-wrapper iframe {
        height: 400px;
    }
}

@media (max-width: 600px) {
    .top-bar {
        padding: 1rem;
    }

    .logo-section h1 {
        font-size: 1.5rem;
    }

    .fire-icon {
        font-size: 2rem;
    }

    .age-content {
        padding: 2rem 1.5rem;
    }

    .age-content h2 {
        font-size: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    h2 {
        font-size: 1.5rem;
    }

    .legal-container h1 {
        font-size: 2rem;
    }

    .split-container,
    .single-column,
    .play-container,
    .legal-container {
        padding: 2rem 1rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section,
.alert-box,
.game-wrapper,
.info-card,
.legal-section {
    animation: fadeIn 0.6s ease;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
}
