/* ==============================================================================
   RUMMY 888 (rummy888s.com) - BESPOKE 2026 iGAMING PORTAL STYLESHEET
   - Brand: Rummy 888 (Rummy 888 Club)
   - Identity: Cyber-Gold & Royal Navy on Crisp White & Soft Slate
   - Components: Floating Capsule Navbar, Asymmetric Hero Lounge, 3D Device Stage,
     Floating Live Win Chips, 5-Tile Bento Grid, Device Showroom, Connected Roadmap,
     SaaS Comparison Matrix, and Fintech Command Footer with Payment Rail Grid.
   ============================================================================== */

:root {
  --r888-gold-1: #fbbf24;
  --r888-gold-2: #f59e0b;
  --r888-gold-3: #d97706;
  --r888-gold-4: #b45309;
  --r888-gold-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  --r888-gold-glow: rgba(245, 158, 11, 0.35);

  --r888-navy-dark: #070d1e;
  --r888-navy-card: #0c1631;
  --r888-navy-surface: #132247;
  --r888-navy-text: #0f172a;

  --r888-ruby: #e11d48;
  --r888-ruby-dark: #be123c;
  --r888-green: #16a34a;
  --r888-green-glow: rgba(22, 163, 74, 0.25);

  --r888-white: #ffffff;
  --r888-slate-50: #f8fafc;
  --r888-slate-100: #f1f5f9;
  --r888-slate-200: #e2e8f0;
  --r888-slate-300: #cbd5e1;
  --r888-slate-600: #475569;
  --r888-slate-700: #334155;
  --r888-slate-900: #0f172a;

  --r888-border-subtle: #e2e8f0;
  --r888-border-gold: rgba(217, 119, 6, 0.3);

  --r888-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r888-radius-sm: 8px;
  --r888-radius-md: 14px;
  --r888-radius-lg: 20px;
  --r888-radius-xl: 28px;
  --r888-radius-pill: 9999px;

  --r888-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --r888-shadow-md: 0 6px 20px rgba(0, 0, 0, 0.06);
  --r888-shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.09);
  --r888-shadow-gold: 0 8px 26px rgba(217, 119, 6, 0.35);
}

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

html {
  font-size: 16px;
  background-color: var(--r888-slate-50);
  color: var(--r888-slate-900);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--r888-font);
  background-color: var(--r888-slate-50);
  color: var(--r888-slate-900);
  overflow-x: hidden;
  padding-bottom: 74px; /* Space for mobile sticky bar */
}

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

a:hover {
  color: var(--r888-gold-4);
  text-decoration: underline;
}

img, svg {
  max-width: 100%;
  display: block;
}

/* Base Container */
.r888-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==============================================================================
   1. FLOATING CAPSULE NAVBAR
   ============================================================================== */
.r888-nav-wrapper {
  position: sticky;
  top: 14px;
  z-index: 1000;
  padding: 0 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.r888-capsule-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(217, 119, 6, 0.22);
  border-radius: var(--r888-radius-pill);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.r888-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.r888-nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1.5px solid rgba(217, 119, 6, 0.3);
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.15);
}

.r888-nav-brand-info {
  display: flex;
  flex-direction: column;
}

.r888-nav-brand-title {
  font-size: 19px;
  font-weight: 900;
  color: var(--r888-slate-900);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.r888-nav-brand-title span {
  color: var(--r888-gold-3);
}

.r888-nav-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--r888-green);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.r888-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--r888-green);
  box-shadow: 0 0 8px var(--r888-green);
  animation: r888Pulse 1.8s infinite;
}

@keyframes r888Pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.r888-nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 22px;
}

.r888-nav-menu a {
  font-size: 14px;
  font-weight: 700;
  color: var(--r888-slate-700);
  text-decoration: none;
  transition: color 0.15s ease;
}

.r888-nav-menu a:hover {
  color: var(--r888-gold-3);
  text-decoration: none;
}

.r888-nav-action-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.r888-nav-cta-btn {
  background: var(--r888-gold-gradient);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--r888-radius-pill);
  font-size: 13.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.r888-nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(217, 119, 6, 0.55);
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 860px) {
  .r888-nav-menu {
    display: none;
  }
}

/* ==============================================================================
   2. ASYMMETRIC GAMING LOUNGE HERO SECTION
   ============================================================================== */
.r888-hero-section {
  padding: 34px 0 28px 0;
  position: relative;
  overflow: hidden;
}

.r888-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

/* Left Column: Copy & High-Converting CTA */
.r888-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.r888-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef3c7;
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: #92400e;
  padding: 6px 14px;
  border-radius: var(--r888-radius-pill);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  width: fit-content;
}

.r888-badge-verified svg {
  color: #d97706;
}

.r888-hero-headline {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.18;
  color: var(--r888-slate-900);
  letter-spacing: -0.03em;
}

.r888-hero-headline span {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.r888-hero-lead {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--r888-slate-600);
}

/* Quick Perk Chips */
.r888-perk-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0;
}

.r888-perk-chip {
  background: #ffffff;
  border: 1px solid var(--r888-slate-200);
  border-radius: var(--r888-radius-pill);
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--r888-slate-700);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.r888-perk-chip svg {
  color: var(--r888-gold-3);
}

/* Hero Download Trigger Block */
.r888-hero-cta-card {
  background: #ffffff;
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: var(--r888-radius-lg);
  padding: 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.r888-hero-cta-btn {
  background: var(--r888-gold-gradient);
  color: #ffffff;
  padding: 18px 28px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(217, 119, 6, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.r888-hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(217, 119, 6, 0.55);
  color: #ffffff;
  text-decoration: none;
}

.r888-cta-text-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.r888-cta-main-text {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.r888-cta-sub-text {
  font-size: 12.5px;
  opacity: 0.92;
  font-weight: 600;
}

.r888-cta-badge-pill {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 6px 14px;
  border-radius: var(--r888-radius-pill);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

/* Security Guarantee Strip */
.r888-hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--r888-slate-600);
  font-weight: 600;
  padding-top: 4px;
}

.r888-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.r888-trust-item svg {
  color: var(--r888-green);
}

/* Right Column: 3D Device Stage with Floating Live Chips */
.r888-stage-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 10px;
}

.r888-device-bezel {
  width: 280px;
  background: #0f172a;
  border: 4px solid #334155;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.r888-device-bezel:hover {
  transform: translateY(-4px);
}

.r888-device-notch {
  width: 80px;
  height: 5px;
  background: #334155;
  border-radius: 999px;
  margin: 0 auto 8px auto;
}

.r888-device-screen {
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  background: #000000;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}

.r888-device-screen img {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating Live Overlap Chips */
.r888-float-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--r888-slate-200);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: r888Float 3.5s ease-in-out infinite;
}

@keyframes r888Float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.r888-chip-top-left {
  top: 15px;
  left: -20px;
}

.r888-chip-bot-right {
  bottom: 25px;
  right: -20px;
  animation-delay: 1.8s;
}

.r888-chip-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.r888-chip-icon-gold {
  background: #fef3c7;
  color: #d97706;
}

.r888-chip-icon-green {
  background: #dcfce7;
  color: #16a34a;
}

.r888-chip-text h6 {
  font-size: 11px;
  color: var(--r888-slate-600);
  font-weight: 700;
  text-transform: uppercase;
}

.r888-chip-text strong {
  font-size: 13.5px;
  color: var(--r888-slate-900);
  font-weight: 800;
}

@media (max-width: 960px) {
  .r888-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .r888-hero-headline {
    font-size: 32px;
  }
  .r888-stage-wrapper {
    order: -1;
  }
}

/* ==============================================================================
   3. LIVE METRICS COMMAND STRIP
   ============================================================================== */
.r888-metrics-section {
  padding: 14px 0 34px 0;
}

.r888-metrics-ribbon {
  background: #ffffff;
  border: 1px solid var(--r888-slate-200);
  border-radius: var(--r888-radius-lg);
  padding: 20px 24px;
  box-shadow: var(--r888-shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.r888-metric-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 10px;
  border-right: 1px solid var(--r888-slate-200);
}

.r888-metric-box:last-child {
  border-right: none;
}

.r888-metric-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fef3c7;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.r888-metric-info span {
  display: block;
  font-size: 11.5px;
  color: var(--r888-slate-600);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.r888-metric-info strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: var(--r888-slate-900);
  letter-spacing: -0.01em;
}

@media (max-width: 820px) {
  .r888-metrics-ribbon {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .r888-metric-box:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 480px) {
  .r888-metrics-ribbon {
    grid-template-columns: 1fr;
  }
  .r888-metric-box {
    border-right: none;
    border-bottom: 1px solid var(--r888-slate-100);
    padding-bottom: 12px;
  }
  .r888-metric-box:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* ==============================================================================
   4. 2026 BENTO GRID FEATURE MATRIX
   ============================================================================== */
.r888-section {
  padding: 38px 0;
}

.r888-section-header {
  text-align: center;
  margin-bottom: 34px;
}

.r888-section-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid rgba(217, 119, 6, 0.3);
  padding: 5px 14px;
  border-radius: var(--r888-radius-pill);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.r888-section-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--r888-slate-900);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.r888-section-subtitle {
  font-size: 16px;
  color: var(--r888-slate-600);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.6;
}

.r888-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.r888-feature-card {
  background: #ffffff;
  border: 1px solid var(--r888-slate-200);
  border-radius: var(--r888-radius-lg);
  padding: 26px 22px;
  box-shadow: var(--r888-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.r888-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--r888-shadow-md);
  border-color: rgba(217, 119, 6, 0.4);
}

.r888-feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fef3c7;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.r888-feature-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--r888-slate-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.r888-feature-card p {
  font-size: 14px;
  color: var(--r888-slate-600);
  line-height: 1.65;
  margin-bottom: 18px;
}

.r888-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.r888-feature-tag {
  background: var(--r888-slate-100);
  color: var(--r888-slate-700);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

@media (max-width: 960px) {
  .r888-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 620px) {
  .r888-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==============================================================================
   5. IN-APP DEVICE SHOWROOM (SCREENSHOT GALLERY)
   ============================================================================== */
.r888-showroom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.r888-showroom-item {
  background: #ffffff;
  border: 1px solid var(--r888-slate-200);
  border-radius: var(--r888-radius-lg);
  padding: 22px 18px;
  box-shadow: var(--r888-shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.r888-showroom-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--r888-shadow-lg);
  border-color: rgba(217, 119, 6, 0.4);
}

.r888-showroom-frame {
  width: 100%;
  max-width: 240px;
  background: #0f172a;
  border: 4px solid #334155;
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  margin-bottom: 18px;
}

.r888-showroom-notch {
  width: 50px;
  height: 4px;
  background: #334155;
  border-radius: 999px;
  margin: 0 auto 6px auto;
}

.r888-showroom-screen {
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.r888-showroom-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.r888-showroom-caption {
  text-align: center;
  width: 100%;
}

.r888-showroom-caption h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--r888-slate-900);
  margin-bottom: 6px;
}

.r888-showroom-caption p {
  font-size: 13.5px;
  color: var(--r888-slate-600);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .r888-showroom-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==============================================================================
   6. CONNECTED INSTALLATION ROADMAP
   ============================================================================== */
.r888-roadmap-wrapper {
  background: #ffffff;
  border: 1px solid var(--r888-slate-200);
  border-radius: var(--r888-radius-lg);
  padding: 36px 30px;
  box-shadow: var(--r888-shadow-sm);
}

.r888-roadmap-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.r888-roadmap-node {
  position: relative;
  display: flex;
  flex-direction: column;
}

.r888-roadmap-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--r888-gold-gradient);
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
  margin-bottom: 16px;
}

.r888-roadmap-node h4 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--r888-slate-900);
  margin-bottom: 8px;
}

.r888-roadmap-node p {
  font-size: 13.5px;
  color: var(--r888-slate-600);
  line-height: 1.6;
}

@media (max-width: 820px) {
  .r888-roadmap-track {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* ==============================================================================
   7. SAAS-STYLE COMPARISON MATRIX
   ============================================================================== */
.r888-matrix-card {
  background: #ffffff;
  border: 1px solid var(--r888-slate-200);
  border-radius: var(--r888-radius-lg);
  overflow: hidden;
  box-shadow: var(--r888-shadow-sm);
}

.r888-matrix-table-wrap {
  overflow-x: auto;
}

.r888-matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.r888-matrix-table th {
  padding: 16px 20px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  background: #f8fafc;
  color: var(--r888-slate-700);
  border-bottom: 2px solid var(--r888-slate-200);
}

.r888-matrix-table th.r888-highlight-col {
  background: #fef3c7;
  color: #92400e;
  border-bottom-color: #f59e0b;
}

.r888-matrix-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--r888-slate-200);
  color: var(--r888-slate-700);
}

.r888-matrix-table td.r888-highlight-col {
  background: #fffdf5;
  font-weight: 800;
  color: #92400e;
}

.r888-matrix-table tr:last-child td {
  border-bottom: none;
}

/* ==============================================================================
   8. GAME RULES & PRO STRATEGY GUIDES
   ============================================================================== */
.r888-rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.r888-rule-card {
  background: #ffffff;
  border: 1px solid var(--r888-slate-200);
  border-radius: var(--r888-radius-lg);
  padding: 24px 22px;
  box-shadow: var(--r888-shadow-sm);
}

.r888-rule-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.r888-rule-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--r888-slate-900);
  margin-bottom: 10px;
}

.r888-rule-card p {
  font-size: 14px;
  color: var(--r888-slate-600);
  line-height: 1.6;
  margin-bottom: 12px;
}

.r888-rule-card ul {
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--r888-slate-700);
  line-height: 1.65;
}

.r888-rule-card li {
  margin-bottom: 6px;
}

@media (max-width: 820px) {
  .r888-rules-grid {
    grid-template-columns: 1fr;
  }
}

/* Pro Strategy Card */
.r888-strategy-card {
  background: #ffffff;
  border: 1px solid var(--r888-slate-200);
  border-radius: var(--r888-radius-lg);
  padding: 32px 28px;
  margin-top: 28px;
  box-shadow: var(--r888-shadow-sm);
}

.r888-strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.r888-strat-item {
  background: #f8fafc;
  border: 1px solid var(--r888-slate-200);
  border-radius: 12px;
  padding: 18px 16px;
}

.r888-strat-item h4 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--r888-slate-900);
  margin-bottom: 6px;
}

.r888-strat-item p {
  font-size: 13.5px;
  color: var(--r888-slate-600);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .r888-strategy-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================================================================
   9. MODERN FAQ ACCORDION
   ============================================================================== */
.r888-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.r888-faq-card {
  background: #ffffff;
  border: 1px solid var(--r888-slate-200);
  border-radius: var(--r888-radius-md);
  box-shadow: var(--r888-shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.r888-faq-card:hover {
  border-color: rgba(217, 119, 6, 0.4);
}

.r888-faq-card summary {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 800;
  color: var(--r888-slate-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.r888-faq-card summary::-webkit-details-marker {
  display: none;
}

.r888-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f8fafc;
  color: var(--r888-gold-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.r888-faq-card[open] .r888-faq-icon {
  transform: rotate(180deg);
  background: #fef3c7;
}

.r888-faq-card[open] summary {
  border-bottom: 1px solid var(--r888-slate-100);
}

.r888-faq-body {
  padding: 18px 22px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--r888-slate-600);
}

/* ==============================================================================
   10. FINTECH COMMAND FOOTER (COMPLETELY UNIQUE ARCHITECTURE)
   - Brand Payment Rail Grid with Custom Branded Chips
   - 4-Column Portal Architecture
   - Regulatory Compliance Card with 18+ Shield & Restricted States Notice
   - Bottom Trust Strip
   ============================================================================== */
.r888-command-footer {
  background: #0f172a;
  color: #f8fafc;
  padding: 56px 0 34px 0;
  border-top: 3px solid var(--r888-gold-3);
  margin-top: 50px;
}

/* Component A: Branded Payment Rail Grid */
.r888-pay-rails-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r888-radius-lg);
  padding: 22px 24px;
  margin-bottom: 40px;
}

.r888-rails-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.r888-rails-title {
  font-size: 14px;
  font-weight: 800;
  color: #f8fafc;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.r888-rails-title svg {
  color: var(--r888-gold-2);
}

.r888-settlement-tag {
  background: rgba(22, 163, 74, 0.2);
  border: 1px solid rgba(22, 163, 74, 0.4);
  color: #4ade80;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r888-radius-pill);
}

.r888-rails-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.r888-rail-chip {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #e2e8f0;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.r888-rail-chip:hover {
  border-color: var(--r888-gold-2);
  transform: translateY(-1px);
}

.r888-rail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--r888-gold-2);
}

/* Component B: 4-Column Portal Architecture */
.r888-footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.r888-fcol-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.r888-fcol-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.r888-fcol-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid rgba(217, 119, 6, 0.4);
}

.r888-fcol-brand-name {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.r888-fcol-brand-name span {
  color: var(--r888-gold-2);
}

.r888-fcol-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: #94a3b8;
}

.r888-fcol-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fde68a;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
}

.r888-fcol h4 {
  font-size: 14px;
  font-weight: 800;
  color: #f8fafc;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  border-left: 3px solid var(--r888-gold-2);
  padding-left: 10px;
}

.r888-fcol ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.r888-fcol a {
  font-size: 13.5px;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.r888-fcol a:hover {
  color: var(--r888-gold-2);
  transform: translateX(3px);
  text-decoration: none;
}

/* Component C: Regulatory Compliance Card */
.r888-compliance-card {
  background: #1e293b;
  border: 1px solid rgba(225, 29, 72, 0.3);
  border-radius: var(--r888-radius-lg);
  padding: 24px;
  margin-bottom: 34px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.r888-compliance-shield {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e11d48;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.4);
}

.r888-compliance-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.r888-compliance-body h5 {
  font-size: 15px;
  font-weight: 800;
  color: #fda4af;
  letter-spacing: -0.01em;
}

.r888-compliance-body p {
  font-size: 13px;
  line-height: 1.65;
  color: #cbd5e1;
}

.r888-territory-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.r888-territory-chip {
  background: rgba(225, 29, 72, 0.15);
  border: 1px solid rgba(225, 29, 72, 0.35);
  color: #fecdd3;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}

/* Component D: Bottom Legal Trust Strip */
.r888-legal-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: #94a3b8;
}

.r888-legal-copy {
  display: flex;
  align-items: center;
  gap: 12px;
}

.r888-legal-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.r888-legal-links a {
  color: #94a3b8;
  text-decoration: none;
}

.r888-legal-links a:hover {
  color: var(--r888-gold-2);
}

@media (max-width: 992px) {
  .r888-footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .r888-footer-cols {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .r888-compliance-card {
    flex-direction: column;
    gap: 14px;
  }
  .r888-legal-strip {
    flex-direction: column;
    text-align: center;
  }
}

/* ==============================================================================
   11. VIP MOBILE STICKY BOTTOM BAR
   ============================================================================== */
.r888-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1.5px solid var(--r888-gold-3);
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

.r888-mobile-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.r888-mbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.r888-mbar-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--r888-gold-3);
}

.r888-mbar-text {
  display: flex;
  flex-direction: column;
}

.r888-mbar-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.r888-mbar-bonus {
  font-size: 11px;
  color: var(--r888-gold-2);
  font-weight: 700;
}

.r888-mbar-cta {
  background: var(--r888-gold-gradient);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: var(--r888-radius-pill);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
}

.r888-mbar-cta:hover {
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 768px) {
  .r888-mobile-bar {
    display: block;
  }
}
