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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    margin: 0;
    padding: 0;
}

.maintenance-container {
    text-align: center;
    z-index: 10;
    position: relative;
}

.content {
    background: rgba(255, 255, 255, 0.95);
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

/* Logo Styling - Top Left Corner */
.logo-corner {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    animation: fadeIn 1s ease-out;
    width: 8%;
    height: auto;
}

.company-logo {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.8;
}

.gears-container {
    position: relative;
    height: 120px;
    margin-bottom: 30px;
}

.gear {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.gear svg {
    fill: #764ba2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.gear-large {
    width: 80px;
    height: 80px;
    animation: rotateGear 4s linear infinite;
    margin-left: -20px;
}

.gear-small {
    width: 50px;
    height: 50px;
    animation: rotateGearReverse 3s linear infinite;
    margin-left: 30px;
    margin-top: 20px;
}

.title {
    font-size: 3em;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s ease-in-out infinite;
}

.message {
    font-size: 1.2em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.loading-bar {
    width: 100%;
    height: 6px;
    background: rgba(118, 75, 162, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 40px;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 30%;
    border-radius: 3px;
    animation: loadingAnimation 2s ease-in-out infinite;
}

.eta {
    font-size: 1em;
    color: #888;
    margin-bottom: 30px;
}

.highlight {
    color: #764ba2;
    font-weight: 600;
}

.dots-loader {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dots-loader span {
    width: 12px;
    height: 12px;
    background: #764ba2;
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite;
}

.dots-loader span:nth-child(1) {
    animation-delay: -0.32s;
}

.dots-loader span:nth-child(2) {
    animation-delay: -0.16s;
}

/* Background floating shapes */
.background-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 80px;
    height: 80px;
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 19s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    left: 70%;
    top: 60%;
    animation-delay: 2s;
    animation-duration: 23s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    left: 85%;
    top: 10%;
    animation-delay: 4s;
    animation-duration: 21s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    left: 20%;
    bottom: 10%;
    animation-delay: 3s;
    animation-duration: 25s;
}

.shape-5 {
    width: 90px;
    height: 90px;
    right: 15%;
    top: 40%;
    animation-delay: 1s;
    animation-duration: 18s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes rotateGear {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes rotateGearReverse {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes loadingAnimation {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(200%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    33% {
        transform: translate(30px, -50px) rotate(120deg);
        opacity: 0.5;
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
        opacity: 0.3;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .content {
        padding: 40px 30px;
        margin: 20px;
    }

    .title {
        font-size: 2em;
    }

    .message {
        font-size: 1em;
    }

    .logo-corner {
        top: 15px;
        left: 15px;
        width: 60px;
    }

    .company-logo {
        width: 100%;
    }

    .gears-container {
        height: 100px;
    }

    .gear-large {
        width: 60px;
        height: 60px;
    }

    .gear-small {
        width: 40px;
        height: 40px;
    }
}