/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* Main Container */
.maintenance-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Animated Background */
.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #4facfe);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

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

/* Content Container */
.maintenance-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 700px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    animation: fadeInUp 1s ease-out;
}

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

/* Logo Section */
.logo-section {
    margin-bottom: 40px;
    animation: fadeIn 1.5s ease-out;
}

.logo-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

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

.brand-name {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Message Section */
.message-section {
    margin-bottom: 40px;
    animation: fadeIn 2s ease-out;
}

.main-heading {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.main-message {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 400;
    opacity: 0.95;
}

.sub-message {
    font-size: 20px;
    font-weight: 600;
    margin-top: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Spinner Container */
.spinner-container {
    margin: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    position: relative;
    width: 80px;
    height: 80px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-duration: 2s;
    animation-direction: reverse;
    border-top-color: rgba(255, 255, 255, 0.6);
}

.spinner-ring:nth-child(3) {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    animation-duration: 2.5s;
    border-top-color: rgba(255, 255, 255, 0.4);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Contact Section */
.contact-section {
    margin: 40px 0 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    animation: fadeIn 2.5s ease-out;
}

.contact-text {
    font-size: 16px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.contact-link {
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

.contact-link:hover {
    border-bottom-color: white;
    transform: translateY(-2px);
}

/* Footer Section */
.footer-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    opacity: 0.8;
    animation: fadeIn 3s ease-out;
}

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

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

    .logo-icon {
        font-size: 60px;
    }

    .brand-name {
        font-size: 36px;
    }

    .main-heading {
        font-size: 28px;
    }

    .main-message {
        font-size: 16px;
    }

    .sub-message {
        font-size: 18px;
    }

    .spinner {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .maintenance-content {
        padding: 25px 15px;
    }

    .logo-icon {
        font-size: 50px;
    }

    .brand-name {
        font-size: 28px;
    }

    .main-heading {
        font-size: 24px;
    }

    .main-message {
        font-size: 15px;
    }

    .sub-message {
        font-size: 16px;
    }

    .contact-link {
        font-size: 16px;
    }
}
