/**
 * 软件下载网站主样式文件
 * 主色调: #5db8f8
 */

/* 全局重置与基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f0f0f5;
    padding-top: 100px;
}

a {
    color: #5db8f8;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #3aa0e8;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    outline: none;
    border: none;
    cursor: pointer;
}

ul {
    list-style: none;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==================== 头部导航样式 ==================== */

/* 固定顶部导航 */
.site-header.navbar-fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.site-header.nav-scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

/* 顶部信息栏 */
.header-top {
    background: #f8f8fa;
    border-bottom: 1px solid #eaeaea;
    padding: 6px 0;
    font-size: 12px;
    color: #999;
}

.header-top .pull-left span {
    color: #666;
}

.header-top .pull-left i {
    color: #5db8f8;
    margin-right: 4px;
}

.header-top-right a {
    color: #666;
    margin-left: 5px;
    transition: color 0.2s;
}

.header-top-right a:hover {
    color: #5db8f8;
}

.header-top-right .divider {
    margin: 0 8px;
    color: #ddd;
}

/* 用户下拉菜单 */
.user-dropdown {
    display: inline-block;
    position: relative;
}

.user-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 15px;
    transition: background 0.2s;
    color: #666;
}

.user-dropdown-toggle:hover {
    background: #e8f4fd;
    color: #5db8f8;
}

.user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 6px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.user-nickname {
    font-size: 12px;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-toggle .fa-angle-down {
    margin-left: 4px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.user-dropdown.open .user-dropdown-toggle .fa-angle-down {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 160px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 6px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 1000;
}

.user-dropdown.open .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-left: 1px solid #eaeaea;
    border-top: 1px solid #eaeaea;
    transform: rotate(45deg);
}

.user-dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    color: #555;
    font-size: 13px;
    transition: all 0.2s;
}

.user-dropdown-menu li a i {
    width: 18px;
    margin-right: 8px;
    font-size: 14px;
    color: #999;
    text-align: center;
}

.user-dropdown-menu li a:hover {
    background: #f0f7fd;
    color: #5db8f8;
}

.user-dropdown-menu li a:hover i {
    color: #5db8f8;
}

.user-dropdown-menu .divider {
    height: 1px;
    background: #eee;
    margin: 4px 0;
}

/* 主导航栏 */
.main-nav {
    background: #fff;
    border-bottom: 2px solid #5db8f8;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

/* Logo区域 */
.nav-logo {
    flex-shrink: 0;
}

.site-logo {
    display: flex;
    align-items: center;
    color: #5db8f8;
}

.site-logo:hover {
    color: #3aa0e8;
}

.logo-icon {
    font-size: 32px;
    margin-right: 10px;
    background: linear-gradient(135deg, #5db8f8, #3aa0e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: bold;
    color: #5db8f8;
    margin: 0;
    line-height: 1.2;
}

.logo-text span {
    font-size: 11px;
    color: #999;
    display: block;
    line-height: 1.2;
}

/* 桌面端导航菜单 */
.nav-list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-list > li {
    position: relative;
    margin: 0 2px;
}

.nav-list > li > a {
    display: block;
    padding: 20px 16px;
    color: #555;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: color 0.2s;
}

.nav-list > li > a i {
    margin-right: 5px;
    font-size: 14px;
}

.nav-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #5db8f8;
    border-radius: 3px 3px 0 0;
    transition: width 0.3s ease;
}

.nav-list > li > a:hover {
    color: #5db8f8;
}

.nav-list > li > a:hover::after {
    width: 70%;
}

.nav-list > li.active > a {
    color: #5db8f8;
}

.nav-list > li.active > a::after {
    width: 70%;
}

/* 右侧功能区 */
.nav-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* 搜索栏 */
.search-bar {
    margin-right: 15px;
}

.search-box {
    position: relative;
    width: 240px;
}

.search-box input {
    width: 100%;
    height: 36px;
    padding: 0 44px 0 14px;
    border: 1px solid #e0e0e0;
    border-radius: 18px;
    font-size: 13px;
    outline: none;
    transition: all 0.3s;
    background: #fafafa;
}

.search-box input:focus {
    border-color: #5db8f8;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(93, 184, 248, 0.15);
}

.search-box input::placeholder {
    color: #bbb;
}

.search-box .search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: #5db8f8;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box .search-btn:hover {
    background: #3aa0e8;
    transform: translateY(-50%) scale(1.05);
}

/* 移动端用户入口 */
.mobile-user-entry {
    display: none;
    margin-right: 8px;
}

.mobile-user-entry a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #666;
    font-size: 18px;
    border-radius: 50%;
    transition: all 0.2s;
}

.mobile-user-entry a:hover {
    background: #f0f7fd;
    color: #5db8f8;
}

/* 移动端搜索切换按钮 */
.search-toggle {
    display: none;
    width: 36px;
    height: 36px;
    background: transparent;
    color: #666;
    font-size: 18px;
    border-radius: 50%;
    margin-right: 8px;
    transition: all 0.2s;
}

.search-toggle:hover,
.search-toggle.active {
    background: #f0f7fd;
    color: #5db8f8;
}

/* 汉堡菜单按钮 */
.navbar-toggle {
    display: none;
    width: 36px;
    height: 36px;
    background: transparent;
    border-radius: 4px;
    padding: 8px 8px;
    position: relative;
    transition: all 0.2s;
}

.navbar-toggle:hover {
    background: #f0f7fd;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #666;
    border-radius: 1px;
    margin: 4px auto;
    transition: all 0.3s;
}

.navbar-toggle:hover .icon-bar {
    background: #5db8f8;
}

.navbar-toggle.active .icon-bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .icon-bar:nth-child(3) {
    transform: rotate(45deg) translate(4px, 5px);
    background: #5db8f8;
}

.navbar-toggle.active .icon-bar:nth-child(4) {
    transform: rotate(-45deg) translate(4px, -5px);
    background: #5db8f8;
}

/* 移动端搜索栏 */
.mobile-search-bar {
    display: none;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
}

.mobile-search-bar .search-box {
    width: 100%;
}

/* 移动端下拉菜单 */
.mobile-menu {
    display: none;
    border-top: 1px solid #f0f0f0;
    background: #fff;
}

.mobile-nav-list {
    padding: 0;
    margin: 0;
}

.mobile-nav-list li a {
    display: flex;
    align-items: center;
    padding: 14px 15px;
    color: #555;
    font-size: 15px;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s;
}

.mobile-nav-list li a i {
    width: 24px;
    margin-right: 10px;
    font-size: 16px;
    color: #999;
    text-align: center;
}

.mobile-nav-list li a:hover,
.mobile-nav-list li.active a {
    background: #f0f7fd;
    color: #5db8f8;
}

.mobile-nav-list li a:hover i,
.mobile-nav-list li.active a i {
    color: #5db8f8;
}

/* 移动端用户菜单 */
.mobile-user-menu {
    padding: 15px;
    background: #fafafa;
    border-top: 1px solid #eee;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.mobile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.mobile-nickname {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.mobile-user-menu ul li a {
    display: flex;
    align-items: center;
    padding: 10px 5px;
    color: #666;
    font-size: 14px;
    border-bottom: none;
}

.mobile-user-menu ul li a i {
    width: 24px;
    margin-right: 10px;
    font-size: 16px;
    color: #999;
    text-align: center;
}

.mobile-user-menu ul li a:hover {
    color: #5db8f8;
    background: transparent;
}

.mobile-user-menu ul li a:hover i {
    color: #5db8f8;
}

/* ==================== 主体内容区域 ==================== */
.main-content {
    padding: 20px 0;
    min-height: 500px;
}

.content-wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.content-left {
    width: 75%;
    padding: 0 10px;
}

.content-right {
    width: 25%;
    padding: 0 10px;
}

/* ==================== 卡片样式 ==================== */
.card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    padding: 12px 15px;
    border-bottom: 1px solid #eaeaea;
    background: #fafafa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    position: relative;
    padding-left: 12px;
}

.card-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: #5db8f8;
    border-radius: 2px;
}

.card-more {
    font-size: 12px;
    color: #999;
}

.card-more:hover {
    color: #5db8f8;
}

.card-body {
    padding: 15px;
}

/* ==================== 软件列表 ==================== */
.software-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.software-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px dashed #eaeaea;
    transition: background 0.2s;
}

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

.software-item:hover {
    background: #f8fbfe;
    margin: 0 -15px;
    padding: 15px;
}

.software-icon {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 15px;
    border: 1px solid #eaeaea;
}

.software-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.software-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.software-name a {
    color: #333;
}

.software-name a:hover {
    color: #5db8f8;
}

.software-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.software-meta span {
    margin-right: 12px;
}

.software-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.software-action {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 15px;
}

.btn-download {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #5db8f8 0%, #3aa0e8 100%);
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(93, 184, 248, 0.4);
}

.download-count {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* ==================== 分类列表 ==================== */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    display: inline-block;
    margin: 4px 6px 4px 0;
}

.category-list li a {
    display: block;
    padding: 4px 12px;
    background: #f5f5f8;
    color: #666;
    border-radius: 3px;
    font-size: 13px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.category-list li a:hover,
.category-list li.active a {
    background: #e8f4fd;
    color: #5db8f8;
    border-color: #5db8f8;
}

/* ==================== 排行榜 ==================== */
.rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rank-list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.rank-list li:last-child {
    border-bottom: none;
}

.rank-num {
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    margin-right: 10px;
    flex-shrink: 0;
    background: #ccc;
}

.rank-list li:nth-child(1) .rank-num {
    background: #ff6b6b;
}

.rank-list li:nth-child(2) .rank-num {
    background: #ffa94d;
}

.rank-list li:nth-child(3) .rank-num {
    background: #ffd43b;
    color: #333;
}

.rank-title {
    flex: 1;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-title a {
    color: #333;
}

.rank-title a:hover {
    color: #5db8f8;
}

.rank-downloads {
    font-size: 12px;
    color: #999;
    margin-left: 8px;
    flex-shrink: 0;
}

/* ==================== 轮播/Banner区域 ==================== */
.banner-section {
    margin-bottom: 20px;
}

.banner-box {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eaeaea;
}

.banner-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* ==================== 标签 ==================== */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    background: #f0f7fd;
    color: #5db8f8;
    font-size: 12px;
    border-radius: 3px;
    border: 1px solid #d0e8f9;
    transition: all 0.2s;
}

.tag:hover {
    background: #5db8f8;
    color: #fff;
    border-color: #5db8f8;
}

/* ==================== 页脚 ==================== */
.site-footer {
    background: #2c3e50;
    color: #95a5a6;
    padding: 30px 0 20px;
    margin-top: 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-section {
    width: 23%;
}

.footer-section h4 {
    color: #ecf0f1;
    font-size: 15px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #34495e;
}

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

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

.footer-section ul li a {
    color: #95a5a6;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: #5db8f8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    font-size: 12px;
}

.footer-bottom a {
    color: #95a5a6;
}

.footer-bottom a:hover {
    color: #5db8f8;
}

/* ==================== 客服悬浮面板 ==================== */
.service-float-wrap {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
}

.service-toggle-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5db8f8 0%, #3aa0e8 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(93, 184, 248, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-toggle-btn i {
    font-size: 22px;
    margin-bottom: 2px;
}

.service-toggle-btn .service-toggle-text {
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
}

.service-toggle-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(93, 184, 248, 0.5);
}

.service-toggle-btn.active {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.4);
}

.service-toggle-btn.active i {
    transform: rotate(90deg);
}

.service-toggle-btn.active .service-toggle-text {
    display: none;
}

.service-panel-box {
    position: absolute;
    right: 0;
    bottom: 70px;
    width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
}

.service-panel-box.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

.service-panel-header {
    background: linear-gradient(135deg, #5db8f8 0%, #3aa0e8 100%);
    color: #fff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-panel-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.service-panel-header h4 i {
    margin-right: 8px;
    font-size: 16px;
}

.service-panel-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 14px;
}

.service-panel-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

.service-panel-body {
    padding: 12px;
}

.service-item {
    margin-bottom: 8px;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-link {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.service-link:hover {
    text-decoration: none;
    transform: translateX(-3px);
}

.service-link.service-qq {
    background: #f0f9ff;
    border-color: #d0e8f9;
}

.service-link.service-qq:hover {
    background: #e8f4fd;
    border-color: #5db8f8;
}

.service-link.service-wechat {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.service-link.service-wechat:hover {
    background: #dcfce7;
    border-color: #07c160;
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.service-qq .service-icon {
    background: linear-gradient(135deg, #12b7f5 0%, #0ea5e9 100%);
    color: #fff;
}

.service-wechat .service-icon {
    background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
    color: #fff;
}

.service-icon i {
    font-size: 22px;
}

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

.service-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.service-desc {
    font-size: 12px;
    color: #888;
}

.service-qq .service-desc {
    color: #12b7f5;
}

.service-wechat .service-desc {
    color: #07c160;
    font-weight: 500;
}

.service-arrow {
    color: #ccc;
    font-size: 16px;
    margin-left: 8px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.service-link:hover .service-arrow {
    transform: translateX(3px);
    color: #999;
}

.service-work-time {
    margin-top: 12px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    border: 1px dashed #e0e0e0;
}

.service-work-time i {
    margin-right: 6px;
    color: #5db8f8;
    font-size: 14px;
}

/* ==================== 返回顶部按钮 ==================== */
.back-top {
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #666;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    background: #5db8f8;
    color: #fff;
    border-color: #5db8f8;
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(93, 184, 248, 0.35);
}

.back-top i {
    font-size: 18px;
}

/* ==================== 面包屑导航 ==================== */
.breadcrumb {
    padding: 10px 0;
    margin-bottom: 15px;
    font-size: 13px;
    color: #999;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #5db8f8;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #ccc;
}

/* ==================== 空状态 ==================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ddd;
}

.empty-state p {
    font-size: 14px;
}

/* ==================== 加载更多 ==================== */
.load-more {
    text-align: center;
    padding: 20px 0;
}

.btn-loadmore {
    display: inline-block;
    padding: 10px 40px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-loadmore:hover {
    background: #5db8f8;
    color: #fff;
    border-color: #5db8f8;
}

/* ==================== 响应式设计 ==================== */

/* 平板及以下 (汉堡菜单启用) */
@media (max-width: 991px) {
    body {
        padding-top: 92px;
    }
    
    .content-left {
        width: 100%;
    }

    .content-right {
        width: 100%;
    }

    .footer-section {
        width: 48%;
        margin-bottom: 20px;
    }
    
    .nav-list {
        display: none !important;
    }
    
    .search-bar {
        width: 200px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .navbar-toggle {
        display: block;
    }

    .hero-section {
        flex-wrap: wrap;
    }

    .hero-carousel {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .hero-side {
        width: 100%;
        flex: none;
    }

    .side-card {
        flex: 1;
    }

    .main-two-col {
        flex-wrap: wrap;
        gap: 15px;
    }

    .main-col-left {
        width: 100%;
    }

    .main-col-right {
        width: 100%;
    }

    .soft-card-grid {
        gap: 12px;
    }

    .soft-section-title {
        font-size: 17px;
    }
}

/* 移动端 (< 768px) */
@media (max-width: 767px) {
    body {
        padding-top: 50px;
    }
    
    .header-top {
        display: none;
    }
    
    .nav-wrapper {
        height: 50px;
    }
    
    .logo-icon {
        font-size: 26px;
        margin-right: 6px;
    }
    
    .logo-text h1 {
        font-size: 17px;
    }
    
    .logo-text span {
        display: none;
    }
    
    .search-bar {
        display: none;
    }
    
    .mobile-user-entry {
        display: inline-flex;
    }
    
    .search-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .software-item {
        flex-wrap: wrap;
    }

    .software-icon {
        width: 48px;
        height: 48px;
    }

    .software-action {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .service-float-wrap {
        right: 12px;
        bottom: 80px;
    }

    .service-toggle-btn {
        width: 48px;
        height: 48px;
    }

    .service-toggle-btn i {
        font-size: 20px;
    }

    .service-toggle-btn .service-toggle-text {
        font-size: 10px;
    }

    .service-panel-box {
        width: 260px;
        bottom: 60px;
    }

    .back-top {
        width: 40px;
        height: 40px;
        right: 12px;
        bottom: 20px;
    }

    .footer-section {
        width: 100%;
    }

    .notice-bar-inner {
        height: 32px;
        padding: 0 10px;
    }

    .notice-label {
        padding-right: 8px;
        margin-right: 8px;
        font-size: 12px;
    }

    .notice-label i {
        font-size: 13px;
    }

    .notice-label span {
        display: none;
    }

    .notice-more span {
        display: none;
    }

    .notice-content {
        height: 32px;
        line-height: 32px;
    }

    .notice-item {
        height: 32px;
        line-height: 32px;
        font-size: 12px;
    }

    .hero-carousel-box .carousel-inner > .item,
    .carousel-bg {
        height: 220px;
    }

    .carousel-caption-custom {
        padding: 20px 20px;
    }

    .carousel-caption-custom h2 {
        font-size: 20px;
    }

    .carousel-caption-custom p {
        font-size: 13px;
    }

    .hero-side {
        flex-direction: column;
    }

    .side-card {
        flex: none;
    }

    .section-placeholder {
        min-height: 200px;
        padding: 40px 15px;
    }

    .sidebar-placeholder {
        min-height: 250px;
        padding: 30px 15px;
    }

    .soft-card-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .soft-section-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .soft-section-title {
        font-size: 16px;
    }

    .soft-card-title {
        font-size: 14px;
    }

    .soft-card-desc {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .soft-card-body {
        padding: 10px 12px 6px;
    }

    .soft-card-footer {
        padding: 7px 12px 10px;
    }

    .soft-card-meta {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 46px;
    }
    
    .card-body {
        padding: 10px;
    }
    
    .nav-wrapper {
        height: 46px;
    }
    
    .logo-icon {
        font-size: 22px;
    }
    
    .logo-text h1 {
        font-size: 15px;
    }

    .hero-carousel-box .carousel-inner > .item,
    .carousel-bg {
        height: 180px;
    }

    .carousel-caption-custom {
        padding: 15px;
    }

    .carousel-caption-custom h2 {
        font-size: 17px;
        margin-bottom: 5px;
    }

    .carousel-caption-custom p {
        font-size: 12px;
        -webkit-line-clamp: 1;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .side-list-date,
    .side-list-count {
        display: none;
    }

    .hero-carousel-box .carousel-control {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .notice-more {
        display: none;
    }

    .soft-card-grid {
        gap: 10px;
    }

    .soft-card-cover {
        padding-top: 60%;
    }

    .soft-card-category {
        font-size: 11px;
        padding: 2px 8px;
    }

    .soft-card-badge {
        font-size: 11px;
        padding: 3px 10px 4px 8px;
    }

    .soft-section-header {
        margin-bottom: 10px;
    }

    .soft-section-title {
        font-size: 15px;
    }

    .soft-section-title i {
        font-size: 15px;
        margin-right: 6px;
    }

    .soft-section-more {
        font-size: 12px;
    }

    .soft-card-title {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .soft-card-desc {
        font-size: 11px;
        line-height: 1.5;
    }

    .soft-card-body {
        padding: 8px 10px 5px;
    }

    .soft-card-footer {
        padding: 6px 10px 8px;
    }

    .soft-card-meta {
        font-size: 10px;
    }

    .soft-card-meta i {
        font-size: 10px;
        margin-right: 2px;
    }

    .btn-soft-loadmore {
        padding: 8px 28px;
        font-size: 13px;
    }

    .soft-load-more {
        padding: 18px 0 5px;
    }
}

/* ==================== 公告条区域 ==================== */
.notice-bar {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.notice-bar-inner {
    display: flex;
    align-items: center;
    height: 36px;
    padding: 0 12px;
}

.notice-label {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-right: 12px;
    margin-right: 12px;
    border-right: 1px solid #ffe58f;
    color: #d48806;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.notice-label i {
    font-size: 15px;
    margin-right: 5px;
    animation: noticeShake 2s ease-in-out infinite;
}

@keyframes noticeShake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-12deg); }
    20% { transform: rotate(12deg); }
    40% { transform: rotate(0deg); }
}

.notice-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 36px;
    line-height: 36px;
}

.notice-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.notice-item {
    height: 36px;
    line-height: 36px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.notice-item a {
    color: #666;
    font-size: 13px;
    transition: color 0.2s;
}

.notice-item a:hover {
    color: #5db8f8;
}

.notice-more {
    flex-shrink: 0;
    padding-left: 12px;
    margin-left: 12px;
    border-left: 1px solid #ffe58f;
    color: #999;
    font-size: 12px;
    white-space: nowrap;
}

.notice-more:hover {
    color: #d48806;
}

.notice-more i {
    margin-left: 2px;
}

/* ==================== 幻灯片+用户中心区域 ==================== */
.hero-section {
    display: flex;
    align-items: stretch;
    margin-bottom: 20px;
}

.hero-carousel {
    width: calc(66.666% - 7.5px);
    flex-shrink: 0;
    margin-right: 15px;
}

.hero-carousel-box {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hero-carousel-box .carousel-inner {
    border-radius: 6px;
}

.hero-carousel-box .carousel-inner > .item {
    height: 320px;
}

.hero-carousel-box .carousel-inner > .item > a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    mix-blend-mode: overlay;
    opacity: 0.35;
}

.carousel-caption-custom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    padding: 30px 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: #fff;
    text-align: left;
}

.carousel-caption-custom h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.carousel-caption-custom p {
    font-size: 15px;
    margin: 0;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Bootstrap Carousel 覆盖样式 */
.hero-carousel-box .carousel-indicators {
    bottom: 15px;
    z-index: 15;
}

.hero-carousel-box .carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    margin: 0 4px;
    transition: all 0.3s;
}

.hero-carousel-box .carousel-indicators li.active {
    width: 24px;
    border-radius: 5px;
    background: #fff;
    border-color: #fff;
}

.hero-carousel-box .carousel-control {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.hero-carousel-box .carousel-control.left {
    left: 15px;
}

.hero-carousel-box .carousel-control.right {
    right: 15px;
}

.hero-carousel-box:hover .carousel-control {
    opacity: 1;
}

.hero-carousel-box .carousel-control:hover {
    background: rgba(93, 184, 248, 0.8);
}

.hero-carousel-box .carousel-control i {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    display: block;
    line-height: 1;
}

/* 右侧用户中心卡片 */
.hero-side {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* 幻灯片区域内的用户中心卡片 */
.hero-user-card {
    height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.hero-user-card .widget-header {
    flex-shrink: 0;
}

.hero-user-card .widget-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-user-card .welcome-text {
    margin-bottom: 12px;
}

.hero-user-card .guest-buttons {
    margin-bottom: 12px;
}

.hero-user-card .user-info-top {
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.hero-user-card .user-avatar-img {
    width: 44px;
    height: 44px;
}

.hero-user-card .user-stats {
    padding: 8px 0;
    margin-bottom: 10px;
}

.hero-user-card .stat-value {
    font-size: 15px;
}

.hero-user-card .user-action-btn {
    padding: 6px 4px;
    font-size: 11px;
}

.side-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.side-card-header {
    padding: 9px 14px;
    border-bottom: 1px solid #eaeaea;
    background: #fafafa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.side-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    position: relative;
    padding-left: 10px;
}

.side-card-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 14px;
    background: #5db8f8;
    border-radius: 2px;
}

.side-card-title i {
    color: #5db8f8;
    margin-right: 4px;
}

.side-card-hot .side-card-title i {
    color: #ff6b6b;
}

.side-card-hot .side-card-title::before {
    background: #ff6b6b;
}

.side-card-more {
    font-size: 12px;
    color: #999;
}

.side-card-more:hover {
    color: #5db8f8;
}

.side-card-body {
    padding: 5px 0;
    flex: 1;
}

.side-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-list-item {
    display: flex;
    align-items: center;
    padding: 6px 14px;
    border-bottom: 1px dashed #f0f0f0;
    transition: background 0.2s;
    cursor: pointer;
}

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

.side-list-item:hover {
    background: #f8fbfe;
}

.side-list-num {
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    margin-right: 10px;
    flex-shrink: 0;
    background: #bbb;
}

.side-list-num.top-1 {
    background: #ff6b6b;
}

.side-list-num.top-2 {
    background: #ffa94d;
}

.side-list-num.top-3 {
    background: #ffd43b;
    color: #333;
}

.side-list-title {
    flex: 1;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.side-list-title:hover {
    color: #5db8f8;
}

.side-list-date {
    font-size: 11px;
    color: #bbb;
    margin-left: 8px;
    flex-shrink: 0;
}

.side-list-count {
    font-size: 11px;
    color: #999;
    margin-left: 8px;
    flex-shrink: 0;
}

.side-list-count i {
    margin-right: 2px;
    font-size: 10px;
}

/* ==================== 主区域两栏布局 ==================== */
.main-two-col {
    display: flex;
    gap: 15px;
}

.main-col-left {
    width: 66.666%;
    flex-shrink: 0;
}

.main-col-right {
    width: 33.333%;
}

.section-placeholder {
    background: #fff;
    border: 2px dashed #eaeaea;
    border-radius: 6px;
    padding: 80px 20px;
    text-align: center;
    color: #ccc;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-placeholder i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ddd;
}

.section-placeholder p {
    font-size: 14px;
    margin: 0;
    color: #bbb;
}

.sidebar-placeholder {
    min-height: 400px;
    padding: 40px 15px;
}

/* ==================== 软件卡片瀑布流组件 ==================== */
.soft-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 12px 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #5db8f8;
}

.soft-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
}

.soft-section-title i {
    color: #5db8f8;
    margin-right: 8px;
    font-size: 18px;
}

.soft-section-more {
    font-size: 13px;
    color: #999;
    transition: color 0.25s ease;
}

.soft-section-more:hover {
    color: #5db8f8;
}

.soft-section-more i {
    margin-left: 3px;
    font-size: 12px;
}

.soft-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.soft-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.soft-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.soft-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.soft-card:hover {
    border-color: #5db8f8;
    box-shadow: 0 6px 20px rgba(93, 184, 248, 0.18);
    transform: translateY(-3px);
}

.soft-card-cover {
    position: relative;
    width: 100%;
    padding-top: 62.5%;
    overflow: hidden;
    background: #f5f5f8;
}

.soft-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f0f0f5;
    transition: transform 0.25s ease;
}

.soft-card:hover .soft-card-bg {
    transform: scale(1.02);
}

.soft-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    mix-blend-mode: overlay;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.soft-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.12) 100%);
    z-index: 2;
}

.lazyload {
    background-color: #f0f0f5;
}

.soft-card-category {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 5;
    padding: 3px 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    backdrop-filter: blur(4px);
    line-height: 1.4;
}

.soft-card-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    padding: 4px 12px 5px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    border-radius: 6px 0 6px 0;
}

.badge-最新 {
    background: linear-gradient(135deg, #5db8f8 0%, #3aa0e8 100%);
}

.badge-热门 {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.badge-推荐 {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.soft-card-body {
    padding: 12px 14px 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.soft-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 6px 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.25s ease;
}

.soft-card-link:hover .soft-card-title {
    color: #5db8f8;
}

.soft-card-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.soft-card-footer {
    padding: 8px 14px 12px;
    border-top: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px;
}

.soft-card-meta {
    font-size: 12px;
    color: #aaa;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.soft-card-meta i {
    margin-right: 4px;
    font-size: 12px;
    opacity: 0.8;
}

.soft-load-more {
    text-align: center;
    padding: 25px 0 5px;
}

.btn-soft-loadmore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 36px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 20px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-soft-loadmore i {
    margin-right: 6px;
    font-size: 14px;
}

.btn-soft-loadmore:hover {
    background: #5db8f8;
    color: #fff;
    border-color: #5db8f8;
    box-shadow: 0 4px 12px rgba(93, 184, 248, 0.3);
}

.btn-soft-loadmore:active {
    transform: scale(0.98);
}

/* ==================== 工具类 ==================== */
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: #999;
}

.text-primary {
    color: #5db8f8;
}

.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }

/* ==================== 右侧边栏组件 ==================== */
.sidebar-widget {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    overflow: hidden;
}

.widget-header {
    padding: 10px 14px;
    border-bottom: 1px solid #eaeaea;
    background: #fafafa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    position: relative;
    padding-left: 10px;
}

.widget-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 14px;
    background: #5db8f8;
    border-radius: 2px;
}

.widget-title i {
    color: #5db8f8;
    margin-right: 5px;
}

.widget-more {
    font-size: 12px;
    color: #999;
    transition: color 0.2s;
}

.widget-more:hover {
    color: #5db8f8;
}

.widget-more i {
    margin-left: 2px;
}

.widget-body {
    padding: 12px 14px;
}

/* ========== 用户登录/信息卡片 ========== */
.widget-user .widget-title i {
    color: #5db8f8;
}

/* 已登录状态 */
.user-logged-in {
    text-align: center;
}

.user-info-top {
    display: flex;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px dashed #f0f0f0;
}

.user-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    margin-right: 12px;
}

.user-avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-vip-badge {
    position: absolute;
    bottom: -2px;
    right: -4px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 8px;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(255, 179, 0, 0.4);
    white-space: nowrap;
}

.user-vip-badge i {
    font-size: 9px;
    margin-right: 1px;
}

.user-name-wrap {
    flex: 1;
    text-align: left;
    min-width: 0;
}

.user-nickname-text {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.user-vip-text {
    display: inline-block;
    font-size: 11px;
    color: #fff;
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    padding: 1px 8px;
    border-radius: 10px;
    line-height: 1.5;
}

.user-stats {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    margin-bottom: 12px;
    background: #f8fbfe;
    border-radius: 6px;
}

.user-stat-item {
    text-align: center;
    flex: 1;
}

.user-stat-item + .user-stat-item {
    border-left: 1px solid #e8f0f7;
}

.stat-value {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #5db8f8;
    line-height: 1.2;
    margin-bottom: 2px;
}

.stat-value.vip-expire {
    font-size: 13px;
    color: #ff9800;
}

.stat-label {
    font-size: 11px;
    color: #999;
}

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

.user-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 5px;
    font-size: 12px;
    color: #555;
    background: #f5f5f8;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    transition: all 0.2s;
    text-align: center;
}

.user-action-btn i {
    margin-right: 3px;
    font-size: 12px;
    color: #5db8f8;
}

.user-action-btn:hover {
    background: #5db8f8;
    color: #fff;
    border-color: #5db8f8;
}

.user-action-btn:hover i {
    color: #fff;
}

/* 未登录状态 */
.user-guest {
    text-align: center;
}

.welcome-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 14px 0;
    padding: 0 5px;
}

.guest-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.guest-buttons .btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 4px;
    transition: all 0.2s;
    font-weight: 500;
}

.guest-buttons .btn i {
    margin-right: 4px;
}

.btn-login {
    background: linear-gradient(135deg, #5db8f8 0%, #3aa0e8 100%);
    color: #fff;
    border: 1px solid #3aa0e8;
}

.btn-login:hover {
    background: linear-gradient(135deg, #3aa0e8 0%, #2d8bd1 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(93, 184, 248, 0.35);
}

.btn-register {
    background: #fff;
    color: #5db8f8;
    border: 1px solid #5db8f8;
}

.btn-register:hover {
    background: #f0f7fd;
    color: #3aa0e8;
}

.other-login {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    border-top: 1px dashed #f0f0f0;
}

.other-login-label {
    font-size: 12px;
    color: #999;
    margin-right: 10px;
}

.other-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 0 5px;
    font-size: 16px;
    color: #fff;
    transition: all 0.2s;
}

.other-login-btn.qq {
    background: #12b7f5;
}

.other-login-btn.wechat {
    background: #07c160;
}

.other-login-btn:hover {
    transform: scale(1.15);
    color: #fff;
}

/* ========== 热门下载排行 ========== */
.widget-rank .widget-title i {
    color: #ff6b6b;
}

.widget-rank .widget-title::before {
    background: #ff6b6b;
}

.sidebar-rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-rank-list .rank-item {
    display: flex;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px dashed #f0f0f0;
    transition: background 0.2s;
    cursor: pointer;
}

.sidebar-rank-list .rank-item:last-child {
    border-bottom: none;
}

.sidebar-rank-list .rank-item:hover {
    background: #f8fbfe;
    margin: 0 -14px;
    padding: 7px 14px;
}

.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    margin-right: 10px;
    flex-shrink: 0;
    background: #ccc;
}

.rank-number.rank-top {
    border-radius: 50%;
}

.rank-number.rank-top-1 {
    background: #ff6b6b;
    box-shadow: 0 2px 5px rgba(255, 107, 107, 0.35);
}

.rank-number.rank-top-2 {
    background: #ffa94d;
    box-shadow: 0 2px 5px rgba(255, 169, 77, 0.35);
}

.rank-number.rank-top-3 {
    background: #ffd43b;
    color: #333;
    box-shadow: 0 2px 5px rgba(255, 212, 59, 0.35);
}

.rank-name {
    flex: 1;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.rank-name:hover {
    color: #5db8f8;
}

.rank-downloads {
    font-size: 11px;
    color: #999;
    margin-left: 8px;
    flex-shrink: 0;
    white-space: nowrap;
}

.rank-downloads i {
    margin-right: 2px;
    font-size: 10px;
}

/* ========== 最新评论 ========== */
.widget-comments .widget-title i {
    color: #5db8f8;
}

.sidebar-comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-comment-list .comment-item {
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
    overflow: hidden;
}

.sidebar-comment-list .comment-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-comment-list .comment-item:first-child {
    padding-top: 0;
}

.comment-avatar {
    float: left;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.comment-content-wrap {
    overflow: hidden;
    min-width: 0;
}

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

.comment-username {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.comment-time {
    font-size: 11px;
    color: #bbb;
    flex-shrink: 0;
}

.comment-text {
    font-size: 12px;
    color: #777;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}

.comment-text a {
    color: #5db8f8;
    font-weight: 500;
}

.comment-text a:hover {
    color: #3aa0e8;
    text-decoration: underline;
}

/* ========== 广告/推广位 ========== */
.widget-ad {
    border: none;
    box-shadow: none;
    background: transparent;
}

.widget-ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
    border: 2px dashed #ddd;
    border-radius: 6px;
    background: #fafafa;
    color: #ccc;
    transition: all 0.2s;
}

.widget-ad-placeholder:hover {
    border-color: #5db8f8;
    background: #f0f7fd;
    color: #5db8f8;
}

.widget-ad-placeholder i {
    font-size: 28px;
    margin-bottom: 6px;
}

.widget-ad-placeholder span {
    font-size: 13px;
}

/* ========== 标签云 ========== */
.widget-tags .widget-title i {
    color: #5db8f8;
}

.sidebar-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.tag-item {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    text-decoration: none;
    line-height: 1.5;
    transition: all 0.25s ease;
    font-weight: 500;
}

.tag-item:hover {
    transform: scale(1.15);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(93, 184, 248, 0.25);
}

.tag-color-0 {
    color: #5db8f8;
    background: #e8f4fd;
    border: 1px solid #d0e8f9;
}

.tag-color-0:hover {
    color: #fff;
    background: #5db8f8;
    border-color: #5db8f8;
}

.tag-color-1 {
    color: #3aa0e8;
    background: #dceefb;
    border: 1px solid #b8dcf5;
}

.tag-color-1:hover {
    color: #fff;
    background: #3aa0e8;
    border-color: #3aa0e8;
}

.tag-color-2 {
    color: #1e88e5;
    background: #c5e1fb;
    border: 1px solid #90c8f6;
}

.tag-color-2:hover {
    color: #fff;
    background: #1e88e5;
    border-color: #1e88e5;
}

/* ==================== 侧边栏响应式适配 ==================== */
@media (max-width: 991px) {
    .main-col-right {
        width: 100%;
    }

    .sidebar-widget {
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) {
    .widget-header {
        padding: 9px 12px;
    }

    .widget-body {
        padding: 10px 12px;
    }

    .user-avatar-img {
        width: 45px;
        height: 45px;
    }

    .user-nickname-text {
        font-size: 14px;
    }

    .stat-value {
        font-size: 15px;
    }

    .guest-buttons .btn {
        padding: 7px 10px;
        font-size: 12px;
    }

    .user-action-btn {
        font-size: 11px;
        padding: 6px 3px;
    }

    .rank-name {
        font-size: 12px;
    }

    .comment-text {
        font-size: 11px;
    }

    .widget-ad-placeholder {
        height: 80px;
    }

    .sidebar-tag-cloud {
        gap: 5px;
    }

    .tag-item {
        padding: 2px 8px;
        font-size: 12px !important;
    }
}

/* ==================== 分类页面样式 ==================== */

/* 面包屑导航增强 */
.breadcrumb .current {
    color: #5db8f8;
    font-weight: 500;
}

/* 分类信息头部 */
.category-header {
    background: linear-gradient(135deg, #f0f7fd 0%, #e8f4fd 100%);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #d0e8f9;
}

.category-header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #5db8f8 0%, #3aa0e8 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(93, 184, 248, 0.3);
}

.category-icon i {
    font-size: 36px;
    color: #fff;
}

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

.category-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.category-stats {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.category-stats i {
    color: #5db8f8;
    margin-right: 4px;
}

.category-stats .divider {
    margin: 0 12px;
    color: #ccc;
}

.category-desc {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

/* 分类导航区块 */
.category-nav-section {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.category-nav-header {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.category-nav-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
}

.category-nav-title i {
    color: #5db8f8;
    margin-right: 8px;
    font-size: 16px;
}

.category-nav-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}

.category-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 8px;
    background: #f8f9fa;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    color: #555;
    text-align: center;
    transition: all 0.25s ease;
    position: relative;
    text-decoration: none;
}

.category-nav-item:hover {
    background: #fff;
    border-color: #5db8f8;
    color: #5db8f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 184, 248, 0.15);
    text-decoration: none;
}

.category-nav-item.active {
    background: linear-gradient(135deg, #5db8f8 0%, #3aa0e8 100%);
    border-color: #3aa0e8;
    color: #fff;
    box-shadow: 0 4px 12px rgba(93, 184, 248, 0.3);
}

.category-nav-item i {
    font-size: 24px;
    margin-bottom: 8px;
}

.category-nav-item span {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.category-nav-item .cat-count {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 10px;
    font-style: normal;
    background: rgba(0, 0, 0, 0.1);
    color: #666;
    padding: 1px 6px;
    border-radius: 10px;
    line-height: 1.4;
}

.category-nav-item.active .cat-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.category-nav-item:hover .cat-count {
    background: #e8f4fd;
    color: #5db8f8;
}

/* 筛选排序栏 */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.filter-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    flex-shrink: 0;
}

.subcategory-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sub-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f5f5f8;
    color: #666;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.sub-tag:hover {
    background: #e8f4fd;
    color: #5db8f8;
    text-decoration: none;
}

.sub-tag.active {
    background: #5db8f8;
    color: #fff;
    border-color: #5db8f8;
}

.filter-right {
    flex-shrink: 0;
}

.sort-group {
    display: inline-flex;
}

.btn-sort {
    padding: 6px 16px;
    font-size: 13px;
    color: #666;
    background: #f5f5f8;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    transition: all 0.2s ease;
    margin-left: -1px;
}

.sort-group .btn-sort:first-child {
    border-radius: 4px 0 0 4px;
    margin-left: 0;
}

.sort-group .btn-sort:last-child {
    border-radius: 0 4px 4px 0;
}

.btn-sort:hover {
    background: #e8f4fd;
    color: #5db8f8;
    border-color: #b8dcf5;
    z-index: 1;
}

.btn-sort.active {
    background: linear-gradient(135deg, #5db8f8 0%, #3aa0e8 100%);
    color: #fff;
    border-color: #3aa0e8;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(93, 184, 248, 0.25);
}

.btn-sort i {
    margin-right: 4px;
}

/* 分类页软件网格间距调整 */
.category-soft-grid {
    margin-bottom: 25px;
}

/* 分页组件 */
.pagination-section {
    padding: 20px 0;
}

.pagination-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pagination-info {
    font-size: 13px;
    color: #999;
}

.custom-pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    border-radius: 6px;
}

.custom-pagination li {
    list-style: none;
}

.custom-pagination li a,
.custom-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #666;
    font-size: 13px;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.custom-pagination li a:hover {
    background: #e8f4fd;
    color: #5db8f8;
    border-color: #5db8f8;
    text-decoration: none;
    z-index: 1;
}

.custom-pagination li.active a,
.custom-pagination li.active span {
    background: linear-gradient(135deg, #5db8f8 0%, #3aa0e8 100%);
    color: #fff;
    border-color: #3aa0e8;
    box-shadow: 0 2px 6px rgba(93, 184, 248, 0.3);
}

.custom-pagination li.disabled span {
    background: #fafafa;
    color: #ccc;
    cursor: not-allowed;
}

.custom-pagination li a i {
    font-size: 14px;
}

/* ==================== 分类页面响应式 ==================== */
@media (max-width: 1199px) {
    .category-nav-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 991px) {
    .category-nav-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .category-header {
        padding: 18px;
    }

    .category-icon {
        width: 64px;
        height: 64px;
        border-radius: 12px;
    }

    .category-icon i {
        font-size: 28px;
    }

    .category-name {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .category-header {
        padding: 16px;
    }

    .category-header-inner {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }

    .category-icon {
        width: 60px;
        height: 60px;
    }

    .category-icon i {
        font-size: 26px;
    }

    .category-name {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .category-stats {
        font-size: 12px;
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
    }

    .category-stats .divider {
        margin: 0 8px;
    }

    .category-desc {
        font-size: 13px;
    }

    .category-nav-section {
        padding: 14px;
    }

    .category-nav-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .category-nav-item {
        padding: 10px 4px;
    }

    .category-nav-item i {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .category-nav-item span {
        font-size: 11px;
    }

    .category-nav-item .cat-count {
        font-size: 9px;
        padding: 1px 4px;
        top: 4px;
        right: 4px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
    }

    .filter-left {
        justify-content: flex-start;
    }

    .filter-label {
        width: 100%;
        margin-bottom: 4px;
    }

    .filter-right {
        display: flex;
        justify-content: center;
    }

    .sort-group {
        width: 100%;
    }

    .btn-sort {
        flex: 1;
        padding: 8px 10px;
        font-size: 12px;
    }

    .btn-sort i {
        margin-right: 2px;
    }

    .pagination-wrap {
        gap: 10px;
    }

    .custom-pagination {
        gap: 3px;
    }

    .custom-pagination li a,
    .custom-pagination li span {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .category-nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-stats {
        flex-direction: column;
        gap: 4px;
    }

    .category-stats .divider {
        display: none;
    }
}

/* ==================== 软件详情页面样式 ==================== */

/* 面包屑增强 */
.detail-breadcrumb {
    margin-bottom: 18px;
    padding: 0;
    background: transparent;
}

/* 详情页两栏布局 */
.detail-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-main {
    width: 70%;
    flex-shrink: 0;
}

.detail-sidebar {
    width: 30%;
    flex-shrink: 0;
}

/* ==================== 软件头部信息区 ==================== */
.software-header {
    padding: 25px;
    border-radius: 8px;
}

.software-header-inner {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.software-icon-wrap {
    flex-shrink: 0;
}

.software-icon-large {
    width: 140px;
    height: 140px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.software-icon-large span {
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}

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

.software-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.software-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #666;
}

.software-meta-row .meta-item {
    display: inline-flex;
    align-items: center;
}

.software-meta-row .meta-item i {
    color: #5db8f8;
    margin-right: 5px;
    font-size: 14px;
}

.category-tag {
    display: inline-block;
    padding: 2px 10px;
    background: #e8f4fd;
    color: #5db8f8;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 4px;
    transition: all 0.2s;
}

.category-tag:hover {
    background: #5db8f8;
    color: #fff;
}

.software-stats-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.rating-wrap {
    display: flex;
    align-items: center;
}

.rating-label {
    font-size: 13px;
    color: #666;
    margin-right: 6px;
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.star-rating i {
    font-size: 16px;
}

.star-filled {
    color: #ffb800;
}

.star-empty {
    color: #ddd;
}

.rating-score {
    font-size: 15px;
    font-weight: 700;
    color: #ffb800;
    margin-left: 8px;
}

.software-stats-row .stat-item {
    font-size: 13px;
    color: #999;
    display: inline-flex;
    align-items: center;
}

.software-stats-row .stat-item i {
    margin-right: 4px;
    color: #bbb;
}

/* ==================== 下载按钮区域 ==================== */
.download-section {
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.download-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 15px;
}

.btn-download-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 50px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    min-width: 240px;
}

.btn-download-detail:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-download-detail i {
    font-size: 24px;
}

.btn-normal {
    background: linear-gradient(135deg, #5db8f8 0%, #3aa0e8 100%);
}

.btn-normal:hover {
    background: linear-gradient(135deg, #3aa0e8 0%, #2d8bd1 100%);
    box-shadow: 0 8px 25px rgba(93, 184, 248, 0.4);
}

.btn-vip {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 50%, #ff6600 100%);
    position: relative;
    overflow: hidden;
}

.btn-vip::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: vipShine 3s infinite;
}

@keyframes vipShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.btn-vip:hover {
    background: linear-gradient(135deg, #ffed4a 0%, #ffa500 50%, #ff7700 100%);
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.5);
}

.vip-badge {
    position: absolute;
    top: 8px;
    right: -28px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 30px;
    transform: rotate(45deg);
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.download-tip {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.download-tip i {
    color: #ffb800;
}

.qrcode-area {
    display: flex;
    justify-content: center;
}

.qrcode-placeholder {
    text-align: center;
}

.qrcode-box {
    width: 110px;
    height: 110px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px auto;
    background: #fafafa;
    transition: all 0.2s;
}

.qrcode-box i {
    font-size: 48px;
    color: #bbb;
}

.qrcode-placeholder:hover .qrcode-box {
    border-color: #5db8f8;
    background: #f0f7fd;
}

.qrcode-placeholder:hover .qrcode-box i {
    color: #5db8f8;
}

.qrcode-placeholder p {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* ==================== 截图展示区 ==================== */
.screenshots-section {
    border-radius: 8px;
    overflow: hidden;
}

.screenshots-section .card-header {
    padding: 14px 20px;
}

.screenshots-section .card-body {
    padding: 20px;
}

.screenshot-main {
    margin-bottom: 15px;
}

.screenshot-large {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.screenshot-placeholder {
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.screenshot-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.screenshot-thumbs::-webkit-scrollbar {
    height: 6px;
}

.screenshot-thumbs::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.screenshot-thumbs::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.screenshot-thumb {
    flex-shrink: 0;
    width: 140px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.25s ease;
}

.screenshot-thumb:hover {
    border-color: #b8dcf5;
    transform: translateY(-2px);
}

.screenshot-thumb.active {
    border-color: #5db8f8;
    box-shadow: 0 4px 12px rgba(93, 184, 248, 0.3);
}

.thumb-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-inner span {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* ==================== Tab选项卡样式 ==================== */
.detail-tabs-section {
    border-radius: 8px;
    overflow: hidden;
}

.detail-tabs {
    background: #fafafa;
    border-bottom: 1px solid #eaeaea;
}

.tab-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 15px;
}

.tab-item {
    padding: 15px 25px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tab-item:hover {
    color: #5db8f8;
    background: #f0f7fd;
}

.tab-item.active {
    color: #5db8f8;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5db8f8, #3aa0e8);
    border-radius: 3px 3px 0 0;
}

.tab-content {
    padding: 25px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 软件介绍内容样式 */
.software-description {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
}

.software-description p {
    margin-bottom: 15px;
}

.software-description p:last-child {
    margin-bottom: 0;
}

.software-description ul {
    margin: 15px 0;
    padding-left: 5px;
    list-style: none;
}

.software-description ul li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
}

.software-description ul li i {
    position: absolute;
    left: 0;
    top: 9px;
    color: #5db8f8;
    font-size: 14px;
}

.software-description strong {
    color: #333;
    font-weight: 600;
}

/* 更新日志 */
.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.changelog-item {
    padding-left: 20px;
    border-left: 3px solid #5db8f8;
    position: relative;
}

.changelog-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 5px;
    width: 13px;
    height: 13px;
    background: #fff;
    border: 3px solid #5db8f8;
    border-radius: 50%;
}

.changelog-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.changelog-version {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.changelog-date {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.changelog-date i {
    font-size: 12px;
}

.changelog-content {
    list-style: none;
    margin: 0;
    padding: 0;
}

.changelog-content li {
    font-size: 14px;
    color: #666;
    padding: 4px 0 4px 22px;
    position: relative;
    line-height: 1.7;
}

.changelog-content li i {
    position: absolute;
    left: 0;
    top: 8px;
    color: #43e97b;
    font-size: 13px;
}

/* 历史版本表格 */
.version-table {
    width: 100%;
    border-collapse: collapse;
}

.version-table th {
    background: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    border-bottom: 2px solid #eaeaea;
}

.version-table td {
    padding: 12px 15px;
    font-size: 13px;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.version-table tr:hover td {
    background: #f8fbfe;
}

.version-num {
    font-weight: 600;
    color: #333;
}

.btn-download-small {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    background: linear-gradient(135deg, #5db8f8 0%, #3aa0e8 100%);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-download-small:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(93, 184, 248, 0.35);
}

/* ==================== 评论区样式 ==================== */
.comments-section {
    border-radius: 8px;
    overflow: hidden;
}

.comments-section .card-header {
    padding: 14px 20px;
}

.comment-count {
    font-size: 13px;
    color: #999;
}

.comments-section .card-body {
    padding: 20px;
}

/* 发表评论 */
.comment-form-area {
    background: #f8fbfe;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 25px;
    border: 1px solid #e8f4fd;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.form-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.comment-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    resize: vertical;
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
    background: #fff;
}

.comment-textarea:focus {
    border-color: #5db8f8;
    box-shadow: 0 0 0 3px rgba(93, 184, 248, 0.12);
}

.comment-textarea::placeholder {
    color: #bbb;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.form-tip {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-tip i {
    color: #5db8f8;
}

.btn-submit-comment {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 28px;
    background: linear-gradient(135deg, #5db8f8 0%, #3aa0e8 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit-comment:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(93, 184, 248, 0.35);
}

/* 评论列表 */
.comment-list {
    display: flex;
    flex-direction: column;
}

.comment-detail-item {
    display: flex;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}

.comment-detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.comment-avatar-wrap {
    flex-shrink: 0;
}

.comment-avatar-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.comment-main {
    flex: 1;
    min-width: 0;
}

.comment-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.comment-nickname {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.comment-rating {
    display: flex;
    gap: 1px;
}

.comment-rating i {
    font-size: 12px;
}

.comment-date {
    font-size: 12px;
    color: #bbb;
}

.comment-text-content {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
    word-break: break-word;
}

.comment-actions {
    display: flex;
    gap: 20px;
}

.comment-action-btn {
    font-size: 12px;
    color: #999;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.comment-action-btn:hover {
    color: #5db8f8;
    text-decoration: none;
}

/* 评论分页 */
.comment-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #666;
    font-size: 13px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.page-btn:hover {
    background: #e8f4fd;
    color: #5db8f8;
    border-color: #5db8f8;
    text-decoration: none;
}

.page-btn.active {
    background: linear-gradient(135deg, #5db8f8 0%, #3aa0e8 100%);
    color: #fff;
    border-color: #3aa0e8;
}

.page-btn.disabled {
    background: #fafafa;
    color: #ccc;
    cursor: not-allowed;
}

.page-ellipsis {
    color: #ccc;
    padding: 0 4px;
}

/* ==================== 侧边栏样式 ==================== */
.sidebar-soft-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-soft-item {
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.sidebar-soft-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-soft-item:first-child {
    padding-top: 0;
}

.sidebar-soft-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
}

.sidebar-soft-link:hover {
    background: #f8fbfe;
    text-decoration: none;
    color: inherit;
}

.sidebar-soft-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9);
}

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

.sidebar-soft-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.sidebar-soft-link:hover .sidebar-soft-name {
    color: #5db8f8;
}

.sidebar-soft-downloads {
    font-size: 11px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 3px;
}

.sidebar-soft-downloads i {
    font-size: 10px;
}

/* 猜你喜欢网格 */
.guess-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.guess-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 6px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.guess-item:hover {
    background: #f0f7fd;
    border-color: #d0e8f9;
    text-decoration: none;
    transform: translateY(-2px);
}

.guess-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 20px;
    color: #fff;
}

.guess-name {
    font-size: 12px;
    color: #555;
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
}

.guess-item:hover .guess-name {
    color: #5db8f8;
}

/* 广告位大尺寸 */
.widget-ad-large {
    padding: 0;
}

.ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 250px;
    border: 2px dashed #ddd;
    border-radius: 6px;
    background: #fafafa;
    color: #ccc;
    transition: all 0.2s;
}

.ad-placeholder:hover {
    border-color: #5db8f8;
    background: #f0f7fd;
    color: #5db8f8;
}

.ad-placeholder i {
    font-size: 42px;
    margin-bottom: 10px;
}

.ad-placeholder span {
    font-size: 15px;
    font-weight: 500;
}

.ad-placeholder small {
    font-size: 11px;
    margin-top: 6px;
    opacity: 0.8;
}

/* ==================== 详情页响应式 ==================== */
@media (max-width: 991px) {
    .detail-container {
        flex-direction: column;
    }

    .detail-main {
        width: 100%;
    }

    .detail-sidebar {
        width: 100%;
    }

    .software-header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .software-info-main {
        width: 100%;
    }

    .software-title {
        font-size: 24px;
        text-align: center;
    }

    .software-meta-row {
        justify-content: center;
    }

    .software-stats-row {
        justify-content: center;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-download-detail {
        width: 100%;
        max-width: 350px;
        padding: 16px 30px;
        font-size: 18px;
    }

    .screenshot-large {
        height: 280px;
    }

    .tab-nav {
        padding: 0 10px;
    }

    .tab-item {
        padding: 12px 15px;
        font-size: 14px;
    }

    .guess-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .software-header {
        padding: 18px;
    }

    .software-icon-large {
        width: 110px;
        height: 110px;
        border-radius: 16px;
    }

    .software-icon-large span {
        font-size: 28px;
    }

    .software-title {
        font-size: 20px;
    }

    .software-meta-row {
        gap: 10px;
        font-size: 12px;
    }

    .software-stats-row {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .download-section {
        padding: 18px;
    }

    .btn-download-detail {
        min-width: auto;
        padding: 14px 25px;
        font-size: 16px;
    }

    .btn-download-detail i {
        font-size: 20px;
    }

    .vip-badge {
        font-size: 10px;
        padding: 1px 25px;
    }

    .download-tip {
        font-size: 12px;
    }

    .screenshots-section .card-body {
        padding: 15px;
    }

    .screenshot-large {
        height: 200px;
    }

    .screenshot-placeholder {
        font-size: 18px;
    }

    .screenshot-thumb {
        width: 110px;
        height: 70px;
    }

    .thumb-inner span {
        font-size: 11px;
    }

    .tab-content {
        padding: 18px 15px;
    }

    .tab-nav {
        overflow-x: auto;
    }

    .tab-item {
        padding: 12px 14px;
        font-size: 13px;
        white-space: nowrap;
    }

    .tab-item i {
        display: none;
    }

    .software-description {
        font-size: 13px;
    }

    .version-table {
        font-size: 12px;
    }

    .version-table th,
    .version-table td {
        padding: 10px 8px;
    }

    .comments-section .card-body {
        padding: 15px;
    }

    .comment-form-area {
        padding: 14px;
    }

    .comment-detail-item {
        gap: 10px;
    }

    .comment-avatar-large {
        width: 40px;
        height: 40px;
    }

    .comment-info {
        gap: 8px;
    }

    .comment-nickname {
        font-size: 13px;
    }

    .comment-text-content {
        font-size: 13px;
    }

    .form-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .btn-submit-comment {
        justify-content: center;
        width: 100%;
    }

    .page-btn {
        min-width: 30px;
        height: 30px;
        padding: 0 8px;
        font-size: 12px;
    }

    .guess-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ad-placeholder {
        height: 180px;
    }

    .ad-placeholder i {
        font-size: 32px;
    }

    .ad-placeholder span {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .software-meta-row {
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }

    .screenshot-large {
        height: 180px;
    }

    .screenshot-placeholder {
        font-size: 16px;
    }

    .screenshot-thumb {
        width: 90px;
        height: 58px;
    }

    .comment-detail-item {
        flex-direction: column;
        gap: 8px;
    }

    .comment-avatar-wrap {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .comment-info {
        margin-bottom: 4px;
    }

    .guess-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .changelog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* ==================== 详情页补充样式 ==================== */

/* 详情头部 - 简短介绍 */
.software-brief {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 软件标签 */
.software-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.software-tags .tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 4px;
    transition: all 0.2s;
}

.software-tags .tag i {
    font-size: 11px;
}

.tag-free {
    background: #e8f8f0;
    color: #27ae60;
    border: 1px solid #b8e6cc;
}

.tag-free:hover {
    background: #27ae60;
    color: #fff;
    border-color: #27ae60;
}

.tag-safe {
    background: #e8f4fd;
    color: #5db8f8;
    border: 1px solid #d0e8f9;
}

.tag-safe:hover {
    background: #5db8f8;
    color: #fff;
    border-color: #5db8f8;
}

.tag-clean {
    background: #fef5e7;
    color: #f39c12;
    border: 1px solid #fde5b5;
}

.tag-clean:hover {
    background: #f39c12;
    color: #fff;
    border-color: #f39c12;
}

/* 下载操作区域 */
.download-action-area {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.download-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

/* 收藏、分享按钮 */
.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #666;
}

.btn-action:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-favorite {
    border-color: #ffd0d0;
    color: #e74c3c;
}

.btn-favorite:hover {
    background: #fff5f5;
    color: #e74c3c;
    border-color: #e74c3c;
}

.btn-favorite.favorited {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: #fff;
    border-color: #ee5a24;
}

.btn-favorite.favorited i {
    animation: heartBeat 0.5s ease;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1); }
    75% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.btn-share {
    border-color: #d0e8f9;
    color: #5db8f8;
}

.btn-share:hover {
    background: #f0f7fd;
    color: #3aa0e8;
    border-color: #5db8f8;
}

/* ==================== Lightbox 截图查看 ==================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.show {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 900px;
    animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(93, 184, 248, 0.8);
}

.lightbox-image {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.lightbox-placeholder {
    font-size: 36px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.lightbox-caption {
    text-align: center;
    color: #fff;
    font-size: 15px;
    margin-top: 15px;
    opacity: 0.9;
}

/* ==================== 分享模态框 ==================== */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
}

.share-modal.show {
    display: flex;
}

.share-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.share-content {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    min-width: 340px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: shareIn 0.3s ease;
}

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

.share-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #f5f5f8;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.share-close:hover {
    background: #eee;
    color: #666;
}

.share-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    text-align: center;
}

.share-options {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.share-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: #666;
    transition: all 0.25s ease;
    min-width: 70px;
}

.share-item:hover {
    text-decoration: none;
    transform: translateY(-3px);
}

.share-item i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.share-item span {
    font-size: 12px;
    color: #666;
}

.share-item.weibo i {
    background: linear-gradient(135deg, #e6162d 0%, #ff6b6b 100%);
}

.share-item.wechat i {
    background: linear-gradient(135deg, #07c160 0%, #00d676 100%);
}

.share-item.qq i {
    background: linear-gradient(135deg, #12b7f5 0%, #00d4ff 100%);
}

.share-item.qzone i {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
}

.share-item:hover span {
    color: #333;
}

/* ==================== 登录提示 ==================== */
.login-prompt {
    text-align: center;
    padding: 20px;
}

.login-prompt i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 10px;
    display: block;
}

.login-prompt p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.login-prompt a {
    color: #5db8f8;
    font-weight: 500;
}

.login-prompt a:hover {
    color: #3aa0e8;
    text-decoration: underline;
}

/* ==================== 截图缩略图增强样式 ==================== */
.screenshot-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.screenshot-main {
    margin-top: 15px;
}

/* ==================== 详情页补充响应式 ==================== */
@media (max-width: 991px) {
    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-image {
        height: 380px;
    }

    .lightbox-placeholder {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .software-brief {
        font-size: 13px;
        text-align: center;
        margin: 10px 0;
    }

    .software-tags {
        justify-content: center;
    }

    .download-action-area {
        margin-top: 20px;
        padding-top: 15px;
    }

    .download-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-action {
        width: 100%;
        max-width: 350px;
        padding: 12px 20px;
    }

    .lightbox-content {
        width: 95%;
    }

    .lightbox-image {
        height: 250px;
    }

    .lightbox-placeholder {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }

    .lightbox-close {
        top: -40px;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .share-content {
        min-width: auto;
        width: 90%;
        padding: 25px 20px;
    }

    .share-options {
        gap: 10px;
    }

    .share-item {
        padding: 10px;
        min-width: 60px;
    }

    .share-item i {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .lightbox-image {
        height: 200px;
    }

    .lightbox-placeholder {
        font-size: 18px;
    }

    .share-options {
        gap: 8px;
    }

    .share-item {
        padding: 8px 5px;
        min-width: 55px;
    }

    .share-item i {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .share-item span {
        font-size: 11px;
    }
}

/* ==================== 个人中心页面样式 ==================== */

.user-panel-wrap {
    margin-bottom: 30px;
}

/* 用户资料横幅 */
.user-banner {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.35);
}

.banner-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
}

.banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
}

.user-profile-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-avatar-large {
    position: relative;
    flex-shrink: 0;
}

.user-avatar-large img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    object-fit: cover;
    background: #fff;
}

.vip-crown-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(255, 170, 0, 0.5);
    animation: crownPulse 2s ease-in-out infinite;
}

@keyframes crownPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 3px 10px rgba(255, 170, 0, 0.5); }
    50% { transform: scale(1.1); box-shadow: 0 5px 15px rgba(255, 170, 0, 0.7); }
}

.user-info-main {
    color: #fff;
}

.user-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.user-name-text {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.vip-label-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 50%, #ff8c00 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(255, 170, 0, 0.4);
}

.vip-label-badge i {
    font-size: 11px;
}

.normal-label-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.user-bio-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 4px 0;
}

.vip-expire-text {
    font-size: 12px;
    color: rgba(255, 215, 0, 0.95);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-stats-banner {
    display: flex;
    gap: 25px;
    align-items: center;
}

.banner-stat-item {
    text-align: center;
    color: #fff;
}

.stat-value-row {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.stat-amount {
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-recharge-mini {
    padding: 4px 14px;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.btn-recharge-mini:hover {
    background: #fff;
    color: #667eea;
    border-color: #fff;
    transform: scale(1.05);
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    display: block;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stat-name {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-top: 2px;
}

.btn-edit-profile {
    position: absolute;
    top: 25px;
    right: 15px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 5;
}

.btn-edit-profile:hover {
    background: #fff;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Tab导航 */
.user-tabs-wrap {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    overflow: hidden;
}

.user-tabs-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.user-tabs-scroll::-webkit-scrollbar {
    height: 0;
    display: none;
}

.user-tabs-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 10px;
    min-width: max-content;
}

.user-tabs-nav li {
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-tabs-nav li i {
    font-size: 14px;
}

.user-tabs-nav li:hover {
    color: #667eea;
}

.user-tabs-nav li.active {
    color: #667eea;
}

.user-tabs-nav li.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px 3px 0 0;
    animation: tabLineIn 0.3s ease;
}

@keyframes tabLineIn {
    from { width: 0; opacity: 0; }
    to { width: 40px; opacity: 1; }
}

/* Tab内容 */
.user-tab-content {
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: tabFadeIn 0.4s ease;
}

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

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 两栏布局 */
.user-two-col {
    display: flex;
    gap: 20px;
}

.user-col-left {
    width: 70%;
    flex-shrink: 0;
}

.user-col-right {
    width: 30%;
    flex-shrink: 0;
}

/* 面板卡片 */
.user-panel-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    overflow: hidden;
}

.panel-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-card-title i {
    color: #667eea;
    font-size: 16px;
}

.card-more-link {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.card-more-link:hover {
    color: #667eea;
    text-decoration: none;
}

.panel-card-body {
    padding: 20px;
}

/* VIP会员专区 */
.vip-section {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 30%, #ffa502 70%, #ff7f50 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(255, 165, 2, 0.3);
}

.vip-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
    border-radius: 50%;
}

.vip-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    border-radius: 50%;
}

.vip-section-header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.vip-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.vip-diamond-icon {
    font-size: 42px;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: diamondShine 3s ease-in-out infinite;
}

@keyframes diamondShine {
    0%, 100% { transform: rotate(-5deg) scale(1); }
    50% { transform: rotate(5deg) scale(1.1); }
}

.vip-header-left h3 {
    font-size: 22px;
    font-weight: 700;
    color: #7a4200;
    margin: 0 0 4px 0;
}

.vip-header-left p {
    font-size: 13px;
    color: rgba(122, 66, 0, 0.75);
    margin: 0;
}

.btn-view-all-vip {
    padding: 8px 20px;
    background: linear-gradient(135deg, #7a4200 0%, #a0522d 100%);
    color: #ffd700;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 2;
}

.btn-view-all-vip:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(122, 66, 0, 0.4);
}

.vip-plans-row {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 15px;
}

.vip-plan-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.vip-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.vip-plan-card.recommended {
    background: #fff;
    border-color: #ff6b6b;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.vip-plan-card.recommended:hover {
    transform: scale(1.08) translateY(-5px);
}

.plan-tag {
    position: absolute;
    top: -1px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px 6px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.4);
}

.plan-header {
    margin-bottom: 12px;
}

.plan-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 4px 0;
}

.plan-duration {
    font-size: 12px;
    color: #999;
}

.plan-price {
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.price-symbol {
    font-size: 16px;
    font-weight: 600;
    color: #ff6b6b;
}

.price-value {
    font-size: 36px;
    font-weight: 800;
    color: #ff6b6b;
    line-height: 1;
}

.price-original {
    font-size: 13px;
    color: #ccc;
    text-decoration: line-through;
    margin-left: 6px;
}

.plan-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    text-align: left;
}

.plan-benefits li {
    font-size: 12px;
    color: #666;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.plan-benefits li i {
    color: #27ae60;
    font-size: 11px;
}

.btn-vip-subscribe {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #ffa502 0%, #ff7f50 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-vip-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 127, 80, 0.5);
}

.vip-plan-card.recommended .btn-vip-subscribe {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

/* VIP已开通卡片 */
.vip-active-card {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 50%, #ff8c00 100%);
}

.vip-active-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.vip-badge-large {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fff 0%, #fff9e6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(122, 66, 0, 0.3);
    flex-shrink: 0;
    animation: vipBadgeFloat 3s ease-in-out infinite;
}

@keyframes vipBadgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.vip-badge-large i {
    font-size: 34px;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vip-active-info {
    flex: 1;
}

.vip-active-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #7a4200;
    margin: 0 0 4px 0;
}

.vip-active-info p {
    font-size: 13px;
    color: rgba(122, 66, 0, 0.8);
    margin: 0;
}

.btn-vip-renew {
    padding: 10px 24px;
    background: linear-gradient(135deg, #7a4200 0%, #a0522d 100%);
    color: #ffd700;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-vip-renew:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(122, 66, 0, 0.4);
}

/* 最近下载 */
.recent-download-list {
    display: flex;
    flex-direction: column;
}

.download-item-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f8;
    gap: 12px;
    transition: all 0.2s;
}

.download-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.download-item-row:hover {
    background: #f8fbfe;
    margin: 0 -20px;
    padding: 12px 20px;
}

.download-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.download-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.download-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.download-item-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

.download-item-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.download-item-meta i {
    font-size: 11px;
}

.btn-redownload {
    padding: 6px 14px;
    background: #f0f7fd;
    color: #667eea;
    border: 1px solid #d0e8f9;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.btn-redownload:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

/* 快速操作 */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.quick-action-btn {
    padding: 16px 10px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.quick-action-btn i {
    font-size: 24px;
    color: #667eea;
    transition: all 0.3s;
}

.quick-action-btn span {
    font-size: 12px;
}

.quick-action-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.quick-action-btn:hover i {
    color: #fff;
    transform: scale(1.1);
}

.quick-action-btn.checked-in {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: #fff;
    border-color: transparent;
}

.quick-action-btn.checked-in i {
    color: #fff;
}

/* 推广入口卡片 */
.promo-entry-card {
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.3);
}

.promo-entry-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 40%);
}

.promo-entry-content {
    position: relative;
    z-index: 2;
}

.promo-entry-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    animation: giftBounce 2s ease-in-out infinite;
}

@keyframes giftBounce {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

.promo-entry-icon i {
    font-size: 28px;
    color: #fff;
}

.promo-entry-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.promo-entry-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.promo-entry-reward {
    margin-bottom: 18px;
}

.reward-amount {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
}

.reward-amount span {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-promo-entry {
    padding: 10px 28px;
    background: #fff;
    color: #11998e;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-promo-entry:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* 空状态 */
.empty-state-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #ccc;
}

.empty-state-placeholder i {
    font-size: 56px;
    margin-bottom: 15px;
    display: block;
}

.empty-state-placeholder p {
    font-size: 14px;
    color: #999;
    margin: 0;
}

/* 设置菜单 */
.settings-menu-list {
    display: flex;
    flex-direction: column;
}

.settings-menu-item {
    display: flex;
    align-items: center;
    padding: 16px 5px;
    border-bottom: 1px solid #f5f5f8;
    color: #555;
    font-size: 15px;
    transition: all 0.2s;
}

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

.settings-menu-item i:first-child {
    width: 32px;
    font-size: 18px;
    color: #667eea;
    text-align: center;
}

.settings-menu-item span {
    flex: 1;
}

.settings-menu-item .fa-angle-right {
    color: #ccc;
    font-size: 16px;
    transition: all 0.2s;
}

.settings-menu-item:hover {
    color: #667eea;
    background: #f8fbfe;
    margin: 0 -20px;
    padding: 16px 25px;
    text-decoration: none;
}

.settings-menu-item:hover .fa-angle-right {
    color: #667eea;
    transform: translateX(3px);
}

/* VIP开通页面 */
.vip-page-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.vip-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 50%, #ff8c00 100%);
    padding: 1px;
}

.vip-benefit-item {
    background: #fff;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.vip-benefit-item:hover {
    background: #fff9e6;
}

.benefit-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(255, 170, 0, 0.3);
}

.benefit-icon-wrap i {
    font-size: 24px;
    color: #fff;
}

.vip-benefit-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin: 0 0 6px 0;
}

.vip-benefit-item p {
    font-size: 12px;
    color: #999;
    margin: 0;
    line-height: 1.5;
}

.section-title-center {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin: 0;
    padding: 30px 20px 20px;
    position: relative;
}

.section-title-center::before,
.section-title-center::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700);
}

.section-title-center::before {
    right: calc(50% + 80px);
}

.section-title-center::after {
    left: calc(50% + 80px);
    background: linear-gradient(90deg, #ffd700, transparent);
}

.vip-page-plans {
    padding: 0 30px;
}

.vip-page-plans-row {
    gap: 20px;
    padding-bottom: 10px;
}

.vip-page-plan {
    padding: 25px 20px;
}

.btn-vip-subscribe.selected-plan {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* 支付方式 */
.payment-section {
    padding: 0 30px 30px;
    margin-top: 20px;
}

.payment-methods {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.payment-methods h4 {
    width: 100%;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    margin: 0 0 15px 0;
}

.payment-method-item {
    cursor: pointer;
    position: relative;
}

.payment-method-item input {
    position: absolute;
    opacity: 0;
}

.payment-method-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: 2px solid #eee;
    border-radius: 12px;
    background: #fafafa;
    transition: all 0.3s ease;
}

.payment-method-item:hover .payment-method-content {
    border-color: #667eea;
    background: #f8fbfe;
}

.payment-method-item.selected .payment-method-content {
    border-color: #667eea;
    background: #f0f7fd;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
}

.payment-icon-alipay {
    font-size: 28px;
    color: #1677ff;
}

.payment-icon-wechat {
    font-size: 28px;
    color: #07c160;
}

.payment-method-content span {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.check-icon {
    color: #ccc;
    font-size: 18px;
    margin-left: 8px;
    transition: all 0.3s;
}

.payment-method-item.selected .check-icon {
    color: #27ae60;
}

.payment-submit-area {
    text-align: center;
}

.btn-vip-pay-now {
    padding: 16px 60px;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 50%, #ff6b6b 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-vip-pay-now::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: payShine 3s infinite;
}

@keyframes payShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.btn-vip-pay-now:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.5);
}

.payment-tips {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.payment-tips i {
    color: #27ae60;
}

/* 在线充值页面 */
.recharge-section {
    max-width: 650px;
    margin: 0 auto;
}

.recharge-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 30px;
}

.recharge-balance-show {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    margin-bottom: 25px;
}

.balance-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
}

.balance-value {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.recharge-amount-area {
    margin-bottom: 25px;
}

.recharge-amount-area h4,
.payment-methods h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.recharge-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}

.recharge-amount-btn {
    padding: 18px 10px;
    background: #f8f9fa;
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.recharge-amount-btn:hover {
    border-color: #667eea;
    background: #f0f7fd;
    transform: translateY(-2px);
}

.recharge-amount-btn.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
    transform: translateY(-2px);
}

.amount-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.recharge-amount-btn.selected .amount-value {
    color: #fff;
}

.amount-bonus {
    display: block;
    font-size: 11px;
    color: #ff6b6b;
    margin-top: 4px;
    font-weight: 500;
}

.recharge-amount-btn.selected .amount-bonus {
    color: #ffd700;
}

.custom-amount-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-amount-row label {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.custom-input-wrap {
    position: relative;
    flex: 1;
}

.input-prefix {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 600;
    color: #999;
}

.custom-input-wrap input {
    width: 100%;
    padding: 12px 14px 12px 32px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.custom-input-wrap input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.recharge-payments {
    margin-bottom: 20px;
}

.recharge-notes {
    background: #fff9e6;
    border: 1px solid #ffe58f;
    border-radius: 10px;
    padding: 15px 18px;
    margin-bottom: 25px;
}

.recharge-notes h5 {
    font-size: 14px;
    font-weight: 600;
    color: #d48806;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.recharge-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recharge-notes ul li {
    font-size: 12px;
    color: #874d00;
    padding: 3px 0;
    padding-left: 12px;
    position: relative;
}

.recharge-notes ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #d48806;
}

.btn-recharge-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}

.btn-recharge-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.45);
}

/* 推广中心页面 */
.promo-page-section {
    background: transparent;
}

.promo-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.promo-stat-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.promo-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.promo-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stat-gradient-blue::before {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.stat-gradient-green::before {
    background: linear-gradient(90deg, #11998e, #38ef7d);
}

.stat-gradient-orange::before {
    background: linear-gradient(90deg, #f093fb, #f5576c);
}

.stat-gradient-gold::before {
    background: linear-gradient(90deg, #ffd700, #ff8c00);
}

.promo-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-gradient-blue .promo-stat-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-gradient-green .promo-stat-icon {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.stat-gradient-orange .promo-stat-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-gradient-gold .promo-stat-icon {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
}

.promo-stat-icon i {
    font-size: 24px;
    color: #fff;
}

.promo-stat-info {
    flex: 1;
}

.promo-stat-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #333;
    line-height: 1.2;
    margin-bottom: 4px;
}

.promo-stat-value.highlight {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-stat-label {
    font-size: 12px;
    color: #999;
}

/* 推广链接卡片 */
.promo-link-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    overflow: hidden;
}

.promo-link-header {
    padding: 18px 25px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.promo-link-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.promo-link-header h3 i {
    font-size: 18px;
}

.promo-link-body {
    padding: 25px;
}

.promo-link-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.promo-link-row label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.promo-link-input-wrap {
    flex: 1;
    display: flex;
    gap: 10px;
}

.promo-link-input-wrap input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 13px;
    color: #666;
    background: #f8f9fa;
    outline: none;
}

.btn-copy-link {
    padding: 10px 20px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.btn-copy-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 153, 142, 0.4);
}

.btn-copy-link.copied {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.promo-qrcode-section {
    display: flex;
    gap: 30px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px dashed #e0e0e0;
}

.qrcode-wrap {
    text-align: center;
}

.qrcode-placeholder {
    width: 140px;
    height: 140px;
    border: 2px dashed #11998e;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f0fff4;
    margin-bottom: 10px;
}

.qrcode-placeholder i {
    font-size: 48px;
    color: #11998e;
    margin-bottom: 5px;
}

.qrcode-placeholder span {
    font-size: 11px;
    color: #11998e;
}

.qrcode-tip {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.promo-share-btns {
    flex: 1;
}

.share-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.share-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
    margin-bottom: 8px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-qq {
    background: linear-gradient(135deg, #12b7f5, #00d4ff);
}

.share-qzone {
    background: linear-gradient(135deg, #ffd700, #ffa500);
}

.share-wechat {
    background: linear-gradient(135deg, #07c160, #00d676);
}

.share-weibo {
    background: linear-gradient(135deg, #e6162d, #ff6b6b);
}

/* 推广规则 */
.promo-rules-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 25px;
    margin-bottom: 20px;
}

.promo-rules-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.promo-rules-card h3 i {
    color: #11998e;
}

.promo-rules-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rule-num {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.rule-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 28px;
}

.rule-item p strong {
    color: #ff6b6b;
    font-weight: 700;
}

/* 推广记录 */
.promo-records-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    overflow: hidden;
}

.promo-records-header {
    padding: 18px 25px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-records-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.promo-records-header h3 i {
    color: #667eea;
}

.promo-records-table-wrap {
    padding: 0 25px 20px;
    overflow-x: auto;
}

.promo-records-table {
    width: 100%;
    border-collapse: collapse;
}

.promo-records-table th {
    text-align: left;
    padding: 15px 0;
    font-size: 13px;
    font-weight: 600;
    color: #999;
    border-bottom: 2px solid #f0f0f0;
}

.promo-records-table td {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #f5f5f8;
}

.promo-records-table tr:last-child td {
    border-bottom: none;
}

.promo-records-table td i {
    color: #11998e;
    margin-right: 8px;
    font-size: 16px;
}

.reward-amount-cell {
    color: #ff6b6b !important;
    font-weight: 700;
}

/* 提现区域 */
.withdraw-action-area {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 50%, #ff8c00 100%);
    border-radius: 16px;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 30px rgba(255, 170, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.withdraw-action-area::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    border-radius: 50%;
}

.withdraw-info {
    position: relative;
    z-index: 2;
}

.withdraw-available {
    font-size: 16px;
    color: rgba(122, 66, 0, 0.9);
}

.withdraw-available strong {
    font-size: 32px;
    font-weight: 800;
    color: #7a4200;
    margin: 0 4px;
}

.withdraw-history-link {
    font-size: 13px;
    color: rgba(122, 66, 0, 0.7);
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.withdraw-history-link:hover {
    color: #7a4200;
    text-decoration: none;
}

.btn-withdraw-apply {
    position: relative;
    z-index: 2;
    padding: 14px 40px;
    background: linear-gradient(135deg, #7a4200 0%, #a0522d 100%);
    color: #ffd700;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(122, 66, 0, 0.4);
}

.btn-withdraw-apply:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(122, 66, 0, 0.5);
}

/* ==================== 个人中心响应式适配 ==================== */
@media (max-width: 1199px) {
    .user-banner {
        height: auto;
        padding-bottom: 20px;
        border-radius: 0 0 16px 16px;
    }

    .banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 25px 20px 15px;
    }

    .user-stats-banner {
        width: 100%;
        justify-content: space-around;
    }

    .btn-edit-profile {
        top: 20px;
        right: 20px;
    }

    .vip-page-plans {
        padding: 0 20px;
    }

    .payment-section {
        padding: 0 20px 25px;
    }
}

@media (max-width: 991px) {
    .user-two-col {
        flex-direction: column;
    }

    .user-col-left,
    .user-col-right {
        width: 100%;
    }

    .vip-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vip-page-plans-row {
        flex-direction: column;
        gap: 15px;
    }

    .vip-plan-card.recommended {
        transform: none;
    }

    .vip-plan-card.recommended:hover {
        transform: translateY(-5px);
    }

    .promo-qrcode-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .user-banner {
        border-radius: 0 0 14px 14px;
    }

    .banner-content {
        padding: 20px 15px 15px;
        gap: 15px;
    }

    .user-profile-section {
        gap: 15px;
    }

    .user-avatar-large img {
        width: 75px;
        height: 75px;
        border-width: 3px;
    }

    .vip-crown-badge {
        width: 26px;
        height: 26px;
        font-size: 11px;
        border-width: 2px;
    }

    .user-name-text {
        font-size: 20px;
    }

    .user-bio-text {
        font-size: 12px;
    }

    .vip-label-badge,
    .normal-label-badge {
        padding: 2px 10px;
        font-size: 11px;
    }

    .user-stats-banner {
        gap: 10px;
    }

    .banner-stat-item {
        flex: 1;
    }

    .stat-amount,
    .stat-number {
        font-size: 18px;
    }

    .stat-name {
        font-size: 11px;
    }

    .btn-recharge-mini {
        padding: 3px 10px;
        font-size: 11px;
    }

    .btn-edit-profile {
        position: static;
        align-self: flex-end;
        margin-top: -50px;
        padding: 5px 12px;
        font-size: 11px;
    }

    .user-tabs-nav li {
        padding: 14px 16px;
        font-size: 14px;
    }

    .user-tabs-nav li i {
        display: none;
    }

    .vip-section {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .vip-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 15px;
    }

    .vip-diamond-icon {
        font-size: 32px;
    }

    .vip-header-left h3 {
        font-size: 18px;
    }

    .vip-header-left p {
        font-size: 12px;
    }

    .btn-view-all-vip {
        width: 100%;
        justify-content: center;
    }

    .vip-plans-row {
        flex-direction: column;
        gap: 12px;
    }

    .vip-plan-card {
        padding: 18px 15px;
    }

    .vip-plan-card.recommended {
        transform: none;
        order: -1;
    }

    .vip-plan-card.recommended:hover {
        transform: translateY(-3px);
    }

    .price-value {
        font-size: 32px;
    }

    .vip-active-inner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .vip-badge-large {
        width: 60px;
        height: 60px;
    }

    .vip-badge-large i {
        font-size: 28px;
    }

    .btn-vip-renew {
        width: 100%;
        justify-content: center;
    }

    .panel-card-header {
        padding: 14px 15px;
    }

    .panel-card-body {
        padding: 15px;
    }

    .download-item-row {
        flex-wrap: wrap;
    }

    .download-item-row:hover {
        margin: 0 -15px;
        padding: 12px 15px;
    }

    .download-item-icon {
        width: 40px;
        height: 40px;
    }

    .download-item-name {
        font-size: 13px;
    }

    .download-item-meta {
        gap: 10px;
        font-size: 11px;
    }

    .btn-redownload {
        width: 100%;
        margin-top: 8px;
        justify-content: center;
    }

    .quick-actions-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .quick-action-btn {
        padding: 12px 5px;
    }

    .quick-action-btn i {
        font-size: 20px;
    }

    .quick-action-btn span {
        font-size: 11px;
    }

    .promo-entry-card {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .promo-entry-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }

    .promo-entry-icon i {
        font-size: 22px;
    }

    .promo-entry-content h3 {
        font-size: 18px;
    }

    .reward-amount span {
        font-size: 24px;
    }

    .btn-promo-entry {
        padding: 9px 24px;
        font-size: 13px;
    }

    .vip-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vip-benefit-item {
        padding: 20px 12px;
    }

    .benefit-icon-wrap {
        width: 48px;
        height: 48px;
    }

    .benefit-icon-wrap i {
        font-size: 20px;
    }

    .vip-benefit-item h4 {
        font-size: 14px;
    }

    .section-title-center {
        font-size: 18px;
        padding: 25px 15px 15px;
    }

    .section-title-center::before,
    .section-title-center::after {
        display: none;
    }

    .payment-method-content {
        padding: 12px 20px;
    }

    .btn-vip-pay-now {
        width: 100%;
        padding: 14px 30px;
        font-size: 17px;
    }

    .recharge-card {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .recharge-balance-show {
        padding: 20px;
    }

    .balance-value {
        font-size: 34px;
    }

    .recharge-amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recharge-amount-btn {
        padding: 15px 10px;
    }

    .amount-value {
        font-size: 20px;
    }

    .custom-amount-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-recharge-submit {
        padding: 14px;
        font-size: 16px;
    }

    .promo-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .promo-stat-card {
        padding: 15px;
        gap: 10px;
    }

    .promo-stat-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .promo-stat-icon i {
        font-size: 20px;
    }

    .promo-stat-value {
        font-size: 20px;
    }

    .promo-link-header {
        padding: 15px 20px;
    }

    .promo-link-body {
        padding: 20px 15px;
    }

    .promo-link-row {
        flex-direction: column;
        align-items: stretch;
    }

    .promo-link-input-wrap {
        flex-direction: column;
    }

    .btn-copy-link {
        justify-content: center;
    }

    .qrcode-placeholder {
        width: 120px;
        height: 120px;
    }

    .qrcode-placeholder i {
        font-size: 40px;
    }

    .share-btn {
        padding: 8px 15px;
        font-size: 12px;
        margin-right: 8px;
    }

    .promo-rules-card {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .rule-num {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .rule-item p {
        font-size: 13px;
        line-height: 24px;
    }

    .promo-records-header {
        padding: 15px;
    }

    .promo-records-table-wrap {
        padding: 0 15px 15px;
    }

    .withdraw-action-area {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        text-align: center;
        border-radius: 12px;
    }

    .withdraw-available {
        font-size: 14px;
    }

    .withdraw-available strong {
        font-size: 28px;
    }

    .withdraw-history-link {
        display: block;
        margin: 8px 0 0 0;
    }

    .btn-withdraw-apply {
        width: 100%;
        justify-content: center;
        padding: 12px 30px;
        font-size: 16px;
    }

    .settings-menu-item:hover {
        margin: 0 -15px;
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .banner-content {
        padding: 15px 12px 12px;
    }

    .user-profile-section {
        gap: 12px;
    }

    .user-avatar-large img {
        width: 65px;
        height: 65px;
    }

    .vip-crown-badge {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }

    .user-name-text {
        font-size: 18px;
    }

    .user-name-row {
        gap: 8px;
        flex-wrap: wrap;
    }

    .vip-label-badge,
    .normal-label-badge {
        padding: 2px 8px;
        font-size: 10px;
    }

    .btn-edit-profile {
        padding: 4px 10px;
        font-size: 10px;
        margin-top: -45px;
    }

    .user-stats-banner {
        gap: 5px;
    }

    .stat-value-row {
        flex-direction: column;
        gap: 4px;
    }

    .stat-amount,
    .stat-number {
        font-size: 16px;
    }

    .stat-name {
        font-size: 10px;
    }

    .btn-recharge-mini {
        padding: 2px 8px;
        font-size: 10px;
    }

    .user-tabs-nav li {
        padding: 12px 12px;
        font-size: 13px;
    }

    .vip-section {
        padding: 15px 12px;
    }

    .vip-header-left {
        gap: 10px;
    }

    .vip-diamond-icon {
        font-size: 28px;
    }

    .vip-header-left h3 {
        font-size: 16px;
    }

    .price-value {
        font-size: 28px;
    }

    .quick-actions-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .quick-action-btn {
        padding: 10px 3px;
        gap: 5px;
    }

    .quick-action-btn i {
        font-size: 18px;
    }

    .quick-action-btn span {
        font-size: 10px;
    }

    .vip-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
    }

    .vip-benefit-item {
        padding: 15px 10px;
    }

    .benefit-icon-wrap {
        width: 42px;
        height: 42px;
        margin-bottom: 8px;
    }

    .benefit-icon-wrap i {
        font-size: 18px;
    }

    .vip-benefit-item h4 {
        font-size: 13px;
    }

    .vip-benefit-item p {
        font-size: 11px;
    }

    .payment-methods {
        flex-direction: column;
    }

    .payment-method-content {
        justify-content: center;
    }

    .recharge-amount-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .recharge-amount-btn {
        padding: 12px 8px;
    }

    .amount-value {
        font-size: 18px;
    }

    .promo-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .promo-stat-card {
        padding: 12px;
        gap: 8px;
    }

    .promo-stat-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .promo-stat-icon i {
        font-size: 18px;
    }

    .promo-stat-value {
        font-size: 18px;
    }

    .promo-stat-label {
        font-size: 11px;
    }

    .promo-qrcode-section {
        align-items: center;
    }

    .share-btn {
        padding: 7px 12px;
        font-size: 11px;
        margin-right: 6px;
        margin-bottom: 6px;
    }
}

/* ==================== 登录注册页面样式 ==================== */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 160px);
    padding: 40px 15px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px 35px;
    animation: authCardFadeIn 0.4s ease;
}

.auth-card-register {
    max-width: 460px;
}

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

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

.auth-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #5db8f8, #3aa0e8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(93, 184, 248, 0.3);
}

.auth-logo i {
    font-size: 28px;
    color: #fff;
}

.auth-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.auth-subtitle {
    font-size: 14px;
    color: #999;
    margin: 0;
}

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

.auth-input-group {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 0 1px #e0e0e0;
    transition: all 0.3s ease;
}

.auth-input-group:focus-within {
    box-shadow: 0 0 0 2px rgba(93, 184, 248, 0.3);
}

.auth-input-addon {
    background: #f8f9fb;
    border: none;
    color: #999;
    padding: 12px 15px;
    font-size: 16px;
    transition: color 0.3s;
    cursor: pointer;
    min-width: 46px;
    text-align: center;
}

.auth-input-group:focus-within .auth-input-addon {
    color: #5db8f8;
    background: #f0f8ff;
}

.auth-input-addon.auth-toggle-password {
    cursor: pointer;
    user-select: none;
}

.auth-input-addon.auth-toggle-password:hover {
    color: #5db8f8;
}

.auth-input {
    border: none;
    height: auto;
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
    background: #fff;
    box-shadow: none !important;
    border-radius: 0;
}

.auth-input:focus {
    border: none;
    box-shadow: none !important;
    background: #fff;
}

.auth-input::placeholder {
    color: #bbb;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px !important;
}

.auth-checkbox-label {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    position: relative;
    padding-left: 24px;
    margin: 0;
    font-weight: normal;
}

.auth-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.auth-checkbox-custom {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 1.5px solid #ddd;
    border-radius: 3px;
    background: #fff;
    transition: all 0.2s;
}

.auth-checkbox-label input[type="checkbox"]:checked + .auth-checkbox-custom {
    background: #5db8f8;
    border-color: #5db8f8;
}

.auth-checkbox-label input[type="checkbox"]:checked + .auth-checkbox-custom::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.auth-forgot-link {
    font-size: 13px;
    color: #999;
    transition: color 0.2s;
}

.auth-forgot-link:hover {
    color: #5db8f8;
    text-decoration: none;
}

.auth-link {
    color: #5db8f8;
}

.auth-link:hover {
    color: #3aa0e8;
    text-decoration: none;
}

.auth-submit-btn {
    width: 100%;
    height: 46px;
    background: linear-gradient(135deg, #5db8f8, #3aa0e8);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(93, 184, 248, 0.3);
}

.auth-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(93, 184, 248, 0.4);
    background: linear-gradient(135deg, #6bc0f9, #42a8eb);
    color: #fff;
}

.auth-submit-btn:active {
    transform: translateY(0);
}

.auth-submit-btn:disabled,
.auth-submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.auth-register-btn {
    width: 100%;
    height: 42px;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    color: #666;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.auth-register-btn:hover {
    border-color: #5db8f8;
    color: #5db8f8;
    background: #f8fcff;
    text-decoration: none;
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #eee;
}

.auth-divider span {
    position: relative;
    background: #fff;
    padding: 0 15px;
    color: #999;
    font-size: 13px;
}

.auth-alert {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.auth-alert i {
    font-size: 15px;
    flex-shrink: 0;
}

.auth-alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.auth-alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.auth-help-block {
    display: none;
}

/* 移动端适配 */
@media (max-width: 576px) {
    .auth-card {
        padding: 30px 20px;
        border-radius: 10px;
    }

    .auth-logo {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .auth-logo i {
        font-size: 24px;
    }

    .auth-title {
        font-size: 20px;
    }

    .auth-submit-btn {
        height: 44px;
        font-size: 15px;
    }

    .auth-register-btn {
        height: 40px;
        font-size: 14px;
    }

    .auth-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

