.tld-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}
.tld-section .section-desc {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: var(--fs-sm);
    text-align: center;
}

ol.tld-rank-list { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tld-rank-item {
    display: flex;
    align-items: center;
    background: var(--bg-gray);
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.tld-rank-item:hover {
    border-color: var(--t-300);
    box-shadow: var(--shadow-sm);
}
.tld-rank-num {
    width: 32px;
    height: 32px;
    background: var(--t-50);
    color: var(--t-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-sm);
    font-weight: 700;
    margin-right: 14px;
    flex-shrink: 0;
}
.tld-rank-info { flex: 1; min-width: 0; }
.tld-rank-name {
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.tld-rank-bar {
    height: 6px;
    background: var(--border-light);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 5px;
}
.tld-rank-fill {
    height: 100%;
    background: var(--t-300);
    border-radius: 999px;
    transition: width 0.5s ease;
}
.tld-rank-meta {
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-xs);
}
.tld-rank-count { color: var(--text-light); font-weight: 500; }
.tld-rank-pct { color: var(--t-700); font-weight: 600; }

/* Top 3: stronger visual weight */
.tld-rank-item:nth-child(-n+3) {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    padding: 18px 22px;
}
.tld-rank-item:nth-child(-n+3) .tld-rank-num {
    width: 38px;
    height: 38px;
    font-size: var(--fs-md);
}
.tld-rank-item:nth-child(-n+3) .tld-rank-name {
    font-size: var(--fs-md);
    font-weight: 700;
    margin-bottom: 8px;
}
.tld-rank-item:nth-child(-n+3) .tld-rank-bar {
    height: 10px;
}
.tld-rank-item:nth-child(-n+3) .tld-rank-fill {
    background: var(--t-400);
}
.tld-rank-item:nth-child(-n+3) .tld-rank-meta { font-size: var(--fs-sm); }
.tld-rank-item:nth-child(-n+3) .tld-rank-pct { font-size: var(--fs-base); }

/* Rank 1: champion treatment */
.tld-rank-item:nth-child(1) {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--t-50) 100%);
    border-color: var(--t-200);
}
.tld-rank-item:nth-child(1) .tld-rank-num {
    background: var(--t-700);
    color: #fff;
}
.tld-rank-item:nth-child(1) .tld-rank-fill {
    background: var(--t-600);
}
.tld-rank-item:nth-child(1) .tld-rank-name {
    font-size: var(--fs-lg);
    color: var(--t-900);
    letter-spacing: -0.01em;
}

/* Rank 2-3: secondary emphasis */
.tld-rank-item:nth-child(2) .tld-rank-num,
.tld-rank-item:nth-child(3) .tld-rank-num {
    background: var(--t-100);
    color: var(--t-800);
}

/* Divider between top 3 and the rest */
.tld-rank-item:nth-child(3) {
    margin-bottom: 8px;
}
.tld-rank-item:nth-child(4) {
    position: relative;
}
.tld-rank-item:nth-child(4)::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--border-light);
}

.details-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}
.details-section .section-desc {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: var(--fs-sm);
    text-align: center;
}

.stat-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}
.detail-card {
    background: var(--bg-white);
    padding: 24px 18px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.detail-card:hover {
    border-color: var(--t-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.detail-card .card-icon {
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--t-50);
    color: var(--t-600);
}
.detail-card .card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--t-600);
    fill: none;
}
.detail-card .card-value {
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.detail-card .card-label {
    font-size: var(--fs-2xs);
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

@media (max-width: 768px) {
    .hero-section .hero-title { font-size: var(--fs-h2); }
    .tld-section, .details-section { padding: 25px 20px; }
    .stat-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .stat-cards-grid { grid-template-columns: 1fr; }
}
