/* ========================================
   c7娱乐 沙漠金宫阿拉伯风 全站样式
   主色调：沙漠金 #c9a96e | 宝石蓝 #1a5276 | 绿松石 #17a589 | 象牙白 #faebd7
======================================== */

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

/* CSS变量 */
:root {
  --gold: #c9a96e;
  --gold-light: #e0c992;
  --gold-dark: #a88a4e;
  --blue: #1a5276;
  --blue-dark: #0e3450;
  --blue-deeper: #091f30;
  --teal: #17a589;
  --teal-light: #1dd3ad;
  --ivory: #faebd7;
  --ivory-dark: #f0dcc3;
  --text-dark: #2c1810;
  --text-light: #f5e6d3;
  --shadow-gold: rgba(201,169,110,0.3);
  --shadow-dark: rgba(0,0,0,0.4);
}

/* 重置样式 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Noto Sans SC', sans-serif;
  background-color: var(--blue-dark);
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden;
}

/* 干扰标签隐藏 */
.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;
}

/* 阿拉伯花纹边框 */
.arabesque-border {
  border: 3px solid var(--gold);
  border-image: repeating-linear-gradient(
    45deg,
    var(--gold) 0px,
    var(--gold-light) 10px,
    transparent 10px,
    transparent 20px
  ) 10;
}

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

/* 导航栏 - 非sticky */
.main-nav {
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 50%, var(--blue) 100%);
  border-bottom: 3px solid var(--gold);
  padding: 0;
  position: relative;
  z-index: 100;
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 45px;
  width: auto;
}

.nav-logo span {
  font-family: 'Amiri', serif;
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 700;
  margin-left: 10px;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  gap: 5px;
  flex-wrap: wrap;
}

.nav-links li a {
  color: var(--ivory);
  text-decoration: none;
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: block;
  white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--blue-deeper);
}

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 10px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transition: 0.3s;
}

/* 面包屑导航 */
.breadcrumb {
  background: var(--blue-deeper);
  padding: 12px 0;
  border-bottom: 1px solid rgba(201,169,110,0.2);
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 0.85rem;
}

.breadcrumb-list li {
  color: var(--gold-light);
}

.breadcrumb-list li + li::before {
  content: " ▸ ";
  color: var(--gold);
  margin: 0 8px;
}

.breadcrumb-list a {
  color: var(--ivory);
  text-decoration: none;
}

.breadcrumb-list a:hover {
  color: var(--gold);
}

/* 通用段落标题 */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-family: 'Amiri', serif;
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 10px;
  text-shadow: 0 2px 8px var(--shadow-dark);
}

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

.section-title p {
  color: var(--ivory);
  font-size: 1rem;
  opacity: 0.85;
}

/* Hero全屏视频模块 */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--blue-deeper) 0%, var(--blue-dark) 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

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

.hero-content h1 {
  font-family: 'Amiri', serif;
  font-size: 3.5rem;
  color: var(--gold);
  text-shadow: 0 4px 20px var(--shadow-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-content p {
  color: var(--ivory);
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 神灯CTA按钮 */
.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--blue-deeper);
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid var(--gold-light);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cta-btn:hover::before {
  opacity: 1;
  animation: lampGlow 1s ease-in-out;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--shadow-gold);
}

@keyframes lampGlow {
  0% { transform: scale(0.5); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* 宫殿式对称Grid布局 */
.palace-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
  padding: 60px 0;
}

.palace-grid-center {
  grid-column: 1 / -1;
}

.palace-grid-sym {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* 通用Section */
.content-section {
  padding: 60px 0;
  position: relative;
}

.content-section.bg-ivory {
  background: var(--ivory);
  color: var(--text-dark);
}

.content-section.bg-blue {
  background: linear-gradient(180deg, var(--blue-dark) 0%, var(--blue-deeper) 100%);
  color: var(--text-light);
}

.content-section.bg-gold-accent {
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 100%);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

/* 拱形门窗卡片 */
.arch-card {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-dark) 100%);
  border-radius: 50% 50% 8px 8px / 30% 30% 8px 8px;
  padding: 40px 25px 25px;
  text-align: center;
  border: 2px solid var(--gold);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.arch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--gold));
}

.arch-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow-gold);
}

.arch-card h3 {
  font-family: 'Amiri', serif;
  color: var(--blue-dark);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.arch-card p {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.7;
}

.arch-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* 三列卡片 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* 文章卡片 */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.article-card {
  background: var(--ivory);
  border: 2px solid var(--gold);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-gold);
}

.article-card figure {
  margin: 0;
}

.article-card figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.article-card h3 {
  font-family: 'Amiri', serif;
  color: var(--blue-dark);
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

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

.article-card .read-more {
  display: inline-block;
  color: var(--teal);
  font-weight: 700;
  margin-top: 10px;
  text-decoration: none;
}

/* 幸运转盘 */
.wheel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px 0;
}

.wheel-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
}

.wheel-svg {
  width: 100%;
  height: 100%;
  animation: none;
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.wheel-svg.spinning {
  transform: rotate(1800deg);
}

.wheel-pointer {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 30px solid var(--gold);
  z-index: 5;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.spin-btn {
  margin-top: 25px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: #fff;
  border: none;
  padding: 14px 35px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Noto Sans SC', sans-serif;
}

.spin-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(23,165,137,0.4);
}

/* 中奖滚动 */
.winner-scroll {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 10px 20px;
  margin-top: 20px;
  max-width: 400px;
  height: 120px;
  overflow: hidden;
  position: relative;
}

.winner-scroll-inner {
  animation: scrollUp 15s linear infinite;
}

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

.winner-item {
  padding: 6px 0;
  color: var(--gold-light);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(201,169,110,0.15);
}

/* 支付卡片 */
.payment-card {
  background: var(--ivory);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
  cursor: pointer;
}

.payment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-gold);
}

.payment-card .pay-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.payment-card h3 {
  font-family: 'Amiri', serif;
  color: var(--blue-dark);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.payment-card .tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.payment-card .tag {
  background: var(--teal);
  color: #fff;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.payment-card .detail {
  display: none;
  text-align: left;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--gold);
  font-size: 0.9rem;
  line-height: 1.7;
}

.payment-card.expanded .detail {
  display: block;
}

/* 签到日历 */
.checkin-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  max-width: 500px;
  margin: 0 auto;
}

.checkin-day {
  background: var(--blue);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 12px 8px;
  text-align: center;
  color: var(--ivory);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
}

.checkin-day:hover {
  background: var(--gold);
  color: var(--blue-deeper);
}

.checkin-day.checked {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--blue-deeper);
  position: relative;
}

.checkin-day.checked::after {
  content: '💎';
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 0.7rem;
}

/* 注册表单 */
.register-section {
  background-size: cover;
  background-position: center;
  position: relative;
}

.register-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14,52,80,0.85);
}

.register-form {
  position: relative;
  z-index: 2;
  max-width: 450px;
  margin: 0 auto;
  background: rgba(250,235,215,0.95);
  padding: 40px;
  border-radius: 16px;
  border: 2px solid var(--gold);
}

.register-form h2 {
  font-family: 'Amiri', serif;
  color: var(--blue-dark);
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.8rem;
}

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

.form-group label {
  display: block;
  color: var(--blue-dark);
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.3s;
  font-family: 'Noto Sans SC', sans-serif;
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--blue-deeper);
  border: none;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Noto Sans SC', sans-serif;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-gold);
}

/* FAQ神灯 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border: 1px solid var(--gold);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.05rem;
  transition: background 0.3s;
}

.faq-question:hover {
  background: rgba(201,169,110,0.1);
}

.faq-question .lamp-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  background: rgba(250,235,215,0.05);
}

.faq-answer.open {
  max-height: 500px;
  padding: 0 25px 20px;
}

.faq-answer p {
  color: var(--ivory);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 40px;
}

/* 负责任博彩 */
.responsible-section {
  background: var(--ivory);
  text-align: center;
}

.responsible-badge {
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--blue-deeper);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 80px;
  margin-bottom: 20px;
  border: 3px solid var(--gold-dark);
}

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

.responsible-item {
  padding: 20px;
}

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

.responsible-item h4 {
  color: var(--blue-dark);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.responsible-item p {
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* 牌照模块 */
.license-section {
  text-align: center;
}

.license-badge {
  max-width: 200px;
  margin: 0 auto 20px;
  display: block;
}

.license-info {
  background: rgba(250,235,215,0.1);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 25px;
  max-width: 600px;
  margin: 0 auto;
}

.license-info .license-number {
  font-family: 'Amiri', serif;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 10px;
}

/* 页脚 */
.site-footer {
  background: linear-gradient(180deg, var(--blue-deeper) 0%, #050d14 100%);
  border-top: 3px solid var(--gold);
  padding: 50px 0 20px;
  color: var(--ivory);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-col h4 {
  font-family: 'Amiri', serif;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold);
}

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

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

.footer-col ul li a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

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

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--blue-deeper);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--teal);
  color: #fff;
  transform: scale(1.1);
}

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

.footer-payment .pay-badge {
  background: rgba(250,235,215,0.1);
  border: 1px solid var(--gold);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--gold-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(201,169,110,0.2);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(245,230,211,0.6);
  margin-bottom: 5px;
}

.footer-age-badge {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--blue-deeper);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 50px;
  margin: 10px 0;
}

/* 飞毯滑入动画 */
.fly-in {
  opacity: 0;
  transform: translateY(60px) rotate(-2deg);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* 内页样式 */
.page-hero {
  background: linear-gradient(180deg, var(--blue-deeper) 0%, var(--blue-dark) 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23c9a96e" stroke-width="0.3" opacity="0.1"/></svg>') repeat;
  background-size: 80px;
}

.page-hero h1 {
  font-family: 'Amiri', serif;
  font-size: 2.8rem;
  color: var(--gold);
  position: relative;
  z-index: 2;
  text-shadow: 0 3px 15px var(--shadow-dark);
}

.page-hero p {
  color: var(--ivory);
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
  margin-top: 10px;
}

.page-content {
  background: var(--ivory);
  padding: 50px 0;
}

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

.page-content h2 {
  font-family: 'Amiri', serif;
  color: var(--blue-dark);
  font-size: 1.8rem;
  margin: 35px 0 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
}

.page-content h3 {
  font-family: 'Amiri', serif;
  color: var(--blue);
  font-size: 1.4rem;
  margin: 25px 0 12px;
}

.page-content p {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-dark);
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid var(--gold);
  margin: 20px 0;
}

.page-content .game-info-box {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--ivory);
  padding: 25px;
  border-radius: 12px;
  border: 2px solid var(--gold);
  margin: 25px 0;
}

.page-content .game-info-box h4 {
  color: var(--gold);
  font-family: 'Amiri', serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border: 2px solid var(--gold);
}

.page-content table th {
  background: var(--blue-dark);
  color: var(--gold);
  padding: 12px 15px;
  font-weight: 700;
  text-align: left;
}

.page-content table td {
  padding: 10px 15px;
  border-bottom: 1px solid var(--gold);
  font-size: 0.95rem;
}

.page-content table tr:nth-child(even) {
  background: rgba(201,169,110,0.08);
}

/* 作者信息 */
.author-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--gold);
  margin: 30px 0;
}

.author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.author-info h4 {
  color: var(--gold);
  font-family: 'Amiri', serif;
  font-size: 1.1rem;
}

.author-info p {
  color: var(--ivory);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* APP下载页 */
.app-page {
  background: var(--ivory);
  min-height: 100vh;
}

.app-hero {
  background: linear-gradient(180deg, var(--blue-deeper) 0%, var(--blue-dark) 100%);
  padding: 80px 0;
  text-align: center;
}

.app-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.app-step {
  background: var(--ivory);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}

.app-step .step-num {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--blue-deeper);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 15px;
}

.app-step h3 {
  color: var(--blue-dark);
  font-family: 'Amiri', serif;
  margin-bottom: 10px;
}

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

.app-feature {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: 12px;
  border: 1px solid var(--gold);
}

.app-feature .feature-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.app-feature h3 {
  color: var(--gold);
  font-family: 'Amiri', serif;
  margin-bottom: 10px;
}

.app-feature p {
  color: var(--ivory);
  font-size: 0.9rem;
}

.qr-box {
  display: inline-block;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 3px solid var(--gold);
  margin: 10px;
}

.qr-box img {
  width: 150px;
  height: 150px;
}

.qr-box p {
  margin-top: 8px;
  font-weight: 700;
  color: var(--blue-dark);
  font-size: 0.9rem;
}

/* 游戏评分 */
.game-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 10px 0;
}

.star {
  color: var(--gold);
  font-size: 1.3rem;
}

.rating-text {
  color: var(--blue-dark);
  font-weight: 700;
  margin-left: 8px;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .palace-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

@media (max-width: 768px) {
  .nav-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-deeper);
    flex-direction: column;
    padding: 15px;
    border-bottom: 3px solid var(--gold);
    z-index: 99;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

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

  .cards-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .checkin-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
  }

  .checkin-day {
    padding: 8px 4px;
    font-size: 0.75rem;
  }

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

  .palace-grid-sym {
    grid-template-columns: 1fr;
  }

  .wheel-wrapper {
    width: 260px;
    height: 260px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

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

  .container {
    padding: 0 15px;
  }

  .register-form {
    padding: 25px 20px;
  }
}

/* 沙漏加载动画 */
.hourglass-loader {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  border-top-color: transparent;
  animation: hourglassSpin 1s linear infinite;
}

@keyframes hourglassSpin {
  to { transform: rotate(360deg); }
}

/* 丝绸之路地图模块 */
.silkroad-section {
  position: relative;
  overflow: hidden;
}

.silkroad-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.silkroad-content {
  position: relative;
  z-index: 2;
}

.silkroad-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.silkroad-point {
  background: rgba(250,235,215,0.1);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.4s;
}

.silkroad-point:hover {
  background: rgba(201,169,110,0.15);
  transform: translateY(-5px);
}

.silkroad-point .year {
  font-family: 'Amiri', serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 5px;
}

.silkroad-point .city {
  font-size: 1.2rem;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 10px;
}

.silkroad-point p {
  color: var(--ivory);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .silkroad-points {
    grid-template-columns: 1fr;
  }
}
