:root {
    --bg: #050505;
    --border: #1a1a1a;
    --accent: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg);
    color: var(--accent);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.grid-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    opacity: 0.3;
}

.container { padding: 30px; max-width: 450px; margin: auto; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }

header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; }

.status-dot { width: 8px; height: 8px; background: #00ff00; border-radius: 50%; display: inline-block; margin-right: 10px; box-shadow: 0 0 10px #00ff00; }

#typewriter { font-family: 'Fira Code'; font-size: 0.7rem; color: #555; }

.music-btn { background: transparent; border: 1px solid var(--border); color: #555; padding: 8px 15px; border-radius: 20px; font-size: 0.6rem; cursor: pointer; }

.status-badge { font-size: 0.6rem; border: 1px solid #333; display: inline-block; padding: 4px 12px; border-radius: 5px; color: #555; margin-bottom: 15px; }

.main-title { font-size: 2.5rem; font-weight: 900; letter-spacing: -2px; margin-bottom: 40px; }

#verify-box { background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 20px; border-radius: 20px; margin-bottom: 20px; text-align: center; }
.verify-label { font-size: 0.6rem; color: #444; margin-bottom: 10px; font-family: 'Fira Code'; }
#math-question { font-family: 'Fira Code'; font-size: 1.2rem; font-weight: bold; }
.verify-input-row { margin-top: 15px; }
#math-answer { background: #000; border: 1px solid #333; color: #fff; padding: 10px; width: 60px; text-align: center; border-radius: 10px; outline: none; }
.btn-verify { background: #fff; color: #000; border: none; padding: 10px 20px; border-radius: 10px; font-weight: 900; margin-left: 10px; cursor: pointer; }

.btn-main {
    position: relative; width: 100%; padding: 22px; background: transparent; border: 1px solid #333;
    color: #fff; font-weight: 900; border-radius: 20px; cursor: pointer; overflow: hidden;
    transition: 0.3s; display: flex; justify-content: center; align-items: center;
}
.btn-text { position: relative; z-index: 10; font-size: 0.8rem; transition: 0.3s; }
.btn-progress { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: #fff; z-index: 5; transition: width 0.1s linear; }

.btn-main.loading .btn-text { color: #000; }

.data-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; margin-top: 40px; }
.card { background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 15px 5px; border-radius: 15px; text-align: center; }
.card-label { display: block; font-size: 0.5rem; color: #444; margin-bottom: 5px; }
.card-value { font-family: 'Fira Code'; font-size: 0.8rem; font-weight: bold; }

.guide-link { display: block; text-align: center; color: #555; font-size: 0.7rem; text-decoration: none; margin-top: 40px; border-bottom: 1px solid #222; padding-bottom: 5px; }
.footer-copy { text-align: center; color: #222; font-size: 0.5rem; margin-top: 20px; }

.blur-reveal { opacity: 0; filter: blur(10px); transform: translateY(15px); transition: 1s ease; }
.blur-reveal.active { opacity: 1; filter: blur(0); transform: translateY(0); }
.blink { animation: blinker 1.5s linear infinite; }
@keyframes blinker { 50% { opacity: 0; } }