* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(to bottom, #87ceeb 0%, #e0f6ff 50%, #ffffff 100%);
    color: #2c3e50;
    line-height: 1.7;
    min-height: 100vh;
}

.site-container {
    max-width: 1400px;
    margin: 0 auto;
}

.top-header {
    background: linear-gradient(90deg, #4a90e2 0%, #67b5f5 100%);
    padding: 1.5rem 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid #fff;
}

.header-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-emoji {
    font-size: 3rem;
    animation: wobble 2s infinite;
}

@keyframes wobble {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.logo-name {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.burger-menu {
    display: none;
    background: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
}

.main-menu ul {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.main-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s;
    display: block;
}

.main-menu a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.page-content {
    padding: 40px 30px;
}

.page-banner {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
}

.page-banner h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #4a90e2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.page-banner .slogan {
    font-size: 1.5rem;
    color: #555;
    font-weight: 500;
}

.info-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.2);
    border: 3px solid #e3f2fd;
}

.info-card h2 {
    font-size: 2.2rem;
    color: #4a90e2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.info-card p {
    font-size: 1.15rem;
    margin-bottom: 1.3rem;
    color: #444;
    line-height: 1.9;
}

.alert-box {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: #fff;
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.3);
}

.alert-box h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.alert-box ul {
    list-style: none;
    padding: 0;
}

.alert-box li {
    padding: 1rem 0;
    padding-left: 2.5rem;
    position: relative;
    font-size: 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.alert-box li:last-child {
    border-bottom: none;
}

.alert-box li::before {
    content: "🐧";
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

.game-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.game-box h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.game-display {
    width: 100%;
    max-width: 950px;
    height: 650px;
    border: 4px solid #fff;
    border-radius: 15px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.bottom-footer {
    background: linear-gradient(90deg, #4a90e2 0%, #67b5f5 100%);
    color: #fff;
    padding: 3rem 0;
    margin-top: 5rem;
    border-top: 4px solid #fff;
}

.footer-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    transition: all 0.3s;
}

.footer-menu a:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.footer-wrap p {
    font-size: 1rem;
    opacity: 0.9;
}

.age-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.95) 0%, rgba(103, 181, 245, 0.95) 100%);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-popup.open {
    display: flex;
}

.age-popup-box {
    background: #fff;
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    border: 4px solid #4a90e2;
}

.age-popup-box h2 {
    font-size: 2.5rem;
    color: #4a90e2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.age-popup-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
    line-height: 1.8;
}

.age-popup-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-popup-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Quicksand', sans-serif;
}

.age-popup-btn:hover {
    transform: scale(1.05);
}

.age-popup-btn.yes {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
    color: #fff;
    box-shadow: 0 5px 15px rgba(86, 171, 47, 0.4);
}

.age-popup-btn.no {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

@media (max-width: 768px) {
    .burger-menu {
        display: block;
    }

    .main-menu ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #4a90e2;
        padding: 1.5rem;
        gap: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .main-menu ul.show {
        display: flex;
    }

    .main-menu li {
        padding: 0.8rem 0;
    }

    .page-banner h1 {
        font-size: 2.5rem;
    }

    .page-banner .slogan {
        font-size: 1.2rem;
    }

    .game-display {
        height: 450px;
    }

    .age-popup-box {
        margin: 0 20px;
        padding: 2rem;
    }

    .age-popup-btns {
        flex-direction: column;
    }

    .age-popup-btn {
        width: 100%;
    }
}
