/* ==========================================================================
   12BET Malaysia Chinese PBN — Light Theme
   ========================================================================== */

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

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f7f8fa;
  --bg-tertiary: #ffffff;
  --bg-accent: #fff8e1;
  --gold: #b8860b;
  --gold-light: #d4a017;
  --gold-dark: #8f6b0e;
  --red: #d62839;
  --red-dark: #a51e2c;
  --green: #2e7d32;
  --text-primary: #1a1a2a;
  --text-secondary: #4a4a5e;
  --text-muted: #8a8a99;
  --border: #e6e6ed;
  --border-strong: #d4d4de;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --gradient-gold: linear-gradient(135deg, #b8860b 0%, #d4a017 50%, #b8860b 100%);
  --gradient-hero: linear-gradient(135deg, #fff8e1 0%, #ffffff 50%, #fff2cc 100%);
  --font-cjk: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', -apple-system, sans-serif;
  --font-en: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-cjk);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-dark); }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0d0d14;
  border-bottom: 1px solid rgba(184, 134, 11, 0.35);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-en);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.logo span { color: var(--text-primary); }

.logo img {
  display: block;
  height: 60px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.footer .logo img {
  height: 52px;
}

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

.nav a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover { color: var(--gold-light); }

.nav-cta {
  background: var(--gradient-gold);
  color: #fff !important;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.45);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 1.85rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */

.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active { opacity: 1; z-index: 1; }

.slide-1,
.slide-2,
.slide-3 {
  background: #0d0d14;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.slide-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(214, 40, 57, 0.4);
}

.slide-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.slide-title .gold { color: var(--gold-light); }

.slide-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1.75rem;
  max-width: 560px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 134, 11, 0.4);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  margin-left: 0.75rem;
}

.btn-outline:hover {
  background: var(--gold);
  color: #fff;
}

.slide .btn-outline {
  color: #ffd54f;
  border-color: #ffd54f;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
}

.slide .btn-outline:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(26, 26, 42, 0.25);
  border: none;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}

.dot.active { background: var(--gold); width: 32px; border-radius: 6px; }

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: var(--gold);
  border: 1px solid var(--border-strong);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  z-index: 5;
  transition: background 0.2s;
  box-shadow: var(--shadow-sm);
}

.slider-nav:hover { background: var(--gold); color: #fff; }
.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

.section-title .gold { color: var(--gold); }

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ==========================================================================
   Top Casinos List
   ========================================================================== */

.top-casinos {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.casino-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.casino-card {
  display: grid;
  grid-template-columns: 60px 120px 2fr 1fr 1fr 180px;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: var(--shadow-sm);
}

.casino-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.casino-card.featured {
  background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
  border-color: var(--gold);
  border-width: 2px;
  position: relative;
}

.casino-card.featured .casino-logo {
  background: #0d0d14;
  border-color: #0d0d14;
}

.casino-card.featured .casino-logo img {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.casino-card.featured::before {
  content: '🏆 编辑推荐';
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--gradient-gold);
  color: #fff;
  padding: 0.3rem 0.9rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.casino-rank {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  font-family: var(--font-en);
  text-align: center;
}

.casino-logo {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  text-align: center;
  padding: 0.75rem;
  background: var(--bg-secondary);
  border-radius: 6px;
  border: 1px solid var(--border);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.casino-logo img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.casino-info h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.casino-info p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.casino-rating {
  text-align: center;
}

.stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 0.1em; }
.rating-num { color: var(--text-primary); font-weight: 700; font-size: 1.1rem; }
.rating-reviews { color: var(--text-muted); font-size: 0.8rem; }

.casino-bonus {
  text-align: center;
}

.bonus-amount {
  color: var(--red);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.1;
}

.bonus-label {
  color: var(--text-secondary);
  font-size: 0.8rem;
  display: block;
  margin-top: 0.25rem;
}

.casino-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.casino-actions .btn {
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  text-align: center;
}

/* ==========================================================================
   Promo Cards (12BET new-member offers)
   ========================================================================== */

.promo-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.promo-card {
  display: grid;
  grid-template-columns: 1fr 240px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: var(--shadow-sm);
}

.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.promo-media {
  grid-column: 1 / span 2;
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 500;
  background: #0d0d14;
  overflow: hidden;
}

.promo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.promo-body {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}

.promo-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(184, 134, 11, 0.12);
  color: var(--gold-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.promo-body h3 {
  margin: 0.35rem 0 0.2rem;
  color: var(--text-primary);
  font-size: 1.15rem;
  line-height: 1.35;
}

.promo-body p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

.promo-terms {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.promo-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.5rem;
  justify-content: center;
  min-width: 170px;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
}

.promo-actions .btn {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  text-align: center;
  white-space: nowrap;
}

.promo-note {
  max-width: 820px;
  margin: 2rem auto 0;
  padding: 1rem 1.25rem;
  background: var(--bg-secondary);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.promo-note a { color: var(--gold-dark); text-decoration: underline; }

@media (max-width: 768px) {
  .promo-card { grid-template-columns: 1fr; }
  .promo-body { padding: 1.25rem 1rem 1rem; gap: 0.35rem; }
  .promo-body h3 { font-size: 1.05rem; }
  .promo-body p { font-size: 0.9rem; }
  .promo-terms { font-size: 0.78rem; }
  .promo-actions {
    flex-direction: row;
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 0.85rem 1rem 1rem;
    gap: 0.5rem;
  }
  .promo-actions .btn { flex: 1; padding: 0.75rem 0.5rem; font-size: 0.88rem; }
  .promo-note { font-size: 0.85rem; padding: 0.85rem 1rem; }
}

/* ==========================================================================
   Partners / Sponsorships / Awards
   ========================================================================== */

.partners {
  background: linear-gradient(180deg, #0d0d14 0%, #14141f 100%);
  color: #ffffff;
}

.partners .section-title,
.partners .sub-title {
  color: #ffffff;
}

.partners .section-title .gold,
.partners .gold-small {
  color: var(--gold-light);
}

.partners .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.sub-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: 0.01em;
}

.gold-small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-left: 0.5rem;
  letter-spacing: 0.02em;
}

.sub-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
  max-width: 640px;
}

.media-partner {
  margin: 0 auto 3rem;
  max-width: 720px;
}

.media-partner-inner {
  position: relative;
  display: block;
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 134, 11, 0.28) 0%, transparent 60%),
    linear-gradient(180deg, #1a1a26 0%, #0d0d14 100%);
  border: 1px solid rgba(184, 134, 11, 0.55);
  border-radius: 14px;
  padding: 2rem 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.media-partner-inner:hover {
  transform: translateY(-3px);
  border-color: var(--gold-light);
  box-shadow: 0 14px 40px rgba(184, 134, 11, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: inherit;
}

.media-partner-inner:hover .media-partner-cta { color: #ffffff; }
.media-partner-inner:hover .media-partner-cta span { transform: translateX(3px); }

.media-partner-tag {
  display: inline-block;
  background: var(--gradient-gold);
  color: #0d0d14;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.media-partner-logo {
  margin: 0.5rem auto 1rem;
  padding: 0.5rem 1rem;
  display: inline-block;
}

.media-partner-logo img {
  max-width: 100%;
  height: auto;
  max-height: 60px;
  filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.15));
}

.media-partner-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.media-partner-desc strong { color: var(--gold-light); }

.media-partner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  color: var(--gold-light);
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.media-partner-cta span {
  display: inline-block;
  transition: transform 0.2s;
}

.sponsorship-block { margin-bottom: 3rem; }

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(184, 134, 11, 0.25);
  padding: 1.25rem;
  border-radius: 12px;
}

.sponsor-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 0.85rem 0.5rem 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sponsor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(184, 134, 11, 0.25);
}

.sponsor-card img {
  width: 100%;
  height: 68px;
  object-fit: contain;
  display: block;
}

.sponsor-card span {
  color: #1a1a2a;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.sponsor-card span small {
  display: block;
  color: #6a6a7a;
  font-size: 0.65rem;
  font-weight: 500;
  margin-top: 0.15rem;
  letter-spacing: 0.05em;
}

.awards-block { margin-bottom: 0; }

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.award-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(184, 134, 11, 0.35);
  border-radius: 12px;
  padding: 1.75rem 1.25rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.award-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-light);
  background: rgba(184, 134, 11, 0.1);
}

.award-card img {
  max-width: 100%;
  height: 70px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
  filter: brightness(1.1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.award-card.cert-card img { filter: brightness(1.2); background: rgba(255, 255, 255, 0.9); padding: 0.5rem 0.75rem; border-radius: 6px; }

.award-card h4 {
  color: var(--gold-light);
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
}

.award-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .sponsors-grid { grid-template-columns: repeat(4, 1fr); }
  .awards-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

@media (max-width: 768px) {
  .sponsors-grid { grid-template-columns: repeat(3, 1fr); gap: 0.65rem; padding: 0.85rem; }
  .sponsor-card { padding: 0.65rem 0.4rem 0.5rem; gap: 0.3rem; }
  .sponsor-card img { height: 54px; }
  .sponsor-card span { font-size: 0.68rem; }
  .sponsor-card span small { font-size: 0.6rem; }
  .awards-grid { grid-template-columns: 1fr; gap: 1rem; }
  .award-card { padding: 1.25rem 1rem 1.1rem; }
  .media-partner { margin-bottom: 2rem; }
  .media-partner-inner { padding: 1.5rem 1.25rem 1.25rem; }
  .media-partner-logo img { max-height: 44px; }
  .media-partner-desc { font-size: 0.88rem; }
  .sub-title { font-size: 1.15rem; }
  .gold-small { display: block; margin-left: 0; margin-top: 0.15rem; font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .sponsors-grid { grid-template-columns: repeat(2, 1fr); }
  .sponsor-card img { height: 60px; }
}

/* ==========================================================================
   Feature Grid
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--gold);
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

/* ==========================================================================
   Payment
   ========================================================================== */

.payments {
  background: var(--bg-secondary);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.payment-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1rem;
  text-align: center;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.payment-item:hover { border-color: var(--gold); box-shadow: var(--shadow); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question::after {
  content: '+';
  color: var(--gold);
  font-size: 1.5rem;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
  color: var(--text-secondary);
}

.faq-item.open .faq-answer {
  padding: 0 1.5rem 1.25rem;
  max-height: 500px;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  padding: 3rem 1.5rem;
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  font-size: 2rem;
  margin: 0 0 0.75rem;
  font-weight: 900;
  color: #fff;
}

.cta-banner p {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
}

.cta-banner .btn {
  background: #fff;
  color: var(--gold-dark);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.cta-banner .btn:hover {
  background: var(--text-primary);
  color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--text-primary);
  padding: 3rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer .logo span { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: var(--gold-light);
  margin: 0 0 1rem;
  font-size: 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li { margin-bottom: 0.5rem; }

.footer a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.footer a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.disclaimer {
  background: rgba(214, 40, 57, 0.08);
  border-left: 3px solid var(--red);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  border-radius: 4px;
}

/* ==========================================================================
   Responsive — Tablet
   ========================================================================== */

@media (max-width: 992px) {
  .casino-card {
    grid-template-columns: 50px 100px 1fr 140px;
    gap: 1rem;
  }
  .casino-info { grid-column: 2 / span 2; }
  .casino-rating { grid-column: 2; }
  .casino-bonus { grid-column: 3; }
  .casino-actions { grid-column: 4; grid-row: 1 / span 2; }

  .slide-title { font-size: 2.25rem; }
  .logo img { height: 52px; }
  .footer .logo img { height: 46px; }
}

/* ==========================================================================
   Responsive — Mobile (mobile-first tap-friendly)
   ========================================================================== */

@media (max-width: 768px) {
  .container { padding: 0 1rem; }

  .header-inner { padding: 0.5rem 1rem; gap: 0.5rem; }
  .logo img { height: 46px; max-width: 190px; }
  .footer .logo img { height: 42px; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0d0d14;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    border-top: 1px solid rgba(184, 134, 11, 0.35);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav.open { display: flex; }

  .nav a {
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
  }

  .nav a:last-child { border-bottom: none; }

  .nav-cta {
    text-align: center;
    margin-top: 0.75rem;
    padding: 0.85rem 1.25rem;
  }

  .menu-toggle { display: block; }

  .hero { height: auto; min-height: 380px; }
  .slide { position: relative; min-height: 380px; padding: 2rem 0; }
  .slide:not(.active) { display: none; }
  .slide-content { padding: 0 1rem; }
  .slide-badge { font-size: 0.75rem; padding: 0.3rem 0.75rem; }
  .slide-title { font-size: 1.85rem; line-height: 1.15; }
  .slide-desc { font-size: 0.95rem; margin-bottom: 1.25rem; }
  .btn { display: block; width: 100%; text-align: center; padding: 0.9rem 1.25rem; }
  .btn-outline { margin-left: 0; margin-top: 0.6rem; }
  .slider-nav { display: none; }
  .slider-dots { bottom: 1rem; }

  .section { padding: 2.25rem 0; }
  .section-header { margin-bottom: 1.75rem; }
  .section-title { font-size: 1.6rem; }
  .section-subtitle { font-size: 0.95rem; }

  .casino-list { gap: 0.85rem; }

  .casino-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.25rem 1rem;
    gap: 0.85rem;
  }

  .casino-card > * { grid-column: 1 !important; grid-row: auto !important; }

  .casino-card.featured { margin-top: 1rem; }
  .casino-card.featured::before { left: 50%; transform: translateX(-50%); }

  .casino-rank { font-size: 1.4rem; }
  .casino-logo { min-height: 64px; padding: 0.5rem; }
  .casino-logo img { max-height: 44px; }
  .casino-info h3 { font-size: 1.1rem; }
  .casino-info p { font-size: 0.9rem; }
  .rating-num { font-size: 1rem; }
  .rating-reviews { font-size: 0.78rem; }
  .bonus-amount { font-size: 1.25rem; }
  .casino-actions { flex-direction: row; gap: 0.5rem; }
  .casino-actions .btn { flex: 1; padding: 0.75rem 0.5rem; font-size: 0.9rem; display: inline-block; width: auto; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .feature-card { padding: 1.5rem 0.85rem; }
  .feature-icon { font-size: 2.25rem; margin-bottom: 0.75rem; }
  .feature-card h3 { font-size: 1rem; }
  .feature-card p { font-size: 0.85rem; }

  .payment-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .payment-item { padding: 0.85rem 0.5rem; font-size: 0.82rem; }

  .cta-banner { padding: 2.25rem 1rem; }
  .cta-banner h2 { font-size: 1.5rem; }
  .cta-banner p { font-size: 0.95rem; }
  .cta-banner .btn { padding: 0.9rem 1.75rem; font-size: 1rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .footer .logo { justify-content: center; display: flex; }
  .footer { padding: 2rem 0 1rem; }

  .disclaimer { padding: 0.85rem 1rem; font-size: 0.8rem; }

  .faq-question { padding: 1rem 1.1rem; font-size: 0.95rem; }
  .faq-item.open .faq-answer { padding: 0 1.1rem 1.1rem; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0.45rem 0.85rem; }
  .logo img { height: 42px; max-width: 170px; }
  .menu-toggle { font-size: 1.65rem; padding: 0.25rem 0.35rem; }

  .hero { min-height: 340px; }
  .slide { min-height: 340px; padding: 1.5rem 0; }
  .slide-title { font-size: 1.6rem; }
  .slide-desc { font-size: 0.9rem; }

  .section-title { font-size: 1.4rem; }

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

  .casino-actions { flex-direction: column; }
  .casino-actions .btn { width: 100%; }

  .btn { padding: 0.8rem 1.15rem; font-size: 0.95rem; }
}

/* ═══════════════════════════════════════════════════════ */
/* Page-specific styles (daftar, contact, bonus)           */
/* ═══════════════════════════════════════════════════════ */

/* daftar.html — .steps 注册步骤卡 */
.steps { max-width: 820px; margin: 0 auto; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  background: var(--gradient-gold);
  color: #fff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 900;
  font-family: var(--font-en);
  box-shadow: var(--shadow-sm);
}
.step h3 { color: var(--gold); margin: 0 0 0.5rem; font-size: 1.25rem; }
.step p { color: var(--text-secondary); margin: 0 0 0.5rem; }
.step ul { color: var(--text-secondary); padding-left: 1.25rem; margin: 0.5rem 0 0; }
.step li { margin-bottom: 0.35rem; }
.step code { background: var(--bg-secondary); padding: 0.15rem 0.45rem; border-radius: 3px; color: var(--gold-dark); font-size: 0.9em; }

/* contact.html — .contact-grid 联系卡 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.contact-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.contact-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-icon { font-size: 3rem; margin-bottom: 1rem; }
.contact-card h3 { color: var(--gold); margin: 0 0 0.5rem; }
.contact-card p { color: var(--text-secondary); margin: 0 0 1rem; font-size: 0.9rem; }
.contact-card a { color: var(--gold); font-weight: 700; word-break: break-all; }

@media (max-width: 768px) {
  .step { grid-template-columns: 1fr; text-align: center; padding: 1.25rem; }
  .step-num { margin: 0 auto; }
  .step ul { text-align: left; }
}
