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

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    overflow: hidden;
    background: #000;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Animated Gradient Background */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(var(--color1), 0.35),
        rgba(var(--color2), 0.35),
        rgba(var(--color3), 0.35),
        rgba(var(--color4), 0.35),
        rgba(var(--color5), 0.35)
    );
    background-size: 400% 400%;
    animation: gradientMove 20s ease infinite;
    z-index: 1;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Living Shapes Container */
.shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

/* Base shape styles */
.shape-static {
    position: absolute;
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 99, 71, 0.2), rgba(255, 159, 64, 0.2));
    top: 15%;
    left: 10%;
    --rotation: -45deg;
    --tx: 0.8;
    --ty: -0.6;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.2), rgba(76, 175, 80, 0.2));
    top: 60%;
    right: 15%;
    --rotation: 45deg;
    --tx: -0.5;
    --ty: 0.7;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.2), rgba(0, 128, 255, 0.2));
    bottom: 10%;
    left: 30%;
    --rotation: -90deg;
    --tx: 0.6;
    --ty: -0.4;
}

.shape-4 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(255, 0, 85, 0.2), rgba(255, 99, 71, 0.2));
    top: 40%;
    right: 35%;
    --rotation: 180deg;
    --tx: -0.7;
    --ty: 0.5;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(var(--rotation));
        filter: brightness(1);
    }
    20% {
        transform: translate(calc(var(--tx) * 25), calc(-var(--ty) * 30)) rotate(calc(var(--rotation) - 8deg));
        filter: brightness(1.15);
    }
    40% {
        transform: translate(calc(-var(--tx) * 35), calc(var(--ty) * 40)) rotate(calc(var(--rotation) + 6deg));
        filter: brightness(0.92);
    }
    60% {
        transform: translate(calc(var(--tx) * 28), calc(-var(--ty) * 35)) rotate(calc(var(--rotation) - 4deg));
        filter: brightness(1.08);
    }
    80% {
        transform: translate(calc(-var(--tx) * 20), calc(var(--ty) * 30)) rotate(calc(var(--rotation) + 5deg));
        filter: brightness(0.95);
    }
    100% {
        transform: translate(0, 0) rotate(var(--rotation));
        filter: brightness(1);
    }
}

/* Content */
.content {
    position: relative;
    z-index: 10;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 60px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.server-name {
    font-size: 3rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out;
}

.server-name span {
    display: inline-block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Progress Bar */
.progress-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.progress-bar-bg {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff6347, #ffa500, #32cd32);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 99, 71, 0.5);
}

.progress-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Glowing Effect */
.glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 99, 71, 0.1), transparent);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
    z-index: 3;
}

.glow:nth-child(5) { top: 20%; left: 20%; animation-delay: 0s; }
.glow:nth-child(6) { bottom: 25%; right: 15%; animation-delay: -2s; }
.glow:nth-child(7) { top: 40%; right: 35%; animation-delay: -4s; }
.glow:nth-child(8) { bottom: 30%; left: 25%; animation-delay: -6s; }

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .server-name {
        font-size: 2rem;
    }

    .content {
        padding: 30px 40px;
    }
}
