@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --flame: #ff6b35;
    --coral: #f7931e;
    --cream: #fff4e6;
    --charcoal: #1a1a1a;
    --slate: #2d2d2d;
    --ash: #808080;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--charcoal);
    color: var(--cream);
    line-height: 1.7;
}

/* Top Bar */
.top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--slate);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.top-bar-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--flame);
    text-decoration: none;
    letter-spacing: -1px;
}

.mobile-trigger {
    display: none;
    background: none;
    border: 2px solid var(--flame);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
}

.mobile-trigger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--flame);
    margin: 5px 0;
    transition: 0.3s;
}

.main-navigation {
    display: flex;
    list-style: none;
    gap: 35px;
}

.main-navigation a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--flame);
}

@media (max-width: 820px) {
    .mobile-trigger {
        display: block;
        z-index: 1001;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--charcoal);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        opacity: 0;
        visibility: hidden;
        transition: 0.4s;
    }
    
    .main-navigation.open {
        opacity: 1;
        visibility: visible;
    }
    
    .main-navigation a {
        font-size: 1.4rem;
    }
}

/* Hero */
.main-hero {
    padding: 140px 30px 80px;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--slate) 100%);
    text-align: center;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.main-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.main-hero h1 .accent {
    color: var(--flame);
}

.main-hero p {
    font-size: 1.15rem;
    color: var(--ash);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Alert Row */
.alert-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.alert-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid var(--flame);
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-pill span:first-child {
    font-size: 1.2rem;
}

/* Game Section */
.game-section {
    padding: 50px 30px;
    background: var(--charcoal);
}

.game-holder {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--slate);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.game-player {
    width: 100%;
    height: 580px;
    border: none;
    border-radius: 12px;
    background: #000;
}

@media (max-width: 820px) {
    .game-player {
        height: 380px;
    }
}

/* Content Areas */
.content-area {
    padding: 90px 30px;
}

.content-area.dark {
    background: var(--slate);
}

.area-header {
    text-align: center;
    margin-bottom: 55px;
}

.area-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.area-header p {
    color: var(--ash);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layout */
.triple-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
}

.grid-item {
    background: var(--charcoal);
    padding: 35px 30px;
    border-radius: 16px;
    border-left: 4px solid var(--flame);
    transition: transform 0.3s;
}

.content-area.dark .grid-item {
    background: rgba(26, 26, 26, 0.6);
}

.grid-item:hover {
    transform: translateX(5px);
}

.item-emoji {
    font-size: 2.5rem;
    margin-bottom: 18px;
}

.grid-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--flame);
}

.grid-item p {
    color: var(--ash);
    font-size: 0.95rem;
}

/* Text Block */
.text-block {
    max-width: 850px;
    margin: 0 auto;
}

.text-block p {
    margin-bottom: 20px;
    color: var(--ash);
    font-size: 1.05rem;
}

/* Site Footer */
.site-footer {
    background: #121212;
    padding: 50px 30px 30px;
    border-top: 3px solid var(--flame);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.help-section {
    margin-bottom: 30px;
}

.help-section h5 {
    color: var(--flame);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.help-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.help-links a {
    color: var(--ash);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.help-links a:hover {
    color: var(--flame);
}

.footer-copy {
    padding-top: 25px;
    border-top: 1px solid var(--slate);
    color: var(--ash);
    font-size: 0.85rem;
}

/* Age Check Modal */
.age-check {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-check.dismissed {
    display: none;
}

.age-box {
    background: var(--slate);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    margin: 20px;
    border: 3px solid var(--flame);
}

.age-box h2 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: var(--flame);
}

.age-box p {
    color: var(--ash);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

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

.age-btn {
    padding: 14px 35px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
    border: none;
}

.age-btn.yes {
    background: var(--flame);
    color: var(--white);
}

.age-btn.no {
    background: transparent;
    border: 2px solid var(--ash);
    color: var(--ash);
}

.age-btn:hover {
    transform: scale(1.05);
}

/* Page Title */
.page-title {
    padding: 130px 30px 70px;
    background: var(--slate);
    text-align: center;
}

.page-title h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.page-title p {
    color: var(--ash);
    max-width: 550px;
    margin: 0 auto;
}

/* Legal Text */
.legal-text {
    max-width: 850px;
    margin: 0 auto;
    padding: 65px 30px;
}

.legal-text h2 {
    font-size: 1.5rem;
    margin: 45px 0 20px;
    color: var(--flame);
}

.legal-text h3 {
    font-size: 1.15rem;
    margin: 30px 0 15px;
}

.legal-text p {
    margin-bottom: 18px;
    color: var(--ash);
}

.legal-text ul {
    margin: 18px 0 18px 30px;
    color: var(--ash);
}

.legal-text li {
    margin-bottom: 10px;
}

/* Play Page */
.play-container {
    padding: 100px 30px 50px;
}

.play-note {
    max-width: 700px;
    margin: 25px auto 0;
    text-align: center;
    color: var(--ash);
    font-size: 0.95rem;
}
