@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* === AUTO-COMPILED COMBINATORIAL GENOME CSS (sp2) === */
:root {
  --sp2-bg: #070818;
  --sp2-surface: #181A3C;
  --sp2-text: #FFFFFF;
  --sp2-accent: #4BE5BC;
  --bg-primary: #070818;
  --clr-bg-main: #070818;
  --bg-surface: #181A3C;
  --clr-surface: #181A3C;
  --text-primary: #FFFFFF;
  --clr-text-main: #FFFFFF;
  --text-muted: #A5B4FC;
  --clr-text-muted: #A5B4FC;
  --accent-primary: #4BE5BC;
  --clr-accent: #4BE5BC;
  --accent-secondary: #9030ED;
  --font-heading: 'Chakra Petch', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --shadow-soft: 0px 0px 0px 1px rgba(0,0,0,0.06), 0px 1px 1px -0.5px rgba(0,0,0,0.06), 0px 3px 3px -1.5px rgba(0,0,0,0.06), 0px 6px 6px -3px rgba(0,0,0,0.08), 0px 12px 12px -6px rgba(0,0,0,0.12), 0px 24px 24px -12px rgba(0,0,0,0.16);
  --border-radius: 4px;
}

/* === MANDATORY ANTI-OVERFLOW & TYPOGRAPHY GUARD (responsive-ui-constraints) === */
*, *::before, *::after {
  box-sizing: border-box;
  min-width: 0;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  hyphens: auto;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

p, li, td, th, dd, dt {
  color: var(--text-primary);
  text-align: left;
}

p {
  margin-top: 0;
  margin-bottom: 18px;
  line-height: 1.65;
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  line-height: 1.15;
  color: var(--text-primary);
  text-align: left;
  letter-spacing: -0.01em;
  margin: 0 0 1rem 0;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.3vw, 2.05rem);
  line-height: 1.22;
  color: var(--text-primary);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 1.25rem 0;
}

h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-primary), transparent);
}

h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  margin: 0 0 0.85rem 0;
  color: var(--accent-primary);
}

h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
}

a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: #7efcd6;
}

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === SHELL 1: LEFT SIDEBAR APP === */
.sp2-shell, .sp2-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.sp2-aside, .sp2-sidebar, .sp2-aside {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: var(--bg-surface);
  color: var(--text-primary);
  border-right: 1px solid rgba(148, 163, 184, 0.16);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 100;
}

.sidebar-brand, .sp2-sidebar-logo, .sp2-aside-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.sidebar-brand img, .sp2-sidebar-logo img, .sp2-aside-logo img {
  height: 34px;
  width: auto;
}

.sidebar-nav, .sp2-sidebar-nav, .sp2-aside-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sidebar-link, .sp2-sidebar-nav a, .sp2-aside-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.sidebar-link:hover,
.sidebar-link.active,
.sp2-sidebar-nav a:hover,
.sp2-sidebar-nav a.active,
.sp2-aside-nav a:hover,
.sp2-aside-nav a.active {
  background: rgba(75, 229, 188, 0.12);
  color: var(--accent-primary);
  border-left: 3px solid var(--accent-primary);
}

.sidebar-specs {
  margin-top: auto;
  padding: 1rem;
  background: rgba(7, 8, 24, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 8px;
  font-size: 0.8rem;
}

.sidebar-specs-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.sidebar-specs-row span:last-child {
  color: var(--accent-primary);
  font-weight: 700;
}

.sp2-stage, .sp2-stage, .sp2-terminal {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 2rem 2.5rem;
}

/* Mobile Navigation & Drawer Base */
.sp2-burger-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  background: rgba(75, 229, 188, 0.12);
  border: 1px solid rgba(75, 229, 188, 0.35);
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.sp2-burger-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #4BE5BC;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.sp2-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sp2-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.sp2-mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: min(300px, 85vw);
  height: 100%;
  background: #0D1322;
  border-left: 1px solid rgba(75, 229, 188, 0.3);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.85);
}
.sp2-mobile-drawer.active {
  right: 0;
}
.sp2-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  margin-bottom: 1rem;
}
.sp2-drawer-close {
  background: transparent;
  border: none;
  color: #CBD5E1;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s;
}
.sp2-drawer-close:hover {
  color: #4BE5BC;
}
.sp2-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-grow: 1;
  overflow-y: auto;
}
.sp2-drawer-nav a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.sp2-drawer-nav a:hover,
.sp2-drawer-nav a.active {
  color: #4BE5BC;
  background: rgba(75, 229, 188, 0.12);
}
.sp2-drawer-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

@media (max-width: 960px) {
  .sp2-shell {
    grid-template-columns: 1fr;
  }
  .sp2-aside {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .sidebar-specs, .sp2-sidebar-license, .sidebar-license, .sp2-aside-kpi, .sp2-aside-kpi {
    display: none !important;
  }
  .sidebar-nav, .sp2-sidebar-nav, .sp2-aside-nav {
    display: none !important;
  }
  .sidebar-brand {
    padding-bottom: 0;
    border-bottom: none;
  }
  .sp2-burger-toggle {
    display: flex;
  }
  .sp2-aside .btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.8rem;
  }
}

/* === BUTTON: BTN_10_MONOSPACE_TERMINAL_BRACKET === */
.btn, .cta, .sp2-action-trigger {
  background: var(--accent-primary);
  color: #0B0F1D;
  border-left: 5px solid var(--accent-secondary);
  border-radius: 3px;
  padding: 0.75rem 1.45rem;
  font-family: monospace;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-top: none;
  border-right: none;
  border-bottom: none;
  transition: transform 0.2s ease, filter 0.2s ease;
  min-height: 44px;
}

.btn:hover, .cta:hover, .sp2-action-trigger:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--accent-primary);
  border-left: 5px solid var(--accent-primary);
}

/* === HERO: HERO_07_MAGAZINE_TWO_DECK_GRID === */
.sp2-hero, .hero {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 2rem;
  align-items: center;
  text-align: left;
  padding: 2.5rem 2rem;
  border-top: 3px solid var(--accent-primary);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.sp2-hero-lead {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sp2-hero-img-wrap {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.06), 0px 1px 1px -0.5px rgba(0,0,0,0.06), 0px 3px 3px -1.5px rgba(0,0,0,0.06), 0px 6px 6px -3px rgba(0,0,0,0.08), 0px 12px 12px -6px rgba(0,0,0,0.12), 0px 24px 24px -12px rgba(0,0,0,0.16);
}

.sp2-hero img, .hero img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .sp2-hero, .hero {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
  }
}

/* === TOPOLOGY 3: FULLBLEED ALTERNATING BANDS === */
.sp2-band {
  width: 100%;
  padding: 3rem 2rem;
  box-sizing: border-box;
}

.sp2-band:nth-of-type(even) {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.sp2-band:nth-of-type(odd) {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* === CARD: MATERIAL_5_SWISS_WIREFRAME_HAIRLINE & BEAUTIFUL SHADOWS === */
.sp2-card, .card {
  border-radius: 0px;
  background: transparent;
  color: var(--text-primary);
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  position: relative;
  box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.06), 0px 1px 1px -0.5px rgba(0,0,0,0.06), 0px 3px 3px -1.5px rgba(0,0,0,0.06), 0px 6px 6px -3px rgba(0,0,0,0.08), 0px 12px 12px -6px rgba(0,0,0,0.12), 0px 24px 24px -12px rgba(0,0,0,0.16);
}

.sp2-card::before, .card::before {
  content: '+';
  position: absolute;
  top: 6px;
  right: 10px;
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--accent-primary);
  opacity: 0.65;
}

.hud-chamfer {
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

/* === STATS BLOCK VARIANT C: BENTO CARDS 65PCT === */
.bento-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .bento-grid-3 {
    grid-template-columns: 1fr;
  }
}

.bento-tile {
  background: var(--bg-surface);
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1.4rem;
  border-radius: 8px;
  position: relative;
}

.bento-num {
  font-size: 0.76rem;
  font-family: monospace;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* === DATAVIZ: DATAVIZ_06_TIERED_COMPARISON_MATRIX === */
.sp2-matrix-grid, .data-viz-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.sp2-matrix-col {
  padding: 1.35rem;
  background: var(--bg-surface);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  position: relative;
}

.sp2-matrix-header {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.sp2-matrix-item {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.sp2-matrix-item strong {
  color: var(--text-primary);
}

/* === INTERACTIVE WIDGET E: PAYOUT SPEED ESTIMATOR === */
.widget-box {
  background: var(--bg-surface);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  padding: 1.75rem;
  margin: 2rem 0;
}

.widget-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .widget-grid {
    grid-template-columns: 1fr;
  }
}

.widget-control-group {
  margin-bottom: 1.1rem;
}

.widget-label {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.widget-select, .widget-range {
  width: 100%;
  background: rgba(7, 8, 24, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--text-primary);
  padding: 0.65rem;
  border-radius: 6px;
  font-family: inherit;
}

.widget-result-tile {
  background: rgba(7, 8, 24, 0.8);
  border: 1px solid var(--accent-primary);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.widget-res-time {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-primary);
  font-family: var(--font-heading);
  margin: 0.5rem 0;
}

/* === GAMES GRID === */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .games-grid {
    grid-template-columns: 1fr;
  }
}

.game-card {
  background: rgba(7, 8, 24, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.game-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary);
}

.game-thumb-wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
}

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

.game-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 24, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  padding: 1rem;
}

.game-card:hover .game-card-overlay {
  opacity: 1;
}

.game-rtp-badge {
  background: rgba(75, 229, 188, 0.15);
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
}

.game-info {
  padding: 1rem;
}

.game-title {
  display: block;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.game-meta {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === PAYMENTS STRIP === */
.payments-strip {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 1.5rem 0;
}

.payment-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-surface);
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
}

.payment-badge img {
  height: 24px;
  width: auto;
}

.payment-badge span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* === PILL ROWS & CALLOUTS === */
.sp2-pill-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin: 1.25rem 0 1.75rem;
}

.sp2-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-surface);
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.sp2-metric-pill span {
  color: var(--accent-primary);
  font-weight: 700;
}

.sp2-callout {
  background: rgba(24, 26, 60, 0.8);
  border-left: 4px solid var(--accent-primary);
  padding: 1.25rem 1.4rem;
  border-radius: 0 8px 8px 0;
  margin: 1.75rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  border-right: 1px solid rgba(148, 163, 184, 0.15);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.sp2-callout-header {
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* === STEPS GRID === */
.sp2-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.75rem 0;
}

@media (max-width: 768px) {
  .sp2-steps-grid {
    grid-template-columns: 1fr;
  }
}

.sp2-step-card {
  background: var(--bg-surface);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  padding: 1.35rem;
}

.sp2-step-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.sp2-step-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.sp2-step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* === PRO / CON MATRIX === */
.sp2-matrix-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .sp2-matrix-box {
    grid-template-columns: 1fr;
  }
}

.sp2-matrix-col {
  background: var(--bg-surface);
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.sp2-matrix-pros {
  border-left: 4px solid var(--accent-primary);
}

.sp2-matrix-cons {
  border-left: 4px solid #F43F5E;
}

.sp2-matrix-title h3 {
  margin: 0 0 1rem 0;
  font-size: 1.15rem;
}

.sp2-matrix-list {
  margin: 0;
  padding-left: 1.25rem;
}

.sp2-matrix-list li {
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
}

/* === FAQ ACCORDION (FAQ_Accordion) === */
.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.75rem 0;
}

details.faq-accordion-item {
  background: var(--bg-surface);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

details.faq-accordion-item summary {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.faq-accordion-item summary::-webkit-details-marker {
  display: none;
}

details.faq-accordion-item summary::after {
  content: '+';
  font-family: monospace;
  font-size: 1.2rem;
  color: var(--accent-primary);
}

details.faq-accordion-item[open] summary::after {
  content: '−';
}

details.faq-accordion-item p {
  margin-top: 0.85rem;
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.6;
}

/* === FOOTER === */
.sp2-footer {
  background: #04050E;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 3rem 2rem 2rem;
  margin-top: auto;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer-nav-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--accent-primary);
  margin-bottom: 0.85rem;
}

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

.footer-col li {
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent-primary);
}

.footer-compliance-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  margin-bottom: 1.5rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.age-badge {
  background: #F43F5E;
  color: #FFFFFF;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.78rem;
}

.footer-license-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
}

.sp2-mobile-bar {
  display: none;
}

.sp2-breadcrumbs, .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.sp2-breadcrumbs a, .breadcrumb a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
}

.sp2-breadcrumbs .sep, .breadcrumb span {
  color: var(--text-muted);
}

.sp2-btn, .sp2-btn-primary {
  background: var(--accent-primary);
  color: #0B0F1D;
  border: none;
  border-radius: 4px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.sp2-card {
  background: var(--bg-surface);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.sp2-callout {
  background: rgba(75, 229, 188, 0.06);
  border-left: 4px solid var(--accent-primary);
  padding: 1.25rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 2rem;
}

.sp2-callout-header {
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.sp2-sidebar-license {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  background: rgba(7, 8, 24, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 6px;
  font-size: 0.75rem;
}

.sp2-license-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.sp2-license-info {
  display: flex;
  flex-direction: column;
}

.sp2-license-title {
  font-weight: 700;
  color: #FFFFFF;
}

.sp2-license-sub {
  color: var(--text-muted);
}

.sp2-aside-kpi, .sp2-sidebar-status {
  padding: 0.85rem;
  background: rgba(7, 8, 24, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 6px;
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sp2-status-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.sp2-status-row strong {
  color: var(--accent-primary);
}

th, td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

th {
  background: rgba(24, 26, 60, 0.8);
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

td {
  font-size: 0.92rem;
}

/* === SUBPAGE CONTENT & FOOTER STYLES === */
.sp2-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0;
}

.sp2-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(18, 14, 38, 0.7);
  border: 1px solid rgba(75, 229, 188, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #FFFFFF;
}

.sp2-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.sp2-step-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1.25rem 1rem;
}

.sp2-step-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.sp2-step-title {
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: #FFFFFF;
}

.sp2-step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.sp2-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
}

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

.sp2-footer-col h4 {
  color: #FFFFFF;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.sp2-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sp2-footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.sp2-footer-links a:hover {
  color: var(--accent-primary);
}

.sp2-footer-legal {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding-top: 1.5rem;
  text-align: center;
}

.bento-tile-large {
  background: var(--bg-surface);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--border-radius);
  padding: 1.5rem;
}

.bento-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-primary);
}

.bento-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.faq-accordion-body {
  padding: 1rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .sp2-steps-grid {
    grid-template-columns: 1fr;
  }
  .sp2-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
