/**
 * 首助CMS - 科技感主题样式
 * 深色科技风格，霓虹蓝青色调
 */

/* === 全局变量 === */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1528;
    --bg-card: rgba(15, 23, 48, 0.85);
    --bg-card-solid: #111a33;
    --bg-glass: rgba(10, 14, 26, 0.7);
    --border-color: rgba(0, 195, 255, 0.12);
    --border-glow: rgba(0, 195, 255, 0.25);
    --text-primary: #e0e8f5;
    --text-secondary: #8899b4;
    --text-muted: #5a6d8a;
    --accent-cyan: #00c3ff;
    --accent-blue: #3a7bd5;
    --accent-purple: #7b61ff;
    --accent-green: #00e5a0;
    --gradient-accent: linear-gradient(135deg, #00c3ff 0%, #3a7bd5 50%, #7b61ff 100%);
    --gradient-card: linear-gradient(145deg, rgba(15, 23, 48, 0.9) 0%, rgba(10, 14, 26, 0.95) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 195, 255, 0.15) 0%, rgba(122, 97, 255, 0.08) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 195, 255, 0.15);
    --shadow-glow-lg: 0 0 40px rgba(0, 195, 255, 0.2);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text-primary);
    line-height: 1.75;
    background: var(--bg-primary);
    min-height: 100vh;
    position: relative;
}

/* 网格背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 195, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 195, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* 顶部光晕 */
body::after {
    content: '';
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(0, 195, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

main, nav, footer {
    position: relative;
    z-index: 1;
}

/* === 链接 === */
a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #5ad4ff;
    text-shadow: 0 0 8px rgba(0, 195, 255, 0.3);
}

/* === 导航栏 === */
.navbar {
    background: rgba(10, 14, 26, 0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), var(--shadow-glow);
    padding: 0.75rem 0;
    transition: var(--transition);
    z-index: 1050 !important;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 14, 26, 0.97) !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 195, 255, 0.3);
}

.navbar-brand i {
    color: var(--accent-cyan);
    font-size: 1.3rem;
}

.navbar-brand img {
    max-height: 36px;
    filter: brightness(1.1);
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--accent-cyan) !important;
    background: rgba(0, 195, 255, 0.08);
    text-shadow: 0 0 8px rgba(0, 195, 255, 0.3);
}

.navbar-dark .navbar-nav .nav-link.active {
    color: var(--accent-cyan) !important;
    background: rgba(0, 195, 255, 0.1);
}

/* 下拉菜单 */
.navbar .dropdown-menu {
    z-index: 1100 !important;
    position: absolute !important;
    background: rgba(15, 23, 48, 0.97) !important;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    padding: 0.5rem;
}

.navbar .dropdown-item {
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    transition: var(--transition);
}

.navbar .dropdown-item:hover {
    background: rgba(0, 195, 255, 0.1);
    color: var(--accent-cyan);
}

.navbar .dropdown {
    position: relative;
    z-index: 1051 !important;
}

.navbar-collapse {
    z-index: 1050 !important;
}

/* 导航搜索框 */
.navbar .d-flex .form-control {
    background: rgba(0, 195, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.navbar .d-flex .form-control::placeholder {
    color: var(--text-muted);
}

.navbar .d-flex .form-control:focus {
    background: rgba(0, 195, 255, 0.1);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 2px rgba(0, 195, 255, 0.1);
}

.navbar .d-flex .btn-light {
    background: rgba(0, 195, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--accent-cyan);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.navbar .d-flex .btn-light:hover {
    background: rgba(0, 195, 255, 0.2);
}

/* 用户按钮 */
.navbar .btn-outline-light {
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.navbar .btn-outline-light:hover {
    background: rgba(0, 195, 255, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.navbar .btn-light {
    background: var(--gradient-accent);
    border: none;
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
}

.navbar .btn-light:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

/* === 幻灯片 / 轮播 === */
.carousel.slide {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.carousel-item-content {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    height: 420px;
}

.carousel-caption {
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease;
    text-shadow: 0 0 20px rgba(0, 195, 255, 0.3);
}

.carousel-caption p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.2s backwards;
    opacity: 0.9;
}

.carousel-caption .btn {
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    transition: var(--transition);
}

.carousel-indicators button.active {
    background-color: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
    width: 24px;
    border-radius: 5px;
}

/* === 卡片 === */
.card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: translateY(-3px);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 1.15rem 1.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.card-header.bg-white {
    background: transparent !important;
}

.card-header i {
    margin-right: 0.5rem;
    color: var(--accent-cyan);
}

.card-body {
    padding: 1.5rem;
}

/* === 文章列表 === */
.article-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0, 195, 255, 0.06);
    transition: var(--transition);
}

.article-item:last-child {
    border-bottom: none;
}

.article-item:hover {
    background: var(--gradient-glow);
    padding-left: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-right: 1rem;
    border-radius: var(--radius-md);
}

.article-item img {
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.article-item:hover img {
    transform: scale(1.03);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.article-item h5 a {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.15rem;
    transition: var(--transition);
}

.article-item h5 a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(0, 195, 255, 0.3);
}

.article-item .text-muted {
    color: var(--text-muted) !important;
    font-size: 0.85rem;
}

.article-item .text-muted a {
    color: var(--text-secondary);
}

.article-item .card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.article-item .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

/* === 文章内容 === */
.article-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    font-weight: 700;
}

.article-content a {
    color: var(--accent-cyan);
    border-bottom: 1px solid transparent;
}

.article-content a:hover {
    border-bottom-color: var(--accent-cyan);
}

.article-content pre {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content blockquote {
    border-left: 3px solid var(--accent-cyan);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(0, 195, 255, 0.03);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--text-secondary);
}

.article-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5rem 0;
}

.article-content th,
.article-content td {
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
}

.article-content th {
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 600;
}

/* === 文章详情页 === */
.article-meta {
    font-size: 0.9rem;
    color: var(--text-muted) !important;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.article-meta span {
    color: var(--text-secondary);
}

.article-meta a {
    color: var(--accent-cyan);
}

.article-tags .badge {
    background: rgba(0, 195, 255, 0.08) !important;
    color: var(--accent-cyan) !important;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-weight: 400;
    transition: var(--transition);
}

.article-tags .badge:hover {
    background: rgba(0, 195, 255, 0.15) !important;
    border-color: var(--accent-cyan);
    text-shadow: 0 0 6px rgba(0, 195, 255, 0.3);
}

.article-actions {
    border-color: var(--border-color) !important;
}

/* === 评论 === */
.comment-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0, 195, 255, 0.06);
}

.comment-item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.comment-item strong {
    color: var(--text-primary);
}

/* === 评分 === */
.score-star {
    color: var(--text-muted);
    font-size: 1.3rem;
    transition: var(--transition);
    cursor: pointer;
}

.score-star:hover,
.score-star.active {
    color: #ffc107;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.4);
    transform: scale(1.15);
}

/* === 收藏按钮 === */
.favorite-btn {
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    background: transparent;
    transition: var(--transition);
}

.favorite-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.favorite-btn.active {
    background: rgba(0, 195, 255, 0.15);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

/* === 分页 === */
.pagination .page-link {
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin: 0 2px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.pagination .page-item.active .page-link {
    background: var(--gradient-accent);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-glow);
}

.pagination .page-link:hover {
    background: rgba(0, 195, 255, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* === 标签 === */
.badge {
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    transition: var(--transition);
}

.badge-light {
    background: rgba(0, 195, 255, 0.06) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-color);
}

.badge-light:hover {
    background: rgba(0, 195, 255, 0.15) !important;
    color: var(--accent-cyan) !important;
    border-color: var(--accent-cyan);
}

.badge.bg-primary {
    background: var(--gradient-accent) !important;
}

.badge.bg-danger {
    background: rgba(255, 68, 68, 0.8) !important;
    box-shadow: 0 0 8px rgba(255, 68, 68, 0.3);
}

.badge.bg-warning {
    background: rgba(255, 152, 0, 0.8) !important;
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.3);
}

/* === 页脚 === */
footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
}

footer h5 {
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

footer a {
    color: var(--text-muted);
    transition: var(--transition);
}

footer a:hover {
    color: var(--accent-cyan);
    padding-left: 3px;
}

footer hr {
    border-color: var(--border-color);
}

footer .list-unstyled li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

footer .list-unstyled li i {
    color: var(--accent-cyan);
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

footer .img-thumbnail {
    border: 1px solid var(--border-color);
    background: transparent;
}

/* === 按钮 === */
.btn {
    border-radius: var(--radius-sm);
    padding: 0.6rem 1.25rem;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-accent);
    border: none;
    color: white;
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    color: white;
}

.btn-outline-primary {
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    background: transparent;
}

.btn-outline-primary:hover {
    background: rgba(0, 195, 255, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-outline-secondary {
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-outline-secondary:hover {
    background: rgba(0, 195, 255, 0.08);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-outline-danger {
    border: 1px solid rgba(255, 68, 68, 0.4);
    color: #ff6b6b;
}

.btn-outline-danger:hover {
    background: rgba(255, 68, 68, 0.1);
    border-color: #ff6b6b;
}

.btn-danger {
    background: rgba(255, 68, 68, 0.8);
    border: none;
}

.btn-success {
    background: rgba(0, 229, 160, 0.8);
    border: none;
    color: var(--bg-primary);
    font-weight: 600;
}

.btn-warning {
    background: rgba(255, 193, 7, 0.85);
    border: none;
    color: var(--bg-primary);
    font-weight: 600;
}

/* === 表单 === */
.form-control {
    border-radius: var(--radius-sm);
    padding: 0.65rem 1rem;
    border: 1px solid var(--border-color);
    background: rgba(0, 195, 255, 0.04);
    color: var(--text-primary);
    transition: var(--transition);
    font-size: 0.9rem;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 2px rgba(0, 195, 255, 0.1);
    background: rgba(0, 195, 255, 0.06);
}

.form-label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-select {
    background-color: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.form-select:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 2px rgba(0, 195, 255, 0.1);
}

/* === 提示框 === */
.alert {
    border-radius: var(--radius-md);
    border: 1px solid;
    font-size: 0.9rem;
}

.alert-info {
    background: rgba(0, 195, 255, 0.08);
    border-color: rgba(0, 195, 255, 0.2);
    color: var(--accent-cyan);
}

.alert-success {
    background: rgba(0, 229, 160, 0.08);
    border-color: rgba(0, 229, 160, 0.2);
    color: var(--accent-green);
}

.alert-danger {
    background: rgba(255, 68, 68, 0.08);
    border-color: rgba(255, 68, 68, 0.2);
    color: #ff6b6b;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

/* === 返回顶部按钮 === */
#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: white;
    border: none;
    box-shadow: var(--shadow-md), var(--shadow-glow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    font-size: 1rem;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-lg);
}

/* === 面包屑 === */
.breadcrumb {
    background: transparent;
}

.breadcrumb-item a {
    color: var(--text-secondary);
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

/* === 用户头像 === */
.avatar {
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

/* === 加载动画 === */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 195, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--accent-cyan);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === 动画 === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 195, 255, 0.1); }
    50% { box-shadow: 0 0 20px rgba(0, 195, 255, 0.25); }
}

@keyframes scan-line {
    0% { top: -100%; }
    100% { top: 100%; }
}

.card {
    animation: fadeInUp 0.4s ease;
}

/* === 下载页面 === */
.hover-shadow:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md), var(--shadow-glow) !important;
}

/* === 阅读进度条 === */
.reading-progress {
    background: var(--gradient-accent) !important;
}

/* === 模态框 === */
.modal-content {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.modal-footer {
    border-top: 1px solid var(--border-color);
}

.btn-close {
    filter: invert(1);
}

/* === Toast === */
.toast {
    background: var(--bg-card-solid);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.toast-header {
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

/* === 响应式 === */
@media (max-width: 992px) {
    .carousel-caption h2 {
        font-size: 1.75rem;
    }

    .carousel-item-content {
        height: 320px !important;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .carousel-caption h2 {
        font-size: 1.3rem;
    }

    .carousel-item-content {
        height: 260px !important;
    }

    .article-content {
        font-size: 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    footer {
        padding: 2rem 0 1rem;
    }
}

/* === 滚动条 === */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 195, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 195, 255, 0.35);
}

/* === 文本选择 === */
::selection {
    background: rgba(0, 195, 255, 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(0, 195, 255, 0.3);
    color: var(--text-primary);
}

/* === 文件上传/单页面相关 === */
.page-meta {
    color: var(--text-muted) !important;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.page-content {
    color: var(--text-secondary);
}

/* === 软件下载相关 === */
.list-group-item {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.list-group-item-action:hover,
.list-group-item.active {
    background: rgba(0, 195, 255, 0.08);
    color: var(--accent-cyan);
    border-color: var(--border-color);
}

.list-group-item.active {
    border-left: 3px solid var(--accent-cyan);
}

/* === Dropzone 内页相关 === */
.text-center .text-muted {
    color: var(--text-muted) !important;
}

/* === 侧边栏组件 === */
.sidebar-widget {
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.sidebar-widget .card {
    border: none;
    background: transparent;
    box-shadow: none;
}

.sidebar-widget .card:hover {
    transform: none;
}

/* === Layout 自定义 class === */
.tech-footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
}

.tech-footer-title {
    color: var(--text-primary) !important;
    margin-bottom: 1.25rem;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.tech-footer-desc {
    color: var(--text-muted) !important;
    font-size: 0.9rem;
    line-height: 1.7;
}

.tech-footer-link {
    color: var(--text-muted) !important;
    transition: var(--transition);
}

.tech-footer-link:hover {
    color: var(--accent-cyan) !important;
    padding-left: 3px;
    text-decoration: none;
}

.tech-footer-links li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.tech-footer-contact li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tech-footer-contact li i {
    color: var(--accent-cyan);
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

.tech-footer-copyright {
    color: var(--text-muted) !important;
    font-size: 0.85rem;
}

.tech-back-top {
    background: var(--gradient-accent) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.tech-back-top:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow-lg);
    transform: translateY(-3px);
}
