@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Nunito:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --warm-orange: #ff8c00;
    --bright-yellow: #ffc107;
    --cream: #fff8e7;
    --soft-brown: #8b5a2b;
    --dark-cocoa: #3e2723;
    --peach: #ffccbc;
    --sunset: #ff5722;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--cream);
    color: var(--dark-cocoa);
    line-height: 1.8;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
}

.site-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--warm-orange), var(--sunset));
    padding: 1rem 2rem;
    z-index: 9000;
    box-shadow: 0 4px 20px rgba(255, 87, 34, 0.3);
}

.nav-container {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.mobile-toggle {
    display: none;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: white;
    margin: 5px 0;
    border-radius: 3px;
    transition: 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s;
}

.nav-list a:hover {
    background: rgba(255,255,255,0.2);
}

.page-body {
    padding-top: 80px;
}

.welcome-section {
    background: linear-gradient(180deg, var(--peach) 0%, var(--cream) 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.welcome-section h1 {
    font-size: 3rem;
    color: var(--sunset);
    margin-bottom: 1.5rem;
}

.welcome-section .intro-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--soft-brown);
}

.info-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    width: 320px;
    box-shadow: 0 8px 25px rgba(139, 90, 43, 0.15);
    text-align: center;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-8px);
}

.info-card .emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--warm-orange);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--soft-brown);
    font-size: 0.95rem;
}

.game-section {
    background: var(--cream);
    padding: 4rem 2rem;
}

.game-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--sunset);
    margin-bottom: 2.5rem;
}

.game-box {
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--warm-orange), var(--bright-yellow));
    padding: 10px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(255, 140, 0, 0.3);
}

.game-box iframe {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 16px;
    display: block;
}

.perks-section {
    background: linear-gradient(180deg, var(--cream) 0%, var(--peach) 100%);
    padding: 5rem 2rem;
}

.perks-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.perk-item {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(139, 90, 43, 0.1);
}

.perk-item .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.perk-item h3 {
    color: var(--warm-orange);
    margin-bottom: 0.75rem;
}

.perk-item p {
    color: var(--soft-brown);
    font-size: 0.95rem;
}

.text-content {
    padding: 4rem 2rem;
    max-width: 950px;
    margin: 0 auto;
}

.text-content h1 {
    color: var(--sunset);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.text-content h2 {
    color: var(--warm-orange);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.text-content p {
    color: var(--soft-brown);
    margin-bottom: 1rem;
}

.text-content ul {
    color: var(--soft-brown);
    margin: 1rem 0 1rem 2rem;
}

.text-content li {
    margin-bottom: 0.5rem;
}

.how-to-play {
    background: linear-gradient(135deg, var(--warm-orange), var(--bright-yellow));
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    color: white;
}

.how-to-play p {
    color: white;
    margin: 0.5rem 0;
}

.footer-section {
    background: var(--dark-cocoa);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-links h4 {
    color: var(--bright-yellow);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--peach);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--bright-yellow);
}

.footer-note {
    color: var(--peach);
    font-size: 0.9rem;
    margin-top: 1.5rem;
    opacity: 0.8;
}

/* Age Modal */
.age-popup {
    position: fixed;
    inset: 0;
    background: rgba(62, 39, 35, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.age-popup.hidden {
    display: none;
}

.age-popup-box {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    max-width: 480px;
    margin: 1rem;
    text-align: center;
}

.age-popup-box h2 {
    color: var(--sunset);
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.age-popup-box > p {
    color: var(--soft-brown);
    margin-bottom: 2rem;
}

.age-popup-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.popup-btn {
    padding: 1rem 2.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.popup-btn.confirm-btn {
    background: linear-gradient(135deg, var(--warm-orange), var(--sunset));
    color: white;
}

.popup-btn.confirm-btn:hover {
    transform: scale(1.05);
}

.popup-btn.reject-btn {
    background: var(--cream);
    color: var(--soft-brown);
    border: 2px solid var(--soft-brown);
}

.popup-btn.reject-btn:hover {
    background: var(--peach);
}

.reject-warning {
    display: none;
    margin-top: 1.5rem;
    color: var(--sunset);
    font-weight: 600;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--sunset);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        display: none;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list li {
        text-align: center;
    }
    
    .nav-list a {
        display: block;
        padding: 1rem;
        border-radius: 0;
    }
    
    .welcome-section h1 {
        font-size: 2.2rem;
    }
    
    .game-box iframe {
        height: 480px;
    }
    
    .age-popup-btns {
        flex-direction: column;
    }
}
