:root {
    --bg-dark: #0f0c29;       
    --neon-purple: #b92b27;   
    --neon-blue: #1565C0;    
    --text-main: #ffffff;   
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
}

.background-shapes {
    position: fixed; 
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 4s infinite alternate;
}

.shape-1 {
    width: 300px; height: 300px;
    background: var(--neon-purple);
    top: 10%; left: 15%;
}
.shape-2 {
    width: 400px; height: 400px;
    background: var(--neon-blue);
    bottom: 10%; right: 10%;
    animation-delay: -2s;
}
.shape-3 {
    width: 250px; height: 250px;
    background: #00d2ff;
    top: 40%; left: 50%;
    animation-duration: 6s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-50px) scale(1.1); }
}

.earth {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.earth p {
    color: white;
    font-size: 1.25em;
    letter-spacing: 1px;
}

.earth-loader {
    --watercolor: #3344c1;
    --landcolor: #7cc133;
    width: 7.5em;
    height: 7.5em;
    background-color: var(--watercolor);
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    
    box-shadow:
        0 0 35px rgba(0, 0, 0, 0.8), 
        inset 0em 0.5em rgb(255, 255, 255, 0.25),
        inset 0em -0.5em rgb(0, 0, 0, 0.25);
        
    border: solid 0.15em white;
}

.earth-loader svg:nth-child(1) {
    position: absolute;
    bottom: -2em;
    left: -2em;
    width: 7em;
    height: auto;
    animation: round1 5s infinite linear -0.75s;
}

.earth-loader svg:nth-child(2) {
    position: absolute;
    top: -3em;
    left: -2em;
    width: 7em;
    height: auto;
    animation: round1 5s infinite linear;
}

.earth-loader svg:nth-child(3) {
    position: absolute;
    top: -2.5em;
    left: 5em;
    width: 7em;
    height: auto;
    animation: round2 5s infinite linear;
}

.earth-loader svg:nth-child(4) {
    position: absolute;
    bottom: -2.2em;
    left: 5em;
    width: 7em;
    height: auto;
    animation: round2 5s infinite linear -0.75s;
}

@keyframes round1 {
    0% { left: -2em; opacity: 100%; transform: skewX(0deg) rotate(0deg); }
    30% { left: -6em; opacity: 100%; transform: skewX(-25deg) rotate(25deg); }
    31% { left: -6em; opacity: 0%; transform: skewX(-25deg) rotate(25deg); }
    35% { left: 7em; opacity: 0%; transform: skewX(25deg) rotate(-25deg); }
    45% { left: 7em; opacity: 100%; transform: skewX(25deg) rotate(-25deg); }
    100% { left: -2em; opacity: 100%; transform: skewX(0deg) rotate(0deg); }
}

@keyframes round2 {
    0% { left: 5em; opacity: 100%; transform: skewX(0deg) rotate(0deg); }
    75% { left: -7em; opacity: 100%; transform: skewX(-25deg) rotate(25deg); }
    76% { left: -7em; opacity: 0%; transform: skewX(-25deg) rotate(25deg); }
    77% { left: 8em; opacity: 0%; transform: skewX(25deg) rotate(-25deg); }
    80% { left: 8em; opacity: 100%; transform: skewX(25deg) rotate(-25deg); }
    100% { left: 5em; opacity: 100%; transform: skewX(0deg) rotate(0deg); }
}