:root {
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --accent: #00ff41;
    --accent-dim: rgba(0, 255, 65, 0.2);
    --secondary: #ff3366;
    --border: #333333;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-mono);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animations */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.1)
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
}

@keyframes pulse {
    0% { opacity: 1; text-shadow: 0 0 10px var(--accent); }
    50% { opacity: 0.3; text-shadow: none; }
    100% { opacity: 1; text-shadow: 0 0 10px var(--accent); }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent); }
}

.blink {
    animation: pulse 1.5s infinite;
}

/* Layout */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.panel {
    border: 1px solid var(--border);
    padding: 1.5rem;
    margin-bottom: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Header */
header {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

h1 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-color);
}

.live-indicator {
    color: var(--accent);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--accent);
    padding: 0.25rem 0.75rem;
}

.dot {
    animation: pulse 2s infinite;
}

.subtitle-container {
    display: inline-block;
}

.subtitle {
    color: #888;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--accent);
    animation: typing 3.5s steps(60, end), blink-caret .75s step-end infinite;
    max-width: 100%;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-box {
    border: 1px solid var(--border);
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-value.text-sm {
    font-size: 1.2rem;
    word-break: break-word;
}

/* Verify */
h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.input-group {
    display: flex;
    gap: 1rem;
}

input {
    flex: 1;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-color);
    font-family: var(--font-mono);
    padding: 0.75rem 1rem;
    outline: none;
    font-size: 1rem;
}

input:focus {
    border-color: var(--accent);
}

button {
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    font-family: var(--font-mono);
    font-weight: 700;
    padding: 0 2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover {
    background: var(--accent);
}

.terminal-output {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    background: #000;
    min-height: 3rem;
    word-break: break-all;
}

.hidden { display: none; }
.text-green { color: var(--accent); }
.text-red { color: var(--secondary); }

/* Timeline */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    color: #888;
    font-weight: 400;
    font-size: 0.9rem;
}

tbody tr {
    border-left: 2px solid transparent;
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid var(--accent);
}

a {
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--border);
}

a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

a.accent { color: var(--accent); border-bottom-color: var(--accent); }

/* Footer */
footer {
    margin-top: 4rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-disclaimer {
    color: #666;
}

.text-center { text-align: center; }

/* Responsive */
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr; }
    .input-group { flex-direction: column; }
    button { padding: 1rem; }
    .subtitle { white-space: normal; animation: none; border-right: none; }
}