* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url('https://img.zcool.cn/community/01gsh3yf0mivdqm8g6beqf3430.jpg?x-oss-process=image/auto-orient,1/resize,m_lfit,w_1280,limit_1/sharpen,100/quality,q_100');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    padding: 0;
    padding-top: 40px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    color: #c41230;
    font-size: 2.5em;
    padding: 20px 0;
}

.info-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
}

.label {
    font-weight: bold;
    color: #666;
    margin-right: 10px;
}

.value {
    color: #c41230;
}

.content {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.intro {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-indent: 2em;
}

h2 {
    color: #c41230;
    margin: 20px 0;
    font-size: 1.5em;
}

.history p {
    margin-bottom: 10px;
}

.plays {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.plays ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.plays li {
    padding: 10px;
    background: #f8f8f8;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
}

.plays li:hover {
    background: #c41230;
    color: #fff;
    transform: translateY(-2px);
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px;
    text-align: center;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 250px;
    }
}

.floating-window {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.98);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 200px;
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
}

.floating-content {
    text-align: center;
}

.floating-content h3 {
    color: #c41230;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.floating-content p {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.vr-button {
    display: inline-block;
    background: #c41230;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.vr-button:hover {
    background: #e51937;
    transform: translateY(-2px);
}

@keyframes float {
    0% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(-55%);
    }
    100% {
        transform: translateY(-50%);
    }
}

@media (max-width: 768px) {
    .floating-window {
        position: fixed;
        bottom: 20px;
        top: auto;
        right: 50%;
        transform: translateX(50%);
        width: 90%;
        max-width: 300px;
        animation: none;
    }
}

.video-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 40%; /* 调整为更合适的比例 */
    height: 0;
    overflow: hidden;
    margin: 20px auto;
    max-width: 800px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .video-container {
        padding-bottom: 50%; /* 移动端的比例也相应调整 */
    }
}

.footer {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2em;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #c41230;
}

.footer-section p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #999;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.announcement-bar {
    background: linear-gradient(90deg, #FFD700, #FFA500);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid #FFD700;
    box-shadow: 0 2px 5px rgba(255, 215, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001;
}

.announcement-text {
    display: inline-block;
    animation: scroll-left 30s linear infinite;
    background: linear-gradient(90deg, #8B0000, #4B0082);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 1.1em;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    padding-left: 100%;  /* 确保文字从屏幕右边开始 */
}

/* 大屏幕 */
@media (min-width: 1200px) {
    @keyframes scroll-left {
        0% { transform: translateX(0); }
        100% { transform: translateX(-100%); }
    }
}

/* 中等屏幕 */
@media (min-width: 768px) and (max-width: 1199px) {
    @keyframes scroll-left {
        0% { transform: translateX(0); }
        100% { transform: translateX(-100%); }
    }
}

/* 小屏幕 */
@media (max-width: 767px) {
    @keyframes scroll-left {
        0% { transform: translateX(0); }
        100% { transform: translateX(-100%); }
    }
    
    .announcement-text {
        font-size: 0.9em;
    }
}
 