/* ============================================
   博彩娱乐平台 - 全站样式表
   独特配色：深紫+金色+暗红渐变
   字体：思源黑体 + Noto Serif SC
   ============================================ */

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

:root {
  --primary: #6B1D9E;
  --primary-dark: #4A1270;
  --accent: #F5A623;
  --accent-light: #FFD76E;
  --danger: #C41E3A;
  --danger-dark: #8B1528;
  --bg-dark: #0D0B1A;
  --bg-card: #1A1530;
  --bg-card-alt: #221D3A;
  --text-main: #E8E4F0;
  --text-muted: #9B93AD;
  --text-bright: #FFFFFF;
  --gold: #D4AF37;
  --gold-light: #F0D060;
  --border: rgba(107,29,158,0.3);
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif SC', serif;
  color: var(--text-bright);
  line-height: 1.3;
  margin-bottom: 0.6em;
}
h1 { font-size: 2rem; font-weight: 900; }
h2 { font-size: 1.6rem; font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 500; }
p { margin-bottom: 1em; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-light); }

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

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section-wrap {
  padding: 48px 0;
}

.section-wrap:nth-child(even) {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-alt) 100%);
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

/* === HEADER / NAV === */
.site-header {
  background: linear-gradient(180deg, #120E24 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

.nav-toggle {
  display: none;
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  cursor: pointer;
}

.main-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.main-nav a {
  display: inline-block;
  padding: 8px 14px;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--primary);
  color: var(--text-bright);
}

/* === BREADCRUMB === */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }

/* === HERO === */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 16px;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

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

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* === CTA BUTTONS === */
.cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(245,166,35,0.4);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245,166,35,0.6);
  color: #1a1a1a;
}

.cta-btn-outline {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  border: 2px solid var(--accent);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.cta-btn-outline:hover {
  background: var(--accent);
  color: #1a1a1a;
}

/* === VIDEO MODULE === */
.video-module {
  position: relative;
  max-width: 800px;
  margin: 0 auto 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.video-module .video-poster {
  width: 100%;
  display: block;
}

.video-module .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  transition: var(--transition);
}

.video-module:hover .play-overlay {
  background: rgba(0,0,0,0.2);
}

.play-btn-circle {
  width: 72px;
  height: 72px;
  background: rgba(245,166,35,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.play-btn-circle::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #1a1a1a;
  margin-left: 4px;
}

.video-module:hover .play-btn-circle {
  transform: scale(1.1);
  background: var(--accent);
}

.video-player {
  display: none;
  width: 100%;
  border-radius: var(--radius);
}

.video-player.active {
  display: block;
}

/* === CARD GRID === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.game-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(107,29,158,0.3);
  border-color: var(--primary);
}

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

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

.game-card .card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

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

.game-card .card-footer {
  padding: 0 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* === REVIEW CARDS === */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--bg-card-alt);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--gold);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review-meta .reviewer-name {
  font-weight: 700;
  color: var(--text-bright);
}

.review-meta .reviewer-city {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.star-rating {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 8px;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.7;
}

.review-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 10px;
}

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

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  padding: 18px 20px;
  font-weight: 700;
  color: var(--text-bright);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(107,29,158,0.15);
}

.faq-question::after {
  content: '＋';
  font-size: 1.2rem;
  color: var(--accent);
  transition: var(--transition);
}

.faq-item.open .faq-question::after {
  content: '－';
}

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

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

.faq-answer-inner {
  padding: 0 20px 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* === PAYMENT SECTION === */
.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.payment-icons img {
  height: 50px;
  width: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 4px;
  background: var(--bg-card);
}

/* === LICENSE === */
.license-section {
  text-align: center;
}

.license-badges {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.license-badges img {
  height: 120px;
  width: auto;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  padding: 8px;
  background: var(--bg-card);
}

/* === SUPPORT === */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.support-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.support-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.support-item img {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  border-radius: 50%;
}

/* === AUTHOR BIO === */
.author-bio {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  margin: 24px 0;
}

.author-bio img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}

.author-info h4 { margin-bottom: 4px; }
.author-info .author-title { font-size: 0.85rem; color: var(--accent); margin-bottom: 8px; }
.author-info p { font-size: 0.9rem; color: var(--text-muted); }

/* === GAME REVIEW MODULE === */
.game-review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.game-review-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.game-review-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.game-review-body {
  padding: 20px;
}

.game-review-body .odds-tag {
  display: inline-block;
  background: var(--danger);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* === ABOUT SECTION === */
.about-content {
  columns: 1;
  column-gap: 40px;
}

@media (min-width: 768px) {
  .about-content {
    columns: 2;
  }
}

/* === FIRST DEPOSIT === */
.deposit-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0;
}

.deposit-banner img {
  width: 100%;
  height: auto;
}

.deposit-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  text-align: center;
  padding: 20px;
}

/* === FOOTER === */
.site-footer {
  background: linear-gradient(180deg, #0A0818 0%, #050410 100%);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: 'Noto Sans SC', sans-serif;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 4px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
  padding-left: 6px;
}

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

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 0.85rem;
  border: 1px solid var(--border);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 16px 0;
}

.footer-payments img {
  height: 32px;
  width: auto;
  border-radius: 4px;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-payments img:hover { opacity: 1; }

.age-badge {
  display: inline-block;
  margin: 12px 0;
}

.age-badge img {
  width: 48px;
  height: 48px;
}

/* === RESPONSIBLE GAMBLING BANNER === */
.responsible-banner {
  background: linear-gradient(135deg, rgba(107,29,158,0.2), rgba(196,30,58,0.2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
  text-align: center;
}

.responsible-banner img {
  height: 60px;
  margin: 0 auto 12px;
}

/* === APP DOWNLOAD PAGE === */
.app-hero {
  text-align: center;
  padding: 60px 16px;
  background: linear-gradient(135deg, var(--primary-dark), var(--bg-dark));
}

.app-screenshots {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0;
}

.app-screenshots img {
  width: 200px;
  height: auto;
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

.qr-section {
  text-align: center;
  margin: 30px 0;
}

.qr-section img {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 8px;
  background: #fff;
}

/* === INNER PAGE === */
.inner-hero {
  padding: 40px 16px;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--primary-dark) 100%);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 16px;
}

.content-article img {
  border-radius: var(--radius);
  margin: 20px 0;
  width: 100%;
}

.content-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
}

.content-article th,
.content-article td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.content-article th {
  background: var(--primary-dark);
  color: var(--text-bright);
  font-weight: 700;
}

.content-article td {
  color: var(--text-muted);
}

.rtp-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--danger), var(--danger-dark));
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
}

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

.feature-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.feature-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.gold-shimmer {
  background: linear-gradient(90deg, var(--gold), var(--accent-light), var(--gold));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s infinite;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }

  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 8px;
    margin-top: 8px;
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
  }

  .hero-section { min-height: 280px; }
  .hero-content h1 { font-size: 1.5rem; }

  .card-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .game-review-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .section-wrap { padding: 32px 0; }

  .author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .app-screenshots img { width: 140px; }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .container { padding: 0 12px; }
  .support-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .payment-icons img { height: 36px; }
  .license-badges img { height: 80px; }
}

/* === PRINT === */
@media print {
  .site-header, .site-footer, .cta-btn, .nav-toggle { display: none; }
  body { background: #fff; color: #333; }
}
