/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 粒子效果背景 */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* 单个粒子样式 */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: opacity 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f3e9;
    background-image: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: #d84315;
    color: #fff;
}

.btn-primary:hover {
    background-color: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(216, 67, 21, 0.3);
}

/* 导航栏样式 */
.navbar {
    background-color: rgb(139 69 19 / 95%);
    color: #333;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    /* 保持固定样式，不受滚动影响 */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* 移动端导航开关 */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 9999;
}

.hamburger {
    display: block;
    position: relative;
    width: 30px;
    height: 3px;
    background-color: #fff9c4;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #fff9c4;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* 移动端导航打开状态 */
.mobile-nav-toggle[aria-expanded="true"] .hamburger {
    transform: rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
    opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-90deg) translate(8px);
    top: 0;
}

/* 屏幕阅读器文本 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: transform 0.3s ease;
    width: fit-content;
    max-width: 120px;
    overflow: hidden;
}

.logo-link:hover {
    transform: scale(1.05);
}

.navbar .logo {
    width: 120px !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    max-width: 120px !important;
    max-height: 60px !important;
    object-fit: contain !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links li {
    margin-left: 0;
}

.nav-links a {
    color: #fff9c4;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-radius: 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffd700;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    background-color: transparent;
    color: #ffd700;
}

.nav-links a:hover::after {
    width: 100%;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    background-color: #000;
    color: #fff;
    padding-top: 0;
    position: relative;
    overflow: hidden;
}

/* 视频背景样式 */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    margin: 0;
    padding: 0;
    border: none;
}

.hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.8;
    margin: 0;
    padding: 0;
    border: none;
}

/* 视频占位符样式 */
.video-placeholder {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #81c784 0%, #a5d6a7 50%, #c8e6c9 100%);
    color: #333;
    text-align: center;
    padding: 2rem;
}

.video-placeholder h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #8b0000;
}

.video-placeholder p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

/* 添加视频背景遮罩，增强文字可读性 */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

/* 确保容器内容显示在视频背景和遮罩之上 */
.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    padding-left: 80px;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: none;
    font-weight: 800;
    z-index: 1;
    position: relative;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    z-index: 1;
    position: relative;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-buttons .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    font-weight: 700;
}

.hero-buttons .btn-primary {
    background-color: #8b0000;
    color: #fff;
}

.hero-buttons .btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    z-index: 1;
    position: relative;
}

.shadow-puppet {
    width: 300px;
    height: 500px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    animation: puppet-sway 3s ease-in-out infinite alternate;
}

@keyframes puppet-sway {
    0% { transform: rotate(-5deg) translateY(0); }
    100% { transform: rotate(5deg) translateY(-10px); }
}

.shadow-puppet-1 {
    background-image: url('puppet1.jpg');
}

.shadow-puppet-2 {
    background-image: url('puppet2.jpg');
    animation-delay: 1s;
}

/* 通用章节样式 */
.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #8b0000;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 800;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* IP介绍样式 */
.about {
    padding: 120px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.3), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-text {
    background-color: #fff;
    padding: 0;
    border-radius: 8px;
    box-shadow: none;
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #8b0000;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
}

.about-3d {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 650px;
    perspective: 1200px;
    background-color: #f8f3e9;
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ip-3d-model {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.rotating-model {
    position: relative;
    width: 300px;
    height: 600px;
    transform-style: preserve-3d;
    animation: rotate3d 20s infinite linear;
    margin: 0 auto;
}

.model-face {
    position: absolute;
    width: 300px;
    height: 600px;
    backface-visibility: hidden;
}

.model-face img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 正面 */
.model-face.front {
    transform: translateZ(150px);
}

/* 右面 */
.model-face.right {
    transform: rotateY(90deg) translateZ(150px);
}

/* 背面 */
.model-face.back {
    transform: rotateY(180deg) translateZ(150px);
}

/* 左面 */
.model-face.left {
    transform: rotateY(-90deg) translateZ(150px);
}

@keyframes rotate3d {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.rotating-model:hover {
    animation-play-state: paused;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

/* 数字皮影角色样式 */
.digital-puppets-section {
    margin: 5rem 0;
    text-align: center;
}

.digital-puppets-section h3 {
    font-size: 2rem;
    color: #8b0000;
    margin-bottom: 1rem;
}

.digital-puppets-section p {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #666;
    font-size: 1.1rem;
}

.digital-puppets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.puppet-character {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.puppet-character:hover {
    transform: translateY(-8px);
}

.character-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.puppet-character:hover .character-card {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #8b0000;
}

.character-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.puppet-character:hover .character-image img {
    transform: scale(1.05);
}

.character-info {
    padding: 2rem;
    text-align: left;
}

.character-name {
    font-size: 1.5rem;
    color: #8b0000;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.character-desc {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.character-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: rgba(139, 0, 0, 0.1);
    color: #8b0000;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.puppet-character:hover .tag {
    background-color: #8b0000;
    color: #fff;
}

/* 技术工作流样式 */
.tech-workflow {
    background-color: #f8f9fa;
    padding: 6rem 0;
}

.workflow-overview {
    margin: 4rem 0;
    text-align: center;
}

.workflow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.workflow-step {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #8b0000;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-content h3 {
    color: #8b0000;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

.workflow-arrow {
    font-size: 2rem;
    color: #8b0000;
    font-weight: bold;
    margin: 0 1rem;
}

.workflow-details {
    margin: 4rem 0;
}

.workflow-section {
    background-color: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.workflow-section-title {
    color: #8b0000;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    border-bottom: 2px solid #8b0000;
    padding-bottom: 1rem;
}

.workflow-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
}

.workflow-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.workflow-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.workflow-text li {
    color: #666;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.workflow-text li::before {
    content: "•";
    color: #8b0000;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.workflow-visual img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.workflow-download {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.workflow-value {
    margin: 4rem 0;
    text-align: center;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.value-item h4 {
    color: #8b0000;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* 响应式设计 - 大屏设备 (1200px - 1400px) */
@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
        padding: 0 20px;
    }
    
    .live-content {
        grid-template-columns: 1fr 350px;
    }
}

/* 响应式设计 - 平板设备 (992px - 1200px) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 15px;
    }
    
    .live-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .navbar .nav-container {
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
}

/* 响应式设计 - 小屏平板/大屏手机 (768px - 992px) */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 导航栏调整 */
    .navbar .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo {
        width: 100px; /* 移动端调整 */
        height: auto;
    }
    
    /* 英雄区域调整 */
    .hero-content {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* 响应式设计 - 手机设备 (480px - 768px) */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    /* 导航栏移动端适配 */
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(139, 69, 19, 0.98);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .nav-links[data-visible="true"] {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 0.8rem 1.2rem;
        border-radius: 4px;
    }
    
    .nav-links a:hover {
        background-color: rgba(255, 215, 0, 0.1);
    }
    
    .nav-container {
        flex-direction: column;
        align-items: flex-end;
        gap: 0;
    }
    
    .user-menu {
        margin-top: 1rem;
    }
    
    /* 数字皮影角色 */
    .digital-puppets-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .character-image {
        height: 250px;
    }
    
    .character-info {
        padding: 1.5rem;
    }
    
    .character-name {
        font-size: 1.3rem;
    }
    
    /* 工作流 */
    .workflow-diagram {
        flex-direction: column;
        gap: 2rem;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
    
    .workflow-content {
        grid-template-columns: 1fr;
    }
    
    .workflow-section {
        padding: 2rem;
    }
    
    .workflow-download {
        flex-direction: column;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    /* 技术预览 */
    .tech-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-preview-item {
        padding: 1.5rem;
    }
    
    /* 图片画廊 */
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    /* 页脚 */
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* 英雄区域 */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* 按钮大小 */
    .btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }
}

/* 响应式设计 - 小屏手机 (< 480px) */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    /* 导航栏简化 */
    .navbar {
        padding: 0.8rem 0;
    }
    
    .navbar .container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-links {
        gap: 0.8rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
    
    .logo {
        width: 80px; /* 小屏移动端调整 */
        height: auto;
    }
    
    /* 英雄区域 */
    .hero-content {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    /* 各部分标题和间距 */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* 技术工作流 */
    .workflow-section {
        padding: 1.5rem;
    }
    
    .workflow-section-title {
        font-size: 1.5rem;
    }
    
    /* 图片和媒体 */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* 直播区域 */
    .live-main {
        padding: 1rem;
    }
    
    .live-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .live-stats {
        gap: 1.5rem;
    }
}

.feature-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.feature-link:hover {
    transform: translateY(-5px);
}

.feature {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 技术赋能预览板块样式 */
.tech-preview {
    background-color: #f8f3e9;
    padding: 6rem 0;
}

.tech-preview-content {
    margin-top: 4rem;
}

.tech-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tech-preview-item {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.tech-preview-item:hover {
    transform: translateY(-5px);
}

.tech-preview-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.tech-preview-item h3 {
    color: #8b0000;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tech-preview-item p {
    color: #666;
    line-height: 1.6;
}

.tech-preview-action {
    text-align: center;
    margin-top: 3rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tech-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tech-preview-item {
        padding: 1.5rem;
    }
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #8b0000;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

/* 文化视频板块样式 */
.culture-video {
    margin-top: 4rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.culture-video h3 {
    color: #8b0000;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1000px;
}

.culture-video-player {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.video-placeholder {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #f8f9fa;
    color: #666;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.video-placeholder h4 {
    color: #8b0000;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* 响应式设计 - 视频板块 */
@media (max-width: 992px) {
    .culture-video {
        padding: 1.5rem;
    }
    
    .culture-video h3 {
        font-size: 1.6rem;
    }
    
    .video-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .culture-video {
        padding: 1rem;
    }
    
    .culture-video h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .video-placeholder {
        padding: 3rem 1rem;
    }
    
    .video-placeholder h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .culture-video h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .video-placeholder {
        padding: 2rem 1rem;
    }
    
    .video-placeholder h4 {
        font-size: 1.2rem;
    }
    
    .video-placeholder p {
        font-size: 0.9rem;
    }
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.feature:hover::before {
    transform: scaleY(1);
}

.feature h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
    transition: color 0.3s ease;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.feature:hover h4 {
    color: #8b0000;
}

.feature p {
    color: #666;
    transition: color 0.3s ease;
    line-height: 1.7;
    font-size: 1rem;
}

.feature:hover p {
    color: #555;
}

/* 皮影戏文化样式 */
.culture {
    padding: 120px 0;
    background-color: #f8f3e9;
    position: relative;
}

.culture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.3), transparent);
}

.culture-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.culture-history, .culture-characteristics {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.culture-history:hover, .culture-characteristics:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.culture-history h3, .culture-characteristics h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #8b0000;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.culture-history p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
}

.culture-characteristics ul {
    list-style: none;
    padding: 0;
}

.culture-characteristics li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: #555;
    font-size: 1.05rem;
}

.culture-characteristics li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: #8b0000;
    font-weight: bold;
    font-size: 1.2rem;
}

.culture-craft {
    background-color: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
    text-align: center;
    transition: all 0.3s ease;
}

.culture-craft:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.culture-craft h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #8b0000;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-align: center;
}

.culture-craft p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
    color: #555;
    font-size: 1.05rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* 特色页面样式 */
.feature-page {
    padding: 120px 0;
    background-color: #fff;
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.feature-text {
    background-color: #f8f3e9;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #8b0000;
}

.feature-text h4 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: #8b0000;
}

.feature-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #666;
}

.feature-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.feature-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #666;
}

.feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    background-color: #f8f3e9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.feature-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.feature-image-placeholder:hover {
    transform: scale(1.05);
}

.feature-image-placeholder h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #8b0000;
}

.feature-image-placeholder p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* 形象展示样式 */
.gallery {
    display: none; /* 隐藏形象展示板块 */
    padding: 120px 0;
    background-color: #fff;
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.3), transparent);
}

.gallery-description {
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 4rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 2rem 1rem 1rem;
    text-align: center;
    font-size: 1.1rem;
    transform: translateY(0);
    transition: all 0.4s ease;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.gallery-concept {
    background-color: #f8f3e9;
    padding: 4rem;
    border-radius: 8px;
    margin-top: 6rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-concept:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.gallery-concept h3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #8b0000;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.gallery-concept p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
    color: #555;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* 互动直播模块样式 */
.live {
    padding: 120px 0;
    background-color: #f8f3e9;
    position: relative;
}

.live::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.3), transparent);
}

.live-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    margin-top: 0;
}

/* 直播主区域 */
.live-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 直播信息 */
.live-info {
    background-color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.live-status {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
    min-width: 300px;
}

.live-host-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #8b0000;
    flex-shrink: 0;
    display: inline-block !important;
    visibility: visible !important;
}

.live-host-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
}

.live-badge {
    background-color: #ff4444;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.live-title {
    font-size: 1.3rem;
    color: #333;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.live-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.stat-icon {
    font-size: 1.2rem;
}

.stat-value {
    font-weight: 700;
    color: #333;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* 直播视频区域 */
.live-video {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.video-wrapper {
    width: 100%;
    position: relative;
    background-color: #000;
    /* 移除固定宽高比，让视频自适应 */
    height: auto;
    min-height: 400px;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    z-index: 10;
}

.video-icon {
    font-size: 4vw;
    margin-bottom: 1rem;
    animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.video-placeholder h3 {
    font-size: 2vw;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 700;
}

.video-placeholder p {
    font-size: 1.2vw;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.stream-info {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.stream-type {
    background-color: rgba(139, 0, 0, 0.6);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
}

/* 视频元素样式（如果使用实际视频标签） */
.video-wrapper video {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    margin: 0 auto;
}

/* 直播控制栏 */
.live-controls {
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.control-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.control-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.progress-bar {
    flex: 1;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    transition: height 0.3s ease;
}

.progress-bar:hover {
    height: 6px;
}

.progress {
    width: 100%;
    height: 100%;
    position: relative;
}

.progress-filled {
    height: 100%;
    background-color: #8b0000;
    width: 65%;
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* 直播互动区域 */
.live-interaction {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
}

/* 聊天区域 */
.chat-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background-color: #f8f9fa;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 700;
}

.chat-btn {
    background-color: #8b0000;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-btn:hover {
    background-color: #b22222;
    transform: translateY(-1px);
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    max-height: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.user-name {
    font-weight: 600;
    color: #8b0000;
    font-size: 0.95rem;
}

.message-text {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

.chat-input {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
}

.chat-input input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.chat-input input:focus {
    border-color: #8b0000;
    box-shadow: 0 0 0 2px rgba(139, 0, 0, 0.1);
}

.send-btn {
    background-color: #8b0000;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.send-btn:hover {
    background-color: #b22222;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}

/* 礼物区域 */
.gifts-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.gifts-header {
    background-color: #f8f9fa;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gifts-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 700;
}

.like-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.3rem;
}

.like-btn:hover {
    transform: scale(1.1);
}

.like-icon {
    font-size: 1.5rem;
    color: #ff4444;
    animation: pulse 1.5s infinite;
}

.like-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.gifts-grid {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    overflow-y: auto;
    max-height: 400px;
}

.gift-item {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.gift-item:hover {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: #8b0000;
}

.gift-icon {
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.gift-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.gift-price {
    font-size: 0.85rem;
    color: #8b0000;
    font-weight: 700;
}

/* 直播侧边栏 */
.live-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 主播信息 */
.host-info {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.host-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #8b0000;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.2);
}

.host-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.host-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.host-name {
    font-size: 1.2rem;
    color: #333;
    font-weight: 700;
    margin: 0;
}

.host-desc {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.follow-btn {
    background-color: #8b0000;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    align-self: flex-start;
}

.follow-btn:hover {
    background-color: #b22222;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}

/* 相关直播 */
.related-lives {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.related-lives h4 {
    font-size: 1.1rem;
    color: #333;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.related-lives-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.related-live-item {
    display: flex;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.related-live-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.related-live-thumbnail {
    position: relative;
    width: 120px;
    height: 80px;
    flex-shrink: 0;
}

.related-live-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-indicator {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: #ff4444;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.related-live-info {
    flex: 1;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
}

.related-live-info h5 {
    font-size: 0.95rem;
    color: #333;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-live-info p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* 直播日程 */
.live-schedule {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.live-schedule h4 {
    font-size: 1.1rem;
    color: #333;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #8b0000;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.schedule-time {
    font-size: 1rem;
    font-weight: 700;
    color: #8b0000;
    flex-shrink: 0;
    width: 70px;
    text-align: center;
    background-color: rgba(139, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.schedule-event {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

/* 响应式设计调整 */
@media (max-width: 1200px) {
    .live-content {
        grid-template-columns: 1fr;
    }
    
    .live-sidebar {
        grid-column: 1;
    }
    
    .live-interaction {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .live-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .live-stats {
        width: 100%;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .video-placeholder {
        height: 250px;
    }
    
    .live-controls {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0.8rem 1rem;
        gap: 0.5rem;
    }
    
    .control-btn {
        font-size: 1rem;
        width: 32px;
        height: 32px;
    }
    
    .progress-bar {
        flex: 1 0 100%;
        order: -1;
    }
    
    .time-display {
        font-size: 0.85rem;
    }
    
    .related-live-item {
        flex-direction: column;
    }
    
    .related-live-thumbnail {
        width: 100%;
        height: 120px;
    }
    
    /* 优化直播互动区域 */
    .live-interaction {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 优化聊天区域 */
    .chat-messages {
        max-height: 300px;
    }
    
    /* 优化礼物区域 */
    .gifts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* 优化视频播放区域 */
    .video-wrapper {
        min-height: 250px;
    }
    
    .video-wrapper video {
        max-height: 60vh;
    }
}

/* 后台管理页面样式 */
.admin-section {
    padding: 120px 0;
    background-color: #f8f9fa;
}

.admin-main {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 左侧导航 */
.admin-sidebar {
    background-color: #1a1a1a;
    padding: 2rem 0;
}

.admin-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-nav-item {
    margin-bottom: 0.5rem;
}

.admin-nav-item a {
    display: block;
    padding: 1rem 2rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.admin-nav-item.active a,
.admin-nav-item:hover a {
    color: #fff;
    background-color: rgba(139, 0, 0, 0.2);
    border-left-color: #8b0000;
    transform: translateX(5px);
}

/* 右侧内容 */
.admin-content {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.admin-module {
    display: none;
}

.admin-module.active {
    display: block;
}

.admin-module h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #333;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #8b0000;
    display: inline-block;
}

.module-content {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

/* 表单样式 */
.config-form,
.content-section {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.config-form h4,
.content-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b0000;
    box-shadow: 0 0 0 2px rgba(139, 0, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

/* 状态样式 */
.stream-status {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stream-status h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 600;
}

.status-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.status-label {
    font-weight: 600;
    color: #555;
    min-width: 120px;
}

.status-value {
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-weight: 600;
}

.status-active {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.status-inactive {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* 内容部分 */
.content-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

/* 媒体管理样式 */
.media-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    background-color: #f1f3f4;
}

.tab-btn.active,
.tab-btn:hover {
    background-color: #8b0000;
    color: #fff;
    transform: translateY(-2px);
}

.media-content {
    display: none;
}

.media-content.active {
    display: block;
}

.upload-section {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.upload-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 600;
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    background-color: #f8f9fa;
}

.upload-area:hover {
    border-color: #8b0000;
    background-color: rgba(139, 0, 0, 0.05);
}

.upload-label {
    display: block;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.upload-label:hover {
    color: #8b0000;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

#imageUpload,
#videoUpload {
    display: none;
}

.media-library {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.media-library h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 600;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.media-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.media-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.media-item img,
.media-item video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.media-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-item:hover .media-actions {
    opacity: 1;
}

.action-btn {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn.edit {
    background-color: #28a745;
    color: #fff;
}

.action-btn.delete {
    background-color: #dc3545;
    color: #fff;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 技术赋能样式 */
.tech-features {
    padding: 4rem 0;
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-item {
    background-color: #f8f3e9;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0d6c0;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.tech-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #8b0000;
}

.tech-item p {
    color: #666;
    line-height: 1.6;
}

/* 应用场景样式 */
.tech-applications {
    padding: 4rem 0;
    background-color: #f8f3e9;
    position: relative;
    z-index: 1;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.application-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.application-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.application-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.application-content {
    padding: 1.5rem;
}

.application-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #8b0000;
}

.application-content p {
    color: #666;
    line-height: 1.6;
}

/* 技术架构样式 */
.tech-architecture {
    padding: 4rem 0;
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.architecture-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.architecture-layer {
    background-color: #f8f3e9;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    max-width: 600px;
    border: 2px solid #8b0000;
    position: relative;
}

.architecture-layer:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 1.5rem;
    background-color: #8b0000;
}

.architecture-layer h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #8b0000;
}

.architecture-layer p {
    color: #666;
    line-height: 1.6;
}

/* 未来展望样式 */
.future-outlook {
    padding: 4rem 0;
    background-color: #f8f3e9;
    position: relative;
    z-index: 1;
}

.outlook-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.outlook-text {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #8b0000;
    transition: all 0.3s ease;
}

.outlook-text:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.outlook-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #8b0000;
}

.outlook-text p {
    color: #666;
    line-height: 1.6;
}

/* 页脚样式 */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 4rem 0 2rem;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.3), transparent);
}

.footer .container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: #8b0000;
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.admin-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.admin-link:hover {
    color: #8b0000;
    transform: translateX(4px);
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #8b0000;
}

/* 数据监控模块样式 */
.time-range-selector {
    background-color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.time-range-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.time-range-buttons .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.custom-date-range {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.custom-date-range input[type="date"] {
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    min-width: 150px;
}

/* 数据统计卡片 */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #8b0000;
}

.stat-icon {
    font-size: 3rem;
    padding: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.stat-icon.visits {
    background-color: rgba(139, 0, 0, 0.1);
    color: #8b0000;
}

.stat-icon.live-interaction {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.stat-icon.downloads {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.stat-icon.live-views {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.stat-info {
    flex: 1;
}

.stat-info h5 {
    font-size: 1rem;
    color: #666;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.3rem 0;
    display: block;
}

.stat-change {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-change.positive {
    color: #28a745;
}

.stat-change.negative {
    color: #dc3545;
}

.stat-change span {
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
}

/* 图表容器 */
.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.chart-section {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.chart-section h4 {
    font-size: 1.2rem;
    color: #333;
    margin: 0 0 1.5rem 0;
    font-weight: 600;
}

.chart-placeholder {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border: 2px dashed #ddd;
    transition: all 0.3s ease;
}

.chart-placeholder:hover {
    border-color: #8b0000;
    background-color: rgba(139, 0, 0, 0.05);
}

.chart-placeholder canvas {
    max-width: 100%;
    height: auto;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 用户分析 */
.user-analysis {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.user-analysis h4 {
    font-size: 1.2rem;
    color: #333;
    margin: 0 0 1.5rem 0;
    font-weight: 600;
}

.user-analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.analysis-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.analysis-item h5 {
    font-size: 1rem;
    color: #555;
    margin: 0 0 1rem 0;
    font-weight: 600;
    text-align: center;
}

.analysis-item .chart-placeholder {
    min-height: 250px;
    margin-bottom: 1rem;
}

/* 年龄分布图例 */
.age-legend, .region-list, .interests-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    display: inline-block;
}

/* 地域和兴趣列表 */
.region-list, .interests-list {
    margin-top: 1rem;
}

.region-item, .interest-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

.region-percentage, .interest-percentage {
    font-weight: 600;
    color: #8b0000;
}

/* 数据导出 */
.data-export {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.data-export h4 {
    font-size: 1.2rem;
    color: #333;
    margin: 0 0 1.5rem 0;
    font-weight: 600;
}

.export-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .stats-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .charts-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .user-analysis-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-icon {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .time-range-buttons {
        gap: 0.8rem;
    }
    
    .time-range-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .custom-date-range {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .export-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .analysis-item {
        padding: 1rem;
    }
    
    .analysis-item .chart-placeholder {
        min-height: 200px;
    }
    
    .region-item, .interest-item {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .legend-item {
        font-size: 0.85rem;
        gap: 0.6rem;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 0.8rem 0;
    }
    
    .nav-container {
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-content, .culture-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .footer .container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.6rem 0;
    }
    
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .nav-links {
        gap: 0.8rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .hero {
        justify-content: center;
        text-align: center;
    }
    
    .hero .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about, .culture, .gallery {
        padding: 80px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about, .culture, .gallery {
        padding: 60px 0;
    }
    
    /* 优化直播模块在小屏幕上的显示 */
    .live-main {
        gap: 1rem;
    }
    
    .live-info {
        padding: 1rem;
    }
    
    .live-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .stat-item {
        flex: 1 0 calc(33.333% - 0.333rem);
        text-align: center;
        gap: 0.3rem;
    }
    
    .stat-icon {
        font-size: 1rem;
    }
    
    .stat-value {
        font-size: 0.9rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .video-placeholder {
        height: 200px;
    }
    
    .video-wrapper {
        min-height: 200px;
    }
    
    .video-wrapper video {
        max-height: 50vh;
    }
    
    /* 优化直播信息区域头像 */
    .live-status > div:first-child {
        width: 40px !important;
        height: 40px !important;
        margin-right: 6px !important;
    }
    
    /* 优化直播控制栏 */
    .live-controls {
        padding: 0.6rem 0.8rem;
        gap: 0.3rem;
    }
    
    .control-btn {
        font-size: 0.9rem;
        width: 28px;
        height: 28px;
    }
    
    .time-display {
        font-size: 0.75rem;
    }
    
    /* 优化礼物区域 */
    .gifts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        padding: 1rem;
    }
    
    .gift-item {
        padding: 0.8rem;
    }
    
    .gift-icon {
        font-size: 1.2rem;
    }
    
    .gift-name {
        font-size: 0.8rem;
    }
    
    .gift-price {
        font-size: 0.75rem;
    }
    
    /* 优化侧边栏主播头像 */
    .host-info > div:first-child {
        width: 60px !important;
        height: 60px !important;
    }
    
    /* 优化聊天区域 */
    .chat-messages {
        max-height: 250px;
        padding: 1rem;
    }
    
    .chat-input {
        padding: 0.8rem 1rem;
    }
    
    /* 优化导航栏 */
    .nav-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* 优化页脚 */
    .footer .container {
        padding: 0 15px;
    }
    
    .footer-column {
        text-align: center;
    }
}

