/* ============================================
   麻豆视频 (Madou Video) - 电影胶片风主样式
   CSS前缀: md-
   ============================================ */

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

:root {
    --md-primary: #141414;
    --md-secondary: #E5B869;
    --md-accent: #C0392B;
    --md-text: #F5F5F1;
    --md-link: #E5B869;
    --md-bg-dark: #0a0a0a;
    --md-bg-card: #1a1a1a;
    --md-border: #333;
    --md-gold-gradient: linear-gradient(135deg, #E5B869, #D4A24C, #E5B869);
    --md-font-heading: 'Source Han Serif CN', 'Noto Serif CJK SC', 'SimSun', serif;
    --md-font-body: 'Heiti SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

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

a:hover {
    color: #f0cb7a;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--md-font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--md-text);
}

.md-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Film Grain Overlay --- */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   Navigation
   ============================================ */
#md-header {
    position: relative;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 184, 105, 0.15);
}

.md-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1440px;
    margin: 0 auto;
}

.md-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.md-logo img {
    width: 42px;
    height: 42px;
    border-radius: 4px;
}

.md-logo-text {
    font-family: var(--md-font-heading);
    font-size: 1.25rem;
    color: var(--md-secondary);
    letter-spacing: 2px;
    font-weight: 700;
}

.md-nav-links {
    display: flex;
    list-style: none;
    gap: 0;
}

.md-nav-links li {
    position: relative;
}

.md-nav-links a {
    display: block;
    padding: 8px 20px;
    color: var(--md-text);
    font-size: 0.95rem;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.md-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--md-gold-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(229, 184, 105, 0.4);
}

.md-nav-links a:hover {
    color: var(--md-secondary);
}

.md-nav-links a:hover::after,
.md-nav-links a.md-active::after {
    width: 60%;
}

.md-nav-links a.md-active {
    color: var(--md-secondary);
}

/* Hamburger Menu */
.md-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.md-hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--md-secondary);
    transition: all 0.3s ease;
}

.md-hamburger.md-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.md-hamburger.md-open span:nth-child(2) {
    opacity: 0;
}

.md-hamburger.md-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Side Menu (Clapperboard Style) */
.md-mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--md-bg-dark);
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-left: 3px solid var(--md-secondary);
    overflow-y: auto;
}

.md-mobile-menu.md-open {
    right: 0;
}

.md-mobile-menu-header {
    background: repeating-linear-gradient(
        -45deg,
        #1a1a1a,
        #1a1a1a 10px,
        #222 10px,
        #222 20px
    );
    padding: 24px 20px;
    border-bottom: 3px solid var(--md-secondary);
    text-align: center;
}

.md-mobile-menu-header span {
    font-family: var(--md-font-heading);
    color: var(--md-secondary);
    font-size: 1.1rem;
    letter-spacing: 3px;
}

.md-mobile-nav-links {
    list-style: none;
    padding: 20px 0;
}

.md-mobile-nav-links li {
    border-bottom: 1px solid rgba(229, 184, 105, 0.1);
}

.md-mobile-nav-links a {
    display: block;
    padding: 16px 24px;
    color: var(--md-text);
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.md-mobile-nav-links a:hover,
.md-mobile-nav-links a.md-active {
    color: var(--md-secondary);
    background: rgba(229, 184, 105, 0.05);
    padding-left: 32px;
}

.md-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.md-overlay.md-open {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Hero / Premiere Section
   ============================================ */
.md-premiere {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}

.md-premiere-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.md-premiere-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.md-premiere-slide.md-active {
    opacity: 1;
}

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

.md-premiere-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95), transparent);
}

.md-premiere-content {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 100%;
    padding: 0 60px;
    z-index: 10;
}

.md-premiere-tag {
    display: inline-block;
    padding: 4px 16px;
    background: var(--md-accent);
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.md-premiere-content h2 {
    font-size: 3rem;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.md-premiere-content p {
    font-size: 1.1rem;
    max-width: 600px;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.8;
}

.md-premiere-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.md-premiere-dot {
    width: 12px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.md-premiere-dot.md-active {
    width: 36px;
    background: var(--md-secondary);
}

/* ============================================
   Buttons
   ============================================ */
.md-btn {
    display: inline-block;
    padding: 12px 32px;
    font-family: var(--md-font-body);
    font-size: 0.95rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.md-btn-primary {
    background: transparent;
    color: var(--md-secondary);
    border: 2px solid var(--md-secondary);
    position: relative;
    overflow: hidden;
}

.md-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--md-secondary);
    transition: left 0.3s ease;
    z-index: -1;
}

.md-btn-primary:hover {
    color: var(--md-primary);
}

.md-btn-primary:hover::before {
    left: 0;
}

.md-btn-gold {
    background: var(--md-gold-gradient);
    color: var(--md-primary);
    font-weight: 700;
    border: 2px solid var(--md-secondary);
}

.md-btn-gold:hover {
    box-shadow: 0 0 20px rgba(229, 184, 105, 0.4);
    transform: translateY(-2px);
    color: var(--md-primary);
}

/* ============================================
   Section Titles
   ============================================ */
.md-section-header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 80px;
}

.md-section-header h2 {
    font-size: 2.2rem;
    color: var(--md-text);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.md-section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--md-gold-gradient);
    margin: 16px auto 0;
}

.md-section-header p {
    color: rgba(245, 245, 241, 0.7);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Behind the Scenes
   ============================================ */
.md-behind-the-scenes {
    padding: 0 0 80px;
    background: var(--md-primary);
}

.md-bts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.md-bts-card {
    background: var(--md-bg-card);
    border: 1px solid var(--md-border);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.md-bts-card:hover {
    transform: translateY(-8px);
    border-color: var(--md-secondary);
    box-shadow: 0 12px 40px rgba(229, 184, 105, 0.15);
}

.md-bts-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.md-bts-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.md-bts-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 60px;
    height: 60px;
    background: rgba(229, 184, 105, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.md-bts-play::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 18px solid var(--md-primary);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-left: 4px;
}

.md-bts-card:hover .md-bts-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.md-bts-card-body {
    padding: 20px;
}

.md-bts-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--md-text);
}

.md-bts-card-body p {
    font-size: 0.9rem;
    color: rgba(245, 245, 241, 0.6);
    line-height: 1.6;
}

/* ============================================
   Producers
   ============================================ */
.md-producers {
    padding: 0 0 80px;
    background: var(--md-bg-dark);
}

.md-producer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.md-producer-card {
    display: flex;
    gap: 24px;
    background: var(--md-bg-card);
    border: 1px solid var(--md-border);
    padding: 24px;
    transition: all 0.3s ease;
}

.md-producer-card:hover {
    border-color: var(--md-secondary);
}

.md-producer-avatar {
    width: 160px;
    min-width: 160px;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.md-producer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.md-producer-card:hover .md-producer-avatar img {
    filter: grayscale(0%);
}

.md-producer-info h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
    color: var(--md-secondary);
}

.md-producer-title {
    font-size: 0.85rem;
    color: rgba(245, 245, 241, 0.5);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.md-producer-info p {
    font-size: 0.9rem;
    color: rgba(245, 245, 241, 0.7);
    line-height: 1.7;
}

.md-producer-works {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.md-producer-works span {
    padding: 3px 10px;
    background: rgba(229, 184, 105, 0.1);
    border: 1px solid rgba(229, 184, 105, 0.3);
    font-size: 0.8rem;
    color: var(--md-secondary);
}

/* ============================================
   Contracted Actors
   ============================================ */
.md-contracted-actors {
    padding: 0 0 80px;
    background: var(--md-primary);
}

.md-actor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.md-actor-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
}

.md-actor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.md-actor-card:hover img {
    transform: scale(1.08);
}

.md-actor-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transition: all 0.3s ease;
}

.md-actor-overlay h3 {
    font-size: 1.1rem;
    color: var(--md-secondary);
    margin-bottom: 4px;
}

.md-actor-overlay p {
    font-size: 0.85rem;
    color: rgba(245, 245, 241, 0.7);
}

/* ============================================
   Script Submission
   ============================================ */
.md-script-submission {
    padding: 0 0 80px;
    background: var(--md-bg-dark);
    position: relative;
}

.md-script-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.md-script-img {
    flex: 1;
    overflow: hidden;
    max-height: 400px;
}

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

.md-script-content {
    flex: 1;
}

.md-script-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--md-secondary);
}

.md-script-content p {
    font-size: 1rem;
    color: rgba(245, 245, 241, 0.8);
    margin-bottom: 24px;
    line-height: 1.8;
}

.md-script-features {
    list-style: none;
    margin-bottom: 32px;
}

.md-script-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: rgba(245, 245, 241, 0.7);
    font-size: 0.95rem;
}

.md-script-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--md-secondary);
}

/* ============================================
   Partner Cinemas
   ============================================ */
.md-partner-cinemas {
    padding: 0 0 80px;
    background: var(--md-primary);
}

.md-cinema-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.md-cinema-card {
    background: var(--md-bg-card);
    border: 1px solid var(--md-border);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.md-cinema-card:hover {
    border-color: var(--md-secondary);
    transform: translateY(-4px);
}

.md-cinema-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(229, 184, 105, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--md-secondary);
}

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

.md-cinema-card p {
    font-size: 0.85rem;
    color: rgba(245, 245, 241, 0.5);
}

/* ============================================
   Brand Co-branding
   ============================================ */
.md-brand-collab {
    padding: 0 0 80px;
    background: var(--md-bg-dark);
}

.md-brand-showcase {
    position: relative;
    overflow: hidden;
    aspect-ratio: 21/9;
    max-height: 400px;
}

.md-brand-showcase img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.md-brand-showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.md-brand-showcase-overlay h3 {
    font-size: 2rem;
    color: var(--md-secondary);
}

.md-brand-showcase-overlay p {
    font-size: 1rem;
    color: rgba(245, 245, 241, 0.8);
    max-width: 500px;
    text-align: center;
}

.md-brand-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.md-brand-logo-item {
    width: 140px;
    height: 80px;
    background: var(--md-bg-card);
    border: 1px solid var(--md-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: rgba(245, 245, 241, 0.5);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.md-brand-logo-item:hover {
    border-color: var(--md-secondary);
    color: var(--md-secondary);
}

/* ============================================
   Press / News
   ============================================ */
.md-press-release {
    padding: 0 0 80px;
    background: var(--md-primary);
}

.md-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.md-news-featured {
    grid-row: span 2;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.md-news-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.md-news-featured:hover img {
    transform: scale(1.03);
}

.md-news-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 24px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
}

.md-news-featured-overlay .md-news-date {
    font-size: 0.8rem;
    color: var(--md-secondary);
    margin-bottom: 8px;
}

.md-news-featured-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.md-news-featured-overlay p {
    font-size: 0.9rem;
    color: rgba(245, 245, 241, 0.7);
}

.md-news-item {
    display: flex;
    gap: 16px;
    background: var(--md-bg-card);
    border: 1px solid var(--md-border);
    padding: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.md-news-item:hover {
    border-color: var(--md-secondary);
}

.md-news-item-img {
    width: 120px;
    min-width: 120px;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.md-news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.md-news-item-body .md-news-date {
    font-size: 0.75rem;
    color: var(--md-secondary);
    margin-bottom: 6px;
}

.md-news-item-body h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--md-text);
    line-height: 1.4;
}

.md-news-item-body p {
    font-size: 0.85rem;
    color: rgba(245, 245, 241, 0.6);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   APP Exclusives
   ============================================ */
.md-app-exclusives {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    position: relative;
    overflow: hidden;
}

.md-app-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.md-app-content {
    flex: 1;
}

.md-app-content h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--md-secondary);
}

.md-app-content .md-app-subtitle {
    font-size: 1.1rem;
    color: rgba(245, 245, 241, 0.8);
    margin-bottom: 32px;
    line-height: 1.8;
}

.md-app-features {
    list-style: none;
    margin-bottom: 32px;
}

.md-app-features li {
    padding: 10px 0;
    padding-left: 32px;
    position: relative;
    color: rgba(245, 245, 241, 0.7);
}

.md-app-features li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--md-secondary);
    font-size: 0.7rem;
    top: 12px;
}

.md-app-download-btns {
    display: flex;
    gap: 16px;
}

.md-app-mockup {
    flex: 0 0 300px;
    max-width: 300px;
}

.md-app-mockup img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ============================================
   Copyright Notice
   ============================================ */
.md-copyright-notice {
    padding: 60px 0;
    background: var(--md-primary);
    border-top: 1px solid var(--md-border);
}

.md-copyright-inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.md-copyright-inner h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--md-secondary);
}

.md-copyright-inner p {
    font-size: 0.95rem;
    color: rgba(245, 245, 241, 0.7);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ============================================
   Footer
   ============================================ */
#md-footer {
    background: var(--md-bg-dark);
    border-top: 2px solid rgba(229, 184, 105, 0.2);
    padding: 60px 0 0;
}

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

.md-footer-col h4 {
    font-size: 1rem;
    color: var(--md-secondary);
    margin-bottom: 20px;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 12px;
}

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

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

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

.md-footer-col a {
    color: rgba(245, 245, 241, 0.6);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.md-footer-bottom {
    border-top: 1px solid var(--md-border);
    padding: 24px 0;
    text-align: center;
}

.md-footer-award {
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--md-secondary);
    letter-spacing: 1px;
}

.md-footer-beian {
    font-size: 0.8rem;
    color: rgba(245, 245, 241, 0.4);
    margin-bottom: 8px;
}

.md-footer-beian a {
    color: rgba(245, 245, 241, 0.4);
}

.md-footer-beian a:hover {
    color: var(--md-secondary);
}

.md-footer-beian img {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

.md-footer-copyright {
    font-size: 0.8rem;
    color: rgba(245, 245, 241, 0.3);
}

/* ============================================
   Inner Page Styles
   ============================================ */
.md-page-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.md-page-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.md-page-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.md-page-hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 12px;
    color: var(--md-text);
}

.md-page-hero-content p {
    font-size: 1.1rem;
    color: rgba(245, 245, 241, 0.7);
    max-width: 600px;
}

.md-page-content {
    padding: 60px 0;
}

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

.md-movie-card {
    background: var(--md-bg-card);
    border: 1px solid var(--md-border);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.md-movie-card:hover {
    transform: translateY(-8px);
    border-color: var(--md-secondary);
    box-shadow: 0 12px 40px rgba(229, 184, 105, 0.15);
}

.md-movie-card-poster {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
}

.md-movie-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.md-movie-card:hover .md-movie-card-poster img {
    transform: scale(1.05);
}

.md-movie-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 56px;
    height: 56px;
    background: rgba(229, 184, 105, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.md-movie-card-play::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 16px solid var(--md-primary);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 3px;
}

.md-movie-card:hover .md-movie-card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

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

.md-movie-card-body h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.md-movie-card-meta {
    font-size: 0.8rem;
    color: rgba(245, 245, 241, 0.5);
}

.md-movie-card-rating {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(229, 184, 105, 0.15);
    color: var(--md-secondary);
    font-size: 0.8rem;
    margin-top: 8px;
}

/* ============================================
   Recruitment Form
   ============================================ */
.md-recruitment-form {
    max-width: 700px;
    margin: 0 auto;
}

.md-form-group {
    margin-bottom: 24px;
}

.md-form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--md-secondary);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.md-form-group input,
.md-form-group textarea,
.md-form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--md-bg-card);
    border: 1px solid var(--md-border);
    color: var(--md-text);
    font-family: var(--md-font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    outline: none;
}

.md-form-group input:focus,
.md-form-group textarea:focus,
.md-form-group select:focus {
    border-color: var(--md-secondary);
}

.md-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.md-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.md-form-file {
    position: relative;
    border: 2px dashed var(--md-border);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.md-form-file:hover {
    border-color: var(--md-secondary);
}

.md-form-file input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.md-form-file p {
    color: rgba(245, 245, 241, 0.5);
    font-size: 0.9rem;
}

.md-form-file .md-upload-icon {
    font-size: 2rem;
    color: var(--md-secondary);
    margin-bottom: 8px;
}

/* ============================================
   APP Download Page
   ============================================ */
.md-app-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.md-app-page-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.md-app-page-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.25) blur(2px);
}

.md-app-page-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 120px 0 80px;
}

.md-app-page-text {
    flex: 1;
}

.md-app-page-text h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    color: var(--md-secondary);
}

.md-app-page-text .md-subtitle {
    font-size: 1.15rem;
    color: rgba(245, 245, 241, 0.8);
    margin-bottom: 40px;
    line-height: 1.8;
}

.md-app-page-phone {
    flex: 0 0 280px;
}

.md-app-page-phone img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.md-qr-section {
    display: flex;
    gap: 32px;
    margin-top: 40px;
}

.md-qr-item {
    text-align: center;
}

.md-qr-item .md-qr-placeholder {
    width: 120px;
    height: 120px;
    background: var(--md-bg-card);
    border: 2px solid var(--md-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: rgba(245, 245, 241, 0.4);
}

.md-qr-item p {
    font-size: 0.85rem;
    color: rgba(245, 245, 241, 0.6);
}

/* ============================================
   Animations
   ============================================ */
.md-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.md-fade-in.md-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */

/* 1440px */
@media (max-width: 1440px) {
    .md-container {
        max-width: 1200px;
    }
}

/* 1024px */
@media (max-width: 1024px) {
    .md-nav-links {
        display: none;
    }

    .md-hamburger {
        display: flex;
    }

    .md-premiere-content h2 {
        font-size: 2.2rem;
    }

    .md-bts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .md-producer-grid {
        grid-template-columns: 1fr;
    }

    .md-actor-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .md-movie-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .md-cinema-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .md-news-grid {
        grid-template-columns: 1fr;
    }

    .md-news-featured {
        grid-row: span 1;
        aspect-ratio: 16/9;
    }

    .md-app-page-content {
        flex-direction: column;
        text-align: center;
    }

    .md-qr-section {
        justify-content: center;
    }
}

/* 768px */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .md-container {
        padding: 0 16px;
    }

    .md-premiere {
        height: 70vh;
        min-height: 500px;
    }

    .md-premiere-content {
        padding: 0 24px;
        bottom: 60px;
    }

    .md-premiere-content h2 {
        font-size: 1.8rem;
    }

    .md-section-header {
        padding-top: 60px;
        margin-bottom: 40px;
    }

    .md-section-header h2 {
        font-size: 1.8rem;
    }

    .md-bts-grid {
        grid-template-columns: 1fr;
    }

    .md-actor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .md-movie-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .md-script-inner {
        flex-direction: column;
        gap: 30px;
    }

    .md-app-inner {
        flex-direction: column;
        text-align: center;
    }

    .md-app-download-btns {
        justify-content: center;
    }

    .md-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .md-page-hero {
        height: 300px;
    }

    .md-page-hero-content h1 {
        font-size: 2rem;
    }

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

    .md-app-page-content {
        padding: 100px 0 60px;
        gap: 40px;
    }

    .md-app-page-phone {
        flex: 0 0 220px;
    }
}

/* 360px */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .md-premiere {
        height: 60vh;
        min-height: 400px;
    }

    .md-premiere-content h2 {
        font-size: 1.5rem;
    }

    .md-premiere-content p {
        font-size: 0.9rem;
    }

    .md-actor-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .md-movie-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .md-cinema-grid {
        grid-template-columns: 1fr;
    }

    .md-brand-logos {
        gap: 16px;
    }

    .md-brand-logo-item {
        width: 100px;
        height: 60px;
        font-size: 0.75rem;
    }

    .md-app-download-btns {
        flex-direction: column;
        align-items: center;
    }

    .md-qr-section {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.md-text-gold {
    color: var(--md-secondary);
}

.md-text-center {
    text-align: center;
}

.md-mt-40 {
    margin-top: 40px;
}

.md-mb-40 {
    margin-bottom: 40px;
}

/* Jammer blocks - hidden */
.film-jammer-block {
    display: none !important;
}
