:root {
    --rmc-red: #DB0034;
    --bfm-blue: #001741;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--bfm-blue);
    position: relative;
}

/* Optimized Background: Hardware-accelerated Glows */
.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    will-change: transform;
}

.glow-1 {
    background: var(--rmc-red);
    top: -200px;
    left: -200px;
    animation: move1 25s infinite alternate ease-in-out;
}

.glow-2 {
    background: #4A90E2; /* BFM Blue accent */
    bottom: -200px;
    right: -200px;
    animation: move2 30s infinite alternate ease-in-out;
}

@keyframes move1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(300px, 200px) scale(1.2); }
}

@keyframes move2 {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-400px, -300px) scale(0.9); }
}

.container {
    z-index: 10;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px;
    width: 420px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: var(--white);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.header {
    margin-bottom: 32px;
}

/* Logo Styling */
.logo {
    margin-bottom: 24px;
}

.logo img {
    height: 50px;
    width: auto;
    /* Since the logo is black, we invert it to white for the dark theme */
    filter: brightness(0) invert(1);
}

h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}

p {
    font-size: 1rem;
    opacity: 0.7;
    line-height: 1.5;
}

.captcha-container {
    display: flex;
    justify-content: center;
    margin: 24px 0;
    min-height: 65px;
}

.footer {
    margin-top: 40px;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .glass-card {
        width: 92vw;
        padding: 32px 24px;
    }
    .logo img {
        height: 40px;
    }
}
