/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 30%, #2193b0 60%, #6dd5ed 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding-top: 80px;
}
.content-loading{
    text-align: left !important;
}
/* 渐变背景动画 */
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 漂浮动画 */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* 脉冲动画 */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* 淡入动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

body {
    animation: gradientAnimation 15s ease infinite;
    background-size: 400% 400%;
}

/* 为特定元素添加动画 */
.animated {
    animation: fadeIn 0.6s ease-out;
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.pulsing {
    animation: pulse 2s infinite;
}

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

/* 主要内容布局 */
.main-content-wrapper {
    padding: 20px 0;
}

.main-layout {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.main-content-left {
    flex: 3;
    min-width: 0; /* 防止flex项目溢出 */
}

.main-content-right {
    flex: 1;
    min-width: 300px;
}

/* 侧边栏内容 */
.sidebar-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-section h3 {
    color: white;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-recommendation {
    margin-bottom: 20px;
}

.sidebar-card {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.sidebar-card img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.sidebar-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sidebar-info h4 {
    color: white;
    margin-bottom: 8px;
}

.sidebar-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    font-size: 0.9em;
    line-height: 1.4;
}

/* 章节列表 */
.chapter-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chapter-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chapter-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateX(5px);
}

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

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

.category-list a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-list a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateX(5px);
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 226px;
    height: auto;
    border-radius: 0;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: white;
    transition: all 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
    left: 10%;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-login {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    color: white;
    margin-right: 10px;
}

.login-btn, .register-btn {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.register-btn {
    background: rgba(255, 255, 255, 0.2);
}

.register-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.logout-btn {
    background: rgba(255, 107, 107, 0.8);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255, 107, 107, 1);
    transform: translateY(-2px);
}

/* 轮播图样式 */
.carousel {
    position: relative;
    height: 600px;
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(30, 60, 114, 0.7), rgba(42, 82, 152, 0.7));
    z-index: 5;
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 80%;
}

.slide-text h2 {
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    animation: float 4s ease-in-out infinite;
}

.slide-text p {
    font-size: 1.4em;
    margin-bottom: 25px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 20;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active, .indicator:hover {
    background: white;
}

/* 欢迎横幅 */
.welcome-banner {
    background: linear-gradient(135deg, rgba(30,60,114,0.3), rgba(42,82,152,0.3), rgba(33,147,176,0.3), rgba(109,213,237,0.3));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 80px 0;
    margin-bottom: 40px;
    text-align: center;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400%;
    border-radius: 22px;
    z-index: -1;
    opacity: 0.5;
}

.welcome-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.welcome-banner h1 {
    color: white;
    font-size: 2.8em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.welcome-banner p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.welcome-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 统计数据展示 */
.stats-section {
    margin-bottom: 60px;
}

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

.stat-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400%;
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 0.7;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-card h3 {
    color: white;
    font-size: 2.5em;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1em;
}

/* 网络表演栏目 */
.performances-section {
    margin-bottom: 60px;
}

.performances-section h2 {
    color: white;
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
}

.performances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.performance-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out;
}

.performance-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.performance-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.performance-info {
    padding: 20px;
}

.performance-info h3 {
    color: white;
    margin-bottom: 10px;
}

.performance-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}

.stars {
    color: #ffc107;
    font-size: 1.2em;
}

.rating-value {
    color: #2193b0;
    font-weight: bold;
    font-size: 1.1em;
}

.view-all {
    text-align: center;
    margin-top: 30px;
}

.view-all .btn {
    padding: 12px 30px;
    font-size: 1.1em;
}

/* 特性卡片展示 */
.features-section {
    margin-bottom: 60px;
}

.features-section h2 {
    color: white;
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400%;
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    text-align: center;
}

.feature-card h3 {
    color: white;
    margin-bottom: 15px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* 表单容器 */
.form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    max-width: 400px;
    margin: 60px auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-container h2 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: white;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.error-message {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.form-link {
    text-align: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.form-link a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.form-link a:hover {
    text-decoration: underline;
}

/* 内容页面 */
.content-page {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 500px;
}

.content-page h1 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
}

.agreement-content h2 {
    color: white;
    margin: 25px 0 15px 0;
    font-size: 1.5em;
}

.agreement-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    line-height: 1.8;
}

/* 加载提示 */
.content-loading {
    text-align: center;
    color: white;
    padding: 40px 0;
}

/* 后台管理页面 */
.admin-page {
    display: none;
}

.admin-page.active-page {
    display: block;
}

#adminPanel {
    display: flex;
    gap: 30px;
}

.sidebar {
    width: 250px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: fit-content;
    align-self: flex-start;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-item {
    margin-bottom: 10px;
}

.sidebar-link {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-link:hover, .sidebar-item.active .sidebar-link {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.main-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.main-content h2 {
    color: white;
    margin-bottom: 30px;
    font-size: 1.8em;
}

/* 仪表盘统计卡片 */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    font-size: 2em;
}

.stat-info h3 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
    margin-bottom: 5px;
}

.stat-info p {
    color: white;
    font-size: 1.5em;
    font-weight: bold;
}

/* 图表容器 */
.dashboard-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.chart-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chart-container.full-width {
    grid-column: 1 / -1;
}

.chart-container h3 {
    color: white;
    margin-bottom: 15px;
}

.chart-placeholder {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 管理控制区 */
.admin-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* 表格样式 */
.table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.admin-table th {
    background: rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 按钮样式 */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
    outline: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400%;
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn:hover::before {
    opacity: 0.7;
}

.primary-btn {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
}

.secondary-btn {
    background: linear-gradient(45deg, #2193b0, #6dd5ed);
    color: white;
}

.small-btn {
    padding: 8px 16px;
    font-size: 14px;
}

.danger-btn {
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    color: white;
}

/* 充值中心 */
.user-panel {
    margin-top: 20px;
}

.user-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-details h3 {
    color: white;
    margin-bottom: 15px;
}

.user-details p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
}

.recharge-options h3 {
    color: white;
    margin-bottom: 20px;
}

.recharge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.recharge-option {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.recharge-option:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
}

.recharge-amount {
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.recharge-bonus {
    color: #4ecdc4;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.actual-amount {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
}

/* 消息容器 */
.message-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.message-container p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 1.2em;
}

/* 漫画介绍横幅 */
.manga-intro {
    margin-bottom: 40px;
}

.manga-banner {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.manga-banner-content {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    width: 100%;
    padding: 40px 30px 20px;
    color: white;
}

.manga-banner-content h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.manga-banner-content p {
    margin-bottom: 5px;
    opacity: 0.9;
}

/* 漫画章节列表 */
.manga-chapters h2 {
    color: white;
    margin: 30px 0 20px;
    text-align: left;
}

/* 漫画网格 */
.manga-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.manga-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.manga-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.manga-cover {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.manga-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.manga-info h3 {
    color: white;
    margin-bottom: 10px;
    flex-grow: 1;
}

.manga-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    font-size: 0.9em;
}

.manga-actions {
    margin-top: auto;
    text-align: center;
}

/* 漫画详情页面样式 */
.manga-details {
    margin-bottom: 40px;
}

.manga-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.manga-cover-large {
    flex-shrink: 0;
}

.manga-cover-full {
    width: 250px;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.manga-info-main {
    flex: 1;
    min-width: 300px;
}

.manga-info-main h2 {
    color: white;
    font-size: 2em;
    margin-bottom: 20px;
}

.manga-meta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.manga-meta .rating {
    margin: 15px 0;
}

.manga-tags {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.tag {
    background: rgba(33, 147, 176, 0.3);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.manga-description {
    margin: 25px 0;
}

.manga-description h3 {
    color: white;
    margin-bottom: 15px;
}

.manga-description p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.manga-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .manga-header {
        flex-direction: column;
        text-align: center;
    }
    
    .manga-cover-full {
        width: 200px;
        height: 280px;
        margin: 0 auto;
    }
}

/* 推荐作品部分 */
.recommendations-section {
    margin-bottom: 60px;
}

.recommendations-section h2 {
    color: white;
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
}

/* 漫画阅读器 */
.manga-reader-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.manga-title-section {
    display: flex;
    flex-direction: column;
}

.manga-title-section h1 {
    color: white;
    margin: 0;
    font-size: 2em;
}

#chapterTitle {
    color: rgba(255, 255, 255, 0.8);
    margin: 5px 0 0 0;
    font-size: 1.2em;
}

.chapter-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.select-input {
    padding: 8px 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
}

.select-input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.manga-content {
    margin-bottom: 30px;
}

.pages-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.manga-page {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.manga-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-height: 80vh;
    object-fit: contain;
}

.locked-page {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.locked-page h3 {
    color: white;
    margin-bottom: 15px;
}

.locked-page p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.lock-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.unlock-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.unlock-message {
    background: rgba(255, 107, 107, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.unlock-content h3 {
    color: white;
    margin-bottom: 15px;
}

.unlock-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.manga-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

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

.page-counter {
    color: white;
    font-weight: bold;
    font-size: 1.1em;
}

/* 页脚 */
.footer {
    background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px 0 20px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.footer-section h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .carousel {
        height: 300px;
    }
    
    .slide-text h2 {
        font-size: 1.8em;
    }
    
    .slide-text p {
        font-size: 1em;
    }
    
    .welcome-banner h1 {
        font-size: 2em;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .performances-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-charts {
        grid-template-columns: 1fr;
    }
    
    .chart-container.full-width {
        grid-column: 1 / 1;
    }
    
    #adminPanel {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .recharge-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-controls {
        flex-direction: column;
    }
    
    .search-input {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .form-container {
        padding: 30px 20px;
        margin: 40px 15px;
    }
    
    .content-page {
        padding: 30px 20px;
        margin: 20px 15px;
    }
    
    .welcome-banner {
        padding: 40px 20px;
    }
    
    .welcome-banner h1 {
        font-size: 1.8em;
    }
    
    .stat-card h3 {
        font-size: 2em;
    }
}