/* ========================================
   主样式表 - 影视传媒网站
   独特设计：深色电影院风格 + 霓虹点缀
   ======================================== */

/* CSS Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #c2185b;
    --primary-light: #e91e8c;
    --secondary: #7c4dff;
    --accent: #ffd740;
    --bg-dark: #0a0a14;
    --bg-card: #141428;
    --bg-section: #0f0f20;
    --text-main: #e8e6f0;
    --text-muted: #9e9bb5;
    --text-bright: #ffffff;
    --border-color: #2a2a4a;
    --gradient-1: linear-gradient(135deg, #c2185b 0%, #7c4dff 100%);
    --gradient-2: linear-gradient(135deg, #0a0a14 0%, #1a1a3e 100%);
    --shadow-glow: 0 0 20px rgba(194, 24, 91, 0.3);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-main: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* ========== Container ========== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ========== Header / Navigation ========== */
.site-header {
    background: rgba(10, 10, 20, 0.95);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    position: relative; /* NOT sticky */
    z-index: 100;
}

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

.site-logo img {
    height: 40px;
    width: auto;
}

.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--primary);
    color: var(--text-bright);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.2rem;
}

.main-nav {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.main-nav a {
    display: inline-block;
    padding: 8px 14px;
    color: var(--text-main);
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--gradient-1);
    color: var(--text-bright);
}

/* ========== Hero Section ========== */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 60px 0 50px;
    background: var(--gradient-2);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(194, 24, 91, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(124, 77, 255, 0.06) 0%, transparent 50%);
    animation: heroGlow 15s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5%, -3%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-banner-img {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(194, 24, 91, 0.4);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--gradient-1);
    color: var(--text-bright);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(194, 24, 91, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(194, 24, 91, 0.6);
    color: var(--text-bright);
}

/* ========== Section Titles ========== */
.section-block {
    padding: 50px 0;
}

.section-block:nth-child(even) {
    background: var(--bg-section);
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-heading h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-1);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Movie Cards Grid ========== */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.movie-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.movie-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.movie-card-img {
    width: 100%;
    aspect-ratio: 5/7;
    object-fit: cover;
}

.movie-card-body {
    padding: 16px;
}

.movie-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 6px;
}

.movie-card-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.movie-card-rating {
    color: var(--accent);
    font-size: 0.9rem;
}

/* ========== Service Modules ========== */
.services-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.service-module {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s;
}

.service-module:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.service-module img {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
}

.service-module h3 {
    font-size: 1rem;
    color: var(--text-bright);
    margin-bottom: 8px;
}

.service-module p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========== Star Collaboration ========== */
.star-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.star-item {
    display: flex;
    gap: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s;
}

.star-item:hover {
    box-shadow: var(--shadow-glow);
}

.star-item img {
    width: 200px;
    height: 160px;
    object-fit: cover;
    flex-shrink: 0;
}

.star-item-info {
    padding: 16px 16px 16px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.star-item-info h3 {
    font-size: 1.05rem;
    color: var(--text-bright);
    margin-bottom: 8px;
}

.star-item-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========== Cases ========== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.case-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.case-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s;
}

.case-card:hover img {
    transform: scale(1.05);
}

.case-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.case-card-overlay h3 {
    font-size: 1.1rem;
    color: var(--text-bright);
    margin-bottom: 4px;
}

.case-card-overlay p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========== Video Player ========== */
.video-player-wrap {
    position: relative;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/9;
    max-width: 800px;
    margin: 0 auto;
}

.video-player-wrap video,
.video-player-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(194, 24, 91, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

.play-overlay::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 0 14px 24px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

.play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(194, 24, 91, 1);
}

/* ========== About Section ========== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-text h3 {
    font-size: 1.3rem;
    color: var(--text-bright);
    margin-bottom: 16px;
}

.about-text p {
    margin-bottom: 14px;
    color: var(--text-main);
    line-height: 1.9;
}

.about-sidebar {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
}

.about-sidebar h3 {
    font-size: 1.1rem;
    color: var(--text-bright);
    margin-bottom: 12px;
}

.about-sidebar ul {
    list-style: none;
    padding: 0;
}

.about-sidebar li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.about-sidebar li:last-child {
    border-bottom: none;
}

/* ========== Author Card ========== */
.author-card {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.author-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
}

.author-card-info h4 {
    font-size: 1.1rem;
    color: var(--text-bright);
    margin-bottom: 4px;
}

.author-card-info .role {
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.author-card-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========== Payment ========== */
.payment-section {
    text-align: center;
}

.payment-icons {
    max-width: 500px;
    margin: 20px auto;
}

.payment-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Reviews ========== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-author {
    font-weight: 600;
    color: var(--text-bright);
    font-size: 0.95rem;
}

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

.review-stars {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 10px;
}

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

/* ========== FAQ ========== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 20px;
    font-weight: 600;
    color: var(--text-bright);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(194, 24, 91, 0.1);
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-left: 10px;
    transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
    content: '−';
}

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

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 20px 18px;
}

.faq-answer p {
    color: var(--text-main);
    font-size: 0.92rem;
    line-height: 1.8;
}

/* ========== License / Responsible ========== */
.license-block {
    display: flex;
    gap: 30px;
    align-items: center;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--border-color);
}

.license-block img {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.license-info h3 {
    font-size: 1.1rem;
    color: var(--text-bright);
    margin-bottom: 10px;
}

.license-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========== Support ========== */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.support-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s;
}

.support-card:hover {
    border-color: var(--primary);
}

.support-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.support-card h3 {
    font-size: 1rem;
    color: var(--text-bright);
    margin-bottom: 8px;
}

.support-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ========== Breadcrumb ========== */
.breadcrumb {
    padding: 12px 0;
    font-size: 0.85rem;
}

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

.breadcrumb span {
    color: var(--text-muted);
    margin: 0 6px;
}

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

/* ========== Footer ========== */
.site-footer {
    background: #060610;
    border-top: 1px solid var(--border-color);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1rem;
    color: var(--text-bright);
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

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

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

.footer-col a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-col a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.footer-social img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: transform 0.3s;
}

.footer-social img:hover {
    transform: scale(1.15);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-badges {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-badges img {
    height: 40px;
    width: auto;
}

/* ========== Inner Page Styles ========== */
.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(10, 10, 20, 0.9));
}

.page-hero-overlay h1 {
    font-size: 2rem;
    color: var(--text-bright);
}

.inner-content {
    padding: 40px 0;
}

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

.inner-content h2 {
    font-size: 1.5rem;
    color: var(--text-bright);
    margin: 30px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.inner-content h3 {
    font-size: 1.2rem;
    color: var(--text-bright);
    margin: 24px 0 12px;
}

.inner-content p {
    margin-bottom: 16px;
    line-height: 1.9;
}

.inner-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.inner-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: transform 0.3s;
}

.inner-gallery img:hover {
    transform: scale(1.03);
}

/* ========== App Download Page ========== */
.app-hero {
    text-align: center;
    padding: 60px 0;
    background: var(--gradient-2);
}

.app-hero img {
    max-width: 600px;
    margin: 0 auto 30px;
    border-radius: var(--radius-lg);
}

.download-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 50px;
    color: var(--text-bright);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.download-btn:hover {
    background: var(--primary);
    color: var(--text-bright);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .services-row {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        background: var(--bg-dark);
        padding: 10px 0;
        border-top: 1px solid var(--border-color);
    }
    .main-nav.open {
        display: flex;
    }
    .main-nav a {
        padding: 12px 16px;
        border-bottom: 1px solid var(--border-color);
    }
    .hero-title {
        font-size: 1.6rem;
    }
    .movie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .services-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .star-grid {
        grid-template-columns: 1fr;
    }
    .star-item {
        flex-direction: column;
    }
    .star-item img {
        width: 100%;
        height: 180px;
    }
    .star-item-info {
        padding: 16px;
    }
    .cases-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .license-block {
        flex-direction: column;
        text-align: center;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .section-block {
        padding: 35px 0;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    .movie-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .services-row {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 1.4rem;
    }
    .container {
        padding: 0 12px;
    }
}

/* ========== Utility ========== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
