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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card h2 {
    color: #4a5568;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.api-endpoints {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.endpoint {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.endpoint h3 {
    color: #4a5568;
    margin-bottom: 10px;
}

.endpoint code {
    display: inline-block;
    background: #2d3748;
    color: #e2e8f0;
    padding: 5px 10px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    margin-bottom: 10px;
}

.status-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.status-item {
    background: #f7fafc;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.status-label {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 5px;
}

.status-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d3748;
}

.refresh-btn, .test-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
    margin-top: 15px;
}

.refresh-btn:hover, .test-btn:hover {
    background: #5a6fd8;
}

.test-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.test-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background: #f7fafc;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #718096;
}

footer {
    text-align: center;
    color: white;
    margin-top: 40px;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .card {
        padding: 20px;
    }
    
    .api-endpoints {
        grid-template-columns: 1fr;
    }
    
    .test-buttons {
        flex-direction: column;
    }
}