@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&family=Fredoka:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 25%, #f59e0b 50%, #d97706 75%, #b45309 100%);
    color: #1f2937;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="3" fill="rgba(251, 191, 36, 0.1)"/><circle cx="80" cy="30" r="2" fill="rgba(251, 191, 36, 0.08)"/><circle cx="30" cy="80" r="2.5" fill="rgba(251, 191, 36, 0.06)"/><circle cx="70" cy="70" r="1.5" fill="rgba(251, 191, 36, 0.04)"/><circle cx="50" cy="50" r="1" fill="rgba(251, 191, 36, 0.02)"/></svg>') repeat;
    pointer-events: none;
    z-index: 1;
    animation: birdFloat 15s linear infinite;
}

@keyframes birdFloat {
    0% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-10px) translateX(5px); }
    50% { transform: translateY(-5px) translateX(-5px); }
    75% { transform: translateY(-15px) translateX(3px); }
    100% { transform: translateY(0px) translateX(0px); }
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    padding: 1.8rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 4px solid #f59e0b;
    box-shadow: 0 4px 35px rgba(245, 158, 11, 0.4);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.logo {
    font-family: 'Fredoka', cursive;
    font-size: 3rem;
    font-weight: 700;
    color: #f59e0b;
    text-shadow: 0 0 40px #f59e0b, 0 0 80px #fbbf24;
    text-decoration: none;
    position: relative;
    letter-spacing: 2px;
    animation: birdBounce 2s ease-in-out infinite;
}

@keyframes birdBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.logo::after {
    content: '🐦';
    position: absolute;
    right: -70px;
    top: -10px;
    font-size: 2.2rem;
    animation: birdFly 3s ease-in-out infinite;
}

@keyframes birdFly {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(5deg); }
    50% { transform: translateY(-12px) rotate(0deg); }
    75% { transform: translateY(-6px) rotate(-5deg); }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 1.2rem;
    border-radius: 15px;
    transition: all 0.4s ease;
}

.hamburger:hover {
    background: rgba(245, 158, 11, 0.1);
    transform: scale(1.1);
}

.hamburger span {
    width: 35px;
    height: 4px;
    background: #f59e0b;
    margin: 6px 0;
    transition: 0.5s;
    border-radius: 5px;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}

.nav {
    display: flex;
    list-style: none;
    gap: 4rem;
}

.nav a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    transition: all 0.5s ease;
    position: relative;
    padding: 1.5rem 2.5rem;
    border-radius: 40px;
    font-family: 'Poppins', sans-serif;
}

.nav a:hover {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.4);
    text-shadow: 0 0 25px #f59e0b;
}

/* Main Content */
.main-content {
    margin-top: 120px;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 8rem 0;
    background: linear-gradient(45deg, rgba(245, 158, 11, 0.3), rgba(251, 191, 36, 0.2));
    border-radius: 45px;
    margin-bottom: 7rem;
    position: relative;
    overflow: hidden;
    border: 5px solid rgba(245, 158, 11, 0.6);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
    animation: birdRotate 30s linear infinite;
}

@keyframes birdRotate {
    0% { transform: rotate(0deg) translateX(-200px); }
    100% { transform: rotate(360deg) translateX(-200px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Fredoka', cursive;
    font-size: 5.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #f59e0b, #fbbf24, #fcd34d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 70px rgba(245, 158, 11, 0.8);
    animation: birdGlow 5s ease-in-out infinite alternate;
    letter-spacing: 3px;
}

@keyframes birdGlow {
    from { filter: drop-shadow(0 0 50px rgba(245, 158, 11, 0.6)); }
    to { filter: drop-shadow(0 0 100px rgba(245, 158, 11, 1)); }
}

.hero p {
    font-size: 1.6rem;
    margin-bottom: 4rem;
    color: #374151;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    line-height: 1.9;
}

/* Game Container */
.game-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 40px;
    padding: 6rem;
    margin: 6rem 0;
    border: 6px solid #f59e0b;
    box-shadow: 0 0 70px rgba(245, 158, 11, 0.6);
    position: relative;
    overflow: hidden;
}

.game-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #fcd34d, #f59e0b);
    background-size: 500% 100%;
    animation: birdShimmer 6s linear infinite;
}

@keyframes birdShimmer {
    0% { background-position: -500% 0; }
    100% { background-position: 500% 0; }
}

.game-frame {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: 30px;
    background: #000;
    box-shadow: inset 0 0 50px rgba(245, 158, 11, 0.4);
}

/* Notices */
.notices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 5rem;
    margin: 7rem 0;
}

.notice {
    background: rgba(255, 255, 255, 0.8);
    padding: 5rem;
    border-radius: 35px;
    border-left: 8px solid #f59e0b;
    text-align: center;
    transition: all 0.6s ease;
    position: relative;
    overflow: hidden;
}

.notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.notice:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 60px rgba(245, 158, 11, 0.5);
}

.notice h3 {
    color: #f59e0b;
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Fredoka', cursive;
}

.notice p {
    color: #374151;
    line-height: 2;
    font-weight: 500;
    font-size: 1.3rem;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.98);
    padding: 7rem 0 5rem;
    margin-top: 9rem;
    border-top: 6px solid #f59e0b;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #fcd34d, #f59e0b);
    background-size: 500% 100%;
    animation: birdShimmer 6s linear infinite;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 6rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
    transition: all 0.5s ease;
    padding: 1.2rem 2.5rem;
    border-radius: 35px;
    font-family: 'Poppins', sans-serif;
}

.footer-links a:hover {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.15);
    transform: translateY(-5px) scale(1.08);
    text-shadow: 0 0 25px #f59e0b;
}

.footer p {
    color: #6b7280;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Age Verification Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
}

.modal-content {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    margin: 15% auto;
    padding: 7rem;
    border: 6px solid #f59e0b;
    border-radius: 40px;
    width: 90%;
    max-width: 700px;
    text-align: center;
    box-shadow: 0 0 120px rgba(245, 158, 11, 0.8);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #fcd34d, #f59e0b);
    background-size: 500% 100%;
    animation: birdShimmer 6s linear infinite;
}

.modal h2 {
    color: #f59e0b;
    margin-bottom: 3.5rem;
    font-size: 3rem;
    font-family: 'Fredoka', cursive;
    font-weight: 700;
}

.modal p {
    color: #1f2937;
    margin-bottom: 4rem;
    line-height: 2;
    font-size: 1.4rem;
    font-weight: 500;
}

.modal-buttons {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.btn {
    padding: 2rem 5rem;
    border: none;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.6s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 2px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 1s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, #f59e0b, #fbbf24);
    color: #1f2937;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.6);
}

.btn-primary:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.8);
}

.btn-secondary {
    background: transparent;
    color: #f59e0b;
    border: 5px solid #f59e0b;
}

.btn-secondary:hover {
    background: #f59e0b;
    color: #1f2937;
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 4rem;
        gap: 2.5rem;
        border-top: 5px solid #f59e0b;
    }
    
    .nav.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .hero p {
        font-size: 1.4rem;
    }
    
    .game-frame {
        height: 650px;
    }
    
    .notices {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 3rem;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 6rem;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .logo::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .game-frame {
        height: 550px;
    }
}