@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

* {
    font-family: 'Nunito', sans-serif;
}

.ocean-bg {
    background: linear-gradient(
        180deg,
        #87CEEB 0%,
        #4682B4 30%,
        #1e40af 60%,
        #1e3a8a 100%
    );
    position: relative;
}

.ocean-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
    animation: oceanShimmer 8s ease-in-out infinite;
}

.ocean-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 40px,
        rgba(255,255,255,0.03) 40px,
        rgba(255,255,255,0.03) 80px
    );
    animation: waves 4s linear infinite;
}

.seagulls {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg width='40' height='20' viewBox='0 0 40 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10 L5 8 L10 6 M20 10 L15 8 L20 6 M30 10 L25 8 L30 6' stroke='white' stroke-width='2' fill='none' opacity='0.6'/%3E%3C/svg%3E") repeat-x;
    animation: seagullFly 20s linear infinite;
}

.wind-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='white' opacity='0.3'/%3E%3Ccircle cx='60' cy='40' r='1.5' fill='white' opacity='0.2'/%3E%3Ccircle cx='80' cy='70' r='1' fill='white' opacity='0.4'/%3E%3Ccircle cx='30' cy='80' r='0.8' fill='white' opacity='0.3'/%3E%3C/svg%3E") repeat;
    animation: windDrift 15s linear infinite;
}

@keyframes oceanShimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes waves {
    0% { transform: translateX(0); }
    100% { transform: translateX(-80px); }
}

@keyframes seagullFly {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(calc(100vw + 100px)); }
}

@keyframes windDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100px, -50px); }
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInScale {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Custom scrollbar for submenu content */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #06b6d4, #0891b2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #0891b2, #0e7490);
}

/* Cel-shaded button styles */
.cel-button {
    border: 3px solid white;
    border-radius: 12px;
    box-shadow: 
        0 4px 0 rgba(0,0,0,0.2),
        0 8px 16px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.cel-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 0 rgba(0,0,0,0.2),
        0 12px 24px rgba(0,0,0,0.15);
}

.cel-button:active {
    transform: translateY(1px);
    box-shadow: 
        0 2px 0 rgba(0,0,0,0.2),
        0 4px 8px rgba(0,0,0,0.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .ocean-bg h1 {
        font-size: 2.5rem !important;
    }
    
    .wind-waker-menu {
        width: 300px !important;
        height: 300px !important;
    }
    
    .menu-item {
        width: 48px !important;
        height: 48px !important;
    }
}