/* ==========================================================================
   HAHA777 DESIGN SYSTEM — LUXURY GOLD & ONYX CASINO THEME
   Tailored to Official Brand Logo: Primary Gold (#D4AF37), Metallic Accent (#F5D061),
   Onyx Obsidian (#0B0F19), Deep Navy (#111827), Crimson Highlight (#EF4444)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Montserrat:wght@700;800;900&display=swap');

:root {
  /* Brand Palette derived from Official Haha777 Gold Spade Logo */
  --brand-gold-primary: #D4AF37;
  --brand-gold-light: #F5D061;
  --brand-gold-dark: #A37F15;
  --brand-gold-glow: rgba(212, 175, 55, 0.35);
  --brand-gold-gradient: linear-gradient(135deg, #FFF3A7 0%, #D4AF37 50%, #9B7811 100%);
  --brand-gold-metallic: linear-gradient(180deg, #FDE68A 0%, #D4AF37 40%, #B48D1E 100%);

  /* Rich Obsidian & Casino Dark Gradients */
  --bg-deep-space: #07090E;
  --bg-onyx-surface: #0E131F;
  --bg-card-elevated: #161D2D;
  --bg-card-border: rgba(212, 175, 55, 0.22);
  --bg-card-hover: rgba(212, 175, 55, 0.08);

  /* Typography & Text Shades */
  --text-pure: #FFFFFF;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;
  --text-gold: #F5D061;

  /* Interactive Elements */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* Elevation Shadows & Glows */
  --shadow-gold-sm: 0 2px 8px rgba(212, 175, 55, 0.15);
  --shadow-gold-lg: 0 10px 30px rgba(212, 175, 55, 0.25);
  --shadow-card: 0 12px 24px -6px rgba(0, 0, 0, 0.6);
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-deep-space);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-gold-light);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: #FFF;
  text-shadow: 0 0 8px var(--brand-gold-glow);
}

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

/* ==========================================================================
   HEADER & NAVIGATION — ONLY HUB/CATEGORY TABS (MOBILE-FIRST)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bg-card-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.4));
}

/* Nav Tabs Container - Only Category Hubs */
.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}

.header-nav::-webkit-scrollbar {
  display: none;
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.nav-tab:hover,
.nav-tab.active {
  color: #07090E;
  background: var(--brand-gold-gradient);
  border-color: var(--brand-gold-light);
  box-shadow: 0 0 14px var(--brand-gold-glow);
  text-shadow: none;
}

/* Quick Action Buttons in Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-header-login {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #FFF;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.btn-header-register {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 800;
  color: #07090E;
  background: var(--brand-gold-gradient);
  border: 1px solid var(--brand-gold-light);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px var(--brand-gold-glow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}

.btn-header-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.6);
  color: #000;
}

/* ==========================================================================
   CONTAINER SYSTEM & FLASHY CASINO BACKGROUNDS
   ========================================================================== */

/* First Container of Each Page: Dynamic Casino Image Background */
.casino-hero-container {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 56px 16px 48px;
  border-bottom: 2px solid var(--bg-card-border);
  overflow: hidden;
}

/* Shimmering Dark Overlay for Maximum Contrast & Atmosphere */
.casino-hero-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.15) 0%, rgba(7, 9, 14, 0.85) 60%, rgba(7, 9, 14, 0.98) 100%),
              linear-gradient(180deg, rgba(7, 9, 14, 0.4) 0%, rgba(7, 9, 14, 0.95) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 16px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--brand-gold-primary);
  border-radius: var(--radius-pill);
  color: var(--brand-gold-light);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 18px;
  background: var(--brand-gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.hero-lead {
  font-size: clamp(16px, 2.5vw, 18px);
  color: var(--text-main);
  max-width: 820px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* Hero Media Display */
.hero-featured-media {
  margin: 28px auto 0;
  max-width: 920px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--bg-card-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 24px rgba(212, 175, 55, 0.2);
}

.hero-featured-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Secondary & Alternating Container Styles */
.casino-section {
  padding: 48px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.casino-section-alt {
  background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.05) 0%, rgba(14, 19, 31, 0.95) 70%);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding: 48px 16px;
}

.section-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 36px;
}

.section-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  color: #FFF;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--brand-gold-gradient);
  margin: 8px auto 0;
  border-radius: var(--radius-pill);
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
}

/* ==========================================================================
   3x2 INTERACTIVE GRID BOX SYSTEM WITH TABS / PAGINATION
   ========================================================================== */

.grid-3x2 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

@media (min-width: 640px) {
  .grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3x2 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Placecard & Game Cards */
.placecard {
  background: var(--bg-card-elevated);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.placecard:hover {
  transform: translateY(-4px);
  border-color: var(--brand-gold-primary);
  box-shadow: 0 12px 28px -4px rgba(212, 175, 55, 0.25), 0 0 16px rgba(212, 175, 55, 0.12);
}

.placecard-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.placecard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.placecard:hover .placecard-media img {
  transform: scale(1.05);
}

.placecard-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #07090E;
  background: var(--brand-gold-gradient);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.placecard-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.placecard-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
  color: #FFF;
}

.placecard-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.placecard-action {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Interactive Tabs & Pagination Controls */
.grid-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.tab-btn, .page-btn {
  padding: 8px 16px;
  background: var(--bg-card-elevated);
  border: 1px solid var(--bg-card-border);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn.active, .page-btn.active,
.tab-btn:hover, .page-btn:hover {
  background: var(--brand-gold-gradient);
  color: #07090E;
  border-color: var(--brand-gold-light);
  box-shadow: 0 0 12px var(--brand-gold-glow);
}

/* ==========================================================================
   E-E-A-T & TRUST BADGES COMPONENT
   ========================================================================== */

.trust-badge-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 32px auto;
  max-width: 1100px;
}

.trust-badge-card {
  background: rgba(22, 29, 45, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-badge-icon {
  font-size: 26px;
  color: var(--brand-gold-light);
  flex-shrink: 0;
}

.trust-badge-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 2px;
}

.trust-badge-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   INTERACTIVE ACCORDION & FAQ GRID (5 PAA FAQs)
   ========================================================================== */

.faq-container {
  width: 100%;
  max-width: 100%;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: rgba(22, 29, 45, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  width: 100%;
  box-sizing: border-box;
}

.faq-item:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), 0 0 12px rgba(212, 175, 55, 0.1);
}

.faq-item.active {
  border-color: var(--brand-gold-primary);
  background: rgba(26, 35, 55, 0.9);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(212, 175, 55, 0.2);
}

.faq-question {
  padding: 18px 22px;
  font-size: 16.5px;
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  color: var(--brand-gold-light);
}

.faq-question::after {
  content: "+";
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-gold-light);
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question {
  color: var(--brand-gold-light);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
  color: #F87171;
}

.faq-answer {
  padding: 18px 22px 20px;
  font-size: 15px;
  color: #CBD5E1;
  line-height: 1.7;
  display: none;
  background: rgba(14, 19, 31, 0.5);
}

.faq-answer p {
  margin: 0 !important;
  color: #CBD5E1 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeInFaq 0.25s ease-out;
}

@keyframes fadeInFaq {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   FOOTER TEMPLATE — COMPREHENSIVE COMPLIANCE & NAVIGATION
   ========================================================================== */

.site-footer {
  background: #04060A;
  border-top: 1px solid var(--bg-card-border);
  padding: 48px 16px 24px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-container,
.footer-top {
  max-width: 1240px;
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer-col.brand-col,
.footer-col-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.3));
}

.footer-desc,
.footer-col-brand p {
  margin: 14px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-subtle);
}

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--brand-gold-light);
  padding-left: 4px;
}

.compliance-banner,
.footer-compliance-box {
  max-width: 1240px;
  margin: 0 auto 28px;
  padding: 16px 20px;
  background: rgba(22, 29, 45, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.compliance-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}

.badge-21,
.compliance-badge-21 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #EF4444;
  color: #EF4444;
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}

.compliance-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-subtle);
  max-width: 900px;
  flex: 1;
  min-width: 260px;
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-subtle);
}

.footer-bottom-links a {
  color: var(--text-subtle);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* Mobile Sticky Bottom Action Bar for Quick Play */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  /* Mobile Header Optimization */
  .site-header {
    padding: 0;
  }

  .header-container {
    flex-wrap: wrap;
    padding: 8px 12px;
    gap: 8px;
  }

  .header-brand {
    order: 1;
  }

  .header-logo {
    height: 34px;
  }

  .header-actions {
    order: 2;
    gap: 6px;
  }

  .btn-header-login {
    padding: 6px 12px;
    font-size: 12px;
  }

  .btn-header-register {
    padding: 6px 14px;
    font-size: 12px;
  }

  /* Full-width touch-friendly category bar on mobile */
  .header-nav {
    order: 3;
    width: 100%;
    padding: 6px 2px 4px;
    margin-top: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 6px;
    justify-content: flex-start;
  }

  .nav-tab {
    scroll-snap-align: start;
    padding: 6px 12px;
    font-size: 12px;
    flex-shrink: 0;
  }

  /* Mobile Sticky Bottom Bar */
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(11, 15, 25, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--bg-card-border);
    padding: 10px 16px;
    gap: 10px;
  }
  .mobile-btn-register {
    flex: 2;
    padding: 10px;
    background: var(--brand-gold-gradient);
    color: #07090E;
    font-weight: 800;
    text-align: center;
    border-radius: var(--radius-sm);
    font-size: 14px;
    text-transform: uppercase;
  }
  .mobile-btn-login {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFF;
    font-weight: 700;
    text-align: center;
    border-radius: var(--radius-sm);
    font-size: 14px;
  }
}

/* ==========================================================================
   BREADCRUMBS NAVIGATION (CRAWLABILITY & UX)
   ========================================================================== */
.breadcrumbs-nav {
  padding: 12px 16px;
  background: rgba(14, 19, 31, 0.7);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  font-size: 13px;
}

.breadcrumbs-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-subtle);
}

.breadcrumbs-container a {
  color: var(--brand-gold-light);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.breadcrumbs-container a:hover {
  text-decoration: underline;
  color: #FFF;
}

.breadcrumb-separator {
  color: var(--text-subtle);
  font-size: 11px;
}

.breadcrumb-current {
  color: var(--text-muted);
  font-weight: 500;
  max-width: 450px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   BUTTONS SYSTEM (PRIMARY & OUTLINE GOLD)
   ========================================================================== */
.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--brand-gold-gradient);
  color: #07090E !important;
  font-weight: 800;
  font-size: 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--brand-gold-light);
  box-shadow: 0 4px 16px var(--brand-gold-glow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none !important;
  transition: var(--transition-smooth);
}

.btn-primary-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
  color: #000 !important;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(22, 29, 45, 0.6);
  color: var(--brand-gold-light) !important;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--brand-gold-primary);
  cursor: pointer;
  text-decoration: none !important;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: #FFF;
  color: #FFF !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   ARTICLE & CONTENT CONTAINER TYPOGRAPHY & LAYOUT
   ========================================================================== */
.content-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.article-wrapper {
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.8;
}

.article-wrapper p {
  margin-bottom: 22px;
  color: #E2E8F0;
  font-size: 16.5px;
  line-height: 1.8;
}

.article-wrapper h2 {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 48px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
  letter-spacing: -0.3px;
}

.article-wrapper h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 24px;
  background: var(--brand-gold-gradient);
  border-radius: 3px;
  margin-right: 12px;
  vertical-align: -2px;
}

.article-wrapper h3 {
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  color: var(--brand-gold-light);
  margin-top: 32px;
  margin-bottom: 14px;
}

.article-wrapper h4 {
  font-size: 17px;
  font-weight: 700;
  color: #FFF;
  margin-top: 24px;
  margin-bottom: 10px;
}

.article-wrapper strong {
  color: #FFF;
  font-weight: 700;
}

.article-wrapper a {
  color: var(--brand-gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition-smooth);
}

.article-wrapper a:hover {
  color: #FFF;
  text-shadow: 0 0 10px var(--brand-gold-glow);
}

/* Guide & Unordered Lists */
.guide-list,
.article-wrapper ul {
  list-style: none;
  padding-left: 0;
  margin: 18px 0 24px;
}

.guide-list li,
.article-wrapper ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #CBD5E1;
  line-height: 1.7;
}

.guide-list li::before,
.article-wrapper ul li::before {
  content: "♦";
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--brand-gold-primary);
  font-size: 14px;
}

/* Ordered Lists */
.article-wrapper ol {
  padding-left: 24px;
  margin: 18px 0 24px;
}

.article-wrapper ol li {
  margin-bottom: 12px;
  color: #CBD5E1;
  line-height: 1.7;
  padding-left: 6px;
}

/* Section Dividers */
.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.3) 50%, transparent 100%);
  margin: 44px 0;
}

/* Blockquotes */
.article-wrapper blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  background: rgba(22, 29, 45, 0.6);
  border-left: 4px solid var(--brand-gold-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-main);
  font-style: italic;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* Code Blocks & Architecture Diagrams */
.article-wrapper pre {
  background: #04060A;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  overflow-x: auto;
  margin: 24px 0;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8);
}

.article-wrapper pre code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  color: var(--brand-gold-light);
  line-height: 1.6;
}

/* Content Images */
.content-image-wrapper {
  margin: 32px 0 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--bg-card-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.guide-content-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive Table System */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-card-border);
  box-shadow: var(--shadow-card);
  background: var(--bg-card-elevated);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

.data-table th {
  background: #0A0E17;
  color: var(--brand-gold-light);
  padding: 14px 18px;
  font-weight: 700;
  border-bottom: 2px solid var(--brand-gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
  white-space: nowrap;
}

.data-table td {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.05);
}

/* ==========================================================================
   PROMOTIONAL CTA BANNER
   ========================================================================== */
.cta-banner {
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.18) 0%, rgba(14, 19, 31, 0.98) 75%);
  border: 1px solid var(--brand-gold-primary);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 24px rgba(212, 175, 55, 0.2);
  margin-top: 48px;
}

.cta-title {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 800;
  color: #FFF;
  margin-bottom: 14px;
}

.cta-desc {
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.btn-cta-claim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--brand-gold-gradient);
  color: #07090E !important;
  font-size: 16px;
  font-weight: 800;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px var(--brand-gold-glow);
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}

.btn-cta-claim:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.6);
  color: #000 !important;
}

/* ==========================================================================
   HUB POST GRID & POST CARDS
   ========================================================================== */
.post-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 20px !important;
  margin: 24px 0 !important;
}

.post-card {
  background: var(--bg-card-elevated) !important;
  border: 1px solid var(--bg-card-border) !important;
  border-radius: var(--radius-md) !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: var(--shadow-card) !important;
  transition: var(--transition-smooth) !important;
}

.post-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--brand-gold-primary) !important;
  box-shadow: 0 12px 28px -4px rgba(212, 175, 55, 0.25), 0 0 16px rgba(212, 175, 55, 0.12) !important;
}

.post-card h4 {
  margin: 10px 0 10px 0 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

.post-card h4 a {
  color: #FFF !important;
  text-decoration: none !important;
  transition: var(--transition-smooth) !important;
}

.post-card h4 a:hover {
  color: var(--brand-gold-light) !important;
}

.post-card p {
  margin: 0 0 16px 0 !important;
  font-size: 14px !important;
  color: var(--text-muted) !important;
  line-height: 1.6 !important;
  flex-grow: 1 !important;
}

.post-card a:last-child {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--brand-gold-light) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.post-card a:last-child:hover {
  color: #FFF !important;
  padding-left: 4px !important;
}

.category-badge {
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #07090E !important;
  background: var(--brand-gold-gradient) !important;
  padding: 3px 8px !important;
  border-radius: var(--radius-sm) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  align-self: flex-start !important;
}

.pagination-bar {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 32px 0 16px 0 !important;
}

.pagination-bar span:first-child {
  background: var(--brand-gold-gradient) !important;
  color: #07090E !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
}

.pagination-bar a {
  background: var(--bg-card-elevated) !important;
  color: var(--text-muted) !important;
  border: 1px solid var(--bg-card-border) !important;
  border-radius: var(--radius-sm) !important;
  transition: var(--transition-smooth) !important;
}

.pagination-bar a:hover {
  border-color: var(--brand-gold-primary) !important;
  color: #FFF !important;
}

/* ==========================================================================
   FLASHY CASINO ATMOSPHERE & ANIMATIONS (CASINO VIBE ENHANCEMENTS)
   ========================================================================== */

@keyframes goldShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes neonPulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25), 0 0 30px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
  }
  50% {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5), 0 0 45px rgba(245, 208, 97, 0.25);
    border-color: rgba(245, 208, 97, 0.8);
  }
}

.casino-hero-container {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 56px 16px 48px;
  border-bottom: 2px solid var(--bg-card-border);
  overflow: hidden;
}

.casino-hero-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.2) 0%, rgba(7, 9, 14, 0.85) 60%, rgba(7, 9, 14, 0.98) 100%),
              linear-gradient(180deg, rgba(7, 9, 14, 0.3) 0%, rgba(7, 9, 14, 0.95) 100%);
  pointer-events: none;
}

/* Shimmering casino atmospheric lighting behind cards */
.casino-section-alt {
  position: relative;
  background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.08) 0%, rgba(14, 19, 31, 0.98) 70%),
              repeating-linear-gradient(45deg, rgba(212, 175, 55, 0.015) 0px, rgba(212, 175, 55, 0.015) 2px, transparent 2px, transparent 12px);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 52px 16px;
}

.post-grid [data-page] {
  animation: fadeInGrid 0.35s ease-in-out;
}

@keyframes fadeInGrid {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.grid-3x2 .placecard {
  animation: fadeInGrid 0.35s ease-in-out;
}


