* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Ma Shan Zheng';
    src: url('../css/fonts/Ma_Shan_Zheng/MaShanZheng-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

header {
    background-color: white;
    color: #333;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.logo-img {
    height: 40px;
    width: auto;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.logo-text {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 1.8rem;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
}

.logo a:hover .logo-text {
    color: #f39c12;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.3);
    transform: scale(1.05);
    animation: shake 0.3s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: scale(1.05) rotate(0deg); }
    25% { transform: scale(1.05) rotate(-5deg); }
    50% { transform: scale(1.05) rotate(5deg); }
    75% { transform: scale(1.05) rotate(-5deg); }
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.3rem 0;
}

nav ul li a:hover {
    color: #f39c12;
}

nav ul li a.active {
    color: #f39c12;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #f39c12;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: none;
    border-radius: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 230px 80px, #fff, transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 350px 60px, #fff, transparent),
        radial-gradient(2px 2px at 420px 180px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 500px 90px, #fff, transparent),
        radial-gradient(2px 2px at 580px 130px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 650px 50px, #fff, transparent),
        radial-gradient(2px 2px at 720px 170px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 800px 100px, #fff, transparent),
        radial-gradient(2px 2px at 880px 140px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 950px 70px, #fff, transparent),
        radial-gradient(2px 2px at 1020px 160px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 1100px 80px, #fff, transparent),
        radial-gradient(2px 2px at 1180px 150px, rgba(255,255,255,0.7), transparent);
    background-repeat: repeat;
    background-size: 1200px 200px;
    animation: twinkle 5s ease-in-out infinite;
    z-index: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.aurora {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(76, 175, 80, 0.1) 0%, 
        rgba(33, 150, 243, 0.1) 25%, 
        rgba(156, 39, 176, 0.1) 50%, 
        rgba(233, 30, 99, 0.1) 75%, 
        rgba(76, 175, 80, 0.1) 100%);
    background-size: 400% 400%;
    animation: aurora 15s ease infinite;
    z-index: 0;
}

@keyframes aurora {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 200, 255, 0.3) 0%, transparent 70%);
    animation: glowMove 10s ease-in-out infinite;
    z-index: 0;
}

.glow:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.glow:nth-child(2) {
    top: 50%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 100, 200, 0.2) 0%, transparent 70%);
    animation-delay: 3s;
}

.glow:nth-child(3) {
    bottom: 10%;
    left: 30%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(100, 255, 200, 0.2) 0%, transparent 70%);
    animation-delay: 6s;
}

@keyframes glowMove {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    25% { 
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.6;
    }
    75% { 
        transform: translate(20px, 30px) scale(1.05);
        opacity: 0.7;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content h2 {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 6rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    color: white;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.btn {
    display: inline-block;
    background-color: #f39c12;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243,156,18,0.4);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.features {
    margin-bottom: 3rem;
}

.features h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.testimonials {
    margin-bottom: 3rem;
}

.testimonials h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-style: italic;
}

.testimonial-item span {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: bold;
    text-align: right;
}

footer {
    background-color: #333;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-info h4,
.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a,
.footer-links p a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-links p a:hover {
    color: #f39c12;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
}

.footer-bottom .beian {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.footer-bottom .beian a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .beian a:hover {
    color: #f39c12;
}

/* 收费表页面样式 */
.pricing {
    margin-bottom: 3rem;
}

.pricing h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: bold;
    color: #f39c12;
    margin-bottom: 1rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card ul li {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

/* 视频页面样式 */
.videos {
    margin-bottom: 3rem;
}

.videos h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

.video-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.video-item video,
.video-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #000;
}

.video-wrapper {
    width: 100%;
    height: 200px;
    background-color: #000;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-info {
    padding: 1rem;
}

.video-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.video-title-link {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

.video-title-link:hover {
    color: #f39c12;
}

.gallery-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item-link:hover {
    transform: translateY(-5px);
}

.gallery-item-link:hover .gallery-item h4 {
    color: #f39c12;
}

.gallery-item-link:hover .gallery-item {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.video-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.video-item-link:hover {
    transform: translateY(-5px);
}

.video-item-link:hover .video-item {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* 视频详情页面样式 */
.video-detail {
    margin-bottom: 3rem;
}

.video-detail-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.video-player {
    margin: 0 auto 2rem auto;
    width: 800px;
    height: 450px;
}

.video-player video {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: contain;
}

.video-detail-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.video-detail-info > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.video-content,
.video-keypoints {
    margin-bottom: 2rem;
}

.video-content h3,
.video-keypoints h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.video-content p {
    line-height: 1.8;
    color: #555;
}

.video-keypoints ul {
    list-style: none;
    padding-left: 0;
}

.video-keypoints li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.video-keypoints li:before {
    content: "✓ ";
    color: #f39c12;
    font-weight: bold;
    margin-right: 0.5rem;
}

.back-link {
    text-align: center;
}

/* 关于页面样式 */
.about {
    margin-bottom: 3rem;
}

.about h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.about-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 2rem;
}

.about-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* 联系页面样式 */
.contact {
    margin-bottom: 3rem;
}

.contact h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.contact-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info {
    padding: 1rem;
}

.contact-info h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.qr-codes {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: space-around;
}

.wechat-qr,
.douyin-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wechat-qr h4,
.douyin-qr h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.wechat-qr img,
.douyin-qr img {
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.wechat-qr img:hover,
.douyin-qr img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-color: #f39c12;
}

.wechat-qr p,
.douyin-qr p {
    font-size: 1rem;
    color: #666;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .qr-codes {
        flex-direction: column;
        align-items: center;
    }
    
    .wechat-qr img,
    .douyin-qr img {
        width: 150px;
        height: 150px;
    }
}



/* 照片墙页面样式 */
.gallery {
    margin-bottom: 3rem;
}

.gallery h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-info {
    padding: 1rem;
}

.gallery-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.gallery-info p {
    font-size: 0.9rem;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0.5rem;
    }

    .hero {
        padding: 4rem 1rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    main {
        padding: 1rem;
    }

    .footer-content {
        padding: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .pricing-card,
    .video-item {
        padding: 1rem;
    }
}