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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f0f23;
    color: #e4e4e4;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dev-badge {
    background: #22c55e;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.main-card {
    background: #1a1a2e;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #2d3748;
}

.card-content h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #667eea;
}

.card-content p {
    text-align: center;
    color: #a0aec0;
    margin-bottom: 30px;
}

.status-area {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #2d3748;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success-message, .error-message {
    text-align: center;
    padding: 20px;
}

.success-message i {
    font-size: 3rem;
    color: #22c55e;
    margin-bottom: 15px;
}

.error-message i {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 15px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.result-card {
    background: #16213e;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #2d3748;
}

.result-card i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 10px;
}

.result-card h4 {
    color: #e4e4e4;
    margin-bottom: 5px;
}

.result-card p {
    color: #a0aec0;
    font-size: 0.9rem;
}

.debug-info {
    background: #16213e;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.debug-info p {
    margin: 5px 0;
    color: #a0aec0;
}

.footer {
    text-align: center;
    color: #a0aec0;
}

.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    margin-top: 15px;
    padding: 10px 20px;
    background: #1a1a2e;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.admin-link:hover {
    background: #667eea;
    color: white;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .main-card {
        padding: 25px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
}