/*
    Maintenance Page CSS - Mafia Game Style
*/

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

body {
    background: #000000;
    font-family: "Verdana", "Arial", "Helvetica", sans-serif;
    color: #FFFFFF;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.maintenance-container {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #333333;
    border-radius: 10px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.maintenance-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #333333;
    border-radius: 12px;
    z-index: -1;
    opacity: 0.5;
}

.logo {
    margin-bottom: 30px;
}

.logo img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.maintenance-title {
    font-size: 28px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    letter-spacing: 2px;
}

.maintenance-subtitle {
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 30px;
    line-height: 1.5;
}

.progress-container {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #333333;
    border-radius: 20px;
    height: 20px;
    margin: 20px 0;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    background: #FFFFFF;
    height: 100%;
    width: 75%;
    border-radius: 20px;
    animation: progress-animation 3s ease-in-out infinite;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 2s infinite;
}

@keyframes progress-animation {
    0%, 100% { width: 75%; }
    50% { width: 78%; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.status-text {
    font-size: 14px;
    color: #FFFFFF;
    margin-top: 15px;
}

.admin-login {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.admin-login h3 {
    color: #FFFFFF;
    font-size: 18px;
    margin-bottom: 20px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    color: #FFFFFF;
    font-size: 12px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #333333;
    border-radius: 5px;
    color: #FFFFFF;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #FFFFFF;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.login-btn {
    background: rgba(0, 0, 0, 0.9);
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.error-message {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 12px;
}

.success-message {
    background: rgba(68, 255, 68, 0.1);
    border: 1px solid rgba(68, 255, 68, 0.3);
    color: #44ff44;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 12px;
}

.features-list {
    text-align: left;
    margin: 30px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
    border-left: 3px solid #FFFFFF;
}

.features-list h4 {
    color: #FFFFFF;
    margin-bottom: 15px;
    font-size: 16px;
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
    color: #FFFFFF;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 13px;
}

.features-list li::before {
    content: '▶';
    color: #FFFFFF;
    position: absolute;
    left: 0;
    font-size: 10px;
}

.estimated-time {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.estimated-time strong {
    color: #FFFFFF;
}

/* Responsive design */
@media (max-width: 600px) {
    .maintenance-container {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .maintenance-title {
        font-size: 24px;
    }
    
    .maintenance-subtitle {
        font-size: 14px;
    }
}

/* Loading animation */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
} 