/* ==========================================================================
   RB7.CLICK — Imperial Emerald Green, Dark Jade & Champagne Gold Gateway Theme
   Prefix: .rb7c-* | Fonts: Kanit, Prompt, Chakra Petch
   ========================================================================== */
:root {
  --bg-deep: #062212;
  --bg-mid: #0b331c;
  --bg-card: #0f3d23;
  --bg-elevated: #144d2d;
  --bg-glass: rgba(15, 61, 35, 0.88);
  --gold: #eab308;
  --gold-bright: #fde047;
  --gold-soft: #fef08a;
  --gold-deep: #ca8a04;
  --emerald-glow: #34d399;
  --emerald-mid: #10b981;
  --emerald-dark: #059669;
  --crimson: #ef4444;
  --text-main: #f8fafc;
  --text-sub: #d1fae5;
  --text-muted: #94a3b8;
  --border-gold: rgba(234, 179, 8, 0.35);
  --border-gold-strong: rgba(253, 224, 71, 0.65);
  --border-emerald: rgba(52, 211, 153, 0.3);
  --grad-gold: linear-gradient(135deg, #fde047 0%, #eab308 55%, #ca8a04 100%);
  --grad-gold-hover: linear-gradient(135deg, #fef08a 0%, #facc15 55%, #d97706 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #059669 60%, #047857 100%);
  --grad-card: linear-gradient(160deg, rgba(20, 77, 45, 0.95) 0%, rgba(11, 51, 28, 0.98) 100%);
  --grad-hero: radial-gradient(circle at 80% 15%, rgba(52, 211, 153, 0.16) 0%, transparent 45%),
               radial-gradient(circle at 15% 20%, rgba(234, 179, 8, 0.14) 0%, transparent 45%);
  --shadow-card: 0 12px 32px rgba(2, 14, 7, 0.72);
  --shadow-gold: 0 6px 20px rgba(234, 179, 8, 0.35);
  --shadow-emerald: 0 6px 20px rgba(16, 185, 129, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Kanit', 'Prompt', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 16px;
}

body {
  background-color: var(--bg-deep);
  background-image:
    var(--grad-hero),
    radial-gradient(rgba(234, 179, 8, 0.08) 1px, transparent 1px),
    radial-gradient(rgba(52, 211, 153, 0.08) 1px, #062212 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
  background-position: 0 0, 0 0, 18px 18px;
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 74px;
}

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

a {
  color: var(--gold-bright);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #ffffff;
}

.rb7c-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Typography & Badges */
.rb7c-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(234, 179, 8, 0.14);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-family: 'Chakra Petch', 'Kanit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.rb7c-gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rb7c-emerald-text {
  color: var(--emerald-glow);
}

/* 1. TOP SECURITY & SERVER STATUS BAR (.rb7c-statusbar) */
.rb7c-statusbar {
  background: linear-gradient(90deg, #04180c 0%, #082c17 50%, #04180c 100%);
  border-bottom: 1px solid var(--border-gold);
  padding: 8px 0;
  font-size: 0.85rem;
  position: relative;
  z-index: 1002;
}

.rb7c-statusbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.rb7c-status-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #ecfdf5;
}

.rb7c-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald-glow);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: rb7cPulse 1.8s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes rb7cPulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.75); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.rb7c-status-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.8rem;
  color: var(--gold-soft);
}

.rb7c-status-pill {
  background: rgba(20, 77, 45, 0.85);
  border: 1px solid var(--border-emerald);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  color: #a7f3d0;
  font-weight: 600;
}

/* 2. CLEAN PORTAL NAVBAR + QUICK-ACCESS GATEWAY BAR (.rb7c-header) */
.rb7c-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 34, 18, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.65);
}

.rb7c-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.rb7c-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.rb7c-brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(234, 179, 8, 0.45));
}

.rb7c-brand-text {
  display: flex;
  flex-direction: column;
}

.rb7c-brand-title {
  font-family: 'Chakra Petch', 'Kanit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.1;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rb7c-brand-sub {
  font-size: 0.76rem;
  color: var(--emerald-glow);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.rb7c-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.rb7c-nav-link {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  color: #e2e8f0;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid transparent;
}

.rb7c-nav-link:hover,
.rb7c-nav-link.is-active {
  color: #04180c;
  background: var(--grad-gold);
  font-weight: 700;
  border-color: var(--gold-bright);
  box-shadow: 0 3px 12px rgba(234, 179, 8, 0.35);
}

.rb7c-header-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.rb7c-hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold);
  background: var(--bg-card);
  color: var(--gold-bright);
  font-size: 1.35rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Quick-Access Gateway Bar under Main Navbar */
.rb7c-gateway-strip {
  background: linear-gradient(90deg, #0b331c 0%, #144d2d 50%, #0b331c 100%);
  border-top: 1px solid rgba(234, 179, 8, 0.25);
  padding: 7px 0;
  font-size: 0.84rem;
}

.rb7c-gateway-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.rb7c-gateway-strip-inner::-webkit-scrollbar {
  display: none;
}

.rb7c-gw-badges {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rb7c-gw-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d1fae5;
  font-weight: 500;
}

.rb7c-gw-item strong {
  color: var(--gold-bright);
}

/* Buttons */
.rb7c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  white-space: nowrap;
  text-decoration: none;
}

.rb7c-btn-gold {
  background: var(--grad-gold);
  color: #052210 !important;
  border-color: #fef08a;
  box-shadow: var(--shadow-gold);
}

.rb7c-btn-gold:hover {
  background: var(--grad-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.5);
  color: #000000 !important;
}

.rb7c-btn-emerald {
  background: var(--grad-emerald);
  color: #ffffff !important;
  border-color: var(--emerald-glow);
  box-shadow: var(--shadow-emerald);
}

.rb7c-btn-emerald:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.rb7c-btn-outline {
  background: rgba(15, 61, 35, 0.75);
  color: var(--gold-bright) !important;
  border: 1.5px solid var(--gold);
}

.rb7c-btn-outline:hover {
  background: rgba(234, 179, 8, 0.18);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.rb7c-btn-lg {
  padding: 13px 26px;
  font-size: 1.05rem;
}

.rb7c-btn-sm {
  padding: 6px 14px;
  font-size: 0.84rem;
}

/* Mobile Slide Drawer */
.rb7c-mobile-drawer {
  display: none;
  background: var(--bg-mid);
  border-bottom: 2px solid var(--gold);
  padding: 16px;
}

.rb7c-mobile-drawer.is-open {
  display: block;
}

.rb7c-mobile-nav-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  list-style: none;
  margin-bottom: 14px;
}

.rb7c-mobile-nav-list a {
  display: block;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Breadcrumb Bar */
.rb7c-breadcrumb {
  background: rgba(11, 51, 28, 0.65);
  border-bottom: 1px solid rgba(234, 179, 8, 0.2);
  padding: 10px 0;
  font-size: 0.86rem;
}

.rb7c-breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  color: var(--text-sub);
}

.rb7c-breadcrumb-list li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--gold);
}

/* 3. WIDESCREEN HERO CAROUSEL (1400x460) */
.rb7c-hero-sec {
  padding: 22px 0 16px;
}

.rb7c-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-card), 0 0 32px rgba(234, 179, 8, 0.22);
  background: #04180c;
}

.rb7c-slides-track {
  position: relative;
  width: 100%;
}

.rb7c-slide {
  display: none;
  position: relative;
}

.rb7c-slide.is-active {
  display: block;
}

.rb7c-slide-img {
  width: 100%;
  aspect-ratio: 1400 / 460;
  object-fit: cover;
  display: block;
}

.rb7c-slide-caption {
  background: linear-gradient(90deg, rgba(4, 24, 12, 0.95) 0%, rgba(11, 51, 28, 0.92) 60%, rgba(4, 24, 12, 0.95) 100%);
  border-top: 1px solid var(--border-gold);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.rb7c-slide-text strong {
  color: var(--gold-bright);
  font-size: 1.08rem;
  display: block;
}

.rb7c-slide-text span {
  color: var(--text-sub);
  font-size: 0.88rem;
}

.rb7c-carousel-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(6, 34, 18, 0.82);
  border: 1.5px solid var(--gold);
  color: var(--gold-bright);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.rb7c-carousel-nav:hover {
  background: var(--gold);
  color: #04180c;
}

.rb7c-carousel-prev { left: 14px; }
.rb7c-carousel-next { right: 14px; }

.rb7c-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
  background: #051c0e;
}

.rb7c-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.2s ease;
}

.rb7c-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--gold-bright);
}

/* Hero Intro Deck */
.rb7c-hero-deck {
  margin-top: 20px;
  background: var(--grad-card);
  border: 1.5px solid var(--border-gold-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.rb7c-hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 26px;
  align-items: center;
}

.rb7c-h1 {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 14px;
  color: #ffffff;
}

.rb7c-lead {
  font-size: 1.02rem;
  color: #e2e8f0;
  margin-bottom: 20px;
  background: rgba(6, 34, 18, 0.65);
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.rb7c-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.rb7c-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.rb7c-stat-card {
  background: rgba(6, 34, 18, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.rb7c-stat-val {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--gold-bright);
  line-height: 1.2;
}

.rb7c-stat-lbl {
  font-size: 0.83rem;
  color: var(--text-sub);
  margin-top: 4px;
}

/* Section Layout */
.rb7c-section {
  padding: 44px 0;
}

.rb7c-section-alt {
  background: rgba(11, 51, 28, 0.55);
  border-top: 1px solid rgba(234, 179, 8, 0.22);
  border-bottom: 1px solid rgba(234, 179, 8, 0.22);
}

.rb7c-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}

.rb7c-h2 {
  font-size: clamp(1.4rem, 2.3vw, 1.95rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.rb7c-sec-sub {
  color: var(--text-sub);
  font-size: 0.96rem;
  margin-top: 6px;
  max-width: 820px;
}

/* 4. INTERACTIVE WIDGET 1: REAL-TIME SERVER PING & ANTI-BLOCK MIRROR TABLE */
.rb7c-ping-widget {
  background: var(--grad-card);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.rb7c-ping-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: rgba(6, 34, 18, 0.9);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.rb7c-ping-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.rb7c-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
}

.rb7c-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(6, 34, 18, 0.92);
  min-width: 720px;
}

.rb7c-table th {
  background: linear-gradient(180deg, #144d2d 0%, #0b331c 100%);
  color: var(--gold-bright);
  font-weight: 700;
  text-align: left;
  padding: 14px 16px;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--gold);
}

.rb7c-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(234, 179, 8, 0.18);
  font-size: 0.92rem;
  color: #f1f5f9;
  vertical-align: middle;
}

.rb7c-table tr:hover td {
  background: rgba(20, 77, 45, 0.55);
}

.rb7c-ping-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  color: var(--emerald-glow);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.rb7c-Blocked-alert {
  margin-top: 18px;
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.92rem;
  color: #fef9c3;
}

/* 5. INTERACTIVE WIDGET 2: MOBILE HOME SCREEN SHORTCUT SELECTOR (iOS & Android) */
.rb7c-shortcut-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.rb7c-tab-btn {
  flex: 1;
  min-width: 240px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1.5px solid var(--border-gold);
  color: var(--text-main);
  font-family: 'Kanit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.rb7c-tab-btn.is-active {
  background: var(--grad-gold);
  color: #04180c;
  border-color: #ffffff;
  box-shadow: var(--shadow-gold);
}

.rb7c-tab-panel {
  display: none;
}

.rb7c-tab-panel.is-active {
  display: block;
}

.rb7c-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rb7c-step-card {
  background: var(--grad-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.rb7c-step-num {
  display: inline-block;
  background: var(--grad-gold);
  color: #04180c;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.rb7c-step-card h3 {
  font-size: 1.15rem;
  color: var(--gold-bright);
  margin-bottom: 8px;
}

/* 6. INTERACTIVE WIDGET 3: PAYOUT & BONUS CALCULATOR */
.rb7c-calc-box {
  background: var(--grad-card);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.rb7c-calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.rb7c-form-group {
  margin-bottom: 16px;
}

.rb7c-form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--gold-soft);
  font-size: 0.94rem;
}

.rb7c-input, .rb7c-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-gold);
  background: #051c0e;
  color: #ffffff;
  font-family: 'Kanit', sans-serif;
  font-size: 1rem;
}

.rb7c-calc-result {
  background: rgba(4, 24, 12, 0.92);
  border: 1.5px solid var(--emerald-glow);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rb7c-calc-val-big {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--gold-bright);
  margin: 6px 0 12px;
}

/* 7. GAME CARDS (5:4 Aspect Ratio) & LOTTO CARDS */
.rb7c-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.rb7c-game-card {
  background: var(--grad-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
}

.rb7c-game-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-bright);
}

.rb7c-game-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  background: #04180c;
  overflow: hidden;
}

.rb7c-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb7c-rtp-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(4, 24, 12, 0.9);
  border: 1px solid var(--emerald-glow);
  color: var(--emerald-glow);
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.rb7c-game-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.rb7c-game-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.rb7c-game-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-sub);
}

/* Provider 3 Categorized Mini-Tables */
.rb7c-providers-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rb7c-prov-box {
  background: var(--grad-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 20px;
}

.rb7c-prov-box h3 {
  font-size: 1.1rem;
  color: var(--gold-bright);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-gold);
}

.rb7c-prov-logo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.rb7c-prov-logo-cell {
  background: rgba(4, 24, 12, 0.8);
  border: 1px solid rgba(234, 179, 8, 0.22);
  border-radius: var(--radius-sm);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
}

.rb7c-prov-logo-cell img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

/* Promo Showcase Cards */
.rb7c-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rb7c-promo-card {
  background: var(--grad-card);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.rb7c-promo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.rb7c-promo-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

/* 8. 2-COLUMN ARTICLE LAYOUT WITH STICKY TOC */
.rb7c-article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

.rb7c-article-main {
  background: var(--grad-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.rb7c-article-main h2 {
  font-size: 1.48rem;
  color: var(--gold-bright);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(234, 179, 8, 0.25);
}

.rb7c-article-main h3 {
  font-size: 1.2rem;
  color: var(--emerald-glow);
  margin: 20px 0 10px;
}

.rb7c-article-main p {
  margin-bottom: 16px;
  color: #e2e8f0;
}

.rb7c-article-main ul, .rb7c-article-main ol {
  margin: 0 0 18px 22px;
  color: #e2e8f0;
}

.rb7c-article-main li {
  margin-bottom: 8px;
}

.rb7c-article-banner {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--gold);
  margin: 18px 0 24px;
}

.rb7c-sidebar-sticky {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rb7c-toc-box {
  background: var(--grad-card);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 20px;
}

.rb7c-toc-box h3 {
  font-size: 1.08rem;
  color: var(--gold-bright);
  margin-bottom: 12px;
}

.rb7c-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rb7c-toc-list a {
  display: block;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: rgba(6, 34, 18, 0.7);
  color: var(--text-sub);
  font-size: 0.88rem;
  border-left: 3px solid var(--gold);
}

.rb7c-toc-list a:hover {
  background: rgba(234, 179, 8, 0.2);
  color: #ffffff;
}

/* FAQ Accordion */
.rb7c-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rb7c-faq-item {
  background: var(--grad-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.rb7c-faq-q {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--gold-bright);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rb7c-faq-q::-webkit-details-marker {
  display: none;
}

.rb7c-faq-a {
  padding: 0 20px 18px;
  color: #e2e8f0;
  font-size: 0.95rem;
  border-top: 1px solid rgba(234, 179, 8, 0.15);
  padding-top: 14px;
}

/* 9. FOOTER WITH 12-BANK RAIL & CERTIFICATIONS */
.rb7c-footer {
  background: #031309;
  border-top: 3px solid var(--gold);
  padding: 44px 0 28px;
  margin-top: 40px;
}

.rb7c-bank-rail {
  background: rgba(15, 61, 35, 0.55);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 34px;
}

.rb7c-bank-rail-title {
  text-align: center;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 14px;
  font-size: 0.96rem;
}

.rb7c-bank-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.rb7c-bank-pill {
  background: rgba(6, 34, 18, 0.9);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #e2e8f0;
}

.rb7c-bank-pill img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}

.rb7c-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 30px;
}

.rb7c-footer-col h3 {
  color: var(--gold-bright);
  font-size: 1.05rem;
  margin-bottom: 14px;
  border-left: 3px solid var(--gold);
  padding-left: 10px;
}

.rb7c-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.rb7c-footer-links a {
  color: #cbd5e1;
}

.rb7c-footer-links a:hover {
  color: var(--gold-bright);
}

.rb7c-cert-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.rb7c-cert-row img {
  height: 34px;
  width: auto;
  object-fit: contain;
  background: rgba(255,255,255,0.06);
  padding: 4px 10px;
  border-radius: 6px;
}

.rb7c-footer-copy {
  border-top: 1px solid rgba(234, 179, 8, 0.2);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Sticky Mobile Bottom Bar */
.rb7c-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(180deg, #0b331c 0%, #04180c 100%);
  border-top: 2px solid var(--gold);
  display: none;
  grid-template-columns: repeat(5, 1fr);
  z-index: 1001;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.75);
}

.rb7c-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 600;
  color: #e2e8f0;
  gap: 2px;
}

.rb7c-bottom-item.is-highlight {
  background: var(--grad-gold);
  color: #04180c !important;
  font-weight: 800;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .rb7c-hero-grid,
  .rb7c-calc-grid,
  .rb7c-article-layout {
    grid-template-columns: 1fr;
  }
  .rb7c-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rb7c-providers-3col,
  .rb7c-promo-grid,
  .rb7c-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rb7c-bank-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .rb7c-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rb7c-nav {
    display: none;
  }
  .rb7c-hamburger {
    display: inline-flex;
  }
  .rb7c-bottom-bar {
    display: grid;
  }
}

@media (max-width: 640px) {
  .rb7c-games-grid,
  .rb7c-providers-3col,
  .rb7c-promo-grid,
  .rb7c-steps-grid,
  .rb7c-footer-grid {
    grid-template-columns: 1fr;
  }
  .rb7c-bank-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rb7c-header-ctas .rb7c-btn-outline {
    display: none;
  }
  .rb7c-hero-deck,
  .rb7c-ping-widget,
  .rb7c-calc-box,
  .rb7c-article-main {
    padding: 18px;
  }
}
