/* ========================================================
   SECURE GATEWAY — Dark Tech Aesthetic
   ======================================================== */

:root {
    --color-primary: #0C2780;
    --color-primary-dark: #1A1A2E;
    --color-accent: #10AFFF;
    --color-accent-glow: rgba(16, 175, 255, 0.3);
    --color-surface-dark: #0A0A14;
    --color-surface-card: rgba(255, 255, 255, 0.04);
    --color-text: #FFFFFF;
    --color-text-muted: #9CA3AF;
    --color-border-dark: rgba(255, 255, 255, 0.08);

    --font-primary: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;

    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-surface-dark);
    color: var(--color-text);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

/* Background Effects */
.background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: var(--color-primary);
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: rgba(16, 175, 255, 0.15);
}

/* Container */
.verification-container {
    position: relative;
    z-index: 1;
    background: var(--color-surface-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border-dark);
    border-radius: 16px;
    padding: 48px;
    width: 100%;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

/* Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 200, 83, 0.1);
    color: #00C853;
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #00C853;
    border-radius: 50%;
    box-shadow: 0 0 8px #00C853;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

/* Typography */
.title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #FFFFFF, var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Turnstile */
.turnstile-wrapper {
    margin: 0 auto 32px auto;
    display: flex;
    justify-content: center;
    min-height: 65px; /* Prevent layout shift */
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--color-surface-card);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border-dark);
}

.btn-primary.active {
    background: var(--color-accent);
    color: #FFFFFF;
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px var(--color-accent-glow);
}

.btn-primary.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(16, 175, 255, 0.4);
}

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