/**
 * Login / Register — temática MuVictus (home-block, iconos reg, botones del template).
 */

.muvictus-pages--login .pageContent,
.muvictus-pages--register .pageContent,
.muvictus-pages--forgotpassword .pageContent {
    min-height: auto !important;
}

.muvictus-game-auth .page-block-title {
    color: #00d8ff;
    text-shadow: 0 0 24px rgba(0, 216, 255, 0.35);
    animation: muvictusAuthTitleGlow 3.5s ease-in-out infinite;
}

@keyframes muvictusAuthTitleGlow {
    0%, 100% { text-shadow: 0 0 16px rgba(0, 216, 255, 0.25); }
    50% { text-shadow: 0 0 28px rgba(0, 216, 255, 0.45); }
}

.muvictus-game-form-wrap {
    width: 100%;
    max-width: 620px;
    margin: 4px auto 36px;
    padding: 0 12px;
    animation: muvictusAuthFadeIn 0.7s ease both;
}

.muvictus-game-form-wrap--register {
    max-width: 720px;
}

@keyframes muvictusAuthFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.muvictus-game-form-panel {
    padding: 36px 28px 28px;
    margin-bottom: 0;
    animation: muvictusAuthPanelPulse 5s ease-in-out infinite;
}

@keyframes muvictusAuthPanelPulse {
    0%, 100% {
        filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
    }
    50% {
        filter: drop-shadow(0 10px 32px rgba(0, 216, 255, 0.12));
    }
}

.muvictus-game-form-head {
    margin-bottom: 8px;
}

.muvictus-game-form-title {
    margin-bottom: 8px !important;
    color: #00d8ff !important;
    font-size: 20px !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-shadow: 0 0 18px rgba(0, 216, 255, 0.3);
}

.muvictus-game-form-lead {
    margin: 0 auto 22px;
    max-width: 420px;
    text-align: center;
    color: #8bb9d3;
    font-size: 13px;
    font-style: italic;
    line-height: 1.5;
}

.muvictus-game-form-body {
    padding: 8px 6px 4px;
}

.muvictus-game-form .formGroup {
    position: relative;
    margin-bottom: 18px;
    padding: 0 8px;
    align-items: center;
}

.muvictus-game-form .formGroup .form-icon {
    flex-shrink: 0;
    margin-right: 6px;
    filter: drop-shadow(0 0 8px rgba(0, 216, 255, 0.35));
    transition: filter 0.25s ease, transform 0.25s ease;
}

.muvictus-game-form .formGroup:focus-within .form-icon {
    filter: drop-shadow(0 0 14px rgba(0, 216, 255, 0.55));
    transform: scale(1.04);
}

.muvictus-game-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 40px 0 12px;
    border: 1px solid rgba(0, 216, 255, 0.22);
    border-radius: 4px;
    background: rgba(4, 14, 24, 0.92);
    color: #e8f7ff;
    font-size: 14px;
    outline: none;
    box-shadow:
        inset 0 2px 8px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(0, 216, 255, 0.06);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.muvictus-game-input::placeholder {
    color: #5a8499;
    font-style: italic;
}

.muvictus-game-input:hover {
    border-color: rgba(0, 216, 255, 0.38);
}

.muvictus-game-input:focus {
    border-color: rgba(0, 216, 255, 0.65);
    background: rgba(6, 20, 36, 0.98);
    box-shadow:
        inset 0 2px 10px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(0, 216, 255, 0.12),
        0 0 20px rgba(0, 216, 255, 0.15);
}

.muvictus-game-pwd-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #6a94ad;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.muvictus-game-pwd-toggle:hover {
    color: #00d8ff;
    background: rgba(0, 216, 255, 0.1);
}

.muvictus-game-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 4px;
}

.muvictus-game-form-row .formGroup {
    margin-bottom: 14px;
}

.muvictus-game-actions {
    margin-top: 12px;
    padding-top: 8px;
}

.muvictus-game-actions .button-big {
    width: 236px;
    max-width: 100%;
    margin-bottom: 14px;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: filter 0.25s ease, transform 0.22s ease;
}

.muvictus-game-actions .button-big:hover {
    transform: translateY(-2px);
    filter: brightness(145%) drop-shadow(0 8px 18px rgba(0, 216, 255, 0.35)) !important;
}

.muvictus-game-submit.is-loading {
    pointer-events: none;
    opacity: 0.88;
}

.muvictus-game-actions p {
    margin: 0;
}

.muvictus-game-actions a {
    color: #00d8ff;
    font-size: 13px;
    font-style: italic;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.muvictus-game-actions a:hover {
    color: #7fe7ff;
    text-shadow: 0 0 10px rgba(0, 216, 255, 0.35);
}

.muvictus-game-tos {
    margin: 8px 0 16px;
    padding: 12px 16px;
    border-radius: 4px;
    background: rgba(0, 20, 40, 0.55);
    border: 1px solid rgba(0, 216, 255, 0.12);
}

.muvictus-game-tos .muvictus-reg-agree {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    margin: 0;
    text-align: left;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
    color: #cceeff;
}

.muvictus-reg-agree-checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.muvictus-reg-agree-mark {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 4px;
    background: rgba(0, 20, 40, 0.85);
    border: 1px solid rgba(80, 180, 255, 0.4);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.muvictus-reg-agree-mark::after {
    content: "";
    display: none;
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #00131d;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.muvictus-reg-agree:hover .muvictus-reg-agree-mark {
    border-color: rgba(120, 220, 255, 0.65);
}

.muvictus-reg-agree-checkbox:focus-visible + .muvictus-reg-agree-mark {
    outline: 2px solid rgba(0, 216, 255, 0.55);
    outline-offset: 2px;
}

.muvictus-reg-agree-checkbox:checked + .muvictus-reg-agree-mark {
    background: linear-gradient(180deg, #23d7ff, #13c7f3);
    border-color: #23d7ff;
    box-shadow: 0 0 10px rgba(0, 216, 255, 0.35);
}

.muvictus-reg-agree-checkbox:checked + .muvictus-reg-agree-mark::after {
    display: block;
}

.muvictus-reg-agree-text {
    flex: 1;
    min-width: 0;
}

.muvictus-reg-agree-text a {
    color: #00d8ff;
    font-weight: 600;
    text-decoration: none;
}

.muvictus-reg-agree-text a:hover {
    color: #7fe7ff;
    text-decoration: underline;
}

.muvictus-game-form-foot {
    margin: 20px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 216, 255, 0.12);
    text-align: center;
    font-size: 13px;
    color: #8bb9d3;
    font-style: italic;
}

.muvictus-game-form-foot a {
    color: #00d8ff;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.muvictus-game-form-foot a:hover {
    color: #7fe7ff;
    text-shadow: 0 0 12px rgba(0, 216, 255, 0.35);
}

.muvictus-game-field--anim {
    animation: muvictusAuthFadeIn 0.65s ease both;
}

.muvictus-game-form .muvictus-game-field--anim:nth-child(1) { animation-delay: 0.1s; }
.muvictus-game-form .muvictus-game-field--anim:nth-child(2) { animation-delay: 0.18s; }
.muvictus-game-form .muvictus-game-field--anim:nth-child(3) { animation-delay: 0.26s; }
.muvictus-game-form-row.muvictus-game-field--anim { animation-delay: 0.26s; }
.muvictus-game-tos.muvictus-game-field--anim { animation-delay: 0.34s; }
.muvictus-game-actions.muvictus-game-field--anim { animation-delay: 0.38s; }

.register-captcha-area {
    margin: 12px 0;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .muvictus-game-form-panel {
        padding: 28px 14px 22px;
    }

    .muvictus-game-form .formGroup {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 4px;
    }

    .muvictus-game-form .form-icon {
        margin-right: 0;
        margin-bottom: 8px;
    }

    .muvictus-game-input {
        width: 100%;
        flex: none;
    }

    .muvictus-game-form-row {
        grid-template-columns: 1fr;
    }

    .muvictus-game-actions .button-big {
        width: 100%;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .muvictus-game-auth .page-block-title,
    .muvictus-game-form-wrap,
    .muvictus-game-form-panel,
    .muvictus-game-field--anim {
        animation: none !important;
    }
}
