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

body {
    font-family: 'Inter', sans-serif;
    background-color: #030c24;
    color: #ffffff;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, #0a5fc2 0%, #1a6fd4 20%, #3a8de6 40%, #5ba8f5 60%, #7ec4fc 80%, #a8dcff 100%);
}

/* Entrance Animations */
@keyframes cloudEnterLeft {
    0% { transform: translate(-150px, 150px) scale(0.8); opacity: 0; }
    100% { transform: translate(0, 0) scale(1); opacity: 1; }
}
@keyframes cloudEnterRight {
    0% { transform: translate(150px, 150px) scale(0.8); opacity: 0; }
    100% { transform: translate(0, 0) scale(1); opacity: 1; }
}
@keyframes cloudEnterBottom {
    0% { transform: translate(0, 200px) scale(0.9); opacity: 0; }
    100% { transform: translate(0, 0) scale(1); opacity: 1; }
}
@keyframes cloudEnterFade {
    0% { transform: translateY(50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
@keyframes textReveal {
    0% { transform: translateY(30px); opacity: 0; filter: blur(5px); }
    100% { transform: translateY(0); opacity: 1; filter: blur(0); }
}
@keyframes pulseSun {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.text-reveal-1 { animation: textReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.text-reveal-2 { animation: textReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards; opacity: 0; }

/* Heavy Idle Drift Animations */
@keyframes heavyDrift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -20px) scale(1.05); } 66% { transform: translate(-10px, 25px) scale(0.98); } }
@keyframes heavyDrift3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30px, -35px) scale(1.08); } }
@keyframes heavyDrift5 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(25px, -20px) scale(1.03); } }
@keyframes heavyFloatFast { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-15px, -30px) scale(1.1); } }
@keyframes heavyFloatMedium { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(20px, 40px) scale(0.95); } }

.anim-drift-1 { animation: cloudEnterLeft 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, heavyDrift1 12s ease-in-out 1.8s infinite; transform-origin: center bottom; }
.anim-drift-3 { animation: cloudEnterBottom 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, heavyDrift3 16s ease-in-out 2s infinite; transform-origin: center bottom; }
.anim-drift-5 { animation: cloudEnterFade 2.5s ease-out forwards, heavyDrift5 18s ease-in-out 2.5s infinite; transform-origin: center bottom; }
.anim-float-fast { animation: cloudEnterFade 2.2s ease-out forwards, heavyFloatFast 8s ease-in-out 2.2s infinite; }
.anim-float-medium { animation: cloudEnterFade 2.4s ease-out forwards, heavyFloatMedium 10s ease-in-out 2.4s infinite; }

.content-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

h1 span {
    color: #74c7ff;
    text-shadow: 0 0 20px rgba(116, 199, 255, 0.5);
}

p {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

.clouds-layer {
    position: absolute; 
    bottom: 0; 
    left: -5%; 
    width: 110%; 
    height: 100%;
}

.mobile-top-clouds {
    display: none;
    position: absolute;
    top: 0;
    left: -5%;
    width: 110%;
    height: 25%;
    transform: scaleY(-1); /* Flips clouds so they hang from the top edge */
    z-index: 5;
}

.logo-container {
    position: absolute;
    top: 40px;
    left: 50px;
    z-index: 20;
    animation: cloudEnterFade 1s ease-out forwards;
}
@keyframes logoGlow {
    0% { box-shadow: 0 8px 24px rgba(0,0,0,0.3), 0 0 15px rgba(255, 255, 255, 0.3); }
    100% { box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 30px rgba(255, 255, 255, 0.7); }
}

.logo-container img {
    height: 55px;
    border-radius: 12px;
    animation: logoGlow 3s infinite alternate ease-in-out;
    background: rgba(255, 255, 255, 0.1);
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 25px;
    justify-content: center;
}
.social-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.social-links a:hover {
    transform: translateY(-5px);
    color: #74c7ff;
    background: rgba(255, 255, 255, 0.2);
    border-color: #74c7ff;
    box-shadow: 0 5px 15px rgba(116, 199, 255, 0.3);
}
.social-links svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.mobile-break {
    display: none;
}

@media (max-width: 768px) {
    .clouds-layer {
        width: 115%;
        left: -7.5%;
        height: auto;
        aspect-ratio: 1920 / 1080;
        bottom: 0;
    }
    .mobile-top-clouds {
        display: block;
        width: 115%;
        left: -7.5%;
        height: auto;
        aspect-ratio: 1920 / 1080;
        top: 0;
    }
    .logo-container {
        top: 25px;
        left: 25px;
    }
    .logo-container img {
        height: 45px;
    }
    .mobile-break {
        display: block;
    }
    h1 {
        font-size: 11vw; /* Ensures it perfectly fits in one line on small phones */
        white-space: nowrap;
        line-height: 1.1;
        margin-bottom: 15px;
    }
}

/* Magic Particles (Snow / Dust) */
.particle {
    position: absolute;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(116, 199, 255, 0.4);
    pointer-events: none;
    z-index: 8;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes floatUp {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10% { opacity: var(--opacity, 1); }
    50% { transform: translateY(-55vh) translateX(30px) scale(1.2); }
    90% { opacity: var(--opacity, 1); }
    100% { transform: translateY(-110vh) translateX(-20px) scale(0.8); opacity: 0; }
}

@keyframes floatDown {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10% { opacity: var(--opacity, 1); }
    50% { transform: translateY(55vh) translateX(-30px) scale(1.2); }
    90% { opacity: var(--opacity, 1); }
    100% { transform: translateY(110vh) translateX(20px) scale(0.8); opacity: 0; }
}
