/* ============================================
   动漫作品展示平台 - 主样式文件
   ============================================ */

/* 基础重置和变量 */
:root {
    --primary: #e94560;
    --primary-dark: #c73e54;
    --secondary: #1a1a2e;
    --accent: #ffd700;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --bg-light: #f5f6fa;
    --text-dark: #1a1a2e;
    --text-muted: #6c757d;
    --border: #dee2e6;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-dark);
}

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

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


.content-section p{
    font-size: 20px;
    line-height: 60px;
}


/* ============================================
   头部导航
   ============================================ */
.header {
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

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

.nav {
    display: flex;
    gap: 5px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: var(--radius);
    transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(233, 69, 96, 0.2);
    color: var(--primary);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   按钮样式
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}

/* ============================================
   徽章
   ============================================ */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-vip {
    background: var(--accent);
    color: var(--secondary);
}

.badge-free {
    background: var(--success);
    color: white;
}

/* ============================================
   Banner轮播
   ============================================ */
.banner-section {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-bottom: 40px;
}

.banner-slider {
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s;
}

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

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

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.banner-overlay h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

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

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.banner-prev { left: 20px; }
.banner-next { right: 20px; }

.banner-prev:hover,
.banner-next:hover {
    background: var(--primary);
}

/* ============================================
   作品网格和卡片
   ============================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 24px;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.view-all {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.anime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.anime-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.card-cover {
    position: relative;
    height: 200px;
    background: var(--bg-light);
}

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

.card-cover .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--border);
}

.rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.rating-badge.large {
    font-size: 14px;
    padding: 6px 15px;
}

.free-badge,
.vip-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.free-badge {
    background: var(--success);
    color: white;
}

.vip-badge {
    background: var(--accent);
    color: var(--secondary);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.card-info {
    padding: 15px;
}

.card-info h4 {
    margin-bottom: 8px;
    color: var(--secondary);
    font-size: 16px;
}

.card-info .category {
    color: var(--text-muted);
    font-size: 13px;
}

.card-info .views {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 5px;
}

/* ============================================
   特色作品区域
   ============================================ */
.featured-section,
.hot-section {
    margin-bottom: 50px;
}

.featured-anime {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}

.featured-cover {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

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

.featured-info h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.featured-info .author,
.featured-info .category {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.featured-info .description {
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

.featured-actions {
    display: flex;
    gap: 10px;
}

/* ============================================
   音乐推荐区域
   ============================================ */
.music-recommend-section {
    margin-bottom: 50px;
}

.music-recommend-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.music-recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.music-recommend-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.music-recommend-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.music-recommend-card .music-cover {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.music-recommend-card .music-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.music-recommend-card:hover .music-cover img {
    transform: scale(1.1);
}

.music-recommend-card .no-cover {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: rgba(255,255,255,0.5);
}

.music-recommend-card .music-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    opacity: 0;
    transition: all 0.3s;
}

.music-recommend-card:hover .music-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.music-recommend-card .music-info {
    padding: 20px;
}

.music-recommend-card .music-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.music-recommend-card .music-artist {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.music-recommend-card .music-album {
    font-size: 12px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.empty-music {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-music i {
    font-size: 60px;
    margin-bottom: 15px;
}

.empty-music p {
    font-size: 16px;
}

.mini-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1000;
}

.mini-player-info {
    min-width: 150px;
}

.mini-track-title {
    display: block;
    font-weight: 600;
    color: var(--secondary);
    font-size: 14px;
}

.mini-track-artist {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.mini-player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-mini {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
}

.btn-mini:hover {
    background: #f0f0f0;
    color: var(--primary);
}

.btn-mini-play {
    width: 45px;
    height: 45px;
    background: var(--primary) !important;
    color: white !important;
    font-size: 16px !important;
}

.mini-progress {
    flex: 1;
}

.mini-progress-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
}

.mini-progress {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.1s;
}

/* ============================================
   会员推广区域
   ============================================ */
.promo-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
    border-radius: var(--radius-lg);
    padding: 50px;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.promo-icon {
    font-size: 60px;
    color: var(--accent);
    margin-bottom: 20px;
}

.promo-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.promo-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.promo-price {
    margin-bottom: 20px;
}

.promo-price .price {
    font-size: 48px;
    font-weight: bold;
    color: var(--accent);
}

.promo-price .period {
    font-size: 18px;
    opacity: 0.8;
}

/* ============================================
   筛选和分页
   ============================================ */
.filter-section {
    margin-bottom: 30px;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    background: white;
    border-radius: var(--radius);
    color: var(--text-muted);
    transition: all 0.3s;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary);
    color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.page-btn {
    padding: 10px 15px;
    background: white;
    border-radius: var(--radius);
    color: var(--text-muted);
    transition: all 0.3s;
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary);
    color: white;
}

.page-dots {
    padding: 10px 5px;
    color: var(--text-muted);
}

/* ============================================
   作品详情页
   ============================================ */
.anime-detail {
    padding: 30px 0;
}

.detail-header {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.detail-cover {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 450px;
}

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

.detail-info h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.meta-item {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.description {
    margin-bottom: 20px;
}

.description h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary);
}

.description p {
    line-height: 1.8;
    color: var(--text-dark);
}

/* 剧集列表 */
.episodes-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}

.episodes-section h2 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.episode-count {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: normal;
}

/* 播放器 */
.player-container {
    background: #000;
    border-radius: var(--radius);
    aspect-ratio: 16/9;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-container video,
.player-container iframe {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
}

.player-placeholder {
    color: #666;
    text-align: center;
}

.player-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
}

/* 剧集网格 */
.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.episode-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.episode-card.playable:hover {
    background: rgba(233, 69, 96, 0.1);
    transform: translateY(-3px);
}

.episode-card.active {
    background: var(--primary);
    color: white;
}

.episode-card.locked {
    opacity: 0.7;
}

.episode-num {
    font-weight: 600;
    margin-bottom: 5px;
}

.episode-title {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.episode-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    margin-top: 5px;
}

.episode-badge.free {
    background: var(--success);
    color: white;
}

.episode-badge.vip {
    background: var(--accent);
    color: var(--secondary);
}

.episode-lock {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.episode-play {
    color: var(--primary);
    font-size: 24px;
}

.permission-notice {
    margin-top: 20px;
    padding: 20px;
    background: #fff3cd;
    border-radius: var(--radius);
    display: flex;
    gap: 15px;
}

.notice-icon {
    font-size: 24px;
    color: var(--warning);
}

.notice-content p {
    font-weight: 600;
    margin-bottom: 10px;
}

.notice-content ul {
    list-style: none;
}

.notice-content li {
    padding: 5px 0;
    color: var(--text-muted);
}

/* ============================================
   会员中心
   ============================================ */
.member-center {
    padding: 30px 0;
}

.member-center h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary);
}

.member-status-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.status-header {
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.user-avatar {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.user-info h2 {
    margin-bottom: 5px;
}

.user-info p {
    opacity: 0.8;
}

.status-body {
    padding: 30px;
}

.member-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: var(--radius);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.member-badge.active {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    color: var(--secondary);
}

.member-badge.inactive {
    background: var(--bg-light);
    color: var(--text-muted);
}

.expire-info {
    margin-bottom: 20px;
}

.expire-info p {
    color: var(--text-muted);
}

.expire-date {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary);
}

.member-benefits {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.member-benefits h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}

.member-benefits ul {
    list-style: none;
}

.member-benefits li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.member-benefits li i {
    color: var(--success);
}

.upgrade-section,
.renew-section {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-radius: var(--radius);
}

.price-display {
    margin-bottom: 20px;
}

.price-display .price {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary);
}

.price-display .period {
    font-size: 18px;
    color: var(--text-muted);
}

.upgrade-tip {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.notice {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
}

/* 未登录提示 */
.login-prompt {
    text-align: center;
    padding: 50px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.prompt-icon {
    font-size: 80px;
    color: var(--primary);
    margin-bottom: 20px;
}

.prompt-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* 权益展示 */
.benefits-preview {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.benefits-preview h2 {
    text-align: center;
    margin-bottom: 30px;
}

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

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-item i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.benefit-item h3 {
    margin-bottom: 10px;
}

.benefit-item p {
    color: var(--text-muted);
}

.price-banner {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
    border-radius: var(--radius);
    color: white;
}

.price-banner .label {
    display: block;
    margin-bottom: 10px;
}

.price-banner .price {
    font-size: 48px;
    font-weight: bold;
    color: var(--accent);
}

.price-banner .period {
    font-size: 18px;
    opacity: 0.8;
}

/* ============================================
   联系我们页面
   ============================================ */
.contact-page {
    padding: 30px 0;
}

.contact-page h1 {
    text-align: center;
    margin-bottom: 30px;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.company-intro,
.contact-info-section,
.contact-form-section,
.faq-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.contact-info-section h2,
.contact-form-section h2,
.faq-section h2,
.company-intro h2 {
    margin-bottom: 20px;
    color: var(--secondary);
}

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

.contact-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.contact-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.contact-card h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}

.contact-card p {
    color: var(--text-muted);
}

/* 联系表单 */
.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

/* FAQ */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background: var(--bg-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(90deg);
}

/* ============================================
   登录注册页面
   ============================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 450px;
}

.auth-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

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

.auth-header .logo {
    font-size: 26px;
    color: var(--secondary);
    margin-bottom: 10px;
}

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

.auth-header h2 {
    color: var(--secondary);
}

.auth-form .form-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 38px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.auth-footer p {
    color: var(--text-muted);
}

.back-home {
    display: inline-block;
    margin-top: 15px;
    color: var(--text-muted);
}

.auth-redirect {
    margin-top: 20px;
}

/* ============================================
   底部
   ============================================ */
.footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 20px;
    margin-top: 50px;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section h3 i {
    color: var(--primary);
}

.footer-section p {
    line-height: 1.8;
}

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

.footer-section li {
    padding: 5px 0;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
}

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

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

/* ============================================
   提示框
   ============================================ */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
}

/* ============================================
   空状态
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .featured-anime {
        grid-template-columns: 1fr;
    }

    .detail-header {
        grid-template-columns: 1fr;
    }

    .detail-cover {
        height: 300px;
    }

    .form-row,
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .banner-section {
        height: 250px;
    }

    .promo-section {
        padding: 30px 20px;
    }
}

/* 主内容区域 */
.main-content {
    min-height: calc(100vh - 200px);
}
