:root {
    --primary: #0a192f;
    --secondary: #112240;
    --accent: #64ffda;
    --text: #ccd6f6;
    --light-text: #a8b2d1;
    --card-bg: rgba(17, 34, 64, 0.7);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, var(--primary) 0%, #020c1b 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230a192f"/><path d="M0 0L100 100M100 0L0 100" stroke="%23112240" stroke-width="0.5"/></svg>');
    background-size: 100px;
    line-height: 1.6;
}

/* 导航栏样式 */
header {
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-container img {
    width: 40px;
    height: 40px;
}

.game-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent), #4db5ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.5px;
}

/* 桌面导航 */
.desktop-nav {
    display: flex;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

.desktop-nav a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.desktop-nav a:hover {
    color: var(--accent);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

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



/* 导航栏滚动效果 */
header {
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 5%;
    background-color: rgba(10, 25, 47, 0.98);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

header.scrolled .game-title {
    font-size: 1.3rem;
}

header.scrolled .logo-container img {
    width: 35px;
    height: 35px;
}



/* 内容区域 */
.hero {
    padding: 6rem 5% 4rem;
    text-align: center;
    background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.9)), 
                url('https://images.unsplash.com/photo-1533134486753-c833f0ed4866?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #64ffda, #4db5ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(100, 255, 218, 0.2);
}

.hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: var(--light-text);
    line-height: 1.6;
}

.cta-button {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 12px 28px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: button;
    transition: var(--transition);
    margin: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

.cta-button.primary {
    background: var(--accent);
    color: var(--primary);
    font-weight: 600;
}

.section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    background: linear-gradient(90deg, var(--accent), #4db5ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.2);
    border: 1px solid rgba(100, 255, 218, 0.3);
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 i {
    color: var(--accent);
}

.card-body {
    padding: 20px;
}

.dev-log {
    background: var(--secondary);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    transition: var(--transition);
    border: 1px solid rgba(100, 255, 218, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dev-log:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.2);
    border: 1px solid rgba(100, 255, 218, 0.3);
}

.dev-log h4 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.dev-log .date {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.dev-log p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.dev-log a {
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.dev-log a:hover {
    color: #4db5ff;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.feature {
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

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

.team-member {
    text-align: center;
    padding: 30px 20px;
    background: var(--card-bg);
    border-radius: 30px 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.2);
    border: 1px solid rgba(100, 255, 218, 0.3);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent);
    border: 2px solid var(--accent);
    overflow: hidden;
}

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

.member-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--accent);
}

.member-role {
    color: var(--light-text);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.sponsor-tiers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.tier {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    width: 320px;
    text-align: center;
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tier:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.2);
    border: 1px solid rgba(100, 255, 218, 0.3);
}

.tier h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.tier .price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent);
}

.tier ul {
    list-style: none;
    margin-bottom: 25px;
}

.tier ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.tier ul li:last-child {
    border-bottom: none;
}

.qr-codes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
}

.qr-section {
    background: rgba(10, 25, 47, 0.5);
    padding: 15px;
    border-radius: 8px;
}

.qr-section h4 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.qr-image {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.8rem;
    text-align: center;
    padding: 10px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 30px 0;
}

.download-btn {
    background: var(--accent);
    color: var(--primary);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.3);
}

footer {
    background: var(--secondary);
    padding: 3rem 5%;
    text-align: center;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--accent), #4db5ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.5px;
}

.copyright {
    color: var(--light-text);
    margin-top: 20px;
    font-size: 0.9rem;
}

/* 赞助说明卡片样式 */
.sponsor-info-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    margin-top: 50px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(100, 255, 218, 0.1);
    text-align: center;
}

.sponsor-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(100, 255, 218, 0.2);
    border: 1px solid rgba(100, 255, 218, 0.3);
}

.sponsor-info-card h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sponsor-info-card p {
    line-height: 1.6;
    color: var(--light-text);
}


/* 内容卡片样式 */
.card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.card h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: var(--light-text);
    line-height: 1.6;
}

/* 开发日志折叠相关样式 */
.log-toggle-btn {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    margin: 0 auto 30px;
    display: block;
    align-items: center;
    gap: 8px;
}

.log-toggle-btn:hover {
    background: rgba(100, 255, 218, 0.1);
}

.dev-logs-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.dev-log.hidden {
    display: none;
}

#game-intro {
    margin-top: 10vh;
    padding-top: 5rem;
}

.loading-indicator {
    text-align: center;
    padding: 40px 0;
    color: var(--light-text);
}

.loading-indicator i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.error-message {
    color: #ff4d4f;
    text-align: center;
    padding: 20px;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.03);
}

.video-duration {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.video-stats {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    color: var(--light-text);
    font-size: 0.9rem;
}
/* 添加视频容器样式 */
.video-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* 视频放大与响应式设置 */
.embedded-video {
    width: 80%;
    max-width: 1000px;
    height: 450px; /* 保持16:9比例的高度 */
    border: none;
}

