/* ===== MAINTENANCE.CSS - BannerTracker Wartungsseite ===== */

/* Wartungs-Titel mit Gradient-Puls */
.mt-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    text-transform: uppercase;
    color: transparent;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), #f0f184);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: mtPulse 3s ease-in-out infinite;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

@keyframes mtPulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
        filter: brightness(1.2);
    }
}

/* Untertitel */
.mt-subtitle {
    font-family: var(--font-main);
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* Info-Box */
.mt-info {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(var(--bg-panel-rgb), 0.3);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.mt-info p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.mt-info p strong {
    color: var(--secondary-color);
}

/* Animierte Punkte nach "Wartung" */
.mt-dots {
    display: inline-block;
    width: 40px;
    text-align: left;
}

.mt-dots::after {
    content: '';
    animation: mtDots 2s steps(4, end) infinite;
}

@keyframes mtDots {
    0%  { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
}

/* Countdown und Notify auf der Maintenance-Seite ausblenden */
.cs-countdown,
.cs-notify {
    display: none !important;
}

/* ===== HAMBURGER (Admin-Zugang, More10.one-Style) ===== */
.mt-hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 30px;
    height: 22px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.mt-hamburger:hover {
    opacity: 0.8;
}

.mt-hamburger div {
    height: 2px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: all 0.4s ease;
}

.mt-hamburger.active div,
.mt-hamburger:hover div {
    background: var(--secondary-color);
}

.mt-hamburger.active div:nth-child(1),
.mt-hamburger:hover div:nth-child(1) {
    transform: rotate(42deg) translate(7px, 7px);
}

.mt-hamburger.active div:nth-child(2),
.mt-hamburger:hover div:nth-child(2) {
    opacity: 0;
}

.mt-hamburger.active div:nth-child(3),
.mt-hamburger:hover div:nth-child(3) {
    transform: rotate(-40deg) translate(4px, -4px);
}

/* ===== LOGIN MODAL ===== */
.mt-login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mt-login-modal.active {
    display: flex;
}

.mt-login-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.mt-login-content {
    position: relative;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 32px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: mtModalIn 0.3s ease-out;
}

@keyframes mtModalIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mt-login-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.mt-login-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.mt-login-header {
    text-align: center;
    margin-bottom: 24px;
}

.mt-login-header img {
    height: 40px;
    margin-bottom: 14px;
}

.mt-login-header p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 8px;
}

.mt-login-form-group {
    margin-bottom: 16px;
}

.mt-login-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.mt-login-form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
    box-sizing: border-box;
}

.mt-login-form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 183, 160, 0.15);
}

.mt-login-form-group input::placeholder {
    color: var(--text-secondary);
}

.mt-login-error {
    background: rgba(218, 88, 103, 0.1);
    color: #f87171;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
    border: 1px solid rgba(218, 88, 103, 0.3);
}

.mt-login-error.show {
    display: block;
}

.mt-login-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading), sans-serif;
    margin-top: 8px;
}

.mt-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 183, 160, 0.3);
}

.mt-login-submit:active {
    transform: translateY(0);
}

.mt-login-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
