@import url('https://fonts.googleapis.com/css2?family=Metal+Mania&family=Oxanium:wght@400;500;600;700;800&display=swap');

:root {
    --chile-red: #D52B1E;
    --chile-blue: #0039A6;
    --rock-gold: #FFD700;
    --dark-bg: #0a0a0a;
}

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

body {
    font-family: 'Oxanium', sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    background: var(--dark-bg);
    color: white;
}

/* Background */
.welcome-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(213, 43, 30, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 57, 166, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, #000000 0%, #0a0520 50%, #000000 100%);
    z-index: 1;
}

/* Main Container */
.welcome-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
}

/* Recovery Card */
.recovery-card {
    background: rgba(10, 10, 10, 0.85);
    border: 2px solid var(--rock-gold);
    border-radius: 15px;
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    box-shadow:
        0 0 40px rgba(255, 215, 0, 0.3),
        inset 0 0 30px rgba(255, 215, 0, 0.05);
    animation: fadeInUp 1.2s ease-out;
    backdrop-filter: blur(10px);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recovery-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.recovery-header i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--chile-red), var(--rock-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.recovery-header h2 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg,
            var(--chile-red) 0%,
            var(--rock-gold) 50%,
            var(--chile-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.recovery-header .subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

/* Error Message */
.error-message {
    background: rgba(213, 43, 30, 0.2);
    border: 1px solid var(--chile-red);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: shake 0.5s ease-in-out;
}

.error-message i {
    color: var(--chile-red);
    font-size: 1.2rem;
}

.error-message span {
    color: #fff;
    font-size: 0.95rem;
    text-align: left;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

/* Success Message */
.success-message {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: fadeIn 0.5s ease-in-out;
}

.success-message i {
    color: #28a745;
    font-size: 1.2rem;
}

.success-message span {
    color: #fff;
    font-size: 0.95rem;
    text-align: left;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Form */
.recovery-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
}

.form-group.focused {
    transform: translateY(-2px);
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--rock-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group label i {
    font-size: 1rem;
}

.form-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    font-family: 'Oxanium', sans-serif;
    font-size: 1rem;
    color: white;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus {
    border-color: var(--rock-gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.form-group input:hover {
    border-color: rgba(255, 215, 0, 0.5);
}

/* Recovery Button */
.btn-recovery {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg,
            var(--chile-red) 0%,
            var(--chile-blue) 100%);
    border: 3px solid var(--rock-gold);
    color: white;
    font-family: 'Oxanium', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 1rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 1rem;
}

.btn-recovery:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.6);
    border-color: white;
}

.btn-recovery:active:not(:disabled) {
    transform: translateY(-1px) scale(1.01);
}

.btn-recovery:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-recovery i:last-child {
    transition: transform 0.3s ease;
}

.btn-recovery:hover:not(:disabled) i:last-child {
    transform: translateX(5px);
}

/* Recovery Links */
.recovery-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.recovery-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 6px;
}

.link-secondary {
    color: rgba(255, 255, 255, 0.7);
}

.link-secondary:hover {
    color: var(--rock-gold);
    background: rgba(255, 215, 0, 0.05);
    transform: translateX(-5px);
}

.link-primary {
    color: var(--rock-gold);
    font-weight: 600;
}

.link-primary:hover {
    color: white;
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(5px);
}

.recovery-links a i {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .recovery-card {
        padding: 2rem;
        max-width: 450px;
    }

    .recovery-header h2 {
        font-size: 1.5rem;
    }

    .recovery-header .subtitle {
        font-size: 0.9rem;
    }

    .btn-recovery {
        font-size: 1.1rem;
        padding: 0.9rem 1.8rem;
    }
}

@media (max-width: 480px) {
    .recovery-card {
        padding: 1.5rem;
    }

    .recovery-header i {
        font-size: 2.5rem;
    }

    .recovery-header h2 {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .recovery-header .subtitle {
        font-size: 0.85rem;
    }

    .btn-recovery {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        gap: 0.8rem;
    }

    .form-group input {
        padding: 0.8rem 1rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }
}