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

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

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

.hero {
    text-align: center;
    margin-bottom: 48px;
}

.hero h1 {
    font-size: 2.6rem;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.hero p {
    color: #666;
    font-size: 1.1rem;
}

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

.hub-card {
    background: white;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hub-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.hub-card h2 {
    font-size: 1.25rem;
    color: #4a90d9;
    margin-bottom: 10px;
}

.hub-card p {
    color: #666;
    font-size: 0.95rem;
}

.status-badge {
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 10px;
    background-color: #fdecea;
    color: #c0392b;
    font-size: 0.7rem;
    font-weight: 600;
}

.deprecated-section {
    margin-top: 40px;
    border-top: 1px solid #e2e6ea;
    padding-top: 24px;
}

.deprecated-section > summary {
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: #888;
    list-style: none;
    user-select: none;
}

.deprecated-section > summary::-webkit-details-marker {
    display: none;
}

.deprecated-section > summary::before {
    content: '▸';
    display: inline-block;
    margin-right: 8px;
    color: #aaa;
    transition: transform 0.2s;
}

.deprecated-section[open] > summary::before {
    transform: rotate(90deg);
}

.deprecated-count {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 10px;
    background-color: #eceff1;
    color: #888;
    font-size: 0.75rem;
    font-weight: 600;
}

.deprecated-note {
    color: #999;
    font-size: 0.9rem;
    margin: 12px 0 20px;
}

.hub-card.is-deprecated {
    opacity: 0.6;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.hub-card.is-deprecated h2 {
    color: #888;
}

.hub-card.is-deprecated:hover {
    opacity: 0.85;
    transform: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .container {
        padding: 40px 16px;
    }

    .hero h1 {
        font-size: 2rem;
    }
}
