* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Neue', cursive;
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 25%, #fab1a0 50%, #ff7675 75%, #fd79a8 100%);
    background-size: 400% 400%;
    animation: funnyGradient 8s ease infinite;
    color: #2d3436;
    min-height: 100vh;
}

@keyframes funnyGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.site-header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 4px solid #ff6b6b;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b6b;
    text-shadow: 2px 2px 0 #ffeaa7;
}

.motto {
    font-size: 0.95rem;
    color: #636e72;
    font-style: italic;
}

.desktop-menu {
    display: flex;
    gap: 2rem;
}

.menu-link {
    font-family: 'Fredoka', sans-serif;
    color: #2d3436;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.menu-link:hover,
.menu-link.active-link {
    background: #ff6b6b;
    color: white;
    transform: scale(1.1);
}

.mobile-burger {
    display: none;
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

.mobile-menu {
    display: none;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.show {
    display: flex;
    flex-direction: column;
}

.mobile-menu a {
    padding: 1rem 2rem;
    color: #2d3436;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid #ffeaa7;
    transition: background 0.3s ease;
}

.mobile-menu a:hover {
    background: #ffeaa7;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.welcome-banner {
    background: white;
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 4px solid #ff6b6b;
}

.welcome-banner h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.8rem;
    color: #ff6b6b;
    margin-bottom: 1.5rem;
}

.banner-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #636e72;
    margin-bottom: 1.5rem;
}

.info-bubbles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.bubble {
    background: white;
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 4px solid;
    transition: transform 0.3s ease;
}

.bubble:hover {
    transform: translateY(-10px) rotate(2deg);
}

.bubble-pink {
    border-color: #fd79a8;
}

.bubble-yellow {
    border-color: #ffeaa7;
}

.bubble-blue {
    border-color: #74b9ff;
}

.bubble-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.bubble h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    color: #2d3436;
    margin-bottom: 1rem;
}

.bubble p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #636e72;
}

.fun-facts {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 4px solid #fdcb6e;
}

.fun-facts h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: #ff6b6b;
    text-align: center;
    margin-bottom: 2rem;
}

.facts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.fact-item {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.fact-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.fact-item p {
    font-size: 1.05rem;
    color: #2d3436;
}

.game-area {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 4px solid #a29bfe;
}

.game-area h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: #ff6b6b;
    text-align: center;
    margin-bottom: 1rem;
}

.game-intro {
    text-align: center;
    font-size: 1.15rem;
    color: #636e72;
    margin-bottom: 2rem;
}

.game-box {
    max-width: 900px;
    margin: 0 auto;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
    border: 4px solid #ff6b6b;
}

.game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.happy-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.happy-card {
    background: white;
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 4px solid #55efc4;
}

.happy-card h4 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.happy-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #636e72;
    margin-bottom: 1rem;
}

.play-header {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 4px solid #74b9ff;
}

.play-header h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.8rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.play-header p {
    font-size: 1.15rem;
    color: #636e72;
    line-height: 1.7;
}

.play-reminder {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid #fab1a0;
}

.play-reminder p {
    font-size: 1.15rem;
    color: #2d3436;
}

.play-tips {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    margin-top: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 4px solid #fd79a8;
}

.play-tips h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.2rem;
    color: #ff6b6b;
    text-align: center;
    margin-bottom: 2rem;
}

.tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip-bubble {
    background: linear-gradient(135deg, #fd79a8, #fab1a0);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tip-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.tip-bubble p {
    font-size: 1.05rem;
    color: white;
    font-weight: 600;
}

.legal-header {
    background: white;
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 4px solid #a29bfe;
}

.legal-header h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.8rem;
    color: #ff6b6b;
    margin-bottom: 0.5rem;
}

.legal-header p {
    font-size: 1.2rem;
    color: #636e72;
}

.legal-text {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 4px solid #55efc4;
    margin-bottom: 3rem;
}

.legal-text h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.9rem;
    color: #ff6b6b;
    margin: 2rem 0 1rem;
}

.legal-text h3:first-child {
    margin-top: 0;
}

.legal-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #636e72;
    margin-bottom: 1rem;
}

.legal-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
    color: #636e72;
}

.legal-text li {
    margin: 0.5rem 0;
    line-height: 1.7;
}

.site-footer {
    background: white;
    border-radius: 25px 25px 0 0;
    padding: 3rem 2rem;
    margin-top: 3rem;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #ff6b6b;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-wrapper h4 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.footer-wrapper p {
    color: #636e72;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.footer-resources {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.footer-resources a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    background: #ffeaa7;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.footer-resources a:hover {
    background: #ff6b6b;
    color: white;
    transform: scale(1.1);
}

.footer-credits {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #ffeaa7;
}

.footer-credits p {
    color: #b2bec3;
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-popup.hidden {
    display: none;
}

.popup-box {
    background: white;
    border-radius: 30px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 5px solid #ff6b6b;
}

.pig-emoji {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.popup-box h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.popup-box p {
    font-size: 1.15rem;
    color: #636e72;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.popup-note {
    font-size: 1rem;
    color: #b2bec3;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-yes,
.btn-no {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Fredoka', sans-serif;
}

.btn-yes {
    background: linear-gradient(135deg, #55efc4, #00b894);
    color: white;
}

.btn-yes:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 184, 148, 0.4);
}

.btn-no {
    background: #dfe6e9;
    color: #636e72;
}

.btn-no:hover {
    background: #b2bec3;
    transform: scale(1.1);
}

@media (max-width: 968px) {
    .desktop-menu {
        display: none;
    }

    .mobile-burger {
        display: block;
    }

    .game-iframe {
        height: 500px;
    }

    .info-bubbles,
    .happy-section {
        grid-template-columns: 1fr;
    }

    .footer-resources {
        flex-direction: column;
        gap: 1rem;
    }

    .popup-box {
        margin: 1rem;
        padding: 2rem;
    }

    .popup-buttons {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .page-content {
        padding: 1rem;
    }

    .game-iframe {
        height: 400px;
    }

    .welcome-banner,
    .fun-facts,
    .game-area,
    .legal-text {
        padding: 2rem 1.5rem;
    }

    .logo h1 {
        font-size: 2rem;
    }
}
