/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e91e63;
    --secondary: #f06292;
    --accent: #f48fb1;
    --dark: #c2185b;
    --bg-dark: #1a1a1a;
    --bg-darker: #0f0f0f;
    --bg-light: #2a2a2a;
    --bg-white: #ffffff;
    --text-dark: #212121;
    --text: #424242;
    --text-light: #757575;
    --text-white: #ffffff;
    --border: #333333;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
}

/* 顶部导航栏 */
.site-header {
    background: var(--bg-darker);
    border-bottom: 2px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-section {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.main-logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.logo-subtitle {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.primary-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-items {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: all 0.3s;
}

/* 主横幅 */
.main-banner {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    padding: 80px 0;
}

.banner-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.banner-content {
    animation: fadeInLeft 0.6s ease-out;
}

.banner-heading {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--accent);
}

.banner-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: fadeInRight 0.6s ease-out;
}

.banner-image img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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


/* 主容器 */
.main-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

.content-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 介绍区块 */
.intro-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.section-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-white);
}

.section-content {
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
}

.section-content p {
    margin-bottom: 25px;
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* 内容区块 */
.content-section {
    padding: 60px 0;
    background: var(--bg-dark);
}

/* 内容网格 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.content-card {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid var(--border);
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-darker);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.content-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.content-card:hover .card-overlay {
    opacity: 1;
}

.play-btn {
    font-size: 48px;
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

.card-meta {
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 10px;
}

.card-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* 特色区块 */
.features-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-dark);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 12px;
}

.feature-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* 页面标题 */
.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 60px 0;
    text-align: center;
}

.banner-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* 内容区块 */
.content-section {
    padding: 60px 0;
    background: var(--bg-dark);
}

/* 关于内容 */
.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 25px;
}

.about-text p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 联系内容 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 25px;
}

.contact-text p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.contact-label {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
}

.contact-value {
    font-size: 16px;
    color: var(--text-white);
    font-weight: 600;
}

.contact-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 信息区块 */
.info-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.info-content {
    background: var(--bg-dark);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
}

.info-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
}

.info-content p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

/* 页脚 */
.site-footer {
    background: var(--bg-darker);
    color: var(--text-white);
    padding: 60px 0 20px;
    margin-top: 50px;
    border-top: 2px solid var(--border);
}

.footer-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-heading {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--primary);
}

.footer-text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

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

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .banner-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .banner-image {
        order: -1;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-items {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--bg-darker);
        flex-direction: column;
        padding: 30px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s;
        z-index: 99;
    }

    .nav-items.active {
        left: 0;
    }

    .nav-items li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-link {
        display: block;
        padding: 15px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .banner-heading {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .banner-heading {
        font-size: 28px;
    }

    .page-title {
        font-size: 32px;
    }

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