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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0e27;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* 顶部导航样式 */
.site-header-nav {
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1429 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-brand-section {
    flex-shrink: 0;
}

.main-site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.brand-link-home {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.primary-navigation-menu {
    flex: 1;
    margin: 0 3rem;
}

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

.nav-link-regular,
.nav-link-active {
    color: #a8b2d1;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link-active {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

.nav-link-regular:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.search-box-container {
    display: flex;
    gap: 0.5rem;
}

.search-input-field {
    padding: 0.6rem 1.2rem;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    outline: none;
    width: 220px;
    transition: all 0.3s ease;
}

.search-input-field:focus {
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.08);
    width: 280px;
}

.search-submit-btn {
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 首页轮播横幅 */
.hero-banner-slideshow {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #000;
}

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

.slide-item-active,
.slide-item-hidden {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
}

.slide-item-active {
    opacity: 1;
    z-index: 2;
}

.slide-item-hidden {
    opacity: 0;
    z-index: 1;
}

.slide-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    color: white;
    max-width: 1400px;
    margin: 0 auto;
}

.slide-title-text {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.slide-description-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.slide-action-button {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.banner-navigation-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
}

.banner-prev-btn,
.banner-next-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.banner-prev-btn:hover,
.banner-next-btn:hover {
    background: rgba(102, 126, 234, 0.8);
    transform: scale(1.1);
}

.banner-indicator-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

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

.dot-indicator-active {
    background: #667eea;
    width: 40px;
    border-radius: 6px;
}

/* 内容区域样式 */
.featured-movies-section,
.popular-series-section,
.variety-shows-section,
.movies-listing-section,
.series-listing-section,
.variety-listing-section,
.anime-listing-section {
    padding: 4rem 0;
}

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

.section-header-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    padding-left: 1rem;
}

.section-title-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-more-link {
    color: #667eea;
    font-weight: 600;
    transition: all 0.3s ease;
}

.section-more-link:hover {
    color: #764ba2;
    transform: translateX(5px);
}

/* 电影/剧集卡片网格 */
.movies-grid-layout,
.series-grid-layout,
.variety-grid-layout,
.anime-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
}

.movie-card-item,
.series-card-item,
.variety-card-item,
.anime-card-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.movie-card-item:hover,
.series-card-item:hover,
.variety-card-item:hover,
.anime-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.movie-poster-wrapper,
.series-poster-wrapper,
.variety-poster-wrapper,
.anime-poster-wrapper {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.poster-image-fit {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-card-item:hover .poster-image-fit,
.series-card-item:hover .poster-image-fit,
.variety-card-item:hover .poster-image-fit,
.anime-card-item:hover .poster-image-fit {
    transform: scale(1.1);
}

.movie-hover-overlay,
.series-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.movie-card-item:hover .movie-hover-overlay,
.series-card-item:hover .series-hover-overlay {
    opacity: 1;
}

.play-button-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button-icon:hover {
    transform: scale(1.2);
}

.movie-quality-badge,
.series-episode-badge,
.variety-status-badge,
.anime-episode-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.3rem 0.8rem;
    background: rgba(102, 126, 234, 0.9);
    color: white;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.movie-title-name,
.series-title-name,
.variety-title-name,
.anime-title-name {
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.movie-meta-info {
    padding: 0 1rem 1rem;
    display: flex;
    justify-content: space-between;
    color: #a8b2d1;
    font-size: 0.9rem;
}

.movie-rating-score {
    color: #f6ad55;
}

.series-genre-tags,
.variety-update-info,
.anime-genre-tags {
    padding: 0 1rem 1rem;
    color: #a8b2d1;
    font-size: 0.9rem;
}

.movie-brief-intro,
.series-brief-desc,
.variety-brief-intro,
.anime-brief-desc {
    padding: 0 1rem 1rem;
    color: #a8b2d1;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* 页面标题横幅 */
.page-title-banner {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-title-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/edg202501.jpg') center/cover;
    opacity: 0.2;
}

.banner-overlay-dark {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.page-main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.page-subtitle-desc {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 分类筛选 */
.filter-category-section {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.filter-tabs-wrapper {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tab-active,
.filter-tab-normal {
    padding: 0.7rem 1.8rem;
    border: 2px solid rgba(102, 126, 234, 0.3);
    background: transparent;
    color: #a8b2d1;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-tab-active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.filter-tab-normal:hover {
    border-color: #667eea;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

/* 分页 */
.pagination-controls-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn-prev,
.pagination-btn-next,
.pagination-btn-active,
.pagination-btn-normal {
    padding: 0.8rem 1.2rem;
    border: 2px solid rgba(102, 126, 234, 0.3);
    background: transparent;
    color: #a8b2d1;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-btn-active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.pagination-btn-normal:hover,
.pagination-btn-prev:hover,
.pagination-btn-next:hover {
    border-color: #667eea;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.pagination-btn-prev:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* 关于页面样式 */
.about-content-section {
    padding: 4rem 0;
}

.about-intro-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.intro-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
}

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

.intro-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-section-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.intro-paragraph-text {
    color: #a8b2d1;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.feature-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
}

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

.feature-card-title {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card-description {
    color: #a8b2d1;
    line-height: 1.6;
}

.about-values-section {
    margin-bottom: 4rem;
}

.values-section-heading {
    font-size: 2rem;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

.values-content-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-item-block {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 12px;
}

.value-item-title {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.value-item-text {
    color: #a8b2d1;
    line-height: 1.8;
}

.about-stats-section {
    margin-bottom: 4rem;
    padding: 3rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
}

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

.stat-item-box {
    text-align: center;
}

.stat-number-large {
    font-size: 3rem;
    color: #667eea;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label-text {
    color: #a8b2d1;
    font-size: 1.1rem;
}

.about-contact-section,
.about-team-section {
    margin-bottom: 4rem;
}

.contact-section-heading,
.team-section-heading {
    font-size: 2rem;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-info-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-item-block {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.contact-icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
}

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

.contact-method-title {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.contact-detail-text {
    color: #667eea;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-note-text {
    color: #a8b2d1;
    font-size: 0.9rem;
}

.team-intro-paragraph {
    color: #a8b2d1;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* 页脚样式 */
.site-footer-section {
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1429 100%);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info-block {
    color: #a8b2d1;
}

.footer-brand-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-site-title {
    margin: 0;
}

.footer-brand-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-slogan-text {
    line-height: 1.6;
}

.footer-links-title,
.footer-contact-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav-link {
    color: #a8b2d1;
    transition: color 0.3s ease;
}

.footer-nav-link:hover {
    color: #667eea;
}

.footer-contact-email,
.footer-contact-service {
    color: #a8b2d1;
    margin-bottom: 0.5rem;
}

.footer-copyright-bar {
    border-top: 1px solid rgba(168, 178, 209, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.copyright-text-content {
    color: #a8b2d1;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .header-content-container {
        flex-wrap: wrap;
    }

    .primary-navigation-menu {
        order: 3;
        flex-basis: 100%;
        margin: 1rem 0 0 0;
    }

    .nav-menu-list {
        justify-content: center;
    }

    .about-intro-block {
        grid-template-columns: 1fr;
    }

    .footer-content-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .slide-title-text {
        font-size: 2rem;
    }

    .slide-description-text {
        font-size: 1rem;
    }

    .page-main-title {
        font-size: 2rem;
    }

    .movies-grid-layout,
    .series-grid-layout,
    .variety-grid-layout,
    .anime-grid-layout {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }

    .section-title-heading {
        font-size: 1.5rem;
    }
}