/* ===============================================
   全局样式和CSS变量
   =============================================== */
:root {
    /* 颜色主题 - 浅色模式 */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --accent-color: #f59e0b;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-hover: #e2e8f0;
    
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* 深色模式 */
body.dark-mode {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-hover: #475569;
    
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    
    --border-color: #334155;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

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

/* ===============================================
   顶部导航栏
   =============================================== */
.header {
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 10px rgba(99, 102, 241, 0.35)) 
            drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover .logo-icon {
    filter: drop-shadow(0 6px 16px rgba(99, 102, 241, 0.5)) 
            drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
    transform: scale(1.05) translateY(-1px);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

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

.logo-subtitle {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* 一级导航 */
.primary-nav {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.nav-link {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.nav-link i {
    font-size: 16px;
}

.nav-link:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.nav-link.has-dropdown .dropdown-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-link.has-dropdown.open .dropdown-icon {
    transform: rotate(180deg);
}

/* 二级导航 - 分类下拉菜单 */
.secondary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.secondary-nav.show {
    max-height: 300px;
    opacity: 1;
    padding: 20px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition);
    text-align: center;
}

.category-item i {
    font-size: 28px;
    color: var(--primary-color);
}

.category-item span {
    font-size: 14px;
    font-weight: 600;
}

.category-item:hover {
    background: var(--bg-hover);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.category-item:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.category-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--primary-color);
    color: white;
}

.category-item.active i {
    color: white;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.5);
}

.login-btn i {
    font-size: 16px;
}

/* 已登录状态的按钮样式 - 移至文件末尾统一定义 */



@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}



.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-secondary);
    background: var(--bg-secondary);
}

.theme-toggle:hover {
    background: var(--bg-hover);
    color: var(--primary-color);
}

/* ===============================================
   导航栏搜索框
   =============================================== */
.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    width: 300px;
    transition: var(--transition);
}

.header-search:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.header-search i {
    color: var(--text-tertiary);
    font-size: 14px;
}

.header-search #searchInput {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-primary);
    min-width: 0;
    padding: 0;
}

.header-search #searchInput::placeholder {
    color: var(--text-tertiary);
}

.header-search .search-btn {
    padding: 6px 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.header-search .search-btn:hover {
    background: var(--primary-dark);
}

.header-search .search-btn i {
    color: white;
    font-size: 12px;
}

/* ===============================================
   面包屑导航
   =============================================== */
.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.breadcrumb a:hover {
    text-decoration: underline;
}

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

/* ===============================================
   轮播图
   =============================================== */
.banner-section {
    padding: 24px 0;
}

.banner-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    cursor: pointer; /* 鼠标指针变为手型 */
    pointer-events: none; /* 禁用非活动slide的点击事件 */
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto; /* 只有活动slide可以点击 */
}

/* 轮播图悬停效果 */
.banner-slide:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease; /* 平滑过渡效果 */
}

.banner-slide-content {
    display: none; /* 隐藏文字区域 */
}

/* 轮播箭头 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

/* 轮播指示器 */
.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.banner-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.banner-indicator.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

.banner-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ===============================================
   主内容区域
   =============================================== */
.main-content {
    padding: 24px 0 60px;
    min-height: 70vh;
}

/* 加载指示器 */
.loading-indicator {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

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

.loading-indicator p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* 壁纸网格布局 */
.wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 350px;
    gap: 20px;
}

/* 壁纸卡片 */
.wallpaper-card {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.wallpaper-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.wallpaper-card.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.card-image-container {
    position: relative;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.wallpaper-card:hover .card-image-container img {
    transform: scale(1.05);
}

/* 图片加载占位 */
.card-image-container::before {
    content: '';
    display: block;
    padding-top: 100%; /* 1:1 比例 */
}

.card-image-container img {
    position: absolute;
    top: 0;
    left: 0;
}

/* 卡片叠加层 */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.wallpaper-card:hover .card-overlay {
    opacity: 1;
}

.card-title {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-author {
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid white;
}

.card-stats {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 12px;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
}

.wallpaper-card:hover .card-stats {
    opacity: 1;
    transform: translateY(0);
}

.stat-item {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-item i {
    font-size: 14px;
}

/* 头像模块特殊布局 */
.avatar-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.avatar-card {
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    background: var(--bg-secondary);
}

.avatar-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.avatar-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 头像弹窗 */
.avatar-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    padding: 40px;
    overflow-y: auto;
}

.avatar-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.avatar-modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

.avatar-modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.avatar-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--text-primary);
}

.avatar-modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.avatar-modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.avatar-modal-body {
    padding: 24px;
}

.avatar-modal-image {
    width: 80%;
    max-width: 400px;
    height: auto;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: block;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.avatar-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.avatar-modal-actions button {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.btn-copy {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-copy:hover {
    background: var(--bg-tertiary);
}

/* ===============================================
   登录/注册弹窗
   =============================================== */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10001;
    padding: 20px;
    overflow-y: auto;
}

.auth-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.auth-modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    max-width: 450px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

.auth-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-secondary);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.auth-modal-close:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.auth-container {
    padding: 40px 30px 30px;
}

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

.auth-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px;
}

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

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary-color);
    font-size: 16px;
}

.form-group input {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
}

.form-group input::placeholder {
    color: var(--text-tertiary);
}

.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input input {
    flex: 1;
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-top: -5px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-submit-btn {
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.5);
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: 10px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    background: var(--bg-primary);
    padding: 0 15px;
    color: var(--text-secondary);
    font-size: 13px;
}

.third-party-login {
    display: flex;
    gap: 12px;
}

.third-party-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.third-party-btn:hover {
    border-color: var(--primary-color);
    background: var(--bg-hover);
}

.third-party-btn.wechat {
    color: #07c160;
}

.third-party-btn.wechat:hover {
    border-color: #07c160;
    background: rgba(7, 193, 96, 0.1);
}

.third-party-btn.qq {
    color: #12b7f5;
}

.third-party-btn.qq:hover {
    border-color: #12b7f5;
    background: rgba(18, 183, 245, 0.1);
}

.third-party-btn i {
    font-size: 18px;
}

.auth-switch {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 5px;
}

.auth-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

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

/* 响应式 - 登录弹窗 */
@media (max-width: 480px) {
    .auth-modal-content {
        max-width: 100%;
        border-radius: var(--radius-lg);
    }
    
    .auth-container {
        padding: 30px 20px 20px;
    }
    
    .auth-header h2 {
        font-size: 24px;
    }
    
    .third-party-login {
        flex-direction: column;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* 响应式布局 - 头像模块 */
@media (max-width: 1200px) {
    .avatar-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 992px) {
    .avatar-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .avatar-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .avatar-modal {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .avatar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* 加载更多按钮 */
.load-more-container {
    text-align: center;
    padding: 40px 0;
}

.load-more-btn {
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* 无结果提示 */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.no-results i {
    font-size: 64px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

/* 没有更多内容提示 */
.no-more-content {
    text-align: center;
    padding: 40px 20px 60px;
    color: var(--text-secondary);
}

.no-more-content i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 16px;
    opacity: 0.8;
}

.no-more-content p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ===============================================
   模态框
   =============================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    animation: modalFadeIn 0.3s ease;
}

.modal.active {
    display: block;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.modal-content {
    position: relative;
    max-width: 1400px;
    margin: 40px auto;
    height: calc(100vh - 80px);
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.modal-body {
    display: flex;
    height: 100%;
    gap: 0;
}

/* 模态框图片容器 */
.modal-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: imageZoomIn 0.4s ease;
}

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

/* 图片导航按钮 */
.image-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

/* 模态框信息面板 */
.modal-info {
    width: 400px;
    background: var(--bg-primary);
    overflow-y: auto;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal-info::-webkit-scrollbar {
    width: 6px;
}

.modal-info::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.modal-info::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.info-header h2 {
    font-size: 24px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.author-info img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-username {
    font-size: 14px;
    color: var(--text-secondary);
}

.info-details {
    display: flex;
    gap: 20px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.detail-item i {
    color: var(--primary-color);
}

.info-description h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.info-description p {
    line-height: 1.6;
    color: var(--text-primary);
}

/* 下载选项 */
.download-options h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.resolution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.resolution-btn {
    padding: 16px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.resolution-btn:hover {
    border-color: var(--primary-color);
    background: var(--bg-hover);
    transform: translateY(-2px);
}

.resolution-btn.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: transparent;
    color: white;
}

.resolution-btn.featured:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.resolution-btn i {
    font-size: 24px;
    color: var(--primary-color);
}

.resolution-btn.featured i {
    color: var(--accent-color);
}

.resolution-btn span {
    font-weight: 600;
    font-size: 14px;
}

.resolution-btn small {
    font-size: 12px;
    color: var(--text-tertiary);
}

.resolution-btn.featured small {
    color: rgba(255,255,255,0.8);
}

/* ===============================================
   广告位样式
   =============================================== */
.ad-slot {
    margin: 24px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: none; /* 隐藏广告位 */
}

.ad-placeholder {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 2px dashed #cbd5e0;
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    color: #718096;
    transition: var(--transition);
}

.ad-placeholder:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #e0e7ff 0%, #cfd9ff 100%);
}

.ad-placeholder i {
    font-size: 36px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.ad-placeholder p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #4a5568;
}

.ad-placeholder small {
    font-size: 12px;
    color: #718096;
}

/* 广告位类型 */
.ad-banner-top {
    margin-top: 0;
    margin-bottom: 20px;
}

.ad-banner-top .ad-placeholder {
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ad-banner-top .ad-placeholder i {
    font-size: 28px;
    margin-bottom: 8px;
}

.ad-banner-top .ad-placeholder p {
    font-size: 14px;
    margin-bottom: 4px;
}

.ad-rectangle .ad-placeholder {
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-recommendation {
    margin-bottom: 0;
}

.ad-recommendation .ad-placeholder {
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 真实广告内容样式（预留） */
.ad-content {
    width: 100%;
    height: 100%;
    display: none; /* 默认隐藏，有广告时显示 */
}

.ad-slot.has-ad .ad-placeholder {
    display: none;
}

.ad-slot.has-ad .ad-content {
    display: block;
}

/* 模态框操作按钮 */
.modal-actions {
    display: flex;
    gap: 12px;
}

.action-btn {
    flex: 1;
    padding: 12px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--bg-hover);
}

/* ===============================================
   页脚
   =============================================== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 24px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 32px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-section h3 {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

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

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

.footer-section ul li a {
    color: var(--text-secondary);
}

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

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-secondary);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ===============================================
   响应式设计
   =============================================== */
@media (max-width: 1200px) {
    .modal-body {
        flex-direction: column;
    }
    
    .modal-info {
        width: 100%;
        max-height: 40vh;
    }
    
    .modal-image-container {
        height: 60vh;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .primary-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .primary-nav::-webkit-scrollbar {
        display: none;
    }
    
    .nav-link span {
        font-size: 13px;
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .category-item {
        padding: 12px 8px;
    }
    
    .category-item i {
        font-size: 24px;
    }
    
    .category-item span {
        font-size: 12px;
    }
    
    .header-search {
        width: 200px;
    }
    
    .login-btn span {
        display: none;
    }
    
    .login-btn {
        padding: 8px 12px;
    }
    
    /* 轮播图响应式 */
    .banner-carousel {
        height: 350px;
    }
    
    .banner-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .banner-prev {
        left: 10px;
    }
    
    .banner-next {
        right: 10px;
    }
    
    .wallpaper-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 16px;
    }
    
    .modal-content {
        margin: 0;
        height: 100vh;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
    }
    
    .resolution-grid {
        grid-template-columns: 1fr;
    }
    
    .resolution-btn.featured {
        grid-column: span 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .logo-subtitle {
        display: none;
    }
    
    .logo:hover .logo-icon {
        transform: scale(1.03);
    }
    
    .header-search {
        width: 100%;
        order: 3;
    }
    
    /* 轮播图移动端 */
    .banner-carousel {
        height: 280px;
        border-radius: var(--radius-md);
    }
    
    .banner-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .banner-indicator {
        width: 8px;
        height: 8px;
    }
    
    .banner-indicator.active {
        width: 24px;
    }
    
    .wallpaper-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-info {
        padding: 20px;
    }
    
    .info-details {
        flex-direction: column;
        gap: 12px;
    }
}

/* ===============================================
   成功通知弹窗
   =============================================== */
.success-notification {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    z-index: 100000;
    min-width: 400px;
    max-width: 90vw;
    animation: slideDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    backdrop-filter: blur(10px);
}

.success-notification.show {
    animation: slideDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.success-notification.hide {
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes slideDown {
    from {
        top: -200px;
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
    to {
        top: 80px;
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

@keyframes slideUp {
    from {
        top: 80px;
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    to {
        top: -200px;
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.notification-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.notification-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 2s infinite;
}

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

.notification-icon i {
    position: relative;
    z-index: 1;
    animation: iconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes iconPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.notification-text {
    flex: 1;
}

.notification-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.notification-message {
    font-size: 14px;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.5;
}

.notification-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 14px;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .success-notification {
        min-width: auto;
        width: calc(100% - 32px);
        padding: 20px 24px;
    }
    
    @keyframes slideDown {
        from {
            top: -200px;
            opacity: 0;
            transform: translateX(-50%) scale(0.8);
        }
        to {
            top: 20px;
            opacity: 1;
            transform: translateX(-50%) scale(1);
        }
    }
    
    @keyframes slideUp {
        from {
            top: 20px;
            opacity: 1;
            transform: translateX(-50%) scale(1);
        }
        to {
            top: -200px;
            opacity: 0;
            transform: translateX(-50%) scale(0.8);
        }
    }
    
    .notification-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
    
    .notification-title {
        font-size: 16px;
    }
    
    .notification-message {
        font-size: 13px;
    }
}


/* 响应式调整 - 移至文件末尾统一定义 */

/* ============================================= */
/* 登录按钮头像样式 */
/* ============================================= */
.login-btn.logged-in {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 10px 4px 4px;
    position: relative;
    width: auto !important;
    height: 44px;
    min-width: auto;
}



.user-avatar-img {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.user-avatar-text {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .user-avatar-img,
    .user-avatar-text {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px;
        min-height: 32px;
        font-size: 14px;
    }
    
    .login-btn.logged-in {
        padding: 3px 8px 3px 3px;
        gap: 4px;
        height: 38px;
    }
}

/* 用户昵称显示 */
.user-nickname {
    font-size: 14px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 响应式：移动端隐藏昵称 */
@media (max-width: 768px) {
    .user-nickname {
        display: none;
    }
}

/* ===============================================
   自定义确认对话框
   =============================================== */
.custom-confirm {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-confirm.show {
    opacity: 1;
    visibility: visible;
}

.custom-confirm.show .confirm-dialog {
    transform: scale(1);
    opacity: 1;
}

.confirm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.confirm-dialog {
    position: relative;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.confirm-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.confirm-icon i {
    font-size: 32px;
    color: white;
}

.confirm-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 16px;
}

.confirm-message {
    font-size: 15px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 28px;
}

.confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirm-btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.confirm-cancel {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.confirm-cancel:hover {
    background: var(--bg-hover);
    transform: translateY(-1px);
}

.confirm-ok {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.confirm-ok:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.confirm-ok:active,
.confirm-cancel:active {
    transform: scale(0.98);
}

/* 响应式 */
@media (max-width: 768px) {
    .confirm-dialog {
        padding: 24px;
        max-width: 340px;
    }
    
    .confirm-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
    }
    
    .confirm-icon i {
        font-size: 28px;
    }
    
    .confirm-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .confirm-message {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .confirm-buttons {
        flex-direction: column;
    }
    
    .confirm-btn {
        width: 100%;
        min-width: auto;
    }
}

/* ===============================================
   公告和反馈模态框样式
   =============================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-secondary);
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.modal-header i {
    color: var(--primary-color);
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-hover);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

/* 公告列表样式 */
.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.announcement-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.announcement-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.announcement-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.announcement-content {
    flex: 1;
}

.announcement-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.announcement-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.announcement-date {
    font-size: 12px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.announcement-date::before {
    content: '📅';
}

/* 反馈表单样式 */
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feedback-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feedback-form label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feedback-form label i {
    color: var(--primary-color);
    width: 16px;
}

.feedback-form select,
.feedback-form input,
.feedback-form textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition);
    font-family: inherit;
}

.feedback-form select:focus,
.feedback-form input:focus,
.feedback-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.feedback-form textarea {
    resize: vertical;
    min-height: 120px;
}

.feedback-submit-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.feedback-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feedback-submit-btn:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 16px;
    }
    
    .modal-header h2 {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .announcement-item {
        flex-direction: column;
        padding: 16px;
    }
    
    .announcement-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* ===============================================
   头部操作按钮样式（公告、反馈）
   =============================================== */

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.action-btn i {
    font-size: 16px;
}

.action-btn:hover {
    background: var(--bg-hover);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.action-btn:active {
    transform: translateY(0);
}

/* 公告按钮特殊效果 */
#announcementBtn:hover {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 142, 83, 0.1));
    border-color: #ff6b6b;
    color: #ff6b6b;
}

#announcementBtn i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* 反馈按钮特殊效果 */
#feedbackBtn:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(124, 58, 237, 0.1));
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 响应式：隐藏文字，只显示图标 */
@media (max-width: 1024px) {
    .action-btn span {
        display: none;
    }
    
    .action-btn {
        padding: 8px 12px;
    }
}

/* 小屏幕：优化按钮间距 */
@media (max-width: 768px) {
    .action-btn {
        padding: 6px 10px;
        border: none;
    }
    
    .action-btn i {
        font-size: 18px;
    }
}

/* ===============================================
   反馈表单增强样式
   =============================================== */

/* 反馈介绍区域 */
.feedback-intro {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(124, 58, 237, 0.1));
    border-left: 4px solid var(--primary-color);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.feedback-intro p {
    margin: 0;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
}

/* 必填和可选标记 */
.required-mark {
    color: #e74c3c;
    font-weight: bold;
    margin-left: 4px;
}

.optional-mark {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: normal;
    margin-left: 4px;
}

/* 表单提示文字 */
.form-hint {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.4;
}

/* 字符计数器 */
.char-counter {
    text-align: right;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

.char-counter #charCount {
    color: var(--primary-color);
    font-weight: 600;
}

/* 反馈提示区域 */
.feedback-tips {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.tip-item i {
    color: var(--primary-color);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* 反馈底部信息 */
.feedback-footer {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.feedback-footer small {
    color: var(--text-muted);
    font-size: 12px;
}

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

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

/* 优化选择框选项 */
.feedback-form select option {
    padding: 10px;
    font-size: 14px;
}

/* 优化文本域 */
.feedback-form textarea {
    font-family: inherit;
    line-height: 1.6;
}

.feedback-form textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .feedback-intro {
        padding: 12px;
        font-size: 13px;
    }
    
    .feedback-tips {
        padding: 12px;
    }
    
    .tip-item {
        font-size: 12px;
    }
    
    .tip-item i {
        font-size: 14px;
    }
}

/* ===============================================
   文件上传区域样式
   =============================================== */

/* 反馈模态框内容宽度优化 */
.feedback-modal-content {
    max-width: 700px !important;
}

/* 文件上传区域 */
.file-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.file-upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.file-upload-area.dragover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.file-upload-area:hover .upload-icon {
    transform: scale(1.1);
}

.upload-text {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
}

.upload-hint {
    color: var(--text-muted);
    font-size: 12px;
}

.file-input {
    display: none;
}

/* 文件列表 */
.file-list {
    margin-top: 16px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    animation: slideInDown 0.3s ease;
}

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

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.file-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.file-details {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    margin-bottom: 2px;
}

.file-size {
    color: var(--text-muted);
    font-size: 12px;
}

.file-remove {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.file-remove:hover {
    background: #c0392b;
    transform: scale(1.05);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .feedback-modal-content {
        max-width: 95% !important;
        margin: 10px;
    }
    
    .file-upload-area {
        padding: 20px 15px;
    }
    
    .upload-icon {
        font-size: 36px;
    }
    
    .upload-text {
        font-size: 14px;
    }
    
    .upload-hint {
        font-size: 11px;
    }
    
    .file-item {
        padding: 10px 12px;
    }
    
    .file-name {
        font-size: 13px;
    }
}

/* ===============================================
   反馈表单布局优化
   =============================================== */

/* 表单行（两列布局） */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
}

/* 反馈表单优化 */
.feedback-form .form-group {
    margin-bottom: 20px;
}

.feedback-form label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.feedback-form label i {
    font-size: 16px;
    color: var(--primary-color);
}

.feedback-form select,
.feedback-form input[type="email"],
.feedback-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.feedback-form select:focus,
.feedback-form input:focus,
.feedback-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.feedback-form textarea {
    resize: vertical;
    line-height: 1.6;
    min-height: 120px;
}

/* 文件上传区域优化 */
.file-upload-area {
    padding: 24px 20px;
}

.upload-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.upload-text {
    font-size: 14px;
    margin-bottom: 4px;
}

.upload-hint {
    font-size: 11px;
}

/* 提交按钮优化 */
.feedback-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), #764ba2);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.feedback-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.feedback-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* 响应式：移动端单列显示 */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row .form-group {
        margin-bottom: 0;
    }
    
    .feedback-form textarea {
        min-height: 100px;
    }
    
    .file-upload-area {
        padding: 20px 15px;
    }
    
    .upload-icon {
        font-size: 32px;
    }
}

/* ===============================================
   反馈类型单选按钮样式
   =============================================== */

/* 单选按钮容器 - 横向平铺 */
.feedback-type-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

/* 单选选项 */
.radio-option {
    position: relative;
    cursor: pointer;
    display: block;
    flex: 1;
    min-width: 120px;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.radio-icon {
    font-size: 22px;
    flex-shrink: 0;
}

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

/* 悬停效果 */
.radio-option:hover .radio-label {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

/* 选中状态 */
.radio-option input[type="radio"]:checked + .radio-label {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(124, 58, 237, 0.1));
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.radio-option input[type="radio"]:checked + .radio-label .radio-text {
    color: var(--primary-color);
    font-weight: 600;
}

/* 添加选中标记 */
.radio-option input[type="radio"]:checked + .radio-label::after {
    content: '✓';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
}

/* 响应式：移动端自适应 */
@media (max-width: 768px) {
    .feedback-type-options {
        gap: 10px;
    }
    
    .radio-option {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
    }
    
    .radio-label {
        padding: 10px 12px;
        gap: 6px;
    }
    
    .radio-icon {
        font-size: 18px;
    }
    
    .radio-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .radio-option {
        flex: 1 1 100%;
    }
}

/* ===============================================
   登录提示模态框样式
   =============================================== */

/* 模态框容器 */
.login-prompt-modal {
    z-index: 10000;
}

.login-prompt-modal .modal-overlay {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

/* 登录提示内容 */
.login-prompt-content {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 20px;
    padding: 48px 40px;
    width: 90%;
    max-width: 450px;
    margin: auto;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    animation: loginPromptSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

@keyframes loginPromptSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 图标 */
.login-prompt-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 8px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.08);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 
            0 2px 8px rgba(0, 0, 0, 0.06),
            0 8px 24px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
    50% {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 
            0 4px 12px rgba(0, 0, 0, 0.08),
            0 12px 32px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
}

.login-prompt-icon i {
    font-size: 36px;
    color: #64748b;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* 标题 */
.login-prompt-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 24px 0;
    line-height: 1.4;
}

/* 好处列表 */
.login-prompt-benefits {
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    animation: benefitSlideIn 0.5s ease-out backwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }

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

.benefit-item:hover {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.06),
        0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateX(4px) translateY(-2px);
}

.benefit-item i {
    font-size: 18px;
    color: #64748b;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.benefit-item span {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

/* 按钮组 */
.login-prompt-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.login-prompt-buttons button {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login-now {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #1e293b;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-weight: 600;
}

.btn-login-now:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.1),
        0 8px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

.btn-login-now:active {
    transform: translateY(0);
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-cancel {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-cancel:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.12);
}

/* 响应式 */
@media (max-width: 768px) {
    .login-prompt-content {
        padding: 32px 24px;
        max-width: 90%;
    }
    
    .login-prompt-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .login-prompt-icon i {
        font-size: 32px;
    }
    
    .login-prompt-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .benefit-item {
        padding: 10px 14px;
    }
    
    .benefit-item i {
        font-size: 16px;
    }
    
    .benefit-item span {
        font-size: 14px;
    }
    
    .login-prompt-buttons {
        flex-direction: column;
    }
    
    .login-prompt-buttons button {
        width: 100%;
    }
}

/* ===============================================
   成功提示模态框样式
   =============================================== */

/* 模态框容器 */
.success-modal {
    z-index: 10000;
}

.success-modal .modal-overlay {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

/* 成功提示内容 */
.success-modal-content {
    position: relative;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    width: 90%;
    max-width: 420px;
    margin: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: successSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

@keyframes successSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-30px);
    }
    60% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 成功图标 */
.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    animation: successIconPulse 1.5s ease-in-out infinite;
    position: relative;
}

@keyframes successIconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 12px 32px rgba(16, 185, 129, 0.6);
    }
}

/* 成功图标的勾 */
.success-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(16, 185, 129, 0.3);
    animation: successRipple 1.5s ease-out infinite;
}

@keyframes successRipple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.success-icon i {
    font-size: 48px;
    color: #ffffff;
    animation: successCheckIn 0.6s ease-out 0.3s both;
}

@keyframes successCheckIn {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(0deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* 标题 */
.success-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    animation: successTextIn 0.6s ease-out 0.4s both;
}

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

/* 消息文本 */
.success-message {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 32px 0;
    animation: successTextIn 0.6s ease-out 0.5s both;
}

/* 确认按钮 */
.btn-success-ok {
    width: 100%;
    padding: 14px 32px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    animation: successTextIn 0.6s ease-out 0.6s both;
}

.btn-success-ok:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.btn-success-ok:active {
    transform: translateY(0);
}

.btn-success-ok i {
    font-size: 18px;
}

/* 响应式 */
@media (max-width: 768px) {
    .success-modal-content {
        padding: 40px 28px;
        max-width: 90%;
    }
    
    .success-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .success-icon i {
        font-size: 40px;
    }
    
    .success-title {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .success-message {
        font-size: 15px;
        margin-bottom: 28px;
    }
    
    .btn-success-ok {
        padding: 12px 28px;
        font-size: 15px;
    }
}


/* 简洁友情链接样式 */
.simple-footer {
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    padding: 25px 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-label {
    font-weight: 600;
    color: #333;
    margin-right: 5px;
}

.footer-links-row a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links-row a:hover {
    color: #007bff;
    text-decoration: underline;
}

.footer-links-row .separator {
    color: #ccc;
    margin: 0 3px;
}

.footer-copyright {
    margin-top: 10px;
}

.footer-copyright p {
    color: #999;
    font-size: 13px;
    margin: 0;
}

@media (max-width: 768px) {
    .simple-footer {
        padding: 20px 15px;
    }
    
    .footer-links-row {
        font-size: 13px;
        gap: 6px;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
}
