:root {
    --primary-color: #2e7d32;
    --primary-light: #4caf50;
    --primary-dark: #1b5e20;
    --accent-color: #ffc107;
    --text-color: #212121;
    --text-light: #757575;
    --background: #f5f5f5;
    --card-bg: #ffffff;
    --success-color: #388e3c;
    --error-color: #d32f2f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.loading-container {
    text-align: center;
    max-width: 500px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
}

.logo {
    margin-bottom: 30px;
}

.logo-icon {
    font-size: 4rem;
    color: white;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-subtext {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.progress-container {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 30px 0;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-color), #ffeb3b);
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

.loading-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.loading-dots {
    display: inline-flex;
    gap: 4px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse 1.5s infinite ease-in-out;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

.hint {
    margin-top: 25px;
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
    min-height: 20px;
}

.fish-animation {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.4;
    z-index: 1;
    animation: swim linear infinite;
}

.fish-1 { top: 10%; left: -50px; animation-duration: 25s; animation-delay: 0s; color: #FFD700; }
.fish-2 { top: 25%; right: -50px; animation-duration: 20s; animation-delay: 3s; animation-direction: reverse; color: #FF6B6B; }
.fish-3 { top: 40%; left: -50px; animation-duration: 22s; animation-delay: 6s; color: #4ECDC4; }
.fish-4 { top: 55%; right: -50px; animation-duration: 18s; animation-delay: 9s; animation-direction: reverse; color: #FF9F1C; }
.fish-5 { top: 70%; left: -50px; animation-duration: 30s; animation-delay: 12s; color: #6A0572; }
.fish-6 { top: 85%; right: -50px; animation-duration: 15s; animation-delay: 15s; animation-direction: reverse; color: #06D6A0; }
.fish-7 { top: 15%; right: -50px; animation-duration: 28s; animation-delay: 4s; animation-direction: reverse; color: #118AB2; }
.fish-8 { top: 30%; left: -50px; animation-duration: 19s; animation-delay: 7s; color: #FFA69E; }
.fish-9 { top: 45%; right: -50px; animation-duration: 23s; animation-delay: 10s; animation-direction: reverse; color: #E0BBE4; }
.fish-10 { top: 60%; left: -50px; animation-duration: 17s; animation-delay: 13s; color: #F9C80E; }
.fish-11 { top: 75%; right: -50px; animation-duration: 26s; animation-delay: 16s; animation-direction: reverse; color: #FF4365; }
.fish-12 { top: 90%; left: -50px; animation-duration: 21s; animation-delay: 19s; color: #00BBF9; }

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: bubble-float linear infinite;
    z-index: 0;
}

.bubble-1 { width: 8px; height: 8px; bottom: -10px; left: 10%; animation-duration: 8s; animation-delay: 0s; }
.bubble-2 { width: 12px; height: 12px; bottom: -10px; left: 20%; animation-duration: 10s; animation-delay: 2s; }
.bubble-3 { width: 6px; height: 6px; bottom: -10px; left: 30%; animation-duration: 7s; animation-delay: 1s; }
.bubble-4 { width: 10px; height: 10px; bottom: -10px; left: 40%; animation-duration: 9s; animation-delay: 3s; }
.bubble-5 { width: 7px; height: 7px; bottom: -10px; left: 50%; animation-duration: 11s; animation-delay: 4s; }
.bubble-6 { width: 9px; height: 9px; bottom: -10px; left: 60%; animation-duration: 8s; animation-delay: 2s; }
.bubble-7 { width: 5px; height: 5px; bottom: -10px; left: 70%; animation-duration: 12s; animation-delay: 1s; }
.bubble-8 { width: 11px; height: 11px; bottom: -10px; left: 80%; animation-duration: 9s; animation-delay: 5s; }
.bubble-9 { width: 8px; height: 8px; bottom: -10px; left: 90%; animation-duration: 10s; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
}

@keyframes swim {
    0% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(25vw) rotate(5deg); }
    50% { transform: translateX(50vw) rotate(0deg); }
    75% { transform: translateX(75vw) rotate(-5deg); }
    100% { transform: translateX(100vw) rotate(0deg); }
}

@keyframes bubble-float {
    0% { 
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-50vh) scale(1.2);
        opacity: 0.4;
    }
    100% { 
        transform: translateY(-100vh) scale(0.5);
        opacity: 0;
    }
}

@media (max-width: 600px) {
    .loading-container {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .logo-icon {
        font-size: 3rem;
    }
    
    .logo-text {
        font-size: 2rem;
    }
    
    .fish-animation {
        font-size: 1.2rem;
    }
}