/* 短剧单页样式 */
.drama-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.drama-section {
    margin-bottom: 40px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.drama-header {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.drama-poster {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.drama-poster img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.watermark {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

.drama-info {
    flex: 2;
    min-width: 300px;
}

.drama-title {
    font-size: 28px;
    margin-top: 0;
    color: #333;
}

.drama-meta {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.episodes {
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

.drama-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.drama-tags a {
    background: #e0e0e0;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #555;
    text-decoration: none;
}

.drama-description {
    margin: 20px 0;
    line-height: 1.6;
    color: #444;
}

.countdown-timer {
    background: #ffeb3b;
    padding: 10px;
    border-radius: 4px;
    display: inline-block;
    margin: 15px 0;
    font-weight: bold;
}

.promo-banner {
    background: #f44336;
    color: white;
    padding: 12px;
    border-radius: 4px;
    margin: 15px 0;
    text-align: center;
}

.download-button {
    display: inline-block;
    background: #4caf50;
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: background 0.3s;
}

.download-button:hover {
    background: #388e3c;
}

/* 影评部分 */
.drama-reviews h2 {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.review-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.review-item {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.review-time {
    font-size: 12px;
    color: #777;
}

.review-content {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

/* 促销部分 */
.drama-promo h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.promo-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 20px;
}

.drama-poster-small {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    position: relative;
}

.drama-poster-small img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.promo-text {
    flex: 2;
    min-width: 300px;
}

.promo-text h3 {
    margin-top: 0;
    font-size: 20px;
}

.activity-notice {
    font-size: 12px;
    color: #777;
    text-align: center;
    margin-top: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .drama-header {
        flex-direction: column;
    }

    .drama-poster,
    .drama-info {
        flex: none;
        width: 100%;
    }

    .promo-content {
        flex-direction: column;
        text-align: center;
    }
}

/* 基础样式 */
:root {
    --primary-color: #ff4d4d;
    --secondary-color: #333;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #ff4d4d;
    background-color: #000000;
}

mian {
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1000px;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 25px;
}

/* 页眉样式 */
header {
    background-color: #171717;
    box-shadow: var(--box-shadow);
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}


.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 25px;
    position: relative;
}

.nav-link {
    color: #ff4d4d;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.nav-link i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 767px) {
    .header-content {
        align-items: center;
        padding: 5px;
    }

    .logo {
        justify-content: center;
        text-align: center;
    }

    nav {
        margin-top: 10px;
    }

    .nav-menu {
        justify-content: center;
        flex-wrap: nowrap;
        padding: 0 10px;
    }

    .nav-item {
        margin: 0 10px;
        flex: 1;
        text-align: center;
    }

    .nav-link {
        font-size: 0.95rem;
        display: block;
        white-space: nowrap;
    }

    .nav-link i {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-link {
        font-size: 0.9rem;
    }

    .nav-item {
        margin: 0 5px;
    }
}

section {
    padding: 30px 0;
}

h1 {
    font-size: 26px;
    color: #ff4d4d;
}

h2 {
    font-size: 24px;
    color: #ff4d4d;
    margin: 25px 0 25px;
    position: relative;
    padding-bottom: 10px;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

h3 {
    font-size: 1.4rem;
    color: #ff4d4d;
}

p {
    font-size: 14px;
    margin-bottom: 5px;
    color: #CCCCCC;
}

@media (min-width: 1024px) {
    p {
        font-size: 16px;
        margin-bottom: 5px;
        color: #CCCCCC;
    }
}

.tag {
    display: inline-block;
    background: #f0f0f0;
    padding: 2px 12px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--secondary-color);
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary-color);
    color: white;
}

.poster {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.poster:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    margin: 10px 0;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
}

.btn:hover {
    background: #e60000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 77, 77, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-app {
    text-align: center;
    width: 200px;
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
    margin-bottom: 15px;
    justify-content: center;
}

.btn-app i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.review {
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
    margin: 20px 0;
    transition: var(--transition);
}

.review:hover {
    transform: translateX(5px);
}

.reviewer {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.review-time {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.timer {
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
    margin: 20px 0 0;
    padding: 5px;
    background: #acacac36;
    border-radius: var(--border-radius);
    display: inline-block;
}

.timer span {
    font-weight: normal;
    color: #ffffff;
    font-size: 14px;
    padding: 0 2px;
}

.disclaimer {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

footer {
    background-color: #000000;
    color: white;
    padding: 30px 0 0px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-column p {
    color: #CCCCCC;
    margin-bottom: 15px;
    font-size: 15px;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.app-download {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
}

.copyright {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    font-size: 0.9rem;
}

.info-container h4 {
    color: #ffffff;
    font-size: 15px;
    line-height: 22px;
    margin-top: 10px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-weight: 400;
}

/* 响应式布局 */
@media (min-width: 768px) {
    .flex-container {
        display: flex;
        gap: 40px;
        align-items: center;
    }

    .poster-container {
        flex: 1;
    }

    .info-container {
        flex: 1 1 56%;
    }
}

@media (max-width: 767px) {
    .flex-container {
        flex-direction: column;
    }

    .poster-container {
        margin-bottom: 30px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 22px;
    }

    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .nav-item {
        margin-left: 15px;
        margin-bottom: 5px;
    }

    .nav-link {
        font-size: 14px;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}