:root {
    /* RMC BFM Brand Colors */
    --rmc-red: #DB0034;
    --bfm-blue-dark: #001233;
    --bfm-blue-light: #4A90E2;
    
    /* Theme Variables */
    --bg-dark: #000814;
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 0%, var(--bfm-blue-dark) 0%, var(--bg-dark) 80%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: var(--text-main);
}

/* Background Animation: RMC & BFM Glows */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    will-change: transform;
}

/* RMC Red Glow */
.circle-1 {
    width: 450px;
    height: 450px;
    background: var(--rmc-red);
    top: -150px;
    left: -100px;
    animation: float 25s infinite alternate ease-in-out;
}

/* BFM Blue Glow */
.circle-2 {
    width: 400px;
    height: 400px;
    background: var(--bfm-blue-light);
    bottom: -100px;
    right: -100px;
    animation: float 20s infinite alternate-reverse ease-in-out;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(150px, 80px) scale(1.15); }
}

.main-container {
    width: 100%;
    max-width: 440px;
    padding: 20px;
    z-index: 10;
}

/* Verification Card */
.verification-card {
    background: var(--card-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-container {
    margin-bottom: 30px;
}

h1 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

p {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 35px;
}

.captcha-wrapper {
    display: flex;
    justify-content: center;
    min-height: 65px;
}

/* Loading State Styling */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.loader {
    position: relative;
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
}

.spinner {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--rmc-red); /* Using RMC Red for the loading spinner */
    border-radius: 50%;
    animation: rotate 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Checkmark */
.check-icon {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.check-icon svg {
    width: 100%;
    height: 100%;
    stroke: #4CAF50;
    stroke-width: 3;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawCheck 0.6s ease-in-out forwards;
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

.footer-links {
    margin-top: 30px;
    text-align: center;
    font-size: 13px;
    color: var(--text-dim);
}

@media (max-width: 480px) {
    .verification-card {
        padding: 40px 25px;
    }
}
