/* ============================================
   博彩娱乐网站 - 独特深紫金配色方案
   字体: 思源黑体 + 衬线搭配
   布局: CSS Grid + Flexbox 混合
   ============================================ */

/* --- CSS Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --clr-bg-deep: #0a0618;
  --clr-bg-card: #1a1235;
  --clr-bg-section: #120d28;
  --clr-gold: #ffc832;
  --clr-gold-light: #ffe08a;
  --clr-gold-dark: #b8860b;
  --clr-accent: #e63946;
  --clr-accent2: #2ec4b6;
  --clr-text: #e8e4f0;
  --clr-text-muted: #9a92b0;
  --clr-border: #2d2555;
  --clr-success: #2ecc71;
  --clr-warning: #f39c12;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 20px rgba(255,200,50,0.15);
  --font-main: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-heading: 'Noto Serif SC', 'STSong', serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-main);
  background: var(--clr-bg-deep);
  color: var(--clr-text);
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-gold-light); }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--clr-gold); line-height: 1.3; }
h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.4rem, 4vw, 2.2rem); margin-bottom: 0.8rem; position: relative; padding-bottom: 0.5rem; }
h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background: linear-gradient(90deg, var(--clr-gold), transparent); border-radius: 2px; }
h3 { font-size: clamp(1.1rem, 3vw, 1.6rem); margin-bottom: 0.6rem; }
p { margin-bottom: 1rem; color: var(--clr-text); }

/* --- Layout Container --- */
.wrapper { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* --- Navigation (Non-sticky) --- */
.site-nav {
  background: linear-gradient(135deg, #0e0826, #1a1040);
  border-bottom: 2px solid var(--clr-border);
  padding: 0;
  position: relative;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  flex-wrap: wrap;
}
.nav-logo img { height: 48px; width: auto; }
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--clr-gold);
  color: var(--clr-gold);
  font-size: 1.5rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  flex-wrap: wrap;
}
.nav-menu li a {
  display: block;
  padding: 0.7rem 0.9rem;
  color: var(--clr-text);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--clr-gold);
  background: rgba(255, 200, 50, 0.1);
}
.nav-cta {
  background: linear-gradient(135deg, var(--clr-accent), #c0392b) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: var(--radius-xl) !important;
}
.nav-cta:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4); }

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 0.8rem 0;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}
.breadcrumb a { color: var(--clr-gold-dark); }
.breadcrumb span { margin: 0 0.4rem; }

/* --- Hero Section --- */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(170deg, #0e0826 0%, #1a0a3a 50%, #0a0618 100%);
}
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}
.hero-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,6,24,0.3), rgba(10,6,24,0.8));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}
.hero-overlay h1 { color: #fff; text-shadow: 0 2px 20px rgba(255,200,50,0.5); }
.hero-overlay p { color: var(--clr-gold-light); font-size: 1.1rem; max-width: 600px; }

/* --- CTA Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
  color: #1a1235;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); color: #0a0618; }
.btn-danger {
  background: linear-gradient(135deg, var(--clr-accent), #c0392b);
  color: #fff;
}
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4); }
.btn-success {
  background: linear-gradient(135deg, var(--clr-success), #27ae60);
  color: #fff;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--clr-gold);
  color: var(--clr-gold);
}
.btn-outline:hover { background: var(--clr-gold); color: #1a1235; }

/* --- Section Styling --- */
.section {
  padding: 3rem 0;
}
.section-alt {
  background: var(--clr-bg-section);
}
.section-title-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-title-wrap p { color: var(--clr-text-muted); max-width: 700px; margin: 0.5rem auto 0; }

/* --- Video Section --- */
.video-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}
.video-container img { width: 100%; }
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(230, 57, 70, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.video-play-btn::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 28px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}
.video-container:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.1); background: rgba(230, 57, 70, 1); }
.video-iframe-wrap { display: none; position: relative; padding-bottom: 56.25%; height: 0; }
.video-iframe-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* --- Game Cards Grid --- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.game-card {
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: var(--clr-gold-dark);
}
.game-card-img { position: relative; overflow: hidden; aspect-ratio: 3/2; }
.game-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.game-card:hover .game-card-img img { transform: scale(1.05); }
.game-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--clr-accent);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
}
.game-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.game-card-body h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.game-card-body p { font-size: 0.9rem; color: var(--clr-text-muted); flex: 1; }
.game-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--clr-border);
  font-size: 0.8rem;
}
.game-card-meta .rtp { color: var(--clr-success); font-weight: 600; }
.game-card-meta .rating { color: var(--clr-gold); }

/* --- Review Section --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--clr-border);
  transition: all var(--transition);
}
.review-card:hover { border-color: var(--clr-gold-dark); }
.review-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.review-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--clr-gold); }
.review-info h4 { font-size: 1rem; color: var(--clr-text); margin-bottom: 0.1rem; }
.review-info .review-city { font-size: 0.8rem; color: var(--clr-text-muted); }
.review-stars { color: var(--clr-gold); font-size: 1rem; margin-bottom: 0.5rem; }
.review-text { font-size: 0.9rem; color: var(--clr-text); line-height: 1.7; }
.review-date { font-size: 0.75rem; color: var(--clr-text-muted); margin-top: 0.8rem; text-align: right; }

/* --- FAQ Section --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-question {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--clr-text);
  transition: all var(--transition);
}
.faq-question:hover { color: var(--clr-gold); background: rgba(255, 200, 50, 0.05); }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--clr-gold); transition: transform var(--transition); }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1.5rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 500px; padding-bottom: 1.2rem; }

/* --- Payment Section --- */
.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.payment-item {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  width: 140px;
  transition: all var(--transition);
}
.payment-item:hover { border-color: var(--clr-gold); transform: translateY(-3px); }
.payment-item img { width: 80px; height: 48px; object-fit: contain; margin: 0 auto 0.5rem; }
.payment-item span { font-size: 0.85rem; color: var(--clr-text-muted); }

/* --- Support Section --- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.support-card {
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--clr-border);
  transition: all var(--transition);
}
.support-card:hover { border-color: var(--clr-accent2); transform: translateY(-4px); }
.support-card img { width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 50%; }
.support-card h4 { color: var(--clr-text); font-size: 1rem; margin-bottom: 0.3rem; }
.support-card p { font-size: 0.85rem; color: var(--clr-text-muted); }

/* --- License Section --- */
.license-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--clr-bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--clr-border);
}
.license-wrap img { width: 150px; flex-shrink: 0; }

/* --- Author Box --- */
.author-box {
  display: flex;
  gap: 1.5rem;
  background: var(--clr-bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--clr-border);
  align-items: center;
  flex-wrap: wrap;
}
.author-box img { width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--clr-gold); flex-shrink: 0; }
.author-info h4 { color: var(--clr-gold); margin-bottom: 0.3rem; }
.author-info p { font-size: 0.9rem; color: var(--clr-text-muted); margin-bottom: 0.2rem; }

/* --- Deposit Bonus Banner --- */
.bonus-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 1rem 0;
}
.bonus-banner img { width: 100%; }
.bonus-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(10, 6, 24, 0.4);
  text-align: center;
}

/* --- About Section --- */
.about-content { max-width: 900px; margin: 0 auto; }
.about-content p { text-indent: 2em; margin-bottom: 1.2rem; }

/* --- Footer --- */
.site-footer {
  background: linear-gradient(180deg, #0e0826, #060312);
  border-top: 2px solid var(--clr-border);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h4 {
  color: var(--clr-gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--clr-border);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--clr-text-muted); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--clr-gold); }
.footer-col p { font-size: 0.85rem; color: var(--clr-text-muted); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 0.8rem; }
.footer-social a img { width: 36px; height: 36px; border-radius: var(--radius-sm); transition: transform var(--transition); }
.footer-social a img:hover { transform: scale(1.15); }
.footer-payments { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.footer-payments img { height: 32px; width: auto; border-radius: 4px; }
.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: var(--clr-text-muted); margin-bottom: 0.3rem; }
.footer-age { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.footer-age img { width: 40px; height: 40px; }

/* --- Inner Page Content --- */
.page-content {
  padding: 2rem 0 3rem;
}
.page-content article { max-width: 900px; margin: 0 auto; }
.page-content article h1 { text-align: center; margin-bottom: 1.5rem; }
.page-content article h2 { margin-top: 2rem; }
.page-content article img { border-radius: var(--radius-md); margin: 1.5rem 0; box-shadow: var(--shadow-card); }
.page-content .content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.page-content .content-table th,
.page-content .content-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--clr-border);
}
.page-content .content-table th { background: rgba(255, 200, 50, 0.1); color: var(--clr-gold); font-weight: 600; }
.page-content .content-table td { color: var(--clr-text); }

/* --- App Download Page --- */
.app-hero {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(170deg, #1a0a3a, #0a0618);
}
.app-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.app-feature-card {
  background: var(--clr-bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--clr-border);
}
.app-download-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

/* --- Responsible Gaming --- */
.responsible-section {
  background: linear-gradient(135deg, #1a0a2e, #0e0826);
  border: 1px solid var(--clr-accent);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.pulse { animation: pulse 2s infinite; }

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

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    background: #0e0826;
    border-top: 1px solid var(--clr-border);
    margin-top: 0.5rem;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li a { padding: 0.8rem 1rem; border-bottom: 1px solid var(--clr-border); }

  .hero-overlay h1 { font-size: 1.5rem; }
  .hero-overlay p { font-size: 0.95rem; }

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

  .license-wrap { flex-direction: column; text-align: center; }
  .author-box { flex-direction: column; text-align: center; }

  .section { padding: 2rem 0; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }

  .btn { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .wrapper { padding: 0 0.75rem; }
  .support-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .payment-item { width: 100px; }
  .app-download-btns { flex-direction: column; align-items: center; }
}

/* --- Print --- */
@media print {
  .site-nav, .site-footer, .video-container, .btn { display: none; }
  body { background: #fff; color: #000; }
  h1, h2, h3 { color: #333; }
}

/* --- Preload & Performance --- */
.lazy-placeholder {
  background: var(--clr-bg-card);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
