* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    overflow-x: hidden;
    background: #000000;
    min-height: 100vh;
    color: #FFD700;
}

/* ========== LOADING SCREEN ========== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease-out;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    z-index: 10001;
    position: relative;
}

/* Airplane animation on loading */
.airplane-loader {
    margin-bottom: 30px;
}

.airplane {
    position: relative;
    width: 120px;
    height: 80px;
    margin: 0 auto;
    animation: fly-loader 3s ease-in-out infinite;
}

.fuselage {
    width: 60px;
    height: 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 10px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgba(255,215,0,0.5);
}

.wing {
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.wing-left {
    border-right: 40px solid #DC143C;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    left: 10px;
}

.wing-right {
    border-left: 40px solid #DC143C;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    right: 10px;
}

.tail {
    width: 0;
    height: 0;
    border-left: 15px solid #FFD700;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes fly-loader {
    0%, 100% {
        transform: translateX(-50px) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(50px) translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateX(0) translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateX(-30px) translateY(-15px) rotate(-5deg);
    }
}

.loader-text h2 {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8),
                 0 0 20px rgba(255,215,0,0.6),
                 0 0 40px rgba(255,215,0,0.4);
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 8px;
    animation: pulse 2s ease-in-out infinite;
    text-transform: uppercase;
}

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

.loader-text p {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    letter-spacing: 2px;
    font-weight: 300;
}

.loading-bar {
    width: 400px;
    height: 6px;
    background: rgba(255,215,0,0.2);
    border-radius: 3px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255,215,0,0.4);
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500, #DC143C);
    width: 0%;
    animation: loading 3s ease-in-out forwards;
    box-shadow: 0 0 10px rgba(255,215,0,0.8);
}

@keyframes loading {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Clouds on loading */
.clouds-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    opacity: 0.3;
}

.cloud {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
}

.cloud:before,
.cloud:after {
    content: '';
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
}

.cloud1 {
    width: 100px;
    height: 40px;
    top: 20%;
    left: 10%;
    animation: drift-cloud 15s linear infinite;
}

.cloud1:before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.cloud1:after {
    width: 60px;
    height: 40px;
    top: -15px;
    right: 10px;
}

.cloud2 {
    width: 120px;
    height: 50px;
    top: 60%;
    right: 15%;
    animation: drift-cloud 20s linear infinite;
}

.cloud2:before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 15px;
}

.cloud2:after {
    width: 70px;
    height: 50px;
    top: -20px;
    right: 15px;
}

.cloud3 {
    width: 80px;
    height: 35px;
    top: 40%;
    left: 50%;
    animation: drift-cloud 18s linear infinite;
}

.cloud3:before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 10px;
}

.cloud3:after {
    width: 50px;
    height: 35px;
    top: -15px;
    right: 10px;
}

.cloud4 {
    width: 90px;
    height: 40px;
    top: 80%;
    left: 30%;
    animation: drift-cloud 22s linear infinite;
}

.cloud4:before {
    width: 45px;
    height: 45px;
    top: -22px;
    left: 10px;
}

.cloud4:after {
    width: 55px;
    height: 40px;
    top: -18px;
    right: 10px;
}

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

/* ========== MAIN CONTENT ========== */
.main-content {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.main-content.visible {
    opacity: 1;
}

.hidden {
    display: none;
}

/* Banner flying animation */
.banner-flying {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000000;
    opacity: 0;
    pointer-events: none;
}

.banner-flying.active {
    opacity: 1;
    pointer-events: all;
}

.banner-flying-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(0.3);
    animation: banner-fly-in 2s ease-out forwards;
}

@keyframes banner-fly-in {
    0% {
        transform: scale(0.3) translateZ(0);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1) translateZ(0);
        opacity: 1;
    }
    100% {
        transform: scale(1.5) translateZ(0);
        opacity: 0;
    }
}

.banner-flying.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Site content with logo background */
.site-content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    opacity: 0;
    transition: opacity 1s ease-in;
}

.site-content.visible {
    opacity: 1;
}

.logo-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/logo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.95;
}

.logo-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Character in center */
.character-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: character-appear 1s ease-out 2.5s both;
}

.character-img {
    width: 100%;
    height: auto;
    max-width: 500px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.8));
    animation: character-float 3s ease-in-out infinite;
}

@keyframes character-appear {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

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

/* Content overlay */
.content-overlay {
    position: relative;
    z-index: 4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 20px;
    animation: content-fade-in 1s ease-out 3s both;
}

@keyframes content-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.links-section {
    text-align: center;
    margin-bottom: 40px;
}

.links-section h2 {
    color: #FFD700;
    font-size: 2rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8),
                 0 0 20px rgba(255,215,0,0.5);
    letter-spacing: 4px;
    font-weight: bold;
    text-transform: uppercase;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    border: 2px solid rgba(255,215,0,0.5);
    text-decoration: none;
    color: #FFD700;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5),
                0 0 10px rgba(255,215,0,0.3);
    letter-spacing: 1px;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(0,0,0,0.9);
    border-color: rgba(255,215,0,0.8);
    box-shadow: 0 8px 25px rgba(0,0,0,0.7),
                0 0 20px rgba(255,215,0,0.5);
    color: #FFA500;
}

.social-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.x-icon {
    width: 35px;
    height: 35px;
    fill: currentColor;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.footer {
    text-align: center;
    padding: 20px;
    color: rgba(255,215,0,0.7);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* Play Music Button */
.play-music-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10;
    padding: 12px 24px;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,215,0,0.6);
    border-radius: 8px;
    color: #FFD700;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.6),
                0 0 15px rgba(255,215,0,0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: play-btn-pulse 2s ease-in-out infinite;
}

.play-music-btn:hover {
    background: rgba(0,0,0,0.9);
    border-color: rgba(255,215,0,0.9);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.7),
                0 0 25px rgba(255,215,0,0.6);
}

.play-music-btn:active {
    transform: translateY(0) scale(1);
}

.play-music-btn.hidden {
    display: none;
}

@keyframes play-btn-pulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(0,0,0,0.6),
                    0 0 15px rgba(255,215,0,0.4);
    }
    50% {
        box-shadow: 0 5px 15px rgba(0,0,0,0.6),
                    0 0 25px rgba(255,215,0,0.7);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .loader-text h2 {
        font-size: 2rem;
        letter-spacing: 4px;
    }
    
    .loader-text p {
        font-size: 1rem;
    }
    
    .loading-bar {
        width: 300px;
    }
    
    .character-center {
        max-width: 300px;
    }
    
    .links-section h2 {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .content-overlay {
        padding: 20px 15px;
    }
    
    .play-music-btn {
        top: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .character-center {
        max-width: 250px;
    }
    
    .loader-text h2 {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }
}
