/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background-color: #0d1117;
    color: #e6edf3;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #58a6ff;
    transition: color 0.3s;
}

a:hover {
    color: #79c0ff;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    transition: all 0.3s;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 头部样式 */
header {
    background-color: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(88, 166, 255, 0.2);
}

.logo h1 {
    display: flex;
    align-content: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0;
    color: #58a6ff;
}

.logo p {
    font-size: 0.9rem;
    color: #8b949e;
}
.logo img{
    width: 6rem;
    height: 100%;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #e6edf3;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #58a6ff;
    transition: width 0.3s;
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

.user-area button {
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    margin-left: 0.5rem;
}

.login-btn {
    background-color: transparent;
    color: #58a6ff;
    border: 1px solid #58a6ff;
}

.login-btn:hover {
    background-color: rgba(88, 166, 255, 0.1);
}

.signup-btn {
    background-color: #58a6ff;
    color: #0d1117;
}
.down-btn{
    background-color: #58a6ff;
    color: #0d1117;
}

.signup-btn:hover {
    background-color: #79c0ff;
}
.down-btn:hover{
    background-color: #79c0ff;
}

/* 英雄区域 */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(13, 17, 23, 0.7), rgba(13, 17, 23, 0.8)), 
                url('../assets/images/hero-bg.jpg') no-repeat center center / cover;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #58a6ff, #a371f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(88, 166, 255, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-btn {
    background: linear-gradient(90deg, #58a6ff, #a371f7);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(88, 166, 255, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(88, 166, 255, 0.4);
}

.download-win-btn {
    background-color: #0078d4;
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 120, 212, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-win-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 120, 212, 0.4);
    background-color: #106ebe;
}

/* 特性区域 */
.features {
    background-color: #161b22;
    text-align: center;
    padding: 6rem 2rem;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    display: inline-block;
    position: relative;
}

.features h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #58a6ff, #a371f7);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #0d1117;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(88, 166, 255, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #58a6ff;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* 应用展示区域 */
.app-showcase {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.app-info {
    flex: 1;
}

.app-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.app-info p {
    color: #8b949e;
    margin-bottom: 2rem;
}

.showcase-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.showcase-item i {
    color: #58a6ff;
}

.showcase-item p{
    margin-bottom: 0;
}

.download-btn {
    background-color: #238636;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
}

.download-btn:hover {
    background-color: #2ea043;
    transform: translateY(-2px);
}

.app-screenshot {
    flex: 1;
}

.app-screenshot img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 游戏区域 */
.games-section {
    background-color: #161b22;
    padding: 6rem 2rem;
    text-align: center;
}

.games-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10rem;
    position: relative;
    display: inline-block;
}

.games-section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #58a6ff, #a371f7);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.game-item {
    background-color: #0d1117;
    border-radius: 10px;
    /* overflow: hidden; */
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.game-item img {
    position: relative;
    top: -2rem;
    width: 30%;
    /* height: 180px; */
    object-fit: cover;
}

.game-item h3 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.25rem;
    position: relative;
    top: -2rem;
}

.game-item p {
    position: relative;
    top: -2rem;
    padding: 0 1rem;
    color: #8b949e;
    font-size: 0.9rem;
}

.players-online {
    display: block;
    padding: 0.5rem 1rem 1rem;
    color: #58a6ff;
    font-size: 0.9rem;
}

.see-more {
    background-color: transparent;
    color: #58a6ff;
    border: 1px solid #58a6ff;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
}

.see-more:hover {
    background-color: rgba(88, 166, 255, 0.1);
}

/* 语音演示区域 */
.voice-demo {
    padding: 6rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.voice-demo h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.voice-demo h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #58a6ff, #a371f7);
}

.voice-demo-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.demo-item {
    flex: 1;
    min-width: 300px;
}

.demo-item h3 {
    margin-bottom: 1.5rem;
}

.audio-player {
    background-color: #161b22;
    padding: 1.5rem;
    border-radius: 10px;
}

.audio-player audio {
    width: 100%;
    margin-bottom: 1rem;
}

.waveform {
    height: 100px;
    background: rgba(88, 166, 255, 0.1);
    border-radius: 4px;
}

/* 社区统计 */
.community {
    background-color: #161b22;
    text-align: center;
    padding: 6rem 2rem;
}

.community h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.community > p {
    color: #8b949e;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.community-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #58a6ff, #a371f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: #8b949e;
    font-size: 1rem;
}

.join-btn {
    background: linear-gradient(90deg, #58a6ff, #a371f7);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(88, 166, 255, 0.3);
}

.join-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(88, 166, 255, 0.4);
}

/* 下载区域 */
.download {
    background: linear-gradient(rgba(13, 17, 23, 0.7), rgba(13, 17, 23, 0.9)), 
                url('../assets/images/download-bg.jpg') no-repeat center center / cover;
    text-align: center;
    padding: 6rem 2rem;
}

.download-content {
    max-width: 800px;
    margin: 0 auto;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download p {
    color: #8b949e;
    margin-bottom: 2.5rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.download-buttons button {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-windows {
    background-color: #0078d4;
    color: white;
}

.download-mac {
    background-color: #333;
    color: white;
}

.download-android {
    background-color: #3ddc84;
    color: black;
}

.download-ios {
    background-color: #000;
    color: white;
}

.download-buttons button:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* 页脚 */
footer {
    background-color: #0d1117;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-column {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-column-left{
    width: 100%;
}
.footer-column-left ul{
    display: flex;
    align-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-column h3 {
    color: #c9d1d9;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-column p {
    color: #8b949e;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: #8b949e;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #58a6ff;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #8b949e;
}
.footer-column-left ul li a{
    color: #fff;
}
.footer-column ul li a:hover {
    color: #58a6ff;
}

.footer-bottom {
    border-top: 1px solid #21262d;
    padding-top: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #8b949e;
}
.footer-bottom a {
    color: #8b949e;
}
.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: #8b949e;
    font-size: 0.9rem;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #0d1117;
    border-radius: 10px;
    padding: 2rem;
    /*width: 100%;*/
    /*max-width: 500px;*/
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #8b949e;
}

.close-modal:hover {
    color: #e6edf3;
}

.modal h2 {
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #c9d1d9;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #30363d;
    background-color: #0d1117;
    color: #e6edf3;
}

.form-group input:focus {
    outline: none;
    border-color: #58a6ff;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-actions button {
    background-color: #238636;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
}

.form-actions button:hover {
    background-color: #2ea043;
}

.forgot-password {
    font-size: 0.9rem;
}

.bg-img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.bg-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bg-img video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.download-center{
    display: flex;
    align-content: center;
    justify-content: center;
    gap: 2rem;
}
.down-item{
    background-color: #161b22;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    padding: 2rem 4rem;
    border-radius: 1.2rem;
}
.down-item .fa-windows{
    font-size: 12rem;
    color: #0078d4;
}
.down-item .down-content{
    text-align: center;
    margin: 1rem auto;
}
.down-item .download-windows{
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
}
/* 响应式设计 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .app-showcase {
        flex-direction: column;
    }
    
    .app-screenshot {
        order: -1;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        margin-bottom: 1rem;
    }
    
    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .voice-demo-container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .features h2,
    .games-section h2,
    .voice-demo h2,
    .community h2,
    .download h2 {
        font-size: 2rem;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
} 