
.websites-section {
    margin-bottom: 40px;
}

.website-category-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
}

.category-tab {
    padding: 8px 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 25px;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.category-tab:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

.category-tab.active {
    background: var(--primary);
    color: white;
    border-color: rgba(59, 130, 246, 0.4);
    font-weight: 600;
}

.category-tab i {
    font-size: 0.8rem;
}

.websites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.website-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
    box-shadow: 0 2px 8px var(--shadow-color);
    position: relative;
    overflow: hidden;
    min-height: 90px;
}

.website-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(2px);
}

[data-theme="light"] .website-card:hover {
    border-color: rgba(255, 152, 0, 0.3);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.1);
}

.website-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.05) 100%);
    overflow: hidden;
    border: 1.5px solid rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

[data-theme="light"] .website-icon {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.08) 0%, rgba(255, 152, 0, 0.02) 100%);
    border: 1.5px solid rgba(255, 152, 0, 0.15);
}

.website-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    opacity: 0;
    border-radius: 50%;
    transition: opacity 0.3s ease;
}

.website-card:hover .website-icon::after {
    opacity: 0.08;
}

[data-theme="light"] .website-card:hover .website-icon::after {
    background: #FF9800;
    opacity: 0.1;
}

.website-icon i {
    font-size: 1.2rem;
    color: var(--primary-light);
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

[data-theme="light"] .website-card:hover .website-icon i {
    color: #FF9800;
}

.website-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    position: relative;
    z-index: 1;
    border-radius: 0 !important;
    transition: filter 0.3s ease;
}

.website-card:hover .website-icon {
    border-color: var(--primary);
    transform: scale(1.05);
}

[data-theme="light"] .website-card:hover .website-icon {
    border-color: #FF9800;
}

.website-card:hover .website-icon img {
    filter: brightness(1.1) saturate(1.1);
}

.website-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 44px;
}

.website-name-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.website-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
    transition: color 0.3s ease;
}

[data-theme="light"] .website-card:hover .website-name {
    color: #FF9800;
}

.website-category {
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.website-card[data-category="素材站"] .website-category {
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

[data-theme="light"] .website-card[data-category="素材站"] .website-category {
    background: rgba(59, 130, 246, 0.1);
    color: #1D4ED8;
}

.website-card[data-category="素材站"] .website-icon {
    border-color: rgba(59, 130, 246, 0.15);
}

.website-card[data-category="素材站"]:hover .website-category {
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.15);
}

.website-card[data-category="工具站"] .website-category {
    background: rgba(34, 197, 94, 0.12);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

[data-theme="light"] .website-card[data-category="工具站"] .website-category {
    background: rgba(34, 197, 94, 0.1);
    color: #15803D;
}

.website-card[data-category="工具站"] .website-icon {
    border-color: rgba(34, 197, 94, 0.2);
}

.website-card[data-category="工具站"]:hover .website-category {
    background: rgba(34, 197, 94, 0.2);
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.15);
}

.website-card[data-category="自媒体站"] .website-category {
    background: rgba(168, 85, 247, 0.12);
    color: #A855F7;
    border: 1px solid rgba(168, 85, 247, 0.25);
}

[data-theme="light"] .website-card[data-category="自媒体站"] .website-category {
    background: rgba(168, 85, 247, 0.1);
    color: #7C3AED;
}

.website-card[data-category="自媒体站"] .website-icon {
    border-color: rgba(168, 85, 247, 0.2);
}

.website-card[data-category="自媒体站"]:hover .website-category {
    background: rgba(168, 85, 247, 0.2);
    box-shadow: 0 2px 6px rgba(168, 85, 247, 0.15);
}

.website-description {
    font-size: 0.78rem;
    color: var(--gray);
    line-height: 1.3;
    opacity: 0.85;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    width: 100%;
}

[data-theme="light"] .website-card:hover {
    background: rgba(255, 152, 0, 0.02);
}

.websites-divider {
    height: 1px;
    background: var(--card-border);
    margin: 30px 0;
    opacity: 0.5;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 15px;
    font-weight: 400;
}