@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pink-primary: #ff6b9d;
    --pink-light: #ffb3d9;
    --green-accent: #4ecdc4;
    --yellow-bright: #ffe66d;
    --bg-cream: #fff5f7;
    --text-dark: #2d2d2d;
    --white: #ffffff;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(180deg, var(--bg-cream) 0%, #ffe6f0 100%);
    color: var(--text-dark);
    min-height: 100vh;
}

/* Fun floating header */
.fun-header {
    background: linear-gradient(120deg, var(--pink-primary), var(--pink-light));
    padding: 1.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.3);
}

.fun-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-area {
    position: relative;
    z-index: 1;
}

.pig-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 0.8rem;
}

.site-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
}

.fun-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

/* Navigation */
.fun-nav {
    background: var(--white);
    padding: 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.nav-item a {
    display: block;
    padding: 1.3rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.05rem;
    transition: all 0.3s;
    border-bottom: 4px solid transparent;
}

.nav-item a:hover,
.nav-item a.active {
    background: var(--bg-cream);
    border-bottom-color: var(--pink-primary);
    color: var(--pink-primary);
}

/* Hamburger for mobile */
.burger-menu {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    background: var(--pink-primary);
    border: none;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.burger-menu div {
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Content Container */
.content-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

.welcome-card {
    background: var(--white);
    border-radius: 25px;
    padding: 3rem 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.15);
    border: 3px solid var(--pink-light);
}

.welcome-card h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.8rem;
    color: var(--pink-primary);
    margin-bottom: 1.2rem;
    text-align: center;
}

.welcome-card p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1rem;
    text-align: center;
}

.fun-alert {
    background: linear-gradient(135deg, var(--yellow-bright), #ffd93d);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    border: 3px dashed var(--pink-primary);
}

.fun-alert h3 {
    font-family: 'Fredoka', sans-serif;
    color: var(--text-dark);
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    text-align: center;
}

.fun-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.fun-list li {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.fun-list li strong {
    display: block;
    color: var(--pink-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.game-zone {
    background: var(--white);
    border-radius: 25px;
    padding: 2.5rem;
    margin: 2.5rem 0;
    text-align: center;
    box-shadow: 0 10px 40px rgba(78, 205, 196, 0.2);
    border: 3px solid var(--green-accent);
}

.game-zone h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: var(--green-accent);
    margin-bottom: 1rem;
}

.game-zone > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.game-wrapper {
    background: #000;
    padding: 1rem;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.game-iframe {
    width: 100%;
    max-width: 850px;
    height: 650px;
    border: none;
    border-radius: 15px;
    display: block;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.info-box {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.info-box:hover {
    transform: translateY(-8px);
}

.info-box h3 {
    font-family: 'Fredoka', sans-serif;
    color: var(--pink-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.info-box p {
    line-height: 1.8;
    color: #555;
}

.info-box ul {
    list-style: none;
    margin-top: 1rem;
}

.info-box li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
}

.info-box li:before {
    content: "🎯";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.content-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.content-card h2 {
    font-family: 'Fredoka', sans-serif;
    color: var(--pink-primary);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.content-card h3 {
    font-family: 'Fredoka', sans-serif;
    color: var(--green-accent);
    font-size: 1.7rem;
    margin: 2rem 0 1rem;
}

.content-card p {
    line-height: 1.9;
    margin-bottom: 1.2rem;
    color: #555;
}

.content-card ul,
.content-card ol {
    margin: 1rem 0 1.5rem 2rem;
    line-height: 1.9;
}

footer {
    background: linear-gradient(120deg, var(--pink-primary), #ff8fab);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 3rem;
}

footer h4 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: all 0.3s;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Age Gate */
.age-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.95), rgba(255, 179, 217, 0.95));
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.age-overlay.show {
    display: flex;
}

.age-box {
    background: var(--white);
    padding: 3.5rem 3rem;
    border-radius: 30px;
    max-width: 500px;
    margin: 1rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 5px solid var(--yellow-bright);
}

.age-box h2 {
    font-family: 'Fredoka', sans-serif;
    color: var(--pink-primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.age-box p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.age-choices {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.age-btn.yes {
    background: linear-gradient(135deg, var(--green-accent), #3db8af);
    color: white;
}

.age-btn.yes:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.5);
}

.age-btn.no {
    background: #999;
    color: white;
}

.age-btn.no:hover {
    background: #777;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .burger-menu {
        display: block;
    }

    .nav-wrapper {
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-wrapper.open {
        max-height: 500px;
    }

    .site-title {
        font-size: 2.2rem;
    }

    .content-container {
        padding: 2rem 1rem;
    }

    .welcome-card {
        padding: 2rem 1.5rem;
    }

    .welcome-card h1 {
        font-size: 2rem;
    }

    .game-iframe {
        height: 500px;
    }

    .age-choices {
        flex-direction: column;
    }

    .age-box {
        padding: 2.5rem 1.5rem;
    }
}
