/* ============================================
   {{SITE_NAME}} - 主样式表
   独特的深紫金配色方案 + 现代渐变设计
   移动端优先响应式设计
   ============================================ */

:root {
    --primary-gold: #D4AF37;
    --primary-gold-light: #F4D03F;
    --primary-purple: #2D1B4E;
    --primary-purple-dark: #1A0F2E;
    --primary-purple-light: #4A2C7A;
    --accent-red: #C41E3A;
    --accent-green: #228B22;
    --text-light: #FFFFFF;
    --text-muted: #B8B8B8;
    --bg-card: rgba(45, 27, 78, 0.85);
    --bg-overlay: rgba(26, 15, 46, 0.95);
    --border-gold: rgba(212, 175, 55, 0.3);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.25);
    --shadow-purple: 0 8px 32px rgba(45, 27, 78, 0.5);
    --gradient-main: linear-gradient(135deg, #1A0F2E 0%, #2D1B4E 50%, #4A2C7A 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4D03F 50%, #D4AF37 100%);
    --font-main: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-display: 'Noto Serif SC', Georgia, serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-main); background: var(--gradient-main); color: var(--text-light); line-height: 1.8; min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-gold); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--primary-gold-light); }

.site-header { background: var(--bg-overlay); border-bottom: 1px solid var(--border-gold); padding: 1rem 0; }
.header-container { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.logo-wrapper { display: flex; align-items: center; gap: 0.75rem; }
.logo-img { width: 50px; height: 50px; object-fit: contain; }
.logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--primary-gold); letter-spacing: 1px; }
.main-nav { display: flex; align-items: center; gap: 0.5rem; }
.nav-toggle { display: none; background: transparent; border: 2px solid var(--primary-gold); color: var(--primary-gold); padding: 0.5rem; border-radius: var(--border-radius-sm); cursor: pointer; font-size: 1.5rem; }
.nav-menu { display: flex; list-style: none; gap: 0.25rem; }
.nav-menu li a { display: block; padding: 0.75rem 1.25rem; color: var(--text-light); font-weight: 500; border-radius: var(--border-radius-sm); transition: var(--transition-medium); }
.nav-menu li a:hover, .nav-menu li a.active { background: rgba(212, 175, 55, 0.15); color: var(--primary-gold); }
.cta-button { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--gradient-gold); color: var(--primary-purple-dark) !important; padding: 0.875rem 2rem; border-radius: 50px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; box-shadow: var(--shadow-gold); transition: var(--transition-medium); }
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4); }

.hero-section { position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.5rem; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; z-index: -1; }
.hero-content { max-width: 900px; z-index: 1; }
.hero-title { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 4rem); font-weight: 800; color: var(--primary-gold); margin-bottom: 1.5rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); line-height: 1.2; }
.hero-subtitle { font-size: clamp(1rem, 2.5vw, 1.5rem); color: var(--text-light); margin-bottom: 2.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; border: 2px solid var(--primary-gold); color: var(--primary-gold); padding: 0.875rem 2rem; border-radius: 50px; font-weight: 600; transition: var(--transition-medium); }
.btn-secondary:hover { background: rgba(212, 175, 55, 0.1); }

.content-section { padding: 5rem 1.5rem; max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--primary-gold); margin-bottom: 1rem; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background: var(--gradient-gold); border-radius: 2px; }
.section-desc { font-size: 1.125rem; color: var(--text-muted); max-width: 700px; margin: 1.5rem auto 0; }

.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.game-card { background: var(--bg-card); border-radius: var(--border-radius-lg); overflow: hidden; border: 1px solid var(--border-gold); transition: var(--transition-medium); backdrop-filter: blur(10px); }
.game-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-gold); border-color: var(--primary-gold); }
.game-card-img { width: 100%; height: 200px; object-fit: cover; }
.game-card-body { padding: 1.5rem; }
.game-card-title { font-size: 1.25rem; font-weight: 700; color: var(--primary-gold); margin-bottom: 0.75rem; }
.game-card-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.25rem; line-height: 1.7; }
.game-card-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary-gold); font-weight: 600; }
.game-card-link:hover { gap: 0.75rem; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.feature-box { background: var(--bg-card); padding: 2rem; border-radius: var(--border-radius-md); text-align: center; border: 1px solid var(--border-gold); transition: var(--transition-medium); }
.feature-box:hover { border-color: var(--primary-gold); box-shadow: var(--shadow-gold); }
.feature-icon { width: 70px; height: 70px; margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; background: rgba(212, 175, 55, 0.1); border-radius: 50%; font-size: 2rem; }
.feature-title { font-size: 1.125rem; font-weight: 700; color: var(--primary-gold); margin-bottom: 0.75rem; }
.feature-text { color: var(--text-muted); font-size: 0.95rem; }

.reviews-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.review-card { background: var(--bg-card); padding: 2rem; border-radius: var(--border-radius-md); border: 1px solid var(--border-gold); }
.review-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.review-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--gradient-gold); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; color: var(--primary-purple-dark); }
.review-info h4 { font-size: 1.1rem; color: var(--text-light); margin-bottom: 0.25rem; }
.review-info span { font-size: 0.875rem; color: var(--text-muted); }
.review-stars { color: var(--primary-gold); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.review-text { color: var(--text-muted); font-style: italic; line-height: 1.8; }
.review-date { margin-top: 1rem; font-size: 0.85rem; color: var(--text-muted); opacity: 0.7; }

.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border-radius: var(--border-radius-md); margin-bottom: 1rem; border: 1px solid var(--border-gold); overflow: hidden; }
.faq-question { width: 100%; padding: 1.5rem; background: transparent; border: none; color: var(--text-light); font-size: 1.1rem; font-weight: 600; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition-fast); font-family: inherit; }
.faq-question:hover { color: var(--primary-gold); }
.faq-icon { font-size: 1.5rem; color: var(--primary-gold); transition: var(--transition-medium); }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-content { padding: 0 1.5rem 1.5rem; color: var(--text-muted); line-height: 1.8; }

.payment-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; align-items: center; }
.payment-item { background: rgba(255,255,255,0.05); padding: 1rem 1.5rem; border-radius: var(--border-radius-sm); border: 1px solid var(--border-gold); }
.payment-item img { height: 40px; width: auto; }

.author-box { display: flex; gap: 2rem; align-items: flex-start; background: var(--bg-card); padding: 2.5rem; border-radius: var(--border-radius-lg); border: 1px solid var(--border-gold); flex-wrap: wrap; }
.author-avatar { width: 120px; height: 120px; border-radius: 50%; border: 3px solid var(--primary-gold); object-fit: cover; flex-shrink: 0; }
.author-info { flex: 1; min-width: 250px; }
.author-name { font-size: 1.5rem; font-weight: 700; color: var(--primary-gold); margin-bottom: 0.5rem; }
.author-title { font-size: 1rem; color: var(--text-muted); margin-bottom: 1rem; }
.author-bio { color: var(--text-light); line-height: 1.8; }

.breadcrumb { padding: 1rem 1.5rem; max-width: 1400px; margin: 0 auto; }
.breadcrumb-list { display: flex; flex-wrap: wrap; list-style: none; gap: 0.5rem; font-size: 0.9rem; }
.breadcrumb-list li::after { content: '/'; margin-left: 0.5rem; color: var(--text-muted); }
.breadcrumb-list li:last-child::after { display: none; }
.breadcrumb-list li:last-child a { color: var(--primary-gold); }

.article-content { max-width: 900px; margin: 0 auto; }
.article-content h2 { font-family: var(--font-display); font-size: 1.75rem; color: var(--primary-gold); margin: 2.5rem 0 1.25rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--border-gold); }
.article-content h3 { font-size: 1.35rem; color: var(--text-light); margin: 2rem 0 1rem; }
.article-content p { margin-bottom: 1.5rem; color: var(--text-light); line-height: 2; }
.article-content ul, .article-content ol { margin: 1.5rem 0; padding-left: 2rem; }
.article-content li { margin-bottom: 0.75rem; color: var(--text-light); }
.article-content img { border-radius: var(--border-radius-md); margin: 2rem auto; box-shadow: var(--shadow-purple); }
.article-content blockquote { background: rgba(212, 175, 55, 0.1); border-left: 4px solid var(--primary-gold); padding: 1.5rem; margin: 2rem 0; border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0; font-style: italic; }

.info-table { width: 100%; border-collapse: collapse; margin: 2rem 0; background: var(--bg-card); border-radius: var(--border-radius-md); overflow: hidden; }
.info-table th, .info-table td { padding: 1rem 1.5rem; text-align: left; border-bottom: 1px solid var(--border-gold); }
.info-table th { background: rgba(212, 175, 55, 0.15); color: var(--primary-gold); font-weight: 600; }
.info-table tr:last-child td { border-bottom: none; }
.info-table tr:hover td { background: rgba(212, 175, 55, 0.05); }

.site-footer { background: var(--primary-purple-dark); border-top: 1px solid var(--border-gold); padding: 4rem 1.5rem 2rem; margin-top: 4rem; }
.footer-container { max-width: 1400px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer-section h4 { font-size: 1.125rem; color: var(--primary-gold); margin-bottom: 1.25rem; font-weight: 700; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.75rem; }
.footer-section ul li a { color: var(--text-muted); transition: var(--transition-fast); }
.footer-section ul li a:hover { color: var(--primary-gold); padding-left: 5px; }
.footer-section p { color: var(--text-muted); line-height: 1.8; }
.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.social-links a { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; background: rgba(212, 175, 55, 0.1); border-radius: 50%; color: var(--primary-gold); font-size: 1.25rem; transition: var(--transition-medium); }
.social-links a:hover { background: var(--primary-gold); color: var(--primary-purple-dark); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: center; padding: 2rem 0; border-top: 1px solid var(--border-gold); border-bottom: 1px solid var(--border-gold); margin-bottom: 2rem; }
.footer-badges img { height: 50px; width: auto; opacity: 0.8; transition: var(--transition-fast); }
.footer-badges img:hover { opacity: 1; }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.footer-bottom p { margin-bottom: 0.5rem; }
.age-restriction { display: inline-flex; align-items: center; gap: 0.75rem; background: rgba(196, 30, 58, 0.2); padding: 0.75rem 1.5rem; border-radius: var(--border-radius-sm); margin-top: 1rem; color: var(--accent-red); font-weight: 600; }
.age-restriction img { width: 35px; height: 35px; }

@media (max-width: 992px) {
    .nav-toggle { display: block; }
    .nav-menu { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-overlay); flex-direction: column; padding: 1rem; display: none; border-top: 1px solid var(--border-gold); }
    .nav-menu.active { display: flex; }
    .nav-menu li a { padding: 1rem; }
    .header-container { position: relative; }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    .hero-section { min-height: 60vh; padding: 3rem 1rem; }
    .content-section { padding: 3rem 1rem; }
    .author-box { flex-direction: column; text-align: center; }
    .author-avatar { margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
}

@media (max-width: 480px) {
    html { font-size: 14px; }
    .logo-text { font-size: 1.25rem; }
    .cta-button { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
    .game-card-img { height: 160px; }
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-pulse { animation: pulse 2s infinite; }

.text-center { text-align: center; }
.text-gold { color: var(--primary-gold); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
