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

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

:root {
    --sun: #f59e0b;
    --flame: #dc2626;
    --dark: #18181b;
    --darker: #09090b;
    --text: #fafafa;
    --muted: #a1a1aa;
    --surface: #27272a;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--darker);
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Righteous', cursive;
}

header {
    background: var(--dark);
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(245, 158, 11, 0.2);
}

.nav-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.brand-symbol {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--sun), var(--flame));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.brand-name {
    font-family: 'Righteous', cursive;
    font-size: 1.6rem;
    color: var(--sun);
}

.main-nav {
    display: flex;
    gap: 40px;
}

.main-nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--sun);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text);
    margin: 6px 0;
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    background: var(--surface);
    padding: 20px 30px;
}

.mobile-nav.show {
    display: block;
}

.mobile-nav a {
    display: block;
    color: var(--text);
    text-decoration: none;
    padding: 12px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.banner {
    background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%);
    padding: 100px 30px 80px;
    text-align: center;
    border-bottom: 3px solid var(--sun);
}

.banner h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    margin-bottom: 25px;
    background: linear-gradient(to right, var(--sun), var(--flame));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner p {
    color: var(--muted);
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto 40px;
}

.notice-strip {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.notice {
    background: var(--surface);
    padding: 14px 28px;
    border-radius: 8px;
    border-left: 3px solid var(--sun);
    font-size: 0.95rem;
}

.notice-icon {
    margin-right: 8px;
}

.game-area {
    padding: 60px 30px;
    background: var(--darker);
}

.game-area h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--sun);
}

.game-frame {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--dark);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5), 0 0 0 2px var(--sun);
}

.game-frame iframe {
    width: 100%;
    height: 550px;
    display: block;
    border: none;
}

.features {
    padding: 80px 30px;
    background: var(--dark);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.feature-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-box {
    background: var(--surface);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-emoji {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.3rem;
    color: var(--sun);
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--muted);
}

.info-section {
    padding: 70px 30px;
    background: var(--darker);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: linear-gradient(135deg, var(--surface) 0%, var(--dark) 100%);
    padding: 35px;
    border-radius: 12px;
    border-top: 4px solid var(--flame);
}

.info-card h3 {
    color: var(--sun);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.info-card p {
    color: var(--muted);
}

footer {
    background: var(--dark);
    padding: 50px 30px;
    border-top: 1px solid var(--surface);
}

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

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: var(--sun);
}

.support-section {
    margin-top: 35px;
    padding-top: 35px;
    border-top: 1px solid var(--surface);
}

.support-section p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

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

.support-links a {
    color: var(--sun);
    text-decoration: none;
    font-size: 0.9rem;
}

.copyright {
    margin-top: 30px;
    color: var(--muted);
    font-size: 0.85rem;
}

.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(9, 9, 11, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

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

.age-modal {
    background: var(--dark);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    margin: 20px;
    border: 2px solid var(--sun);
    box-shadow: 0 0 60px rgba(245, 158, 11, 0.3);
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 25px;
}

.age-modal h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--sun);
}

.age-modal p {
    color: var(--muted);
    margin-bottom: 30px;
}

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

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

.btn-confirm {
    background: linear-gradient(135deg, var(--sun), var(--flame));
    color: white;
}

.btn-confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4);
}

.btn-exit {
    background: transparent;
    border: 2px solid var(--muted);
    color: var(--muted);
}

.btn-exit:hover {
    border-color: var(--text);
    color: var(--text);
}

.page-title {
    background: var(--dark);
    padding: 120px 30px 50px;
    text-align: center;
    border-bottom: 3px solid var(--sun);
}

.page-title h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--sun);
}

.page-content {
    padding: 50px 30px;
    max-width: 900px;
    margin: 0 auto;
}

.page-content h2 {
    color: var(--sun);
    margin: 35px 0 15px;
    font-size: 1.4rem;
}

.page-content p {
    color: var(--muted);
    margin-bottom: 15px;
}

.page-content ul {
    color: var(--muted);
    margin: 15px 0 15px 25px;
}

.page-content li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .game-frame iframe {
        height: 380px;
    }
    
    .banner {
        padding: 70px 20px 50px;
    }
    
    .notice-strip {
        flex-direction: column;
        align-items: center;
    }
    
    .age-buttons {
        flex-direction: column;
    }
}
