/* DBRNovo — Página de modo manutenção */

.mnt-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.mnt-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.mnt-particles span {
    position: absolute;
    bottom: -20px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.55);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.6);
    animation: mnt-float 14s linear infinite;
}

.mnt-particles span:nth-child(3n) { background: rgba(59, 130, 246, 0.55); box-shadow: 0 0 10px rgba(59, 130, 246, 0.6); }
.mnt-particles span:nth-child(4n) { background: rgba(139, 92, 246, 0.55); box-shadow: 0 0 10px rgba(139, 92, 246, 0.6); width: 4px; height: 4px; }
.mnt-particles span:nth-child(1) { left: 6%; animation-delay: 0s; animation-duration: 16s; }
.mnt-particles span:nth-child(2) { left: 14%; animation-delay: 3s; animation-duration: 12s; }
.mnt-particles span:nth-child(3) { left: 22%; animation-delay: 6s; animation-duration: 18s; }
.mnt-particles span:nth-child(4) { left: 31%; animation-delay: 1s; animation-duration: 13s; }
.mnt-particles span:nth-child(5) { left: 39%; animation-delay: 8s; animation-duration: 15s; }
.mnt-particles span:nth-child(6) { left: 47%; animation-delay: 4s; animation-duration: 17s; }
.mnt-particles span:nth-child(7) { left: 55%; animation-delay: 10s; animation-duration: 12s; }
.mnt-particles span:nth-child(8) { left: 63%; animation-delay: 2s; animation-duration: 19s; }
.mnt-particles span:nth-child(9) { left: 70%; animation-delay: 7s; animation-duration: 14s; }
.mnt-particles span:nth-child(10) { left: 77%; animation-delay: 5s; animation-duration: 16s; }
.mnt-particles span:nth-child(11) { left: 84%; animation-delay: 11s; animation-duration: 13s; }
.mnt-particles span:nth-child(12) { left: 90%; animation-delay: 9s; animation-duration: 18s; }
.mnt-particles span:nth-child(13) { left: 95%; animation-delay: 12s; animation-duration: 15s; }
.mnt-particles span:nth-child(14) { left: 3%; animation-delay: 13s; animation-duration: 17s; }

@keyframes mnt-float {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 0.8; }
    100% { transform: translateY(-110vh) scale(0.6); opacity: 0; }
}

.mnt-page {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100% - 2rem));
    margin: 2rem auto;
    text-align: center;
    animation: mnt-in 0.7s ease-out both;
}

@keyframes mnt-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.mnt-card {
    padding: 2.75rem 2.25rem 2rem;
    border: 1px solid rgba(249, 115, 22, 0.22);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 60px rgba(249, 115, 22, 0.08);
}

/* Logo + engrenagens */
.mnt-logo-wrap {
    position: relative;
    width: 128px;
    height: 128px;
    margin: 0 auto 1.5rem;
}

.mnt-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--orange), var(--purple), var(--blue), var(--orange));
    animation: mnt-spin 6s linear infinite;
    filter: drop-shadow(0 0 14px rgba(249, 115, 22, 0.45));
}

.mnt-ring::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #0b0f19;
}

.mnt-logo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.mnt-gear {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #111827;
    border: 1px solid rgba(249, 115, 22, 0.45);
    color: var(--orange);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.mnt-gear i { animation: mnt-spin 4s linear infinite; }

.mnt-gear-a {
    right: -14px;
    bottom: 2px;
    width: 46px;
    height: 46px;
    font-size: 1.35rem;
}

.mnt-gear-b {
    left: -10px;
    top: 4px;
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    color: #fdba74;
}

.mnt-gear-b i { animation-direction: reverse; animation-duration: 3s; }

@keyframes mnt-spin {
    to { transform: rotate(360deg); }
}

/* Selo, título e mensagem */
.mnt-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.35);
    color: #fdba74;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.mnt-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
    animation: mnt-dot 1.6s ease-out infinite;
}

@keyframes mnt-dot {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); }
    100% { box-shadow: 0 0 0 9px rgba(249, 115, 22, 0); }
}

.mnt-card h1 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.7rem, 5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, #fff 30%, #fdba74);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mnt-message {
    margin: 0 auto 1.6rem;
    max-width: 440px;
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 1rem;
}

/* Barra de progresso */
.mnt-progress {
    position: relative;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.mnt-progress span {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--orange), var(--purple), var(--blue));
    box-shadow: 0 0 14px rgba(249, 115, 22, 0.5);
    animation: mnt-progress 2.4s ease-in-out infinite;
}

@keyframes mnt-progress {
    0% { left: -40%; }
    100% { left: 100%; }
}

.mnt-progress-label {
    margin: 0.7rem 0 1.75rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.mnt-progress-label i {
    color: var(--orange);
    margin-right: 0.35rem;
}

/* Redes sociais */
.mnt-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.75rem;
}

.mnt-discord {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #5865f2, #4752c4);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(88, 101, 242, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mnt-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(88, 101, 242, 0.5);
    color: #fff;
    text-decoration: none;
}

.mnt-discord i { font-size: 1.25rem; }

.mnt-social-icons {
    display: flex;
    gap: 0.75rem;
}

.mnt-social-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mnt-social-icon:hover { transform: translateY(-3px); color: #fff; text-decoration: none; }
.mnt-social-icon.is-instagram:hover { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); border-color: transparent; }
.mnt-social-icon.is-youtube:hover { background: #ff0000; border-color: transparent; }
.mnt-social-icon.is-tiktok:hover { background: #000; border-color: #25f4ee; box-shadow: -2px 2px 0 #fe2c55; }

/* Acesso administrador */
.mnt-admin {
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

.mnt-admin summary {
    cursor: pointer;
    list-style: none;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    user-select: none;
}

.mnt-admin summary::-webkit-details-marker { display: none; }
.mnt-admin summary:hover { color: var(--text); }
.mnt-admin summary i { margin-right: 0.35rem; color: var(--orange); }
.mnt-admin[open] summary { margin-bottom: 1rem; }

.mnt-alert {
    margin-bottom: 0.9rem;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    font-size: 0.88rem;
}

.mnt-login-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.mnt-field span {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mnt-input {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font: inherit;
}

.mnt-input:focus {
    outline: none;
    border-color: rgba(249, 115, 22, 0.55);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.mnt-admin-hint {
    margin: 0.9rem 0 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}

.mnt-admin-hint i { color: var(--orange); margin-right: 0.3rem; }

.mnt-brand {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
}

@media (max-width: 520px) {
    .mnt-card { padding: 2.25rem 1.25rem 1.5rem; }
    .mnt-logo-wrap { width: 108px; height: 108px; }
}

@media (prefers-reduced-motion: reduce) {
    .mnt-particles,
    .mnt-ring,
    .mnt-gear i,
    .mnt-dot,
    .mnt-progress span,
    .mnt-page { animation: none !important; }
    .mnt-progress span { left: 0; width: 100%; }
}
