* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    min-height: 100vh;
    padding: 20px;
}

.container { max-width: 1400px; margin: 0 auto; }
header {
    text-align: center;
    margin-bottom: 40px;
}
header h1 {
    font-size: 2.8em;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}
.status {
    padding: 12px 24px;
    background: rgba(0,255,0,0.1);
    border: 2px solid #00ff41;
    border-radius: 25px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.9em;
}
.last-update { font-size: 0.85em; opacity: 0.8; margin-top: 5px; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ff4163);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.card:hover::before { transform: scaleX(1); }
.card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.15);
    border-color: #ffd700;
    box-shadow: 0 25px 50px rgba(255,215,0,0.25);
}
.card-icon { font-size: 3.2em; margin-bottom: 15px; text-align: center; }
.card h3 { font-size: 1.4em; margin-bottom: 8px; }
.card p { opacity: 0.8; font-size: 0.95em; }

.results-panel {
    background: rgba(0,0,0,0.4);
    border-radius: 20px;
    padding: 30px;
    min-height: 500px;
    border: 1px solid rgba(255,255,255,0.1);
}
.loading {
    text-align: center;
    padding: 60px 20px;
    color: #ffd700;
}
.spinner {
    width: 60px; height: 60px;
    border: 4px solid rgba(255,215,0,0.2);
    border-top: 4px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 25px;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
#progress { font-weight: 600; color: #ffd700; }

.results {
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    background: rgba(0,0,0,0.6);
    padding: 25px;
    border-radius: 12px;
    max-height: 600px;
    overflow-y: auto;
    line-height: 1.6;
    font-size: 0.92em;
    border-left: 4px solid #ffd700;
}

@media (max-width: 768px) {
    .grid { grid-template-columns: 1fr; }
    header h1 { font-size: 2.2em; }
    body { padding: 10px; }
}
