:root {
    /* 主色调 - 可轻松修改 */
    --primary-color: #00f2fe;
    --secondary-color: #4facfe;
    --accent-color: #4dabf7;
    --dark-bg: #0f1621;
    --card-bg: #1a2233;
    --text-color: #e0f2fe;
    --glow-color: rgba(79, 172, 254, 0.3);

    /* 插件面板色调 - 蓝紫色调 */
    --plugin-primary-color: #2b9de2;
    --plugin-secondary-color: #9370db;
    --plugin-accent-color: #9b59b6;
    --plugin-glow-color: rgba(138, 43, 226, 0.3);

    /* 导航和页脚颜色 */
    --nav-bg: rgba(15, 22, 33, 0.95);
    --footer-bg: #0a0f17;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', 'Segoe UI', Arial, sans-serif;
}


body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    min-height: 100vh;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(79, 172, 254, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 242, 254, 0.1) 0%, transparent 50%);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* Logo样式 */
.logo-svg {
    width: 90px;
    display: block;
    margin-bottom: 8px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(79, 172, 254, 0.2);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--glow-color);
}

.logo-icon {
    width: 80px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::before {
    width: 100%;
}

/* 主内容区域 */
.main-content {
    padding-top: 80px;
    padding-bottom: 60px;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

/* 通用面板样式 */
.panel {
    background: linear-gradient(135deg, rgba(26, 34, 51, 0.8), rgba(31, 41, 61, 0.9));
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.plugin-panel {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(40, 40, 70, 0.9));
    border-color: rgba(138, 43, 226, 0.3);
}

.panel-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.panel-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.plugin-panel .panel-header::after {
    background: linear-gradient(90deg, transparent, var(--plugin-primary-color), transparent);
}

.panel-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--glow-color);
}

.plugin-panel .panel-title {
    color: var(--plugin-primary-color);
    text-shadow: 0 0 10px var(--plugin-glow-color);
}

.panel-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    font-weight: 300;
}

/* 控制区域 */
.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.tag-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag-filter-btn {
    padding: 5px 15px;
    background: rgba(79, 172, 254, 0.1);
    color: var(--accent-color);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 1px;
    border: 1px solid rgba(79, 172, 254, 0.3);
    text-transform: uppercase;
    font-size: 0.8rem;
}

.plugin-panel .tag-filter-btn {
    background: rgba(138, 43, 226, 0.1);
    border-color: rgba(147, 112, 219, 0.3);
    color: #d8bfd8;
}

.tag-filter-btn:hover {
    background: rgba(79, 172, 254, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--glow-color);
}

.plugin-panel .tag-filter-btn:hover {
    background: rgba(138, 43, 226, 0.3);
    box-shadow: 0 5px 15px var(--plugin-glow-color);
}

.tag-filter-btn.active {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    font-weight: 600;
    box-shadow: 0 5px 15px var(--glow-color);
}

.plugin-panel .tag-filter-btn.active {
    background: linear-gradient(90deg, var(--plugin-primary-color), var(--plugin-secondary-color));
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-label {
    font-size: 0.9rem;
    color: #8a9db3;
}

.sort-select {
    background: rgba(79, 172, 254, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plugin-panel .sort-select {
    background: rgba(138, 43, 226, 0.1);
    border-color: rgba(147, 112, 219, 0.3);
    color: #d8bfd8;
}

.sort-select:hover {
    background: rgba(79, 172, 254, 0.2);
}

.plugin-panel .sort-select:hover {
    background: rgba(138, 43, 226, 0.2);
}

.sort-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--glow-color);
}

/* 画廊和卡片样式 */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(79, 172, 254, 0.2);
    cursor: pointer;
}

.plugin-panel .card {
    border-color: rgba(138, 43, 226, 0.3);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.plugin-panel .card::before {
    background: linear-gradient(90deg, var(--plugin-primary-color), var(--plugin-secondary-color));
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--glow-color);
    border-color: var(--accent-color);
}

.plugin-panel .card:hover {
    box-shadow: 0 15px 30px var(--plugin-glow-color);
    border-color: var(--plugin-accent-color);
}

.card-cover {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(79, 172, 254, 0.2));
    mix-blend-mode: overlay;
}

.plugin-panel .card-cover::after {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(147, 112, 219, 0.2));
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-cover img {
    transform: scale(1.1);
}

.card-content {
    padding: 15px;
    position: relative;
}

/* .card-content::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 20px;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
} */

.plugin-panel .card-content::before {
    background: linear-gradient(90deg, var(--plugin-primary-color), var(--plugin-secondary-color));
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.plugin-panel .card-title::after {
    background: var(--plugin-primary-color);
}

.card:hover .card-title::after {
    width: 100%;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    font-size: 0.85rem;
    color: #8a9db3;
}

.card-date {
    position: relative;
    padding-left: 20px;
    display: flex;
    align-items: center;
    height: 24px;
}

.card-date::before {
    content: '📅';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.card-author,
.card-version {
    position: relative;
    padding-left: 20px;
    display: flex;
    align-items: center;
    height: 24px;
    color: #8a9db3;
}

.card-author::before {
    content: '👤';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.card-version::before {
    content: '🔖';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.card-icons {
    display: flex;
    gap: 12px;
}

.card-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    color: #aaa;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.plugin-panel .card-icon:hover {
    color: var(--plugin-primary-color);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: rgba(79, 172, 254, 0.1);
    color: var(--accent-color);
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plugin-panel .tag {
    background: rgba(138, 43, 226, 0.1);
    color: #d8bfd8;
}

.tag:hover {
    background: rgba(79, 172, 254, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px var(--glow-color);
}

.plugin-panel .tag:hover {
    background: rgba(138, 43, 226, 0.3);
    box-shadow: 0 5px 10px var(--plugin-glow-color);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    padding: 10px 18px;
    background: rgba(79, 172, 254, 0.1);
    color: var(--accent-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid rgba(79, 172, 254, 0.3);
}

.plugin-panel .page-btn {
    background: rgba(138, 43, 226, 0.1);
    border-color: rgba(147, 112, 219, 0.3);
    color: #d8bfd8;
}

.page-btn:hover {
    background: rgba(79, 172, 254, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px var(--glow-color);
}

.plugin-panel .page-btn:hover {
    background: rgba(138, 43, 226, 0.3);
    box-shadow: 0 5px 10px var(--plugin-glow-color);
}

.page-btn.active {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    font-weight: 600;
    box-shadow: 0 5px 15px var(--glow-color);
}

.plugin-panel .page-btn.active {
    background: linear-gradient(90deg, var(--plugin-primary-color), var(--plugin-secondary-color));
}

.page-info {
    text-align: center;
    margin-top: 20px;
    color: #8a9db3;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* 页脚样式 */
.footer {
    background: var(--footer-bg);
    padding: 20px 0;
    border-top: 1px solid rgba(79, 172, 254, 0.2);
    margin-top: 0px;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #8a9db3;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 0px;
    padding-top: 20px;
    border-top: 1px solid rgba(79, 172, 254, 0.1);
    color: #8a9db3;
    font-size: 0.9rem;
}
.share-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 0.8rem;
}

.share-btn i {
    font-size: 1.5rem;
    margin-bottom: 5px;
    background-color: #f1f3f5;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn:hover {
    color: #1a2b3c;
}

.share-btn:hover i {
    background-color: #e1e5e9;
}
/* 响应式设计 */
@media (max-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .panel-title {
        font-size: 2.2rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .tag-filter {
        gap: 10px;
    }

    .tag-filter-btn {
        padding: 8px 15px;
        font-size: 0.7rem;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-link {
        font-size: 1rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .panel-title {
        font-size: 1.8rem;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .card {
        max-width: 100%;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}