@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Fredoka+One:wght@400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa726 25%, #66bb6a 50%, #42a5f5 75%, #ab47bc 100%);
    color: #2c3e50;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Tropical background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(102, 187, 106, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(66, 165, 245, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Floating tropical particles */
.tropical-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.tropical-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    border-radius: 50%;
    animation: tropicalFloat 7s infinite linear;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.6);
}

@keyframes tropicalFloat {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        transform: translateY(-100vh) rotate(360deg) scale(0);
        opacity: 0;
    }
}

/* Header */
.header {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(20px);
    border-bottom: 4px solid #ff6b6b;
    padding: 1.5rem 0;
    box-shadow: 0 4px 30px rgba(255, 107, 107, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: 'Fredoka One', cursive;
    font-size: 3.2rem;
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    animation: logoBounce 2s ease-in-out infinite alternate;
}

@keyframes logoBounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-5px);
    }
}

.logo:hover {
    transform: scale(1.1);
    animation: logoSpin 0.5s ease-in-out infinite alternate;
}

@keyframes logoSpin {
    from { transform: scale(1.1) rotate(0deg); }
    to { transform: scale(1.15) rotate(5deg); }
}

/* Mobile hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border: 3px solid #ff6b6b;
    border-radius: 12px;
    background: rgba(255, 107, 107, 0.1);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.3);
}

.hamburger span {
    width: 25px;
    height: 4px;
    background: #ff6b6b;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.5);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: #2c3e50;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 1rem 2rem;
    border: 3px solid transparent;
    border-radius: 30px;
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    color: white;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ffa726, #66bb6a, #42a5f5);
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-menu a:hover::before {
    opacity: 1;
}

.nav-menu a:hover {
    color: white;
    border-color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

/* Main content */
.main-content {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-section {
    text-align: center;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    border-radius: 30px;
    margin-bottom: 4rem;
    border: 4px solid #ff6b6b;
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-title {
    font-family: 'Fredoka One', cursive;
    font-size: 4.8rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #ff6b6b, #ffa726, #66bb6a, #42a5f5, #ab47bc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
    position: relative;
    z-index: 1;
    animation: titleWiggle 3s ease-in-out infinite;
}

@keyframes titleWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1deg); }
    75% { transform: rotate(-1deg); }
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #ff6b6b;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.notice-banner {
    background: linear-gradient(45deg, #ff6b6b, #ffa726, #66bb6a);
    color: white;
    padding: 2rem;
    border-radius: 25px;
    margin: 2rem 0;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    border: 4px solid #ffffff;
    position: relative;
    z-index: 1;
    animation: bannerPulse 2s ease-in-out infinite alternate;
}

@keyframes bannerPulse {
    from {
        box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
    }
    to {
        box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6), 0 0 20px rgba(255, 167, 38, 0.3);
    }
}

.game-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    border-radius: 30px;
    padding: 3rem;
    margin: 3rem 0;
    border: 4px solid #ff6b6b;
    box-shadow: 0 25px 70px rgba(255, 107, 107, 0.3);
    position: relative;
}

.game-container::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #ff6b6b, #ffa726, #66bb6a, #42a5f5);
    border-radius: 30px;
    z-index: -1;
    opacity: 0.3;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 25px;
    background: #ffffff;
    box-shadow: inset 0 0 30px rgba(255, 107, 107, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    border-top: 4px solid #ff6b6b;
    padding: 3rem 0;
    margin-top: 5rem;
    text-align: center;
    box-shadow: 0 -20px 50px rgba(255, 107, 107, 0.2);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ff6b6b;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 1.2rem 2.5rem;
    border: 3px solid #ff6b6b;
    border-radius: 30px;
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    color: white;
}

.footer-links a:hover {
    color: white;
    background: linear-gradient(45deg, #ffa726, #66bb6a);
    text-shadow: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

/* Age verification modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.age-modal-content {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 4rem;
    border-radius: 35px;
    text-align: center;
    border: 4px solid #ff6b6b;
    box-shadow: 0 30px 80px rgba(255, 107, 107, 0.4);
    max-width: 600px;
    width: 90%;
    position: relative;
}

.age-modal-content::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #ff6b6b, #ffa726, #66bb6a, #42a5f5);
    border-radius: 35px;
    z-index: -1;
    opacity: 0.3;
}

.age-modal h2 {
    color: #ff6b6b;
    margin-bottom: 2rem;
    font-size: 3rem;
    font-family: 'Fredoka One', cursive;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.age-modal p {
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 1.3rem;
    line-height: 1.6;
    font-weight: 600;
}

.age-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.age-btn {
    padding: 1.8rem 3.5rem;
    border: none;
    border-radius: 30px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.age-yes {
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    color: white;
    border: 4px solid #ffffff;
    box-shadow: 0 0 25px rgba(255, 107, 107, 0.5);
}

.age-yes:hover {
    transform: scale(1.1);
    box-shadow: 0 0 35px rgba(255, 107, 107, 0.8);
}

.age-no {
    background: linear-gradient(45deg, #66bb6a, #42a5f5);
    color: white;
    border: 4px solid #ff6b6b;
    box-shadow: 0 0 25px rgba(102, 187, 106, 0.5);
}

.age-no:hover {
    transform: scale(1.1);
    box-shadow: 0 0 35px rgba(102, 187, 106, 0.8);
}

/* Responsive design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 3rem 0;
        backdrop-filter: blur(20px);
        border-top: 4px solid #ff6b6b;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .age-modal-content {
        padding: 3rem 2rem;
        margin: 1rem;
    }
    
    .age-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .game-frame {
        height: 300px;
    }
    
    .logo {
        font-size: 2.5rem;
    }
}