/* ============================================
   水墨国风 - 麻将胡了 主题样式
   ============================================ */

/* === Google Fonts 引入 === */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700;900&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* === CSS 变量定义 === */
:root {
    --ink-black: #1a1a2e;
    --cinnabar-red: #e74c3c;
    --cinnabar-dark: #c0392b;
    --rice-paper: #f5f0e8;
    --celadon-green: #1abc9c;
    --gold-accent: #d4a853;
    --ink-light: #2d2d4a;
    --ink-medium: #3a3a5c;
    --text-primary: #2c2c2c;
    --text-secondary: #5a5a5a;
    --text-light: #e8e0d0;
    --border-ink: rgba(26,26,46,0.15);
    --shadow-ink: rgba(26,26,46,0.2);
    --font-heading: 'Noto Serif SC', '宋体', serif;
    --font-body: 'Noto Sans SC', '微软雅黑', sans-serif;
}

/* === 全局重置 === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--rice-paper);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--cinnabar-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--cinnabar-dark);
}

/* === 干扰标签隐藏 === */
.jammer-block {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}

/* === 导航栏 === */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: linear-gradient(180deg, rgba(26,26,46,0.98) 0%, rgba(26,26,46,0.92) 100%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212,168,83,0.3);
    padding: 0;
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--gold-accent);
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-accent);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-links li a {
    display: block;
    padding: 0 1.2rem;
    height: 70px;
    line-height: 70px;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--cinnabar-red);
    transition: width 0.3s ease;
    border-radius: 2px 2px 0 0;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--gold-accent);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 60%;
}

/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--gold-accent);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* === Hero 区域 === */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--ink-black);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('../images/hero-scroll.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(26,26,46,0.4) 0%,
        rgba(26,26,46,0.2) 40%,
        rgba(26,26,46,0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: var(--gold-accent);
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
    letter-spacing: 8px;
    line-height: 1.3;
}

.hero-slogan {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    letter-spacing: 4px;
    opacity: 0.9;
}

.btn-cinnabar {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--cinnabar-red);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(231,76,60,0.4);
}

.btn-cinnabar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0,0,0,0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-cinnabar:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(231,76,60,0.6);
    color: #fff;
}

.btn-cinnabar:hover::before {
    width: 300px;
    height: 300px;
}

/* === 通用容器 === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

/* === 模块标题 === */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ink-black);
    letter-spacing: 3px;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--cinnabar-red);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* === 模块2：试玩模拟器 === */
.simulator-section {
    background: var(--rice-paper);
}

.simulator-wrapper {
    max-width: 960px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f8f4ec 0%, #ede6d8 100%);
    border: 2px solid var(--border-ink);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 8px 40px var(--shadow-ink);
    position: relative;
}

.simulator-board {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 8px;
    margin: 2rem 0;
}

.mj-tile {
    aspect-ratio: 3/4;
    background: linear-gradient(145deg, #faf8f2 0%, #e8e0d0 100%);
    border: 2px solid #c8b89a;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink-black);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 2px 3px 6px rgba(0,0,0,0.1);
    user-select: none;
}

.mj-tile:hover {
    transform: translateY(-6px);
    box-shadow: 2px 8px 16px rgba(0,0,0,0.2);
    border-color: var(--cinnabar-red);
}

.mj-tile.red {
    color: var(--cinnabar-red);
}

.mj-tile.green {
    color: var(--celadon-green);
}

.simulator-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.sim-btn {
    padding: 0.6rem 1.5rem;
    background: var(--ink-black);
    color: var(--gold-accent);
    border: 1px solid var(--gold-accent);
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sim-btn:hover {
    background: var(--gold-accent);
    color: var(--ink-black);
}

/* === 模块3：游戏卡片瀑布流 === */
.games-section {
    background: linear-gradient(180deg, var(--rice-paper) 0%, #ede6d8 100%);
}

.games-waterfall {
    columns: 3;
    column-gap: 1.5rem;
}

.game-card {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    background: rgba(245,240,232,0.9);
    border: 1px solid var(--border-ink);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--cinnabar-red);
    box-shadow: 0 12px 36px rgba(231,76,60,0.15);
}

.game-card-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.game-card-body {
    padding: 1.2rem 1.5rem;
}

.game-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink-black);
    margin-bottom: 0.5rem;
}

.game-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.game-card-btn {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--cinnabar-red);
    color: #fff;
    font-size: 0.85rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.game-card-btn:hover {
    background: var(--cinnabar-dark);
    color: #fff;
}

/* === 模块4：战报滚动 === */
.battle-section {
    background: url('../images/bamboo-texture.webp') center/cover;
    position: relative;
}

.battle-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245,240,232,0.88);
}

.battle-section .container {
    position: relative;
    z-index: 2;
}

.battle-scroll-wrapper {
    max-height: 400px;
    overflow: hidden;
    position: relative;
    border: 2px solid var(--border-ink);
    border-radius: 8px;
    background: rgba(255,255,255,0.6);
}

.battle-scroll-inner {
    animation: scrollUp 20s linear infinite;
}

.battle-scroll-wrapper:hover .battle-scroll-inner {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.battle-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(26,26,46,0.08);
    gap: 1.5rem;
    transition: background 0.3s ease;
    cursor: pointer;
}

.battle-item:hover {
    background: rgba(231,76,60,0.05);
}

.battle-player {
    font-weight: 700;
    color: var(--ink-black);
    min-width: 100px;
    font-family: var(--font-heading);
}

.battle-type {
    color: var(--cinnabar-red);
    font-weight: 600;
    min-width: 120px;
}

.battle-amount {
    color: var(--gold-accent);
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 100px;
}

.battle-time {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-left: auto;
}

/* === 模块5：牌照展示 === */
.license-section {
    background: var(--rice-paper);
    position: relative;
}

.license-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.license-badge {
    flex-shrink: 0;
    width: 280px;
}

.license-badge img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow-ink);
}

.license-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--ink-black);
    margin-bottom: 1rem;
}

.license-text p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.license-number {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--ink-black);
    color: var(--gold-accent);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    border-radius: 4px;
    letter-spacing: 2px;
}

/* === 模块6：支付教程 === */
.tutorial-section {
    background: var(--ink-black);
    color: var(--text-light);
}

.tutorial-section .section-header h2 {
    color: var(--gold-accent);
}

.tutorial-section .section-header h2::after {
    background: var(--cinnabar-red);
}

.tutorial-section .section-header p {
    color: rgba(232,224,208,0.7);
}

.tutorial-steps {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tutorial-step {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: var(--ink-light);
    border: 1px solid rgba(212,168,83,0.2);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tutorial-step:hover {
    border-color: var(--gold-accent);
    transform: translateY(-4px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--cinnabar-red);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1.2rem;
}

.tutorial-step h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold-accent);
    margin-bottom: 0.8rem;
}

.tutorial-step p {
    font-size: 0.9rem;
    color: rgba(232,224,208,0.7);
    line-height: 1.7;
}

.tutorial-step-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.tutorial-step.active .tutorial-step-detail {
    max-height: 300px;
}

/* === 模块7：FAQ手风琴 === */
.faq-section {
    background: var(--rice-paper);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-ink);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(231,76,60,0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink-black);
    transition: all 0.3s ease;
    gap: 1rem;
}

.faq-question:hover {
    color: var(--cinnabar-red);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--cinnabar-red);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* === 模块8：用户评论轮播 === */
.reviews-section {
    background: linear-gradient(180deg, #ede6d8 0%, var(--rice-paper) 100%);
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    flex: 0 0 calc(33.333% - 1rem);
    margin: 0 0.5rem;
    background: #fff;
    border: 1px solid var(--border-ink);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
}

.review-card::before {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 4rem;
    color: rgba(231,76,60,0.1);
    font-family: var(--font-heading);
    line-height: 1;
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.review-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--ink-black);
}

.review-city {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.review-stars {
    color: var(--gold-accent);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.review-date {
    font-size: 0.8rem;
    color: #999;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border: 2px solid var(--ink-black);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--ink-black);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--ink-black);
    color: #fff;
}

/* === 模块9：注册引导 === */
.register-section {
    background: var(--ink-black);
    text-align: center;
    padding: 5rem 2rem;
}

.register-section h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--gold-accent);
    margin-bottom: 2.5rem;
    letter-spacing: 3px;
}

.register-steps {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.reg-step {
    text-align: center;
    color: var(--text-light);
}

.reg-step-icon {
    width: 70px;
    height: 70px;
    border: 2px solid var(--gold-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
}

.reg-step-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 1px;
}

.btn-register {
    display: inline-block;
    padding: 1.2rem 4rem;
    background: var(--cinnabar-red);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 3px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 6px 25px rgba(231,76,60,0.5);
    animation: breathe 2s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { box-shadow: 0 6px 25px rgba(231,76,60,0.5); }
    50% { box-shadow: 0 6px 40px rgba(231,76,60,0.8); }
}

.btn-register:hover {
    transform: scale(1.05);
    color: #fff;
}

/* === 模块10：关于我们 === */
.about-section {
    background: var(--rice-paper);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--ink-black);
    margin: 2.5rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--cinnabar-red);
}

.about-content p {
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 1.2rem;
    text-indent: 2em;
}

.about-img {
    width: 100%;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 8px 30px var(--shadow-ink);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.about-feature {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--border-ink);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.about-feature:hover {
    border-color: var(--cinnabar-red);
    box-shadow: 0 4px 16px rgba(231,76,60,0.1);
}

.about-feature h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--cinnabar-red);
    margin-bottom: 0.6rem;
}

.about-feature p {
    font-size: 0.9rem;
    text-indent: 0;
    line-height: 1.7;
}

/* === 模块11：客服悬浮窗 === */
.cs-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9998;
}

.cs-float-btn {
    width: 60px;
    height: 60px;
    background: var(--cinnabar-red);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(231,76,60,0.4);
    transition: all 0.3s ease;
    color: #fff;
    font-size: 1.5rem;
}

.cs-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(231,76,60,0.6);
}

.cs-chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 340px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
    display: none;
    overflow: hidden;
}

.cs-chat-window.active {
    display: block;
    animation: slideUp 0.3s ease;
}

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

.cs-chat-header {
    background: var(--ink-black);
    color: var(--gold-accent);
    padding: 1.2rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
}

.cs-chat-body {
    padding: 1.5rem;
}

.cs-quick-links {
    list-style: none;
}

.cs-quick-links li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.cs-quick-links li a {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.cs-quick-links li a:hover {
    color: var(--cinnabar-red);
}

.cs-human-btn {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: var(--cinnabar-red);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.cs-human-btn:hover {
    background: var(--cinnabar-dark);
}

/* === 页脚 === */
.site-footer {
    background: var(--ink-black);
    color: var(--text-light);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold-accent);
    margin-bottom: 1.2rem;
    letter-spacing: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    color: rgba(232,224,208,0.7);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--gold-accent);
}

.footer-col p {
    color: rgba(232,224,208,0.6);
    font-size: 0.85rem;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(212,168,83,0.2);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(232,224,208,0.5);
    font-size: 0.8rem;
    line-height: 1.8;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-badge {
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(212,168,83,0.3);
    border-radius: 4px;
    font-size: 0.75rem;
    color: rgba(232,224,208,0.6);
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--cinnabar-red);
    border-radius: 50%;
    color: var(--cinnabar-red);
    font-weight: 700;
    font-size: 0.8rem;
}

/* === 内页通用 === */
.page-hero {
    background: var(--ink-black);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--gold-accent);
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.page-hero .breadcrumb {
    color: rgba(232,224,208,0.6);
    font-size: 0.9rem;
}

.page-hero .breadcrumb a {
    color: rgba(232,224,208,0.8);
}

.page-content {
    padding: 4rem 0;
}

.page-content .container {
    max-width: 900px;
}

.page-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--ink-black);
    margin: 2.5rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--cinnabar-red);
}

.page-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--ink-black);
    margin: 1.5rem 0 0.8rem;
}

.page-content p {
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 1.2rem;
}

.page-content .content-img {
    width: 100%;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px var(--shadow-ink);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow-ink);
}

.info-table th,
.info-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #f0ebe0;
}

.info-table th {
    background: var(--ink-black);
    color: var(--gold-accent);
    font-family: var(--font-heading);
    font-weight: 600;
}

.info-table td {
    color: var(--text-secondary);
}

/* 试玩嵌入框 */
.demo-embed {
    background: linear-gradient(135deg, var(--ink-black) 0%, var(--ink-light) 100%);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 2rem 0;
}

.demo-embed h3 {
    color: var(--gold-accent);
    margin-bottom: 1rem;
}

.demo-embed p {
    color: rgba(232,224,208,0.7);
}

.demo-embed .btn-cinnabar {
    margin-top: 1rem;
}

/* === 动画 === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* === 响应式设计 === */
@media (max-width: 1024px) {
    .games-waterfall {
        columns: 2;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .license-content {
        flex-direction: column;
        text-align: center;
    }
    
    .license-badge {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(26,26,46,0.98);
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li a {
        height: auto;
        line-height: 1;
        padding: 1rem 2rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .hero-slogan {
        font-size: 1.1rem;
    }
    
    .games-waterfall {
        columns: 1;
    }
    
    .review-card {
        flex: 0 0 calc(100% - 1rem);
    }
    
    .tutorial-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .register-steps {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .battle-item {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-cinnabar {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .simulator-board {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .mj-tile {
        font-size: 1rem;
    }
}
