/* 友链页面样式 */
.links-hero {
    padding: 120px 0 80px;
    background: #fafbfc;
    text-align: center;
    border-bottom: 1px solid #e1e8ed;
}

.links-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.links-hero .hero-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.links-content {
    padding: 80px 0;
}

.links-section {
    margin-bottom: 80px;
}

.links-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
    text-align: center;
}

.section-desc {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 48px;
}

.category-section {
    margin-bottom: 48px;
}

.category-title {
    margin-bottom: 24px;
}

.category-tag {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    display: block;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-items: start;
}

.empty-category {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-style: italic;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    border: 2px dashed rgba(0, 0, 0, 0.1);
}

.link-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 350px;
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

.link-avatar {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1F76E0, #4A90E2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.link-info {
    flex: 1;
}

.link-info h3,
.link-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.link-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.link-tag {
    display: inline-block;
    background: rgba(31, 118, 224, 0.1);
    color: #1F76E0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.link-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.link-btn:hover {
    background: #000;
    color: white;
    border-color: #000;
}

.partner .link-avatar {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.friend .link-avatar {
    background: linear-gradient(135deg, #6f42c1, #e83e8c);
}

.apply-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.apply-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
}

.apply-content > p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.apply-requirements,
.site-info,
.apply-contact {
    margin-bottom: 32px;
}

.apply-requirements h4,
.site-info h4,
.apply-contact h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 16px;
}

.apply-requirements ul {
    list-style: none;
    padding: 0;
}

.apply-requirements li {
    color: #666;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.apply-requirements li::before {
    content: "•";
    color: #1F76E0;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.info-item {
    padding: 8px 0;
    color: #666;
    line-height: 1.6;
}

.info-item strong {
    color: #000;
    font-weight: 600;
}

.contact-methods {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1F76E0;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #1565c0;
    transform: translateY(-1px);
}

/* 本站信息网址样式 */
.site-url-text {
    color: #666;
    font-size: 0.95rem;
    margin-top: 8px;
    word-break: break-all;
    line-height: 1.5;
}

/* 本站信息卡片宽度样式 */
.site-info-wide {
    max-width: 500px;
    width: 100%;
    grid-column: span 2;
}

/* 网站头像文本样式 */
.site-avatar-text {
    color: #666;
    font-size: 0.95rem;
    margin-top: 8px;
    line-height: 1.5;
}