/* 全局样式 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

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

:root {
    --primary-color: #4a90e2;
    --primary-hover: #357abd;
    --secondary-color: #f5f7fa;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e1e4e8;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.12);
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #f5f7fa;
    min-height: 100vh;
}

/* 标题样式 */
h1, h2, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 200;
    line-height: 1.2;
}

h3 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 200;
    line-height: 1.2;
}

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

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #fff;
}

.btn-danger {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    color: #fff;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

/* 头部样式 */
header {
    background: rgba(255,255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    gap: 20px;
}

.logo a {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.logo img {
    max-height: 36px;
    border-radius: 6px;
}

.main-nav {
    position: relative;
    flex: 1;
    min-width: 0;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 2px;
    align-items: center;
    flex-wrap: wrap;
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin: 0;
    padding: 0;
}

.main-nav .nav-list.expanded {
    max-height: 2000px;
    overflow: visible;
}

.main-nav .nav-list::-webkit-scrollbar {
    display: none;
}

.nav-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 14px;
    border: none;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 8px auto 0;
    flex-shrink: 0;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(102,126,234,0.3);
}

.nav-toggle-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

.nav-toggle-btn .toggle-text {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.nav-toggle-btn .toggle-icon {
    color: #fff;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-toggle-btn.expanded .toggle-icon {
    transform: rotate(180deg);
}

.nav-toggle-btn.expanded .toggle-text {
    display: none;
}

.nav-toggle-btn.expanded::before {
    content: '收起分类';
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    font-size: 13px;

}

.main-nav a::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 4px;
    width: calc(100% - 8px);
    height: calc(100% - 6px);
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 5px;
}

.main-nav a:hover::before,
.main-nav a.active::before {
    opacity: 1;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
    transform: translateY(-2px);
}

.user-actions {
    display: flex;
    gap: 12px;
}

/* 主内容样�?*/
main {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.ranking-section {
    margin-bottom: 25px;
}

.ranking-section .category-section {
    margin-bottom: 0;
}

/* 分类区域 */
.category-section {
    background: rgba(255,255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.category-section:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    border-image: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%) 1;
}

.category-header h2 {
    font-size: 22px;
    color: #fff;
    font-weight: 600;
}

.category-header h3 {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}

.more-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.3s ease;
}

.more-link:hover {
    transform: translateX(5px);
}

/* 认证按钮区域 */
.auth-buttons {
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    backdrop-filter: blur(10px);
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(102,126,234,0.2);
    height: 100px;
    min-height: 100px;
    max-height: 100px;
}

.auth-buttons::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102,126,234,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.auth-buttons .btn {
    position: relative;
    z-index: 1;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    min-width: 120px;
}

.auth-buttons .btn-outline {
    background: rgba(255,255,255,0.9);
    border: 2px solid linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: var(--theme-primary);
}

.auth-buttons .btn-outline:hover {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102,126,234,0.4);
}

.auth-buttons .btn {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
}

.auth-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102,126,234,0.4);
}

/* 链接网格 */
.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.link-item {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.link-item:hover::before {
    transform: scaleX(1);
}

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

.link-item a {
    text-decoration: none;
    font-size: 13px;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.link-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.link-item:hover .link-icon {
    transform: scale(1.1) rotate(5deg);
}

.link-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.default-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.link-info h3 {
    font-size: 13px;
    margin-bottom: 8px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    color: var(--text-color);
}

.link-info p {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
}

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

.link-info span {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--text-color) !important;
    display: block !important;
    line-height: 1.6 !important;
    height: auto !important;
    max-height: 3.2em !important;
    overflow: hidden !important;
    word-wrap: break-word !important;
    word-break: break-all !important;
}

/* 侧边�?*/
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-section {
    background: rgba(255,255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.sidebar-section:hover {
    box-shadow: var(--shadow-hover);
}

.sidebar-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding: 12px 15px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    border-image: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%) 1;
    color: #fff;
    font-weight: 600;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sidebar-header h3 {
    margin-bottom: 0;
    flex: 1;
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.refresh-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.refresh-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.refresh-btn svg {
    transition: transform 0.3s ease;
}

.refresh-btn:hover:not(:disabled) svg {
    transform: rotate(180deg);
}

.refresh-btn .rotating {
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.sidebar-section ul {
    list-style: none;
}

.sidebar-section li {
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.sidebar-section li:hover {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    transform: translateX(5px);
}

.sidebar-section li:hover a {
    color: #fff;
}

.sidebar-section a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    display: block;
    font-weight: 500;
}

/* 最新收录网�?*/
.latest-links {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.latest-link-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.latest-link-item:hover {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.latest-link-item:hover a {
    color: #fff;
}

.latest-link-item a {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    width: 100%;
}

.latest-link-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.latest-link-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.latest-link-icon .default-icon {
    font-size: 18px;
}

.latest-link-item span {
    word-wrap: break-word; /* 普通单词换行，兼容所有浏览器 */
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    word-break: break-all;
    flex: 1;
    min-width: 0;
}

/* 广告样式 */
.banner-ad {
    margin-bottom: 25px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: rgba(255,255,255,255,0.95);
    backdrop-filter: blur(10px);
}

.banner-ad img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.banner-ad:hover img {
    transform: scale(1.02);
}

.sidebar-ad {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.sidebar-ad a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.sidebar-ad h4 {
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: 600;
}

.sidebar-ad p {
    font-size: 13px;
    color: var(--text-light);
}

.sidebar-ad img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* 页脚样式 */
footer {
    background: #fff;
    color: var(--text-color);
    padding: 40px 0 20px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(102,126,234,0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(118,75,162,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 8px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: linear-gradient(90deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.footer-section p:hover {
    color: var(--text-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 12px;
}

/* 认证页面样式 */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.auth-box {
    background: rgba(255,255,255,255,0.95);
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header p {
    color: var(--text-light);
    font-size: 14px;
}

.auth-form .form-group {
    margin-bottom: 25px;
}

.auth-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 14px;
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    background: rgba(255,255,255,255,0.8);
    transition: all 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102,126,234,0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
}

.checkbox-label input {
    width: auto;
    margin-right: 5px;
    accent-color: var(--primary-color);
    flex-shrink: 0;
    cursor: pointer;
    vertical-align: middle;
}

.checkbox-label span {
    line-height: 1;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
}

.auth-footer p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    background: rgba(255,255,255,255,0.8);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102,126,234,0.1);
}

/* 状态徽�?*/
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-1 {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #fff;
}

.status-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

.status-0 {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    color: #fff;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 25px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-color);
    background: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    font-size: 13px;
    display: block;
}

.pagination a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74,144,226,0.3);
}

.pagination .active span {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    border-color: transparent;
}

.pagination .disabled span {
    color: #ccc;
    cursor: not-allowed;
    background: rgba(255,255,255,0.5);
}

/* 目录导航页面网格布局 */
.links-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.link-item-grid {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.link-item-grid:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: rgba(102,126,234,0.2);
}

.link-item-grid a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-color);
}

.link-item-grid .link-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(102,126,234,0.3);
}

.link-item-grid .link-icon img {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    object-fit: cover;
}

.link-item-grid .link-icon .default-icon {
    font-size: 14px;
}

.link-item-grid span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    flex: 1;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    max-width: 6em;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(102,126,234,0.3);
}

.page-header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.page-header p {
    font-size: 13px;
    opacity: 0.9;
}

/* 面包屑导�?*/
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.breadcrumb .separator {
    color: var(--text-light);
}

.breadcrumb .current {
    color: var(--text-color);
    font-weight: 500;
}

/* 免责声明页面 */
.disclaimer-content {
    background: rgba(255,255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.disclaimer-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.disclaimer-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.disclaimer-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
}

.disclaimer-section p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.disclaimer-section ul {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
}

.disclaimer-section li {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.disclaimer-section li::before {
    content: '�?;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.disclaimer-footer {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid var(--primary-color);
    text-align: center;
}

.disclaimer-footer p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 8px;
}

/* 排行榜样�?*/
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.ranking-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 20px;
}

.ranking-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-color: rgba(102,126,234,0.2);
}

.ranking-number {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(102,126,234,0.3);
}

.ranking-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(102,126,234,0.3);
}

.ranking-icon img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

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

.ranking-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-info h3 a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.ranking-info h3 a:hover {
    color: var(--primary-color);
}

.ranking-info p {
    font-size: 14px;
    color: var(--text-light);
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-stats {
    flex-shrink: 0;
}

.click-count {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    padding: 8px 16px;
    border-radius: 20px;
}

/* 滚动条样�?*/
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--theme-secondary) 0%, var(--theme-primary) 100%);
}

/* 响应式设�?*/
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr 280px;
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav .nav-list {
        flex-wrap: wrap;
        gap: 5px;
        max-height: 76px;
    }
    
    .main-nav .nav-list.expanded {
        max-height: 2000px;
    }
    
    .nav-toggle-btn {
        padding: 8px 16px;
    }
    
    .main-nav a {
        padding: 2px 4px;
        font-size: 13px;
    }
    
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .latest-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .latest-link-item {
        padding: 10px;
    }
    
    .latest-link-icon {
        width: 28px;
        height: 28px;
    }
    
    .latest-link-icon .default-icon {
        font-size: 16px;
    }
    
    .latest-link-item span {
        font-size: 12px;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
    }
    
    .auth-box {
        padding: 30px;
        margin: 20px;
    }
    
    .category-section,
    .sidebar-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .link-icon {
        width: 36px;
        height: 36px;
    }
    
    .latest-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .latest-link-item {
        padding: 8px;
    }
    
    .latest-link-icon {
        width: 28px;
        height: 28px;
    }
    
    .latest-link-icon .default-icon {
        font-size: 14px;
    }
    
    .latest-link-item span {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .sidebar-section {
        padding: 15px;
    }
    
    .sidebar-section h3 {
        font-size: 16px;
        padding: 10px 12px;
    }
}

/* 文章页面样式 */
.article-page {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin-top: 20px;
}

/* 文章侧边�?*/
.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.category-filter {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.category-filter:hover {
    box-shadow: 0 8px 30px rgba(102,126,234,0.15);
    transform: translateY(-2px);
}

.category-filter h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding: 12px 15px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    border-image: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%) 1;
    color: #fff;
    font-weight: 600;
    position: relative;
}

.category-filter h3::before {
    content: '📂';
    margin-right: 8px;
}

.category-filter ul {
    list-style: none;
}

.category-filter li {
    margin-bottom: 10px;
}

.category-filter a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.category-filter a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.category-filter a:hover::before,
.category-filter a.active::before {
    transform: scaleY(1);
}

.category-filter a:hover {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.category-filter a.active {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

/* 文章列表 */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.article-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.article-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.article-item:hover::before {
    transform: scaleX(1);
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.article-item h2 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.article-item h2 a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.article-item h2 a:hover {
    transform: translateX(5px);
    display: inline-block;
}

/* 文章元数�?*/
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.article-meta span {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(102,126,234,0.08) 0%, rgba(118,75,162,0.08) 100%);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.article-meta span:hover {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    transform: translateY(-2px);
}

/* 文章摘要 */
.article-excerpt {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-light);
    font-size: 15px;
}

.article-excerpt p {
    margin: 0;
}

/* 阅读全文按钮 */
.article-more {
    display: flex;
    justify-content: flex-end;
}

.article-more .btn {
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
    transition: all 0.3s ease;
}

.article-more .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}

.article-more .btn::after {
    content: ' �?;
    transition: transform 0.3s ease;
}

.article-more .btn:hover::after {
    transform: translateX(5px);
}

/* 文章页面分页 */
.article-list .pagination {
    margin-top: 40px;
}

/* 响应式设�?*/
@media (max-width: 992px) {
    .article-page {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
        order: -1;
    }
    
    .article-item {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .article-item {
        padding: 20px;
    }
    
    .article-item h2 {
        font-size: 20px;
    }
    
    .article-meta {
        gap: 10px;
    }
    
    .article-meta span {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .article-excerpt {
        font-size: 14px;
    }
    
    .article-more .btn {
        padding: 10px 24px;
        font-size: 13px;
    }
    
    .category-filter {
        padding: 20px;
    }
    
    .category-filter h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .article-item h2 {
        font-size: 18px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .article-meta span {
        width: fit-content;
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .article-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .article-excerpt {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .article-more .btn {
        padding: 8px 20px;
        font-size: 12px;
        width: 100%;
        justify-content: center;
    }
    
    .category-filter {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .category-filter h3 {
        font-size: 15px;
        padding: 10px 12px;
        margin-bottom: 15px;
    }
    
    .category-filter a {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .article-list {
        gap: 15px;
    }
    
    .page-header {
        padding: 20px;
    }
    
    .page-header h1 {
        font-size: 20px;
    }
}

/* 网站详情页样�?*/
.site-detail {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.site-header {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.site-icon {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
    transition: all 0.3s ease;
}

.site-icon:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}

.site-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.site-icon .default-icon {
    font-size: 48px;
}

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

.site-info h1 {
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.site-url {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    border-radius: 20px;
    display: inline-block;
    font-weight: 500;
    transition: all 0.3s ease;
}

.site-url:hover {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.site-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.site-action {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
}

.site-action .btn {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
    transition: all 0.3s ease;
}

.site-action .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}

.site-action .btn-favorite {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    margin-right: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-action .btn-favorite:hover {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    border-color: transparent;
}

.site-action .btn-favorite.active {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    border-color: transparent;
}

.site-action .btn-favorite.active svg {
    fill: #fff;
}

.site-action .btn-favorite svg {
    transition: all 0.3s ease;
}

/* 网站统计信息 */
.site-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-color: rgba(102,126,234,0.2);
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 网站截图 */
.site-screenshot {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(0,0,0,0.08);
}

.site-screenshot h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-screenshot img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.site-screenshot img:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* 响应式设�?*/
@media (max-width: 768px) {
    .site-detail {
        padding: 25px;
    }
    
    .site-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .site-icon {
        width: 80px;
        height: 80px;
    }
    
    .site-info h1 {
        font-size: 24px;
    }
    
    .site-url {
        font-size: 13px;
    }
    
    .site-desc {
        font-size: 14px;
    }
    
    .site-action {
        width: 100%;
        justify-content: center;
    }
    
    .site-action .btn {
        width: 100%;
        justify-content: center;
    }
    
    .site-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .site-detail {
        padding: 20px;
    }
    
    .site-icon {
        width: 70px;
        height: 70px;
    }
    
    .site-info h1 {
        font-size: 20px;
    }
    
    .site-action .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* 导航栏搜索框样式 */
.nav-search {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.nav-search form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-search-input {
    padding: 6px 12px;
    border: 2px solid var(--border-color);
    border-radius: 18px;
    font-size: 13px;
    width: 160px;
    background: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
    color: var(--text-color);
}

.nav-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102,126,234,0.1);
    width: 200px;
    background: #fff;
}

.nav-search-input::placeholder {
    color: var(--text-light);
}

.nav-search-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(102,126,234,0.3);
}

.nav-search-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

.nav-search-btn:active {
    transform: translateY(0) scale(0.95);
}

/* 搜索页面样式 */
.page-header {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(102,126,234,0.3);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.page-header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

/* 快速搜索框 */
.quick-search {
    position: relative;
    z-index: 1;
    margin-top: 15px;
}

.quick-search form {
    display: flex;
    gap: 10px;
    max-width: 500px;
}

.quick-search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    font-size: 15px;
    background: rgba(255,255,255,0.95);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.quick-search-input:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.2);
    background: #fff;
}

.quick-search-input::placeholder {
    color: var(--text-light);
}

/* 搜索表单 */
.search-form {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.search-form form {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.search-form input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    background: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
    color: var(--text-color);
}

.search-form input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102,126,234,0.1);
    background: #fff;
}

.search-form select {
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    background: rgba(255,255,255,0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
    min-width: 150px;
}

.search-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102,126,234,0.1);
    background: #fff;
}

/* 搜索结果 */
.search-results {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.search-results > p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.search-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.search-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-color: rgba(102,126,234,0.2);
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.search-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(102,126,234,0.3);
    transition: transform 0.3s ease;
}

.search-item:hover .search-icon {
    transform: scale(1.1) rotate(5deg);
}

.search-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.search-icon .default-icon {
    font-size: 32px;
}

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

.search-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.search-info h3 a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.search-info h3 a:hover {
    color: var(--primary-color);
}

.search-url {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
    word-break: break-all;
}

.search-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 个人中心样式 */
.user-center {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin-top: 20px;
}

.user-sidebar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.user-info {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
}

.user-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255,255,255,0.3);
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.user-info p {
    font-size: 13px;
    opacity: 0.9;
}

.user-nav {
    padding: 20px 0;
}

.user-nav ul {
    list-style: none;
}

.user-nav li {
    margin-bottom: 5px;
}

.user-nav a {
    display: block;
    padding: 12px 25px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.user-nav a:hover {
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

.user-nav a.active {
    background: linear-gradient(135deg, rgba(102,126,234,0.15) 0%, rgba(118,75,162,0.15) 100%);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.user-content {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 30px;
}

.user-dashboard h2 {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: rgba(102,126,234,0.2);
}

.stat-card h3 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 500;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.recent-section {
    margin-bottom: 30px;
}

.recent-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.recent-list {
    list-style: none;
}

.recent-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.recent-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: rgba(102,126,234,0.2);
}

.recent-list li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    flex: 1;
    margin-right: 15px;
}

.recent-list li a:hover {
    color: var(--primary-color);
}

.recent-list span {
    font-size: 14px;
    color: var(--text-light);
}

/* 个人中心卡片 */
.action-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.auth-buttons {
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(102,126,234,0.2);
    height: 100px;
    min-height: 100px;
    flex: 1;
}

.auth-buttons::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102,126,234,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.auth-buttons .btn {
    position: relative;
    z-index: 1;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    min-width: 120px;
}

.auth-buttons .btn-outline {
    background: rgba(255,255,255,0.9);
    border: 2px solid linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: var(--theme-primary);
}

.auth-buttons .btn-outline:hover {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102,126,234,0.4);
}

.auth-buttons .btn {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
}

.auth-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102,126,234,0.4);
}

.user-center-card {
    background: linear-gradient(135deg, rgba(102,126,234,0.15) 0%, rgba(118,75,162,0.15) 100%);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(102,126,234,0.3);
    height: 100px;
    transition: all 0.3s ease;
}

.user-center-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(102,126,234,0.5);
}

.user-center-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102,126,234,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
    flex-shrink: 0;
    border: 3px solid rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.user-details {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.user-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-details p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-center-card .btn {
    position: relative;
    z-index: 1;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    min-width: 110px;
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.user-center-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102,126,234,0.4);
}

/* 提交卡片 */
.submit-card {
    background: linear-gradient(135deg, rgba(var(--theme-primary-rgb), 0.15) 0%, rgba(var(--theme-secondary-rgb), 0.15) 100%);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    margin-bottom: 25px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(var(--theme-primary-rgb), 0.3);
    height: 200px;
    transition: all 0.3s ease;
}

.submit-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(var(--theme-primary-rgb), 0.5);
}

.submit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--theme-primary-rgb), 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.submit-card-content {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
    min-width: 0;
    height: 100px;
}

.submit-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb), 0.4);
    flex-shrink: 0;
    border: 3px solid rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-icon svg {
    color: #fff;
    width: 28px;
    height: 28px;
}

.submit-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.submit-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
}

.submit-info p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.submit-card .btn {
    position: relative;
    z-index: 1;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    width: 100%;
    height: 44px;
    box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb), 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
}

.submit-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--theme-primary-rgb), 0.4);
}

/* 个人中心响应�?*/
@media (max-width: 768px) {
    .user-center-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    
    .user-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .user-avatar {
        width: 48px;
        height: 48px;
    }
    
    .user-details h3 {
        font-size: 16px;
    }
    
    .user-details p {
        font-size: 13px;
    }
    
    .user-center-card .btn {
        width: 100%;
        padding: 10px 20px;
    }
    
    .submit-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    
    .submit-card-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .submit-icon {
        width: 48px;
        height: 48px;
    }
    
    .submit-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .submit-info h3 {
        font-size: 16px;
    }
    
    .submit-info p {
        font-size: 13px;
    }
    
    .submit-card .btn {
        width: 100%;
        padding: 10px 20px;
    }
    
    .user-center {
        grid-template-columns: 1fr;
    }
    
    .user-sidebar {
        position: static;
    }
    
    .user-nav {
        display: flex;
        overflow-x: auto;
        padding: 10px;
        gap: 5px;
    }
    
    .user-nav ul {
        display: flex;
        gap: 5px;
    }
    
    .user-nav li {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .user-nav a {
        padding: 8px 15px;
        border-left: none;
        border-radius: 8px;
        border: 1px solid var(--border-color);
    }
    
    .user-nav a:hover,
    .user-nav a.active {
        border-color: var(--primary-color);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* 提示框样�?*/
.alert {
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, rgba(17,153,142,0.15) 0%, rgba(56,239,125,0.15) 100%);
    border: 2px solid rgba(17,153,142,0.3);
    color: #11998e;
}

.alert-error {
    background: linear-gradient(135deg, rgba(235,51,73,0.15) 0%, rgba(244,92,67,0.15) 100%);
    border: 2px solid rgba(235,51,73,0.3);
    color: #eb3349;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255,193,7,0.15) 0%, rgba(255,152,0,0.15) 100%);
    border: 2px solid rgba(255,193,7,0.3);
    color: #ffc107;
}

.alert-info {
    background: linear-gradient(135deg, rgba(102,126,234,0.15) 0%, rgba(118,75,162,0.15) 100%);
    border: 2px solid rgba(102,126,234,0.3);
    color: var(--theme-primary);
}

.my-favorites .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.my-favorites .page-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.favorites-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.favorites-list .link-item-large {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.favorites-list .link-item-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.favorites-list .link-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorites-list .link-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorites-list .link-icon .default-icon {
    font-size: 30px;
}

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

.favorites-list .link-info h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.favorites-list .link-info h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.favorites-list .link-info h3 a:hover {
    color: var(--primary-color);
}

.favorites-list .link-url {
    font-size: 13px;
    color: var(--text-light);
    margin: 4px 0;
    word-break: break-all;
}

.favorites-list .link-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.favorites-list .link-stats {
    font-size: 12px;
    color: var(--text-light);
    margin: 8px 0 0 0;
}

.favorites-list .link-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.favorites-list .link-actions .btn {
    margin: 0;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.empty-state p {
    font-size: 16px;
    color: var(--text-light);
    margin: 0 0 20px 0;
}

.empty-state .btn {
    display: inline-block;
}

/* 文章详情页面样式 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.breadcrumb a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 14px;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    color: #ccc;
    font-size: 12px;
}

.breadcrumb .current {
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
}

.article-detail {
    max-width: 900px;
    margin: 0 auto;
}

.article-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card:hover {
    box-shadow: var(--shadow-hover);
}

.article-cover {
    width: 100%;
    height: auto;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.article-cover img {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
    display: block;
    margin: 0 auto;
}

.article-card:hover .article-cover img {
    transform: scale(1.05);
}

.article-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
}

.article-cover-placeholder svg {
    color: rgba(102,126,234,0.3);
}

.article-body {
    padding: 40px;
}

.article-header {
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(102,126,234,0.05) 0%, rgba(118,75,162,0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(102,126,234,0.1);
    transition: all 0.3s ease;
}

.article-header:hover {
    background: linear-gradient(135deg, rgba(102,126,234,0.08) 0%, rgba(118,75,162,0.08) 100%);
    border-color: rgba(102,126,234,0.2);
    box-shadow: 0 4px 12px rgba(102,126,234,0.1);
}

.article-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 10px 0;
    border-radius: 8px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.6);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.meta-item svg {
    color: var(--primary-color);
}

.meta-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.meta-item a:hover {
    color: var(--primary-color);
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 30px 0 15px;
    font-weight: 600;
}

.article-content h2 {
    font-size: 24px;
    color: var(--text-color);
}

.article-content h3 {
    font-size: 20px;
    color: var(--text-color);
}

.article-content h4 {
    font-size: 18px;
    color: var(--text-color);
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(102,126,234,0.05) 0%, rgba(118,75,162,0.05) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.article-content code {
    background: rgba(102,126,234,0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--primary-color);
}

.article-content pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.article-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px auto;
    display: block;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.article-content th,
.article-content td {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.article-content th {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    font-weight: 600;
}

.article-content tr:nth-child(even) {
    background: rgba(102,126,234,0.03);
}

.article-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-content a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-tags span {
    font-size: 14px;
    color: var(--text-light);
}

.article-share {
    display: flex;
    align-items: center;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102,126,234,0.3);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

/* 相关文章样式 */
.related-articles {
    margin-top: 30px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.related-header h3 {
    font-size: 22px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.related-icon {
    font-size: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.related-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    text-decoration: none;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: rgba(102,126,234,0.2);
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
}

.related-card:hover h4,
.related-card:hover .related-meta {
    color: #fff;
}

.related-card:hover .related-card-icon {
    background: rgba(255,255,255,0.2);
}

.related-card:hover .related-card-icon svg {
    color: #fff;
}

.related-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.related-card-icon svg {
    color: #fff;
    transition: color 0.3s ease;
}

.related-card-content {
    flex: 1;
    min-width: 0;
}

.related-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 8px 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.related-meta {
    font-size: 13px;
    color: var(--text-light);
    transition: color 0.3s ease;
}

/* 文章详情页响应式 */
@media (max-width: 768px) {
    .article-detail {
        max-width: 100%;
    }
    
    .article-cover {
        height: auto;
    }
    
    .article-cover img {
        width: 100%;
        height: auto;
    }
    
    .article-body {
        padding: 20px;
    }
    
    .article-header {
        padding: 15px;
    }
    
    .article-header h1 {
        font-size: 22px;
    }
    
    .article-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .article-content img {
        max-width: 100%;
        height: auto;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* 模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 10px 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-body p {
    margin: 0;
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.6;
}

.modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 10px 20px 20px 20px;
}

.modal-footer .btn {
    padding: 10px 24px;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-footer .btn-cancel {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

.modal-footer .btn-cancel:hover {
    background: #e8e8e8;
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    border: none;
}

.modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 360导航风格样式 */

/* 顶部信息�?*/
.top-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    border-radius: 12px;
    margin-bottom: 20px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.weather-icon {
    font-size: 24px;
}

.temperature {
    font-size: 20px;
    font-weight: 700;
}

.temp-range {
    font-size: 13px;
    opacity: 0.9;
}

.location {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.date-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.date-text {
    font-weight: 600;
}

.lunar-date {
    font-size: 13px;
    opacity: 0.9;
}

/* 搜索区域 */
.search-section {
    margin-bottom: 30px;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid #e1e4e8;
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.search-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 分类标签导航 */
.category-tabs {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.tabs-header {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.tab-item {
    padding: 10px 24px;
    background: #f5f7fa;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.tab-item:hover {
    background: #e9ecef;
    color: #333;
}

.tab-item.active {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
    font-weight: 600;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 分类�?*/
.category-block {
    margin-bottom: 25px;
}

.category-block:last-child {
    margin-bottom: 0;
}

.block-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-left: 12px;
    border-left: 4px solid var(--theme-primary);
}

/* 链接卡片网格 */
.link-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.link-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--theme-primary);
}

.link-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.link-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-icon .default-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}

.card-title {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 最新收录区�?*/
.latest-section {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.section-header .more-link {
    color: var(--theme-primary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.section-header .more-link:hover {
    color: var(--theme-secondary);
}

/* 侧边栏容�?*/
.sidebar-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 25px;
}

/* 用户操作�?*/
.user-action-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    padding: 25px;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.user-action-box .auth-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.user-info-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details {
    flex: 1;
}

.user-details h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.user-details p {
    font-size: 13px;
    color: #666;
}

/* 网站收录�?*/
.submit-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.submit-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.submit-box h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.submit-box p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* 热门网站�?*/
.hot-links-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.hot-links-box h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.hot-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hot-link-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.hot-link-item:hover {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    transform: translateX(5px);
}

.hot-link-item:hover a {
    color: #fff;
}

.hot-link-item a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hot-link-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hot-link-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hot-link-icon .default-icon {
    font-size: 18px;
    color: #fff;
}

.hot-link-item span {
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 侧边栏广�?*/
.sidebar-ad {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.sidebar-ad a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.sidebar-ad h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.sidebar-ad p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.sidebar-ad img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 响应式设�?*/
@media (max-width: 1200px) {
    .sidebar-container {
        grid-template-columns: 1fr;
    }
    
    .link-cards {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 768px) {
    .top-info-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .weather-info,
    .date-info {
        justify-content: center;
    }
    
    .tabs-header {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .tab-item {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .link-cards {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
    }
    
    .card-title {
        font-size: 13px;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .link-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .user-info-box {
        flex-direction: column;
        text-align: center;
    }
    
    .user-details h3 {
        font-size: 14px;
    }
}

/* 搜索建议下拉菜单 */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    margin-top: 5px;
}

.search-suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.suggestion-active {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    color: #fff;
}

.suggestion-item:hover .highlight,
.suggestion-item.suggestion-active .highlight {
    color: #fff;
    font-weight: 600;
}

.suggestion-content {
    margin-bottom: 4px;
}

.suggestion-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-color);
}

.suggestion-item:hover .suggestion-title,
.suggestion-item.suggestion-active .suggestion-title {
    color: #fff;
}

.suggestion-desc {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
}

.suggestion-item:hover .suggestion-desc,
.suggestion-item.suggestion-active .suggestion-desc {
    color: rgba(255,255,255,0.9);
}

.suggestion-url {
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

.suggestion-item:hover .suggestion-url,
.suggestion-item.suggestion-active .suggestion-url {
    color: rgba(255,255,255,0.8);
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.suggestion-item:hover .highlight,
.suggestion-item.suggestion-active .highlight {
    color: rgba(255,255,255,0.9);
}

.suggestion-loading {
    padding: 12px 16px;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

/* 搜索框焦点效果 */
.nav-search.focused {
    position: relative;
}

.nav-search-input:focus,
.nav-search-input.search-focused {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102,126,234,0.1);
    background: #fff;
    width: 200px;
}
