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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
    background: #0a0a0f;
    color: #e0e0e0;
    min-height: 100vh;
}

main {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
    padding: 20vh 2rem 3rem;
    text-align: center;
}

.verdict {
    margin-bottom: 3rem;
}

.answer {
    font-size: 6rem;
    font-weight: 900;
    color: #00ff88;
    text-shadow: 0 0 40px rgba(0, 255, 136, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

.subtitle {
    font-size: 1.4rem;
    color: #888;
    margin-top: 0.5rem;
}

@keyframes pulse {
    0%, 100% { text-shadow: 0 0 40px rgba(0, 255, 136, 0.3); }
    50% { text-shadow: 0 0 80px rgba(0, 255, 136, 0.5); }
}

.confidence-container {
    margin-bottom: 3rem;
}

.confidence-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #666;
    margin-bottom: 0.5rem;
}

.confidence-bar {
    height: 4px;
    background: #1a1a2e;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.confidence-fill {
    height: 100%;
    width: 99.97%;
    background: linear-gradient(90deg, #00ff88, #00cc6a);
    border-radius: 2px;
    transition: width 2s ease;
}

.confidence-value {
    font-size: 2rem;
    font-weight: 700;
    color: #00ff88;
    font-variant-numeric: tabular-nums;
}

.proofs {
    text-align: left;
    margin-bottom: 2rem;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #1a1a2e;
    opacity: 0;
    transform: translateX(-10px);
    animation: slideIn 0.4s ease forwards;
}

.proof-item .icon {
    color: #00ff88;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.proof-item .label {
    font-size: 0.85rem;
    color: #aaa;
    flex: 1;
}

.proof-item .value {
    font-size: 0.85rem;
    color: #00ff88;
    font-family: monospace;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.verify-btn {
    background: transparent;
    border: 1px solid #333;
    color: #888;
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.verify-btn:hover {
    border-color: #00ff88;
    color: #00ff88;
}

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

.deep-proofs {
    text-align: left;
}

.deep-item {
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    background: #0d0d1a;
    border-left: 2px solid #00ff88;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    animation: slideIn 0.5s ease forwards;
}

.deep-item .deep-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    margin-bottom: 0.25rem;
}

.deep-item .deep-value {
    font-size: 0.9rem;
    color: #ccc;
}

.deep-item .deep-value .confirmed {
    color: #00ff88;
}

.connection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.grid-item {
    background: #0d0d1a;
    border: 1px solid #1a1a2e;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
}

.grid-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #666;
    margin-bottom: 0.4rem;
}

.grid-value {
    font-size: 1.1rem;
    color: #00ff88;
    font-family: monospace;
    word-break: break-all;
}

.section-header {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #444;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
    text-align: left;
}

.ip-display {
    font-size: 1.1rem;
    font-family: monospace;
    color: #aaa;
    margin-bottom: 2rem;
    min-height: 1.5em;
}

.nav-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.nav-links a,
.nav-links a:link,
.nav-links a:visited {
    color: #555;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid #222;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: #00ff88;
    border-color: #00ff88;
}

footer {
    margin-top: 4rem;
}

.footer-text {
    font-size: 0.7rem;
    color: #333;
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #1a1a2e;
    opacity: 0;
    animation: slideIn 0.4s ease forwards;
}

.stats-rank {
    font-size: 0.75rem;
    color: #444;
    width: 1.5rem;
    text-align: right;
    flex-shrink: 0;
}

.stats-name {
    font-size: 0.85rem;
    color: #aaa;
    width: 14rem;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stats-bar-track {
    flex: 1;
    height: 4px;
    background: #1a1a2e;
    border-radius: 2px;
    overflow: hidden;
}

.stats-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00cc6a);
    border-radius: 2px;
    transition: width 0.6s ease;
}

.stats-count {
    font-size: 0.85rem;
    color: #00ff88;
    font-family: monospace;
    min-width: 3.5rem;
    text-align: right;
    flex-shrink: 0;
}

.stats-empty {
    font-size: 0.85rem;
    color: #444;
    padding: 1rem 0;
}
