/* 51动漫更新页面样式 - 13285168675.com */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffe66d;
    --anime-purple: #9c88ff;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --text-muted: #95a5a6;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --border-color: #e9ecef;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 8px 25px rgba(0,0,0,0.15);
    --shadow-heavy: 0 15px 35px rgba(0,0,0,0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--anime-purple));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --info-color: #3498db;
}

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

body {
    font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.anime-container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 50px rgba(0,0,0,0.3);
}

.anime-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-item:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

.join-btn {
    background: var(--gradient-primary) !important;
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-light);
}

.main-content {
    margin-top: 80px;
}

.updates-hero {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.update-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.stat-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(255, 230, 109, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.3rem;
}

.weekly-schedule {
    background: white;
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.schedule-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.day-schedule {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.day-schedule:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.day-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

.update-count {
    background: var(--gradient-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.anime-updates {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.update-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    align-items: center;
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.update-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.update-thumb {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.update-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.update-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.episode {
    color: var(--primary-color);
    font-weight: 600;
}

.time {
    color: var(--info-color);
    font-weight: 600;
}

.rating {
    color: var(--warning-color);
    font-weight: 600;
}

.update-preview {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.remind-btn {
    padding: 0.5rem 1rem;
    background: var(--gradient-secondary);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remind-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

.upcoming-releases {
    background: var(--bg-secondary);
    padding: 4rem 0;
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.release-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.release-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-heavy);
}

.release-card.countdown {
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(255, 230, 109, 0.3);
}

.release-poster {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.release-info {
    padding: 2rem;
}

.release-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.release-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.countdown-item {
    text-align: center;
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 15px;
    min-width: 60px;
}

.countdown-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.expectation-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.expect-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expect-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.manga-updates {
    background: white;
    padding: 4rem 0;
}

.manga-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 100px 1fr auto;
    gap: 1.5rem;
    align-items: center;
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(15px);
    box-shadow: var(--shadow-medium);
}

.timeline-time {
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

.timeline-cover {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-desc {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.timeline-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.read-latest-btn {
    padding: 0.8rem 1.5rem;
    background: var(--gradient-secondary);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-latest-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.notification-center {
    background: var(--bg-secondary);
    padding: 4rem 0;
}

.notification-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.notification-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.notification-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.notification-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.notification-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: var(--primary-color);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.notification-desc {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.notification-preview {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.preview-message {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.preview-title {
    font-weight: 600;
    color: var(--text-dark);
}

.preview-content {
    color: var(--text-muted);
}

.preview-time {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.email-frequency {
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: white;
    color: var(--text-dark);
    width: 100%;
}

.qq-group-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 10px;
}

.join-group-btn {
    padding: 0.5rem 1rem;
    background: var(--info-color);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-activity {
    background: white;
    padding: 4rem 0;
}

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.activity-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.activity-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.username {
    font-weight: 600;
    color: var(--primary-color);
}

.activity-time {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.activity-text {
    line-height: 1.5;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.activity-anime {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: white;
    border-radius: 10px;
}

.activity-thumb {
    width: 40px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}

.activity-anime-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.activity-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.trending-topics {
    background: var(--bg-secondary);
    padding: 4rem 0;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.topic-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.topic-rank {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    align-self: flex-start;
}

.topic-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.topic-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.topic-preview {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.topic-activity {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.last-active {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.join-topic-btn {
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-reviews {
    background: white;
    padding: 4rem 0;
}

.reviews-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.review-item {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.review-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.reviewer-profile {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.reviewer-level {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.review-rating {
    color: var(--warning-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-content {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review-tag {
    padding: 0.2rem 0.6rem;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
}

.anime-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: var(--text-light);
    padding: 3rem 0 2rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 2rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #bdc3c7;
}

.footer-copyright {
    color: #95a5a6;
    font-size: 0.8rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

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

.footer-links a:hover {
    color: var(--accent-color);
}

.contact-info p {
    margin-bottom: 0.6rem;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .update-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .schedule-calendar {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}