@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --amber: #ffb347;
    --deep-orange: #e65100;
    --burgundy: #4a0e0e;
    --sand: #f5e6d3;
    --dark-maroon: #2d0a0a;
    --gold-shimmer: #ffd700;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-maroon);
    color: var(--sand);
    min-height: 100vh;
    line-height: 1.75;
}

.top-bar {
    background: linear-gradient(90deg, var(--burgundy) 0%, var(--dark-maroon) 50%, var(--burgundy) 100%);
    border-bottom: 3px solid var(--amber);
    padding: 0.75rem 1.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.top-bar-inner {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.site-brand svg {
    width: 48px;
    height: 48px;
}

.brand-title {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--amber);
    letter-spacing: 1px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--amber);
    margin: 6px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.nav-links ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.nav-links a {
    display: block;
    color: var(--sand);
    text-decoration: none;
    padding: 0.6rem 1.1rem;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.nav-links a:hover {
    background: var(--amber);
    color: var(--dark-maroon);
}

.main-content {
    padding-top: 80px;
}

.welcome-banner {
    background: linear-gradient(to bottom, rgba(74, 14, 14, 0.9) 0%, var(--dark-maroon) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23ffb347" stroke-width="0.5" opacity="0.2"/></svg>');
    padding: 4rem 2rem;
    text-align: center;
}

.welcome-banner h1 {
    font-family: 'Amiri', serif;
    font-size: 3.2rem;
    color: var(--amber);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.welcome-banner p {
    font-size: 1.1rem;
    max-width: 850px;
    margin: 0 auto;
    color: rgba(245, 230, 211, 0.9);
}

.info-strips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1300px;
    margin: -2rem auto 3rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.info-strip {
    flex: 1 1 300px;
    max-width: 380px;
    background: linear-gradient(135deg, var(--burgundy) 0%, rgba(74, 14, 14, 0.8) 100%);
    border: 2px solid var(--amber);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
}

.info-strip h3 {
    font-family: 'Amiri', serif;
    color: var(--gold-shimmer);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.game-showcase {
    max-width: 1500px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.game-showcase h2 {
    font-family: 'Amiri', serif;
    font-size: 2.25rem;
    color: var(--amber);
    text-align: center;
    margin-bottom: 1.5rem;
}

.game-frame {
    background: var(--burgundy);
    border: 3px solid var(--amber);
    border-radius: 15px;
    padding: 0.75rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), inset 0 0 30px rgba(255, 179, 71, 0.1);
}

.game-frame iframe {
    width: 100%;
    height: 580px;
    border: none;
    border-radius: 10px;
    display: block;
}

.feature-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1300px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.feature-tile {
    background: linear-gradient(180deg, var(--burgundy) 0%, var(--dark-maroon) 100%);
    border-left: 4px solid var(--deep-orange);
    border-radius: 0 10px 10px 0;
    padding: 2rem;
}

.feature-tile h3 {
    font-family: 'Amiri', serif;
    color: var(--amber);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.text-page {
    max-width: 950px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.text-page h1 {
    font-family: 'Amiri', serif;
    font-size: 2.75rem;
    color: var(--amber);
    text-align: center;
    margin-bottom: 2.5rem;
}

.text-page h2 {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    color: var(--gold-shimmer);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 179, 71, 0.3);
}

.text-page p {
    margin-bottom: 1.1rem;
    color: rgba(245, 230, 211, 0.9);
}

.text-page ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.text-page li {
    margin-bottom: 0.6rem;
}

.bottom-bar {
    background: var(--burgundy);
    border-top: 3px solid var(--amber);
    padding: 2.5rem 1.5rem;
    margin-top: 3rem;
}

.bottom-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.bottom-bar h4 {
    font-family: 'Amiri', serif;
    color: var(--amber);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.help-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.help-links a {
    color: var(--sand);
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--deep-orange);
    border-radius: 25px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.help-links a:hover {
    background: var(--deep-orange);
    color: white;
}

.copyright {
    color: rgba(245, 230, 211, 0.5);
    font-size: 0.85rem;
}

.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(45, 10, 10, 0.97);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-overlay.hidden {
    display: none;
}

.age-dialog {
    background: linear-gradient(145deg, var(--burgundy), var(--dark-maroon));
    border: 3px solid var(--amber);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 450px;
    margin: 1rem;
    text-align: center;
}

.age-dialog h2 {
    font-family: 'Amiri', serif;
    color: var(--amber);
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.age-dialog p {
    color: rgba(245, 230, 211, 0.9);
    margin-bottom: 1.75rem;
}

.age-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btns button {
    padding: 0.9rem 2rem;
    font-family: 'Amiri', serif;
    font-size: 1.1rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-yes {
    background: linear-gradient(135deg, var(--deep-orange), var(--amber));
    color: white;
}

.btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 179, 71, 0.4);
}

.btn-no {
    background: transparent;
    border: 2px solid var(--amber) !important;
    color: var(--amber);
}

.btn-no:hover {
    background: rgba(255, 179, 71, 0.1);
}

.usage-notes {
    background: linear-gradient(135deg, var(--burgundy), rgba(74, 14, 14, 0.7));
    border: 1px solid var(--deep-orange);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.usage-notes h3 {
    font-family: 'Amiri', serif;
    color: var(--amber);
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--burgundy);
        border-bottom: 3px solid var(--amber);
        display: none;
    }

    .nav-links.show {
        display: block;
    }

    .nav-links ul {
        flex-direction: column;
        padding: 0.5rem;
    }

    .nav-links a {
        padding: 1rem;
        border-radius: 0;
    }

    .welcome-banner h1 {
        font-size: 2.2rem;
    }

    .brand-title {
        font-size: 1.4rem;
    }

    .game-frame iframe {
        height: 400px;
    }

    .age-btns {
        flex-direction: column;
    }
}
