/* ========================================
   c7娱乐 - 东方水墨禅意风 全局样式表
   主色调：墨黑 #1a1a2e | 宣纸白 #f5f0e8 | 朱砂红 #c73030 | 竹青 #2d6a4f
   ======================================== */

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

/* CSS重置与基础 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink-black: #1a1a2e;
  --paper-white: #f5f0e8;
  --cinnabar-red: #c73030;
  --bamboo-green: #2d6a4f;
  --ink-gray: #3a3a4e;
  --light-ink: #6a6a7e;
  --scroll-wood: #8b5a2b;
  --gold-accent: #c9a96e;
  --font-body: 'LXGW WenKai', 'Noto Serif SC', serif;
  --font-heading: 'Noto Serif SC', 'LXGW WenKai', serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--ink-black);
  color: var(--paper-white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--bamboo-green);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  color: var(--cinnabar-red);
  opacity: 0.9;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.4;
  color: var(--paper-white);
}

/* 干扰标签区块 - 肉眼不可见 */
.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;
}

/* ========================================
   导航栏 - 非sticky
   ======================================== */
.site-header {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, rgba(26,26,46,0.98) 0%, rgba(26,26,46,0.92) 100%);
  border-bottom: 2px solid var(--cinnabar-red);
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo img {
  height: 50px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--cinnabar-red);
  color: var(--paper-white);
  font-size: 24px;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
}

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

.main-nav li {
  position: relative;
}

.main-nav a {
  display: block;
  padding: 10px 16px;
  color: var(--paper-white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--cinnabar-red);
  transition: width 0.4s ease, left 0.4s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 80%;
  left: 10%;
}

.main-nav a:hover {
  color: var(--cinnabar-red);
}

/* ========================================
   全屏视频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-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-poster-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(26,26,46,0.3) 0%, rgba(26,26,46,0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
}

.hero-content .hero-logo {
  max-width: 280px;
  margin: 0 auto 30px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(245, 240, 232, 0.85);
}

.cta-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--cinnabar-red);
  color: var(--paper-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  border: 2px solid var(--cinnabar-red);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover {
  background: #a82828;
  color: var(--paper-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(199, 48, 48, 0.4);
}

.video-control {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 3;
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid var(--paper-white);
  color: var(--paper-white);
  padding: 8px 16px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  border-radius: 4px;
  transition: background 0.3s;
}

.video-control:hover {
  background: rgba(199, 48, 48, 0.6);
}

/* ========================================
   通用容器与模块
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-module {
  padding: 60px 0;
  position: relative;
}

.section-module.paper-bg {
  background-color: var(--paper-white);
  color: var(--ink-black);
}

.section-module.paper-bg h2,
.section-module.paper-bg h3,
.section-module.paper-bg h4,
.section-module.paper-bg h5 {
  color: var(--ink-black);
}

.section-module.dark-bg {
  background-color: var(--ink-black);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--cinnabar-red);
}

.section-title h2 span {
  color: var(--cinnabar-red);
}

.section-title p {
  margin-top: 15px;
  font-size: 1rem;
  opacity: 0.8;
}

/* ========================================
   品牌卷轴模块
   ======================================== */
.scroll-section {
  background: url('../images/scroll-bg.webp') repeat-x center;
  background-size: auto 100%;
  position: relative;
  overflow: hidden;
}

.scroll-wrapper {
  position: relative;
  background: var(--paper-white);
  color: var(--ink-black);
  border-top: 4px solid var(--scroll-wood);
  border-bottom: 4px solid var(--scroll-wood);
  padding: 40px 30px;
  margin: 0 20px;
}

.scroll-wrapper::before,
.scroll-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 30px;
  height: 100%;
  background: linear-gradient(90deg, var(--scroll-wood), #a0703c);
  z-index: 2;
}

.scroll-wrapper::before { left: 0; }
.scroll-wrapper::after { right: 0; }

.scroll-content {
  padding: 0 40px;
  max-width: 900px;
  margin: 0 auto;
}

.scroll-content h2 {
  color: var(--ink-black);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 25px;
}

.scroll-content h3 {
  color: var(--cinnabar-red);
  font-size: 1.3rem;
  margin: 25px 0 10px;
  padding-left: 15px;
  border-left: 3px solid var(--cinnabar-red);
}

.scroll-content p {
  text-indent: 2em;
  margin-bottom: 15px;
  line-height: 2;
  font-size: 1rem;
}

/* ========================================
   彩票走势模块
   ======================================== */
.lottery-section {
  background: linear-gradient(135deg, var(--ink-black) 0%, #1e2a1e 100%);
  position: relative;
}

.lottery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/bamboo-bg.webp') no-repeat left center;
  background-size: contain;
  opacity: 0.15;
  pointer-events: none;
}

.lottery-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.lottery-countdown {
  text-align: center;
  padding: 30px;
  background: rgba(26, 26, 46, 0.7);
  border: 1px solid var(--cinnabar-red);
  border-radius: 8px;
}

.lottery-countdown h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--cinnabar-red);
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.countdown-timer .time-unit {
  background: var(--cinnabar-red);
  color: var(--paper-white);
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 1.5rem;
  font-weight: 700;
  min-width: 50px;
  text-align: center;
}

.countdown-timer .time-label {
  font-size: 0.75rem;
  display: block;
  margin-top: 4px;
  opacity: 0.8;
}

.lottery-chart {
  background: rgba(245, 240, 232, 0.05);
  border-radius: 8px;
  padding: 15px;
  border: 1px solid rgba(245, 240, 232, 0.1);
}

.lottery-chart img {
  width: 100%;
  border-radius: 4px;
}

.lottery-desc {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95rem;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

/* ========================================
   棋牌试玩卡片模块
   ======================================== */
.games-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: 25px;
  align-items: stretch;
}

.game-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(245, 240, 232, 0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-8px) rotateY(3deg);
  box-shadow: 0 15px 40px rgba(199, 48, 48, 0.2);
}

.game-card figure {
  margin: 0;
}

.game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover img {
  transform: scale(1.05);
}

.game-card figcaption {
  padding: 20px;
}

.game-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.game-card p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 15px;
}

.btn-play {
  display: inline-block;
  padding: 10px 28px;
  background: var(--bamboo-green);
  color: var(--paper-white);
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-play:hover {
  background: #1e5038;
  color: var(--paper-white);
  transform: translateY(-2px);
}

/* ========================================
   博彩名人堂模块
   ======================================== */
.masters-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.master-card {
  text-align: center;
  background: rgba(245, 240, 232, 0.05);
  border: 1px solid rgba(245, 240, 232, 0.1);
  border-radius: 12px;
  padding: 30px 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.master-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(199, 48, 48, 0.15);
}

.master-portrait {
  width: 150px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 20px;
  border: 2px solid var(--cinnabar-red);
}

.master-card h3 {
  font-size: 1.2rem;
  color: var(--cinnabar-red);
  margin-bottom: 8px;
}

.master-card .master-title {
  font-size: 0.85rem;
  color: var(--bamboo-green);
  margin-bottom: 12px;
}

.master-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.85;
}

/* ========================================
   文章瀑布流模块
   ======================================== */
.articles-masonry {
  columns: 3;
  column-gap: 25px;
}

.article-card {
  break-inside: avoid;
  margin-bottom: 25px;
  background: rgba(245, 240, 232, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.article-card figure {
  margin: 0;
}

.article-card img {
  width: 100%;
  height: auto;
  min-height: 150px;
  object-fit: cover;
}

.article-card figcaption {
  padding: 18px;
}

.article-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.article-card p {
  font-size: 0.88rem;
  opacity: 0.75;
  line-height: 1.7;
}

/* ========================================
   注册送彩金模块
   ======================================== */
.register-section {
  background: linear-gradient(135deg, #2a1a1a 0%, var(--ink-black) 100%);
  position: relative;
}

.register-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/teahouse3.webp') no-repeat center;
  background-size: cover;
  opacity: 0.1;
  pointer-events: none;
}

.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.register-info h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.register-info h2 span {
  color: var(--cinnabar-red);
}

.register-info p {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 15px;
  opacity: 0.9;
}

.register-bonus {
  display: inline-block;
  background: var(--cinnabar-red);
  color: var(--paper-white);
  padding: 8px 20px;
  font-size: 1.5rem;
  font-weight: 900;
  border-radius: 6px;
  margin: 10px 0;
}

.register-form {
  background: rgba(245, 240, 232, 0.06);
  border: 2px solid var(--scroll-wood);
  border-radius: 10px;
  padding: 30px;
  position: relative;
}

.register-form::before {
  content: '奏折';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cinnabar-red);
  color: var(--paper-white);
  padding: 2px 20px;
  font-size: 0.85rem;
  border-radius: 4px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--paper-white);
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(245, 240, 232, 0.08);
  border: 1px solid rgba(245, 240, 232, 0.2);
  border-radius: 6px;
  color: var(--paper-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--bamboo-green);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  opacity: 0.8;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--cinnabar-red);
}

.btn-register {
  width: 100%;
  padding: 14px;
  background: var(--cinnabar-red);
  color: var(--paper-white);
  border: none;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-register:hover {
  background: #a82828;
  transform: translateY(-2px);
}

/* ========================================
   负责任博彩模块
   ======================================== */
.responsible-section {
  background: var(--paper-white);
  color: var(--ink-black);
}

.responsible-header {
  text-align: center;
  margin-bottom: 30px;
}

.responsible-header img {
  width: 80px;
  margin: 0 auto 15px;
}

.responsible-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.responsible-item {
  text-align: center;
  padding: 25px 15px;
  background: rgba(26, 26, 46, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(26, 26, 46, 0.1);
}

.responsible-item .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.responsible-item h4 {
  color: var(--ink-black);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.responsible-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.8;
}

/* ========================================
   MGA牌照模块
   ======================================== */
.mga-section {
  text-align: center;
  background: linear-gradient(135deg, var(--ink-black) 0%, #1e1e3a 100%);
  position: relative;
}

.mga-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/cloud-pattern.webp') no-repeat center;
  background-size: cover;
  opacity: 0.06;
  pointer-events: none;
}

.mga-badge {
  max-width: 300px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.mga-info {
  position: relative;
  z-index: 1;
}

.mga-info .license-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-accent);
  margin-bottom: 15px;
}

.mga-info p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.85;
}

.mga-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
  position: relative;
  z-index: 1;
}

.mga-badges img {
  height: 50px;
  width: auto;
}

/* ========================================
   FAQ竹简模块
   ======================================== */
.faq-section {
  background: var(--paper-white);
  color: var(--ink-black);
}

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

.faq-item {
  margin-bottom: 12px;
  border: 1px solid rgba(26, 26, 46, 0.15);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(26, 26, 46, 0.03);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-black);
  transition: background 0.3s;
  user-select: none;
}

.faq-question:hover {
  background: rgba(199, 48, 48, 0.05);
}

.faq-question::after {
  content: '▼';
  font-size: 0.7rem;
  transition: transform 0.3s;
  color: var(--cinnabar-red);
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 16px;
}

.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--ink-gray);
  padding-top: 10px;
  border-top: 1px dashed rgba(26, 26, 46, 0.1);
}

/* ========================================
   页脚
   ======================================== */
.site-footer {
  background: #0e0e1e;
  border-top: 3px solid var(--cinnabar-red);
  padding: 50px 0 20px;
}

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

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--cinnabar-red);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(245, 240, 232, 0.1);
}

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

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(245, 240, 232, 0.7);
  font-size: 0.88rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--cinnabar-red);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.footer-social img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: transform 0.3s;
}

.footer-social img:hover {
  transform: scale(1.15);
}

.footer-payments {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.footer-payments img {
  height: 35px;
  width: auto;
  border-radius: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  font-size: 0.8rem;
  opacity: 0.6;
}

.footer-age-badge {
  width: 50px;
  height: auto;
}

/* ========================================
   面包屑导航
   ======================================== */
.breadcrumb {
  padding: 15px 0;
  font-size: 0.85rem;
}

.breadcrumb ol {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  gap: 5px;
}

.breadcrumb li::after {
  content: ' / ';
  margin-left: 5px;
  color: var(--light-ink);
}

.breadcrumb li:last-child::after {
  content: '';
}

.breadcrumb a {
  color: var(--bamboo-green);
}

.breadcrumb span {
  color: var(--paper-white);
  opacity: 0.7;
}

/* ========================================
   内页样式
   ======================================== */
.page-hero {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

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

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.page-content {
  padding: 50px 0;
}

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

.page-content h2 {
  font-size: 1.6rem;
  color: var(--cinnabar-red);
  margin: 35px 0 15px;
  padding-left: 15px;
  border-left: 4px solid var(--cinnabar-red);
}

.page-content h3 {
  font-size: 1.3rem;
  margin: 25px 0 12px;
  color: var(--paper-white);
}

.page-content p {
  text-indent: 2em;
  margin-bottom: 15px;
  line-height: 2;
  font-size: 1rem;
}

.page-content figure {
  margin: 25px 0;
  text-align: center;
}

.page-content figure img {
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(245, 240, 232, 0.1);
  margin: 0 auto;
}

.page-content figcaption {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 8px;
  font-style: italic;
}

.game-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.92rem;
}

.game-info-table th,
.game-info-table td {
  padding: 12px 16px;
  border: 1px solid rgba(245, 240, 232, 0.15);
  text-align: left;
}

.game-info-table th {
  background: rgba(199, 48, 48, 0.15);
  color: var(--cinnabar-red);
  font-weight: 600;
}

.game-info-table td {
  background: rgba(245, 240, 232, 0.03);
}

.star-rating {
  color: var(--gold-accent);
  font-size: 1.2rem;
  letter-spacing: 3px;
}

/* ========================================
   APP下载页面
   ======================================== */
.app-download-hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--ink-black) 0%, #1a2a1a 100%);
}

.app-qr-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 600px;
  margin: 30px auto;
}

.qr-card {
  text-align: center;
  padding: 25px;
  background: rgba(245, 240, 232, 0.05);
  border: 2px solid var(--cinnabar-red);
  border-radius: 12px;
}

.qr-card img {
  width: 160px;
  height: 160px;
  margin: 0 auto 15px;
  border-radius: 8px;
}

.qr-card h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.app-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.app-step {
  text-align: center;
  padding: 20px;
}

.app-step img {
  width: 100px;
  margin: 0 auto 15px;
}

.app-step h4 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.app-advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.advantage-card {
  text-align: center;
  padding: 30px 20px;
  background: rgba(245, 240, 232, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(245, 240, 232, 0.1);
}

.advantage-card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.advantage-card h4 {
  margin-bottom: 10px;
}

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

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

.ink-spread {
  position: relative;
}

.ink-spread::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(26,26,46,0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 1s ease, height 1s ease;
  pointer-events: none;
}

.ink-spread.visible::before {
  width: 200%;
  height: 200%;
}

/* ========================================
   响应式设计 - 移动端优先
   ======================================== */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.98);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .main-nav.open {
    max-height: 500px;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(245, 240, 232, 0.05);
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .lottery-grid {
    grid-template-columns: 1fr;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .masters-gallery {
    grid-template-columns: 1fr;
  }

  .articles-masonry {
    columns: 1;
  }

  .register-grid {
    grid-template-columns: 1fr;
  }

  .responsible-items {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .app-qr-section {
    grid-template-columns: 1fr;
  }

  .app-steps {
    grid-template-columns: 1fr;
  }

  .app-advantages {
    grid-template-columns: 1fr;
  }

  .page-hero {
    height: 200px;
  }

  .page-hero-content h1 {
    font-size: 1.6rem;
  }

  .scroll-content {
    padding: 0 10px;
  }

  .scroll-wrapper {
    margin: 0 10px;
    padding: 25px 15px;
  }

  .section-module {
    padding: 40px 0;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .countdown-timer .time-unit {
    padding: 8px 10px;
    font-size: 1.2rem;
    min-width: 40px;
  }

  .register-bonus {
    font-size: 1.2rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .games-grid {
    grid-template-columns: 1fr 1fr;
  }

  .articles-masonry {
    columns: 2;
  }

  .masters-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 打印样式 */
@media print {
  .site-header, .site-footer, .video-control, .cta-btn, .btn-play, .btn-register {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
}
