:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #00f2ff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-mono: 'Courier New', monospace;
}

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

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

/* Safe Content (Compliance Layer) */
#safe-content {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    overflow: hidden;
    background: #fff;
    color: #333;
    font-family: sans-serif;
    padding: 20px;
    z-index: 1; /* Lowest layer */
    filter: blur(5px); /* Optional: blur it for humans to focus on captcha */
}

header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid #eee; margin-bottom: 30px; }
.logo { font-weight: 800; font-size: 1.5rem; color: #2c3e50; }
nav a { margin-left: 20px; text-decoration: none; color: #555; font-weight: 500; font-size: 0.9rem; }

/* Mobile Responsive Fixes */
.hero { text-align: center; padding: 60px 20px; background: #f8f9fa; margin-bottom: 40px; border-radius: 8px; }
.features, .stats { display: flex; gap: 30px; justify-content: center; margin-bottom: 50px; flex-wrap: wrap; }
.card { background: #fff; padding: 30px; border-radius: 8px; flex: 1; min-width: 250px; max-width: 300px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border: 1px solid #eee; }
.stats { margin-bottom: 40px; }
.stat-item { text-align: center; min-width: 150px; margin-bottom: 20px; }
.card h3 { color: #2c3e50; margin-bottom: 10px; }
.card p { color: #666; font-size: 0.9rem; line-height: 1.5; }

.about { max-width: 800px; margin: 0 auto 50px; text-align: center; }
.about p { color: #555; line-height: 1.8; }

footer { text-align: center; margin-top: 50px; font-size: 0.8rem; color: #888; border-top: 1px solid #eee; padding-top: 30px; }
.footer-links a { margin: 0 10px; color: #888; text-decoration: none; }
.address { margin-top: 10px; color: #aaa; }

/* Security Overlay (Interaction Layer) */
.gate-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
/* Opaque white background to hide the underlying safe content */
    background: #fff; 
    /* backdrop-filter: blur(8px); */ /* No longer needed as bg is opaque */
    z-index: 100; /* Highest layer, covering everything */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .gate-overlay {
        background: #1a1a1a; /* Dark gray/black for dark mode users */
    }
}

.gate-box {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    width: auto;
    max-width: 100%;
}

.gate-box h2 {
    margin-bottom: 10px;
    color: #333;
}
.gate-box p {
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9rem;
}

/* Starfield / Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle, #1a1a1a 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    opacity: 0.5;
}

.gate-container {
    background: transparent;
    border: none;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: none;
    position: relative;
}
