:root {
    --primary: #00ff41;
    --bg: #0a0a0c;
    --surface: rgba(255, 255, 255, 0.05);
    --text: #e0e0e0;
    --error: #ff3e3e;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.grid-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
}

.card {
    background: var(--surface);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 255, 65, 0.2);
    padding: 3rem;
    border-radius: 2px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: var(--primary);
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% { top: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.logo-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    filter: drop-shadow(0 0 15px var(--primary));
}

h1 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
    font-weight: 700;
}

.status-container {
    margin-bottom: 2rem;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 62, 62, 0.1);
    color: var(--error);
    padding: 8px 16px;
    border: 1px solid var(--error);
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
}

.warning-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 2rem;
    font-weight: 300;
}

.session-info {
    font-size: 0.75rem;
    color: #555;
    margin-bottom: 2rem;
    font-family: 'JetBrains Mono', monospace;
}

.btn {
    display: block;
    padding: 15px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: bold;
    transition: all 0.2s ease;
    letter-spacing: 2px;
}

.btn:hover {
    background: var(--primary);
    color: var(--bg);
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.5);
}

.footer-note {
    margin-top: 2rem;
    font-size: 0.7rem;
    color: #444;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 404 page specific styles */
.card.error {
    border: 1px solid rgba(255, 62, 62, 0.2);
}

.card.error::before {
    background: var(--error);
}

.logo-icon.error {
    color: var(--error);
    filter: drop-shadow(0 0 15px var(--error));
}
