/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Dancing+Script:wght@400..700&family=Edu+NSW+ACT+Cursive:wght@400..700&family=Engagement&family=Fjalla+One&family=Intel+One+Mono:ital,wght@0,300..700;1,300..700&family=Libertinus+Serif:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Lovers+Quarrel&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Playball&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Playwrite+AU+QLD:wght@100..400&family=Qwigley&family=Rouge+Script&family=Winky+Rough:ital,wght@0,300..900;1,300..900&display=swap');

:root {
    --deep-charcoal: #1A1A1A;
    --rich-brown: #3E2723;
    --glowing-orange: #16A34A;
    --crisp-white: #FFFFFF;
    --text-color: #E0E0E0;
    --bg-color: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: none !important;
    animation: none !important;
}

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

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    color: var(--crisp-white);
    text-transform: uppercase;
}

.lobster-two-regular {
    font-family: "Lobster Two", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    z-index: 1000;
    border-bottom: 2px solid var(--glowing-orange);
    padding: 1rem 2rem;
}

.header > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: block;
    width: 150px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    color: var(--crisp-white);
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
}

.nav-links li a:active {
    color: var(--glowing-orange);
}

.search-bar {
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #555;
    background-color: #222;
    color: #fff;
    margin-left: 20px;
    font-family: 'Noto Sans', sans-serif;
    outline: none;
}

.search-bar:focus {
    border-color: var(--glowing-orange);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--crisp-white);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    font-size: 5rem;
    color: #16A34A;
    font-family: 'Fjalla One', sans-serif;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero h2 {
    font-family: 'Noto Sans', sans-serif;
    color: var(--crisp-white);
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
}

.hero p {
    margin-bottom: 2rem;
    color: #cccccc;
}

.hero-watermark {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.05);
    font-family: 'Oswald', sans-serif;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--glowing-orange);
    border: 2px solid var(--glowing-orange);
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer;
}

/* Base Sections */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-dark {
    background-color: var(--deep-charcoal);
}

.section-title {
    font-size: 2.5rem;
    color: var(--glowing-orange);
    margin-bottom: 2rem;
    text-align: center;
}

/* About Section */
.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #e0e0e0;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.game-card {
    background-color: #222;
    border: 1px solid #333;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
    background-color: #000;
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--crisp-white);
}

.game-card .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: #0d0d0d;
    background-image: radial-gradient(#1a1a1a 1px, transparent 1px);
    background-size: 20px 20px;
    text-align: center;
}

.disclaimer-box {
    border: 1px solid var(--rich-brown);
    padding: 40px;
    background-color: rgba(0,0,0,0.8);
}

/* Footer */
.footer {
    background-color: #000;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #999;
    font-size: 0.9rem;
}

/* Page Specific */
.page-container {
    padding-top: 120px; /* Space for fixed header */
    min-height: 80vh;
}

.content-block {
    margin-bottom: 30px;
}

.content-block h2 {
    color: var(--glowing-orange);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* Game Play Page */
.game-play-container {
    max-width: 1000px;
    margin: 120px auto 40px;
    padding: 0 20px;
    text-align: center;
}

.game-frame-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border: 2px solid var(--deep-charcoal);
    margin-bottom: 30px;
}

.game-frame-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        display: none; /* Hidden by default */
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background-color: #000;
        flex-direction: column;
        padding-top: 80px;
        border-left: 2px solid var(--glowing-orange);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-watermark {
        display: none;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
     .hero-content {
        max-width: 100%;
    }
}

/* Age Verification Popup */
.age-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.age-popup-content {
    background: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 100%);
    border: 2px solid var(--glowing-orange);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 0 30px rgba(22, 163, 74, 0.3);
}

.age-popup-icon {
    margin-bottom: 20px;
}

.age-popup-content h2 {
    color: var(--crisp-white);
    margin-bottom: 15px;
    font-size: 28px;
}

.age-popup-content p {
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.5;
}

.age-popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.age-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
}

.age-btn-green {
    background-color: #28a745;
    color: white;
}

.age-btn-green:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.age-btn-red {
    background-color: #dc3545;
    color: white;
}

.age-btn-red:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .age-popup-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .age-popup-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .age-btn {
        width: 100%;
    }
}
