@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

:root {
    --bg-color: #121212;
    --card-bg-color: #1e1e1e;
    --primary-text-color: #e0e0e0;
    --secondary-text-color: #a0a0a0;
    --accent-color: #3b82f6;
    --danger-color: #ef4444;
    --border-color: #333;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--primary-text-color);
    overflow-x: hidden;
}

.page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.content-card {
    background-color: var(--card-bg-color);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 40px;
    max-width: 580px; 
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s 0.2s forwards cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.icon {
    width: 64px;
    height: 64px;
    color: var(--accent-color);
    margin-bottom: 24px;
}

.icon--danger {
    color: var(--danger-color);
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--primary-text-color);
    line-height: 1.6;
    margin: 0;
}

.reference-info {
    margin-top: 32px;
    padding: 12px 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    border: 1px solid var(--border-color);
}

.reference-info a {
    color: #bdbdbd;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.reference-info a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

#captcha-form {
    margin-top: 32px;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid var(--border-color);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-top: 32px;
}

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

.footer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    color: #666;
}

.footer a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--accent-color);
}

@media (max-width: 640px) {
    .content-card {
        padding: 30px 20px;
    }
    h1 {
        font-size: 1.75rem;
    }
    .subtitle {
        font-size: 1rem;
    }
    .icon {
        width: 50px;
        height: 50px;
    }
}