/* ═══════════════════════════════════════════
   友情链接页样式
   ═══════════════════════════════════════════ */

.link-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 30px;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.link-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    cursor: pointer;
}

.link-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.link-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.link-card-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.link-card-info {
    min-width: 0;
    flex: 1;
}

.link-card-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    transition: var(--transition);
}

.link-card:hover .link-card-name {
    color: var(--primary);
}

.link-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Apply Section */
.link-apply {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 40px;
    text-align: center;
}

.link-apply h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.link-apply > p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.apply-rules {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.apply-rules h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 14px;
}

.apply-rules ul {
    list-style: none;
    padding: 0;
}

.apply-rules li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.apply-rules li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 600;
}

@media (max-width: 992px) {
    .link-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .link-grid { grid-template-columns: 1fr; }
    .link-page { padding: 40px 20px; }
}
