/* ========================================
   玄影 - 国风仙侠手游推广站
   响应式设计，电脑端展示二维码下载
   ======================================== */

/* --- CSS Variables --- */
:root {
    --primary: #d4a574;
    --primary-dark: #b8864e;
    --primary-light: #f0d5b0;
    --gold: #ffd700;
    --red: #c0392b;
    --red-light: #e74c3c;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222;
    --text: #e8e0d8;
    --text-muted: #a09888;
    --text-dim: #706858;
    --border: #2a2a2a;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 60px rgba(0, 0, 0, 0.6);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* --- Loading Screen --- */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.loading-sword {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 0 auto 24px;
    border-radius: 2px;
    animation: swordShine 1.2s ease-in-out infinite;
}

@keyframes swordShine {
    0%, 100% { width: 20px; opacity: 0.3; }
    50% { width: 80px; opacity: 1; }
}

.loading-text {
    color: var(--primary);
    font-size: 1.1rem;
    letter-spacing: 0.3em;
    animation: fadeText 1.2s ease-in-out infinite;
}

@keyframes fadeText {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color var(--transition);
    position: relative;
}

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

.nav a:hover,
.nav a:focus {
    color: var(--primary);
}

.nav a:hover::after,
.nav a:focus::after {
    width: 100%;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 8s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.5) 40%,
        rgba(10, 10, 10, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.badge-tag {
    padding: 4px 16px;
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    background: rgba(212, 165, 116, 0.1);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    color: #fff;
    text-shadow: 0 0 60px rgba(212, 165, 116, 0.5);
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 12px;
}

.hero-slogan {
    font-size: clamp(0.9rem, 1.5vw, 1.15rem);
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #1a0a0a;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.05em;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.3);
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.5);
}

/* 下载按钮触发器 */
.btn-download-trigger {
    position: relative;
    user-select: none;
}

/* 二维码浮层 */
.qrcode-popup {
    position: absolute;
    bottom: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 100;
    width: 160px;
}

.btn-download-trigger:hover .qrcode-popup {
    opacity: 1;
    visibility: visible;
}

.qrcode-popup-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--bg-card);
}

.qrcode-popup-content {
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
}

.qrcode-popup-content #heroQrcode {
    display: inline-block;
    padding: 8px;
    background: #1a0a0a;
    border-radius: 6px;
}

.qrcode-popup-content #heroQrcode img {
    display: block;
}

.qrcode-popup-content p {
    margin-top: 10px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.btn-outline {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid rgba(212, 165, 116, 0.5);
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.05em;
    transition: all var(--transition);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(212, 165, 116, 0.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 15px;
    position: relative;
    opacity: 0.6;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 22px; opacity: 0.2; }
}

/* --- Section Common --- */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    color: #fff;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    margin-bottom: 60px;
}

/* --- Features Section --- */
.features {
    background: var(--bg-dark);
    background-image: 
        radial-gradient(ellipse at 50% 0%, rgba(212, 165, 116, 0.05) 0%, transparent 60%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(212, 165, 116, 0.15);
}

.feature-img {
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.feature-card:hover .feature-img img {
    transform: scale(1.08);
}

.feature-info {
    padding: 24px;
}

.feature-info h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.feature-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Welfare Section --- */
.welfare {
    background: var(--bg-card);
    background-image: 
        radial-gradient(ellipse at 50% 50%, rgba(212, 165, 116, 0.03) 0%, transparent 70%);
}

.welfare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.welfare-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.welfare-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.welfare-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.1);
}

.welfare-card:hover::before {
    opacity: 1;
}

.welfare-card.highlight {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(212, 165, 116, 0.05));
    border-color: var(--primary);
}

.welfare-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.welfare-card h3 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.welfare-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Guide Section --- */
.guide {
    background: var(--bg-card);
    background-image: 
        radial-gradient(ellipse at 30% 0%, rgba(212, 165, 116, 0.04) 0%, transparent 60%);
}

/* Guide Tabs */
.guide-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.guide-tab {
    padding: 14px 32px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    line-height: 1.5;
}

.guide-tab small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 2px;
    transition: color var(--transition);
}

.guide-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.guide-tab:hover small {
    color: var(--primary);
}

.guide-tab.active {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #1a0a0a;
    border-color: var(--primary);
    font-weight: 700;
}

.guide-tab.active small {
    color: #3a2020;
}

/* Guide Panels */
.guide-panel {
    display: none;
    animation: fadeInUp 0.4s ease-out;
}

.guide-panel.active {
    display: block;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.guide-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all var(--transition);
}

.guide-card:hover {
    border-color: rgba(212, 165, 116, 0.3);
    transform: translateY(-2px);
}

.guide-card.highlight-card {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.08), rgba(212, 165, 116, 0.02));
    position: relative;
}

.guide-card.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius) 0 0 var(--radius);
}

.guide-card.tip-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 215, 0, 0.01));
    border-color: rgba(255, 215, 0, 0.2);
}

.guide-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.guide-card-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.guide-card-header h3 {
    font-size: 1.15rem;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.guide-list {
    list-style: none;
    padding: 0;
}

.guide-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.guide-list li:last-child {
    margin-bottom: 0;
}

.guide-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.6;
}

.guide-list li strong {
    color: var(--primary-light);
}

.guide-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.guide-tags span {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(212, 165, 116, 0.08);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.82rem;
    transition: all var(--transition);
}

.guide-tags span:hover {
    background: rgba(212, 165, 116, 0.15);
    border-color: var(--primary);
}

/* --- Screenshots Section --- */
.screenshots {
    background: var(--bg-dark);
}

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

.screenshot-item {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
    cursor: pointer;
}

.screenshot-item:hover {
    transform: scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.2);
}

.screenshot-item img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
}

/* --- Download Section --- */
.download {
    background: var(--bg-dark);
    background-image: 
        radial-gradient(ellipse at 50% 100%, rgba(212, 165, 116, 0.08) 0%, transparent 60%);
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

/* PC端二维码区域 */
.download-qrcode {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.qrcode-wrapper {
    text-align: center;
    flex-shrink: 0;
}

#qrcode {
    display: inline-block;
    padding: 12px;
    background: #1a0a0a;
    border-radius: var(--radius);
    border: 2px solid var(--primary);
}

#qrcode img {
    display: block;
}

.qrcode-tip {
    margin-top: 12px;
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.download-info {
    flex: 1;
}

.game-icon {
    margin-bottom: 16px;
}

.game-icon img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.2);
}

.game-meta h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 4px;
}

.game-meta p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.game-meta .game-type {
    color: var(--primary);
    margin-top: 8px;
    font-size: 0.85rem;
}

.game-meta .game-date,
.game-meta .game-ratio {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* 移动端下载按钮 */
.download-buttons {
    display: none;
    flex-direction: column;
    gap: 16px;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 28px;
    border-radius: var(--radius);
    transition: all var(--transition);
    border: 2px solid transparent;
}

.btn-download:hover {
    transform: translateY(-2px);
}

.btn-ios {
    background: #000;
    border-color: #555;
    color: #fff;
}

.btn-ios:hover {
    border-color: #aaa;
}

.btn-android {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #1a0a0a;
}

.btn-android:hover {
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.4);
}

.btn-icon {
    font-size: 2rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-text small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.btn-text strong {
    font-size: 1.15rem;
    font-weight: 700;
}

/* PC端下载按钮 */
.download-btns-pc {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.btn-download-pc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.btn-ios-pc {
    background: #000;
    border-color: #555;
    color: #fff;
}

.btn-ios-pc:hover {
    border-color: #aaa;
    transform: translateY(-2px);
}

.btn-android-pc {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #1a0a0a;
}

.btn-android-pc:hover {
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.4);
    transform: translateY(-2px);
}

/* PC Only / Mobile Only */
.pc-only { display: flex; }
.mobile-only { display: none; }

/* --- Friendly Links Section --- */
.links {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.links-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.links-row a {
    display: inline-block;
    padding: 8px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 50px;
    transition: all var(--transition);
}

.links-row a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(212, 165, 116, 0.06);
}

/* --- Footer --- */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.footer-logo span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.footer-copy {
    color: var(--text-dim);
    font-size: 0.8rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 900;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    color: #1a0a0a;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.3);
}

/* --- Mobile Nav Overlay --- */
.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-overlay nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.nav-overlay nav a {
    font-size: 1.5rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    transition: color var(--transition);
}

.nav-overlay nav a:hover {
    color: var(--primary);
}

.nav-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(212, 165, 116, 0.3);
    transition: all var(--transition);
}

.nav-close:hover {
    background: rgba(212, 165, 116, 0.1);
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .welfare-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }

    .guide-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .guide-tabs {
        gap: 8px;
    }

    .guide-tab {
        padding: 12px 24px;
        font-size: 0.88rem;
    }

    .download-qrcode {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .download-info {
        text-align: center;
    }

    .game-icon {
        display: flex;
        justify-content: center;
    }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .header {
        padding: 12px 0;
    }

    .nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 600px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    /* 移动端隐藏二维码浮层 */
    .qrcode-popup {
        display: none;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .welfare-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .welfare-card {
        padding: 20px 16px;
    }

    .guide-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .guide-tabs {
        gap: 6px;
        margin-bottom: 32px;
    }

    .guide-tab {
        padding: 10px 16px;
        font-size: 0.82rem;
    }

    .guide-tab small {
        font-size: 0.7rem;
    }

    .guide-card {
        padding: 20px 16px;
    }

    .guide-tags {
        gap: 6px;
    }

    .guide-tags span {
        padding: 3px 10px;
        font-size: 0.75rem;
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* 切换显示模式 */
    .pc-only { display: none !important; }
    .mobile-only { display: flex !important; }

    .download-content {
        max-width: 100%;
    }

    .section-desc {
        margin-bottom: 36px;
        font-size: 0.95rem;
    }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-slogan {
        font-size: 0.85rem;
    }

    .screenshots-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .badge-tag {
        font-size: 0.75rem;
        padding: 3px 12px;
    }
}
