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

:root {
    --primary-color: #FF3366;
    --secondary-color: #FF6B35;
    --accent-color: #00D4FF;
    --dark-color: #0A0E27;
    --light-color: #FFFFFF;
    --gray-color: #666;
    --bg-color: #F8F9FA;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1f3a 100%);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 51, 102, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    color: var(--light-color);
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-download .btn-download {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.4);
}

.nav-download .btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 51, 102, 0.6);
}

/* 主横幅区域 */
.hero {
    margin-top: 70px;
    background: linear-gradient(135deg, #0A0E27 0%, #1a1f3a 50%, #0A0E27 100%);
    padding: 100px 0 0 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 51, 102, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--light-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn {
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 51, 102, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--light-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.download-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-top: 5px;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, #1a1f3a, #0A0E27);
    border-radius: 40px;
    padding: 15px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 8px rgba(255, 51, 102, 0.2),
        0 0 0 16px rgba(0, 212, 255, 0.1);
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-color), #1a1f3a);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 51, 102, 0.1), rgba(0, 212, 255, 0.1));
}

.preview-header {
    font-size: 24px;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 20px;
}

.preview-content {
    font-size: 18px;
    color: var(--accent-color);
}

.app-preview-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: float 3s ease-in-out infinite;
}

@media (max-width: 576px) {
    .app-preview-image {
        max-width: 280px;
    }
}

.hero-wave {
    height: 100px;
    background: var(--bg-color);
    margin-top: 80px;
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

/* 特色功能 */
.features {
    padding: 100px 0;
    background: var(--bg-color);
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray-color);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--light-color);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(255, 51, 102, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--gray-color);
    line-height: 1.8;
}

/* 下载区域 */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1f3a 100%);
    position: relative;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 51, 102, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.download .section-title,
.download .section-subtitle {
    color: var(--light-color);
    position: relative;
    z-index: 1;
}

.download-options {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.download-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.download-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(255, 51, 102, 0.3);
}

.platform-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
}

.platform-icon.android {
    background: linear-gradient(135deg, #00D4FF, #0099CC);
}

.platform-icon svg {
    width: 60px;
    height: 60px;
}

.download-card h3 {
    font-size: 28px;
    color: var(--light-color);
    margin-bottom: 10px;
}

.download-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.version-info {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 25px;
}

.btn-platform {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.4);
}

.btn-platform:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 51, 102, 0.6);
}

.qr-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code {
    display: inline-block;
    text-align: center;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: var(--light-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0 auto 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.qr-code-image {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    display: block;
    margin: 0 auto 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: white;
    padding: 10px;
}

.qr-code p {
    color: var(--light-color);
    font-size: 16px;
    font-weight: 500;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: var(--bg-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--gray-color);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.company-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.company-feature {
    background: var(--light-color);
    padding: 25px 20px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.company-feature:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(255, 51, 102, 0.2);
}

.company-feature h4 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.company-feature p {
    color: var(--gray-color);
    font-size: 14px;
    margin: 0;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(255, 51, 102, 0.3);
}

.placeholder-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--light-color);
}

/* 热门直播 */
.live-section {
    padding: 100px 0;
    background: var(--light-color);
}

.live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.live-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.live-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.live-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--primary-color), #ff1744);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.live-viewers {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-viewers svg {
    flex-shrink: 0;
}

.live-info {
    padding: 15px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.live-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--primary-color);
}

.live-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-details {
    flex: 1;
    min-width: 0;
}

.live-details h4 {
    font-size: 16px;
    color: var(--dark-color);
    margin: 0 0 5px 0;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-details p {
    font-size: 13px;
    color: var(--gray-color);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 联系方式 */
.contact {
    padding: 100px 0;
    background: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-color);
    border-radius: 20px;
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 51, 102, 0.2);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
}

.contact-icon svg {
    width: 40px;
    height: 40px;
}

.contact-item h4 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--gray-color);
    line-height: 1.6;
    word-break: break-word;
}

/* 底部 */
.footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1f3a 100%);
    padding: 60px 0 30px;
    color: var(--light-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    text-align: center;
}

.footer-brand h3 {
    font-size: 28px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    width: 100%;
    max-width: 600px;
}

.footer-column {
    text-align: center;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--light-color);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
}

.footer-column li {
    display: inline-block;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin: 8px 0;
}

.icp-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* 响应式设计 */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .live-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-options {
        grid-template-columns: 1fr;
    }
    
    .company-features,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .app-preview-image {
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 576px) {
    .features-grid,
    .live-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .download-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-column ul {
        flex-direction: column;
        gap: 12px;
    }
}

/* 模态窗口 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--light-color);
    margin: 3% auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: var(--gray-color);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1;
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.modal-body h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 30px;
    text-align: center;
    padding-right: 40px;
}

.modal-text {
    color: var(--dark-color);
    line-height: 1.8;
    font-size: 15px;
}

.modal-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.modal-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.modal-text p {
    margin-bottom: 15px;
    text-indent: 2em;
}

.modal-text ol, .modal-text ul {
    margin-left: 2em;
    margin-bottom: 15px;
}

.modal-text li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-body {
        padding: 30px 20px;
    }
    
    .modal-body h2 {
        font-size: 24px;
    }
    
    .modal-text {
        font-size: 14px;
    }
}

/* 视频播放弹窗 */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    animation: fadeIn 0.3s;
}

.video-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: videoFadeIn 0.3s;
}

@keyframes videoFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.video-modal-close {
    position: absolute;
    right: -40px;
    top: 0;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1;
}

.video-modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.live-video {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 10px;
    background: #000;
    object-fit: contain;
}

@media (max-width: 768px) {
    .live-video {
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .video-modal-close {
        right: 10px;
        top: -50px;
        font-size: 32px;
    }
}
