/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
  --color-bg: #080810;
  --color-surface: #12122A;
  --color-surface-2: #1A1A3E;
  --color-gold: #F0A500;
  --color-gold-light: #FFD700;
  --color-gold-dim: rgba(240, 165, 0, 0.15);
  --color-text: #FFFFFF;
  --color-muted: #9999BB;
  --color-success: #00C853;
  --radius-card: 14px;
  --radius-btn: 8px;
  --shadow-gold: 0 4px 24px rgba(240, 165, 0, 0.12);
  --shadow-gold-hover: 0 8px 40px rgba(240, 165, 0, 0.35);
  --glow-gold: 0 0 20px rgba(240, 165, 0, 0.5), 0 0 60px rgba(240, 165, 0, 0.2);
  --transition: 0.3s ease;
  --max-width: 1200px;
  --font-display: 'Oswald', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ===========================
   KEYFRAME ANIMATIONS
   =========================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(240,165,0,0.3); }
  50%       { box-shadow: 0 0 30px rgba(240,165,0,0.7), 0 0 60px rgba(240,165,0,0.3); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(240,165,0,0.06) 1px, transparent 0);
  background-size: 32px 32px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-gold-light); }
ul { list-style: none; }

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.5px;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--color-gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
h3 { font-size: clamp(1rem, 2vw, 1.25rem); }
p { color: var(--color-muted); margin-bottom: 0.75rem; }

.section-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}
.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  border-radius: 2px;
}

/* ===========================
   LAYOUT UTILITIES
   =========================== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-dark { background-color: var(--color-surface); }
.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-white { color: var(--color-text); }

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-gold) 0%, #E8960A 50%, var(--color-gold-light) 100%);
  background-size: 200% auto;
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: background-position var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 15px rgba(240,165,0,0.3);
}
.btn-primary:hover {
  background-position: right center;
  color: #000;
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}
.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-btn);
  border: 2px solid var(--color-gold);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}
.btn-outline:hover { background-color: var(--color-gold); color: #000; }
.btn-full { display: block; width: 100%; text-align: center; }

/* ===========================
   CARDS
   =========================== */
.card {
  background: linear-gradient(145deg, var(--color-surface) 0%, #0F0F28 100%);
  border-radius: var(--radius-card);
  border-top: 3px solid var(--color-gold);
  border-left: 1px solid rgba(240,165,0,0.1);
  border-right: 1px solid rgba(240,165,0,0.05);
  border-bottom: 1px solid rgba(240,165,0,0.05);
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255,255,255,0.03);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,165,0,0.4), transparent);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold-hover);
  border-top-color: var(--color-gold-light);
}

/* ===========================
   HEADER (Glassmorphism)
   =========================== */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(240,165,0,0.3);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(240,165,0,0.5);
}
.logo span { color: var(--color-text); }
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--color-gold); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: var(--transition);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: var(--color-surface);
  padding: 1rem 1.5rem;
  gap: 1rem;
  border-top: 1px solid rgba(240, 165, 0, 0.2);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--color-text); font-size: 1rem; padding: 0.5rem 0; }

/* Mobile Floating CTA */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0.75rem 1rem;
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-gold);
}

/* ===========================
   PAYMENT METHODS
   =========================== */
.payment-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--color-surface);
  border: 1px solid rgba(240,165,0,0.2);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.75rem;
  min-width: 140px;
  transition: border-color var(--transition), transform var(--transition);
}
.payment-item:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
}
.payment-logo { font-size: 2rem; }
.payment-name { color: var(--color-text); font-weight: 600; font-size: 0.9rem; }
.payment-detail { color: var(--color-muted); font-size: 0.8rem; }

/* ===========================
   TRUST SIGNALS
   =========================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.trust-item { text-align: center; }
.trust-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.trust-item h3 { color: var(--color-gold); margin-bottom: 0.5rem; font-size: 1rem; }
.trust-item p { font-size: 0.9rem; }

/* ===========================
   FAQ ACCORDION
   =========================== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background-color: var(--color-surface);
  border: 1px solid rgba(240,165,0,0.2);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--color-gold); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--color-gold); }
.faq-icon {
  color: var(--color-gold);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding var(--transition);
  padding: 0 1.5rem;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}
.faq-answer p { color: var(--color-muted); font-size: 0.95rem; margin: 0; }
.faq-answer strong { color: var(--color-gold); }

/* ===========================
   FOOTER
   =========================== */
#footer { background-color: #080808; border-top: 1px solid rgba(240,165,0,0.3); }
.footer-main { padding: 3rem 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-col h4 {
  color: var(--color-gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: var(--color-muted); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--color-gold); }
.footer-bottom {
  background-color: #050505;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: #555; margin: 0.25rem 0; }

/* ===========================
   RESPONSIVE — TABLET (768–1024px)
   =========================== */
@media (max-width: 1024px) {
  .pengenalan-grid { grid-template-columns: 1fr; }
  .rating-card { max-width: 400px; margin: 0 auto; }
  .kategori-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ===========================
   RESPONSIVE — MOBILE (<768px)
   =========================== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .slide { min-height: 380px; padding: 0; background-position: center center; }
  .slide-content { padding: 2rem 1rem; }
  .slide h1, .slide h2.slide-title { font-size: 1.8rem; }
  .slider-arrow { width: 36px; height: 36px; font-size: 1rem; }
  .section { padding: 2.5rem 0; }
  .kategori-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .kategori-body { padding: 0.9rem 1rem 1.1rem; }
  .btn-outline { padding: 0.6rem 1.1rem; font-size: 0.82rem; }
  .promosi-grid { grid-template-columns: 1fr; }
  .promosi-featured { transform: scale(1); }
  .promosi-featured:hover { transform: translateY(-4px); }
  .steps-wrapper { flex-direction: column; align-items: center; gap: 1.5rem; }
  .step-connector { width: 2px; height: 40px; background: linear-gradient(180deg, var(--color-gold), rgba(240,165,0,0.3)); flex: 0 0 40px; margin: 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-cta-bar { display: block; opacity: 0; transition: opacity var(--transition); }
  body { padding-bottom: 70px; }
}

/* ===========================
   HERO SLIDER
   =========================== */
#hero { position: relative; overflow: hidden; }
.slider-wrapper { position: relative; overflow: hidden; width: 100%; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  min-height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(8,8,16,0.80) 0%,
    rgba(8,8,16,0.55) 40%,
    rgba(8,8,16,0.15) 100%);
  z-index: 1;
}
.slide-1  { background-image: url('../banners/12bet-banner-1.jpg'); }
.slide-2  { background-image: url('../banners/12bet-banner-6.jpg'); }
.slide-3  { background-image: url('../banners/12bet-banner-9.jpg'); }
.slide-4  { background-image: url('../banners/12bet-banner-3.jpg'); }
.slide-5  { background-image: url('../banners/12bet-banner-10.jpg'); }
.slide-6  { background-image: url('../banners/12bet-banner-11.jpg'); }
.slide-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 4rem 1.5rem;
}
.slide-badge {
  display: inline-block;
  background: rgba(240,165,0,0.2);
  border: 1px solid rgba(240,165,0,0.4);
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.slide h1, .slide h2.slide-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.slide-sub {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.4rem;
}
.slide-sub strong { color: var(--color-gold-light); }
.slide-note {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2rem;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(240,165,0,0.12);
  border: 1px solid rgba(240,165,0,0.35);
  color: var(--color-gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-arrow:hover { background: rgba(240,165,0,0.28); transform: translateY(-50%) scale(1.1); }
.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }
.slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.dot.active { background: var(--color-gold); transform: scale(1.4); }

/* ===========================
   BRAND INTRO
   =========================== */
.pengenalan-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}
.pengenalan-text h2 { margin-bottom: 1.25rem; }
.pengenalan-text p { font-size: 1rem; line-height: 1.75; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.badge {
  display: inline-block;
  background: rgba(0,200,83,0.1);
  border: 1px solid rgba(0,200,83,0.3);
  color: var(--color-success);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}
.rating-card { text-align: center; padding: 2rem; }
.rating-brand { margin-bottom: 0.75rem; }
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 2px;
}
.brand-sub { font-size: 0.8rem; color: var(--color-muted); letter-spacing: 1px; }
.stars { color: var(--color-gold); font-size: 1.4rem; letter-spacing: 3px; margin: 0.5rem 0; }
.rating-score {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin: 0.5rem 0 1rem;
}
.rating-score span { font-size: 1.25rem; color: var(--color-muted); }
.rating-list { text-align: left; display: flex; flex-direction: column; gap: 0.55rem; }
.rating-list li { color: var(--color-text); font-size: 0.92rem; }

/* ===========================
   STATS SECTION
   =========================== */
#stats {
  background: linear-gradient(135deg, var(--color-surface) 0%, #0A0A20 100%);
  border-top: 1px solid rgba(240,165,0,0.15);
  border-bottom: 1px solid rgba(240,165,0,0.15);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { position: relative; }
.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 55%;
  background: rgba(240,165,0,0.2);
}
.stat-item:last-child::after { display: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  display: inline;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--color-gold-light);
  display: inline;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===========================
   GAME CATEGORIES
   =========================== */
.kategori-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.kategori-card { padding: 0; overflow: hidden; }
.kategori-img {
  width: 100%;
  height: 155px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.kategori-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18,18,42,0.75) 100%);
}
.kategori-sukan  { background-image: url('../banners/cat-sukan.jpg');   background-position: center center; }
.kategori-slot   { background-image: url('../banners/cat-slot.jpg');    background-position: center center; }
.kategori-kasino { background-image: url('../banners/cat-kasino.jpg');  background-position: center center; }
.kategori-esports{ background-image: url('../banners/cat-esports.jpg'); background-position: center top; }
.kategori-body { padding: 1.25rem 1.5rem 1.5rem; }
.kategori-icon { font-size: 1.6rem; margin-bottom: 0.4rem; }
.kategori-card h3 { color: var(--color-text); margin-bottom: 0.4rem; }
.kategori-card p { font-size: 0.88rem; margin-bottom: 0; }

/* ===========================
   PROMOTIONS
   =========================== */
.promosi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.promosi-card { padding: 0; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.promosi-featured {
  transform: scale(1.03);
  border-color: var(--color-gold-light) !important;
  box-shadow: var(--shadow-gold-hover) !important;
}
.promosi-featured-label {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--color-gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  z-index: 5;
}
.promosi-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}
.promosi-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,18,42,0.1) 0%, rgba(18,18,42,0.85) 100%);
}
.promosi-banner-1 { background-image: url('../banners/12bet-bonus-5.jpg'); }
.promosi-banner-2 { background-image: url('../banners/12bet-bonus-4.jpg'); }
.promosi-banner-3 { background-image: url('../banners/12bet-bonus-1.jpg'); }
.promosi-body { padding: 1.25rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.promosi-body .btn-primary { margin-top: auto; }
.promosi-tag {
  display: inline-block;
  background: rgba(240,165,0,0.15);
  border: 1px solid rgba(240,165,0,0.3);
  color: var(--color-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.22rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.promosi-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin: 0.4rem 0 0.6rem;
}
.promosi-card h3 { color: var(--color-text); margin-bottom: 0.4rem; }
.promosi-card p { font-size: 0.88rem; }
.promosi-features { display: flex; flex-direction: column; gap: 0.3rem; margin: 0.6rem 0; }
.promosi-features li { color: var(--color-muted); font-size: 0.83rem; }

/* ===========================
   CARA DAFTAR (Steps)
   =========================== */
.steps-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 880px;
  margin: 0 auto;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 240px;
  padding: 0 0.75rem;
}
.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, #E8960A 100%);
  color: #000;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 0 4px rgba(240,165,0,0.2), 0 4px 20px rgba(240,165,0,0.3);
  flex-shrink: 0;
}
.step-content h3 { color: var(--color-text); margin-bottom: 0.4rem; font-size: 1.05rem; }
.step-content p { font-size: 0.88rem; line-height: 1.65; }
.step-connector {
  flex: 0 0 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), rgba(240,165,0,0.3));
  margin-top: 30px;
  position: relative;
}
.step-connector::after {
  content: '\25B6';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gold);
  font-size: 0.65rem;
}

/* ===========================
   OFFICIAL PARTNERS SECTION
   =========================== */
#rakan-rasmi {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
  border-top: 1px solid rgba(240,165,0,0.1);
  border-bottom: 1px solid rgba(240,165,0,0.1);
}
.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin: 2.5rem 0 1.5rem;
}
.partner-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: grayscale(30%) brightness(0.85);
  transition: filter var(--transition), transform var(--transition);
}
.partner-logo:hover {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.12);
}
.partner-banner-strip {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(240,165,0,0.15);
  margin-top: 0.5rem;
}
.bsports-logo {
  max-width: 580px;
  width: 90%;
  height: auto;
  margin: 0 auto;
  filter: brightness(1.05);
}
.partner-badge {
  display: inline-block;
  margin-top: 0.75rem;
  background: rgba(240,165,0,0.1);
  border: 1px solid rgba(240,165,0,0.3);
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  text-transform: uppercase;
}

/* ===========================
   CERTIFICATION BADGES SECTION
   =========================== */
#pensijilan {
  background: #060608;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 2.5rem 0;
}
.certs-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}
.certs-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.cert-badge {
  height: 50px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(40%) brightness(0.8);
  transition: filter var(--transition), transform var(--transition);
}
.cert-badge:hover {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.08);
}
@media (max-width: 768px) {
  .partners-logos { gap: 1.5rem; }
  .partner-logo { width: 70px; height: 70px; }
  .certs-grid { gap: 1.5rem; }
  .cert-badge { height: 38px; }
  .bsports-logo { max-width: 100%; }
}

/* ===========================
   RESPONSIVE ADDITIONS
   =========================== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .promosi-grid { grid-template-columns: repeat(2, 1fr); }
  .promosi-featured { transform: scale(1); }
  .pengenalan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-item::after { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem; }
  .promosi-grid { grid-template-columns: 1fr; }
}

/* ===========================
   PAGE HERO (subpages)
   =========================== */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(8,8,16,0.88) 0%,
    rgba(8,8,16,0.65) 50%,
    rgba(8,8,16,0.30) 100%);
  z-index: 1;
}
.page-hero-kasino { background-image: url('../banners/cat-kasino.jpg'); }
.page-hero-sukan  { background-image: url('../banners/cat-sukan.jpg');  }
.page-hero-slot   { background-image: url('../banners/cat-slot.jpg');   }
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 4rem 1.5rem;
}
.breadcrumb {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-gold); }
.page-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.page-hero-content .hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
}
.page-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.hero-badge {
  display: inline-block;
  background: rgba(240,165,0,0.15);
  border: 1px solid rgba(240,165,0,0.4);
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.28rem 0.7rem;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ===========================
   GAME REVIEW CARDS
   =========================== */
.game-review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.game-review-card { padding: 0; overflow: hidden; }
.game-img {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}
.game-img-baccarat  { background: linear-gradient(135deg, #1a0a2e 0%, #3d1f6b 50%, #1a0a2e 100%); }
.game-img-roulette  { background: linear-gradient(135deg, #1a0000 0%, #6b0000 50%, #1a0000 100%); }
.game-img-dragontiger { background: linear-gradient(135deg, #001a0a 0%, #005c2e 50%, #001a0a 100%); }
.game-img-sicbo     { background: linear-gradient(135deg, #1a1500 0%, #5c4a00 50%, #1a1500 100%); }
.game-img-slot      { background: linear-gradient(135deg, #001a30 0%, #003d6b 50%, #001a30 100%); }
.game-img-poker     { background: linear-gradient(135deg, #1a000a 0%, #4d0015 50%, #1a000a 100%); }
.game-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18,18,42,0.7) 100%);
}
.game-body { padding: 1.25rem 1.5rem 1.5rem; }
.game-badge-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.game-badge {
  display: inline-block;
  background: rgba(240,165,0,0.1);
  border: 1px solid rgba(240,165,0,0.25);
  color: var(--color-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.18rem 0.5rem;
  border-radius: 3px;
}
.game-review-card h3 { color: var(--color-text); margin-bottom: 0.35rem; font-size: 1.1rem; }
.game-review-card p { font-size: 0.87rem; margin-bottom: 0.75rem; }
.game-min-bet {
  font-size: 0.8rem;
  color: var(--color-success);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ===========================
   PROVIDER SECTION
   =========================== */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.provider-card {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(145deg, var(--color-surface) 0%, #0F0F28 100%);
  border-radius: var(--radius-card);
  border: 1px solid rgba(240,165,0,0.15);
  transition: border-color var(--transition), transform var(--transition);
}
.provider-card:hover { border-color: var(--color-gold); transform: translateY(-4px); }
.provider-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.provider-card h3 { color: var(--color-gold); font-size: 1rem; margin-bottom: 0.4rem; }
.provider-card p { font-size: 0.83rem; }
.provider-tag {
  display: inline-block;
  margin-top: 0.5rem;
  background: rgba(0,200,83,0.1);
  border: 1px solid rgba(0,200,83,0.3);
  color: var(--color-success);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

/* ===========================
   RESPONSIVE — subpage additions
   =========================== */
@media (max-width: 1024px) {
  .game-review-grid { grid-template-columns: repeat(2, 1fr); }
  .provider-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-hero { min-height: 280px; }
  .page-hero-content { padding: 2.5rem 1rem; }
  .game-review-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .provider-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* ===========================
   SPORT REVIEW CARDS (sukan.html)
   =========================== */
.page-hero-sukan2 { background-image: url('../banners/cat-sukan.jpg'); }
.page-hero-bonus  { background-image: url('../banners/12bet-bonus-5.jpg'); background-position: center top; }
.page-hero-daftar { background-image: url('../banners/12bet-banner-1.jpg'); background-position: center top; }
.page-hero-blog   { background-image: url('../banners/12bet-banner-10.jpg'); background-position: center top; }
.page-hero-hubungi{ background-image: url('../banners/12bet-banner-11.jpg'); background-position: center top; }

.sport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sport-card { padding: 0; overflow: hidden; }
.sport-img {
  width: 100%;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}
.sport-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18,18,42,0.65) 100%);
}
.sport-img-football   { background: linear-gradient(135deg, #001a0a 0%, #004d1a 50%, #001a0a 100%); }
.sport-img-badminton  { background: linear-gradient(135deg, #00101a 0%, #003455 50%, #00101a 100%); }
.sport-img-basketball { background: linear-gradient(135deg, #2e1000 0%, #7a3000 50%, #2e1000 100%); }
.sport-img-tennis     { background: linear-gradient(135deg, #1a2e00 0%, #3d6600 50%, #1a2e00 100%); }
.sport-img-esports    { background: linear-gradient(135deg, #0a001a 0%, #2e0055 50%, #0a001a 100%); }
.sport-img-horse      { background: linear-gradient(135deg, #2e1a00 0%, #7a4000 50%, #2e1a00 100%); }
.sport-body { padding: 1.1rem 1.25rem 1.4rem; }
.sport-card h3 { color: var(--color-text); margin-bottom: 0.35rem; font-size: 1.05rem; }
.sport-card p  { font-size: 0.85rem; margin-bottom: 0.6rem; }
.sport-leagues { font-size: 0.78rem; color: var(--color-gold); font-weight: 600; }

/* ===========================
   LIVE BETTING HIGHLIGHT
   =========================== */
.live-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, var(--color-surface) 0%, #0A0A20 100%);
  border: 1px solid rgba(240,165,0,0.2);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  margin-bottom: 3rem;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(220,20,60,0.15);
  border: 1px solid rgba(220,20,60,0.4);
  color: #ff4d6d;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.28rem 0.7rem;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.live-dot {
  width: 8px; height: 8px;
  background: #ff4d6d;
  border-radius: 50%;
  animation: glowPulse 1.5s ease infinite;
}
.live-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}
.live-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}
.live-stat-label { font-size: 0.78rem; color: var(--color-muted); margin-top: 0.25rem; }

/* ===========================
   BLOG PAGE
   =========================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.blog-card { padding: 0; overflow: hidden; }
.blog-thumb {
  width: 100%;
  height: 190px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(18,18,42,0.8) 100%);
}
.blog-thumb-1 { background: linear-gradient(135deg, #001a0a 0%, #004d1a 50%, #001a0a 100%); }
.blog-thumb-2 { background: linear-gradient(135deg, #001a2e 0%, #003d6b 50%, #001a2e 100%); }
.blog-thumb-3 { background: linear-gradient(135deg, #1a0a2e 0%, #3d1f6b 50%, #1a0a2e 100%); }
.blog-thumb-4 { background: linear-gradient(135deg, #001230 0%, #003d6b 50%, #001230 100%); }
.blog-thumb-5 { background: linear-gradient(135deg, #0a001a 0%, #2e0055 50%, #0a001a 100%); }
.blog-thumb-6 { background: linear-gradient(135deg, #1a1500 0%, #5c4a00 50%, #1a1500 100%); }
.blog-body { padding: 1.25rem 1.5rem 1.5rem; }
.blog-tag {
  display: inline-block;
  background: rgba(240,165,0,0.12);
  border: 1px solid rgba(240,165,0,0.3);
  color: var(--color-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  margin-bottom: 0.6rem;
}
.blog-card h3 { color: var(--color-text); font-size: 1rem; margin-bottom: 0.4rem; line-height: 1.4; }
.blog-card p  { font-size: 0.85rem; margin-bottom: 0.75rem; }
.blog-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.78rem; color: var(--color-muted); }
.blog-read-more { color: var(--color-gold); font-size: 0.85rem; font-weight: 600; }
.blog-read-more:hover { color: var(--color-gold-light); }

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.contact-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(145deg, var(--color-surface) 0%, #0F0F28 100%);
  border-radius: var(--radius-card);
  border: 1px solid rgba(240,165,0,0.15);
  transition: border-color var(--transition), transform var(--transition);
}
.contact-card:hover { border-color: var(--color-gold); transform: translateY(-4px); }
.contact-icon { font-size: 3rem; margin-bottom: 1rem; }
.contact-card h3 { color: var(--color-gold); margin-bottom: 0.5rem; }
.contact-card p  { font-size: 0.9rem; margin-bottom: 1rem; }
.contact-card a.contact-link {
  display: inline-block;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.contact-hours { font-size: 0.8rem; color: var(--color-success); margin-top: 0.4rem; }

/* ===========================
   BONUS PAGE — large bonus cards
   =========================== */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.bonus-card-lg {
  background: linear-gradient(145deg, var(--color-surface) 0%, #0F0F28 100%);
  border-radius: var(--radius-card);
  border-top: 3px solid var(--color-gold);
  border-left: 1px solid rgba(240,165,0,0.1);
  border-right: 1px solid rgba(240,165,0,0.05);
  border-bottom: 1px solid rgba(240,165,0,0.05);
  box-shadow: var(--shadow-gold);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.bonus-card-lg:hover { transform: translateY(-5px); box-shadow: var(--shadow-gold-hover); }
.bonus-card-banner {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center top;
  position: relative;
}
.bonus-card-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,18,42,0.05) 0%, rgba(18,18,42,0.9) 100%);
}
.bonus-card-lg-body { padding: 1.5rem 2rem 2rem; }
.bonus-card-lg h3 { color: var(--color-text); font-size: 1.35rem; margin-bottom: 0.4rem; }
.bonus-amount-lg {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin: 0.5rem 0 0.75rem;
}
.bonus-card-lg p { font-size: 0.9rem; margin-bottom: 1rem; }
.bonus-requirements {
  background: rgba(240,165,0,0.06);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
}
.bonus-requirements li {
  color: var(--color-muted);
  font-size: 0.83rem;
  padding: 0.2rem 0;
}
.bonus-requirements li strong { color: var(--color-text); }
.bonus-hot-label {
  position: absolute;
  top: 1rem; right: 1rem;
  background: linear-gradient(135deg, var(--color-gold), #E8960A);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  z-index: 5;
}

/* Daftar page — detailed steps */
.daftar-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 760px;
  margin: 0 auto;
}
.daftar-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem;
  background: linear-gradient(145deg, var(--color-surface) 0%, #0F0F28 100%);
  border-radius: var(--radius-card);
  border: 1px solid rgba(240,165,0,0.15);
  transition: border-color var(--transition);
}
.daftar-step:hover { border-color: rgba(240,165,0,0.4); }
.daftar-step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold) 0%, #E8960A 100%);
  color: #000;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(240,165,0,0.2);
}
.daftar-step-body h3 { color: var(--color-text); margin-bottom: 0.5rem; font-size: 1.1rem; }
.daftar-step-body p  { font-size: 0.9rem; margin-bottom: 0.5rem; }
.daftar-tip {
  display: inline-block;
  background: rgba(0,200,83,0.08);
  border-left: 3px solid var(--color-success);
  color: var(--color-muted);
  font-size: 0.82rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0 4px 4px 0;
  margin-top: 0.4rem;
}
.daftar-tip strong { color: var(--color-success); }

/* ===========================
   RESPONSIVE — all new sections
   =========================== */
@media (max-width: 1024px) {
  .sport-grid    { grid-template-columns: repeat(2, 1fr); }
  .blog-grid     { grid-template-columns: repeat(2, 1fr); }
  .bonus-grid    { grid-template-columns: 1fr; }
  .live-highlight{ grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sport-grid    { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .blog-grid     { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; gap: 1.25rem; }
  .bonus-grid    { grid-template-columns: 1fr; }
  .daftar-step   { grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.25rem; }
  .daftar-step-num { width: 52px; height: 52px; font-size: 1.3rem; }
  .live-stats    { grid-template-columns: repeat(3,1fr); }
  .bonus-card-banner { height: 170px; }
  .bonus-card-lg-body { padding: 1.25rem 1.25rem 1.5rem; }
  .bonus-amount-lg { font-size: 2rem; }
}

/* ===========================
   RESPONSIVE — SMALL PHONE (<480px)
   =========================== */
@media (max-width: 480px) {
  .header-inner { padding: 0.75rem 1rem; }
  .container { padding: 0 1rem; }
  .slide { min-height: 300px; }
  .slide-content { padding: 1.75rem 1rem; }
  .slide h1, .slide h2.slide-title { font-size: 1.4rem; }
  .slide-sub { font-size: 0.95rem; }
  .slide-note { display: none; }
  .kategori-grid { grid-template-columns: 1fr; }
  .kategori-body { padding: 1rem 1.25rem 1.25rem; }
  .btn-outline { padding: 0.65rem 1.25rem; font-size: 0.85rem; }
  .game-review-grid { grid-template-columns: 1fr; }
  .provider-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .sport-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .trust-grid { grid-template-columns: 1fr !important; gap: 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .payment-item { min-width: calc(50% - 0.75rem); flex: 1 1 calc(50% - 0.75rem); }
  .slider-arrow { display: none; }
  .faq-question { padding: 1rem 1.25rem; font-size: 0.95rem; }
  .bonus-card-banner { height: 130px; }
  .bonus-card-lg-body { padding: 1rem 1rem 1.25rem; }
  .bonus-amount-lg { font-size: 1.65rem; }
  .hero-badge { font-size: 0.68rem; padding: 0.22rem 0.5rem; }
  .page-hero-badges { gap: 0.4rem; }
}

/* ===========================
   WORDPRESS COMPATIBILITY
   =========================== */

/* WP nav menus output <ul><li> — flatten to match existing CSS */
.nav-links > ul,
.mobile-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: contents;
}
.nav-links > ul > li,
.mobile-nav > ul > li {
  display: contents;
}

/* WP block editor image alignment helpers */
.alignleft  { float: left;  margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; text-align: center; }
.alignwide  { margin-left: -2rem; margin-right: -2rem; }
.alignfull  { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; max-width: 100vw; }

/* Accessibility — screen reader text (WP standard) */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal;
}
.screen-reader-text:focus {
  clip: auto;
  display: block;
  height: auto;
  left: 5px;
  top: 5px;
  width: auto;
  z-index: 100000;
  background: var(--color-surface);
  color: var(--color-gold);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

/* WP pagination (the_posts_pagination) */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.6rem;
  border-radius: 6px;
  background: var(--color-surface);
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid rgba(240,165,0,0.15);
  margin: 0 0.2rem;
  transition: background 0.2s, color 0.2s;
}
.page-numbers:hover,
.page-numbers.current {
  background: var(--color-gold);
  color: #000;
  border-color: var(--color-gold);
}
.nav-links { /* WP pagination wrapper */ }
.nav-links .page-numbers { font-weight: 600; }

/* WP caption (image captions) */
.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-align: center;
  margin-top: 0.4rem;
}

/* WP sticky post indicator */
.sticky .blog-card::before {
  content: "📌 Disematkan";
  display: block;
  font-size: 0.75rem;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

/* WP body_class helpers */
.single-post .blog-card,
.page .blog-card { /* single/page overrides if needed */ }

/* EthorX 2026-08-13: brand-intro heading promoted to h1; keep the h2 scale. */
.pengenalan-text h1.pengenalan-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}
