/* === AUTO-COMPILED 7-AXIS GENOME CSS (sp3) === */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Unbounded:wght@600;700;800&display=swap');

:root {
  --bg-primary: #1B1E3D;
  --bg-surface: #090A1A;
  --bg-card: rgba(9, 10, 26, 0.7);
  --text-primary: #FFFFFF;
  --text-muted: #A5B4FC;
  --accent-primary: #4EE2B8;
  --accent-secondary: #9333EA;
  --font-heading: 'Unbounded', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

/* === MANDATORY ANTI-OVERFLOW & TYPOGRAPHY GUARD === */
*, *::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%;
}

h1, h2, h3, h4, h5, h6, th, td, p, span, li, dt, dd {
  overflow-wrap: anywhere;
  hyphens: auto;
}

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

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

/* Fluid Typography */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 1rem;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1.22;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.3;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--accent-primary);
}

/* Shell_5_Right_Telemetry_Rail (legacy support for subpages) */
.sp3-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 2rem;
  max-width: 1360px;
  margin: 0 auto;
  padding: 1.5rem;
  align-items: start;
}

.sp3-main {
  min-width: 0;
}

.sp3-aside {
  position: sticky;
  top: 20px;
  background: var(--bg-surface);
  padding: 1.5rem;
  border-left: 2px solid var(--accent-primary);
  border-radius: 16px;
  min-width: 260px;
}

@media (max-width: 960px) {
  .sp3-shell {
    grid-template-columns: 1fr;
  }
  .sp3-aside {
    position: static;
    width: 100%;
  }
}

/* ==========================================================================
   SHELL FLOATING ISLAND (sp3) — FLOATING CAPSULE & SPINE TIMELINE
   ========================================================================== */

/* 1. Floating Capsule Island Navbar */
.sp3-header-stage {
  position: sticky;
  top: 16px;
  z-index: 1000;
  padding: 0 clamp(16px, 3vw, 32px);
  width: 100%;
  box-sizing: border-box;
}

.sp3-floating-capsule,
.sp3-capsule-island {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  background: rgba(27, 30, 61, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(78, 226, 184, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 
              0 0 25px rgba(147, 51, 234, 0.28), 
              0 0 10px rgba(78, 226, 184, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.sp3-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.sp3-logo-wrap img {
  height: 36px;
  width: auto;
  display: block;
}

.sp3-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp3-nav a {
  color: #E2E8F0;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sp3-nav a:hover,
.sp3-nav a.active {
  color: var(--accent-primary) !important;
  background: rgba(78, 226, 184, 0.12);
}

.sp3-capsule-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.sp3-btn-capsule,
.sp3-capsule-cta {
  font-size: 0.84rem;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  background: var(--accent-primary);
  color: #090A1A;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(78, 226, 184, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 40px;
}

.sp3-btn-capsule:hover,
.sp3-capsule-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(78, 226, 184, 0.55);
}

.sp3-burger-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(78, 226, 184, 0.3);
  border-radius: 50%;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  box-sizing: border-box;
}

.sp3-burger-toggle span {
  width: 100%;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 2px;
  transition: all 0.25s ease;
  display: block;
}

/* Mobile Drawer Backdrop & Drawer */
.sp3-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sp3-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.sp3-mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: rgba(9, 10, 26, 0.98);
  border-left: 1px solid rgba(78, 226, 184, 0.3);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  z-index: 1200;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.sp3-mobile-drawer.active {
  right: 0;
}

.sp3-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sp3-drawer-close {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp3-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
  overflow-y: auto;
}

.sp3-drawer-nav a {
  color: #E2E8F0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  transition: background 0.2s;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.sp3-drawer-nav a.active,
.sp3-drawer-nav a:hover {
  background: rgba(78, 226, 184, 0.12);
  color: var(--accent-primary);
}

.sp3-drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* 2. Hero Stage (Floating Island Above Timeline) */
.sp3-hero-stage {
  max-width: 1200px;
  margin: 1.5rem auto 3rem;
  padding: 0 clamp(16px, 3vw, 32px);
  box-sizing: border-box;
}

.sp3-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.sp3-hero-content {
  max-width: 960px;
}

.sp3-hero-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.85rem;
  background: rgba(78, 226, 184, 0.1);
  border: 1px solid rgba(78, 226, 184, 0.25);
  border-radius: 999px;
}

.sp3-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.sp3-hero-banner-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(78, 226, 184, 0.25);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.sp3-hero-banner-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.sp3-hero-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.sp3-kpi-item {
  background: rgba(9, 10, 26, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sp3-kpi-val {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 800;
  color: var(--accent-primary);
}

.sp3-kpi-lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* 3. Numbered Spine Timeline */
.sp3-timeline-wrap,
.sp3-timeline-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  box-sizing: border-box;
}

.sp3-timeline-spine {
  position: relative;
  padding-left: clamp(2.25rem, 5vw, 3.5rem);
  margin-left: clamp(0.75rem, 2vw, 1.5rem);
  border-left: 3px solid transparent;
  border-image: linear-gradient(to bottom, #4EE2B8, #9333EA, #4EE2B8) 1;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  box-sizing: border-box;
}

.sp3-timeline-step {
  position: relative;
  box-sizing: border-box;
}

.sp3-timeline-node {
  position: absolute;
  left: calc(-1 * clamp(2.25rem, 5vw, 3.5rem) - 19.5px);
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4EE2B8 0%, #9333EA 100%);
  color: #090A1A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 0 0 5px var(--bg-primary),
              0 0 20px rgba(78, 226, 184, 0.65),
              0 0 35px rgba(147, 51, 234, 0.45);
  z-index: 5;
}

.sp3-timeline-card {
  border-radius: 20px;
  background: rgba(9, 10, 26, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.sp3-card-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.sp3-subcard {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.25rem;
  box-sizing: border-box;
}

.sp3-support-box {
  background: rgba(147, 51, 234, 0.08);
  border: 1px solid rgba(147, 51, 234, 0.25);
  border-radius: 14px;
  padding: 1.25rem;
  margin-top: 1.5rem;
  box-sizing: border-box;
}

/* 4. Pro/Con Matrix */
.sp3-pro-con-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
  box-sizing: border-box;
}

.sp3-pro-card, .sp3-con-card {
  border-radius: 16px;
  padding: 1.5rem;
  box-sizing: border-box;
}

.sp3-pro-card {
  background: rgba(78, 226, 184, 0.05);
  border: 1px solid rgba(78, 226, 184, 0.3);
}

.sp3-con-card {
  background: rgba(147, 51, 234, 0.05);
  border: 1px solid rgba(147, 51, 234, 0.25);
}

.sp3-matrix-head {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pro-head { color: var(--accent-primary); }
.con-head { color: #D8B4FE; }

.sp3-matrix-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sp3-matrix-list li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #E2E8F0;
}

/* 5. Step-by-Step Onboarding Process (01 -> 02 -> 03) */
.sp3-step-process {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0;
  box-sizing: border-box;
}

.sp3-step-col {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 1.25rem;
  box-sizing: border-box;
}

.sp3-step-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 0.35rem;
}

.sp3-step-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.sp3-step-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.sp3-step-divider {
  font-size: 1.5rem;
  color: var(--accent-primary);
  opacity: 0.5;
  flex-shrink: 0;
}

/* 6. Live Interactive Lobby */
.sp3-lobby-container {
  margin: 2rem 0;
  background: rgba(9, 10, 26, 0.85);
  border: 1px solid rgba(78, 226, 184, 0.25);
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-sizing: border-box;
}

.sp3-lobby-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.sp3-lobby-header h3 {
  margin: 0;
  font-size: 1.35rem;
  color: #FFFFFF;
}

.sp3-lobby-counter {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sp3-lobby-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.sp3-tab-pill {
  padding: 0.65rem 1.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}

.sp3-tab-pill:hover {
  background: rgba(78, 226, 184, 0.15);
  border-color: var(--accent-primary);
}

.sp3-tab-pill.active {
  background: var(--accent-primary);
  color: #090A1A;
  border-color: var(--accent-primary);
  box-shadow: 0 4px 14px rgba(78, 226, 184, 0.4);
}

.sp3-lobby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}

.sp3-game-card {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
}

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

.sp3-game-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #090A1A;
}

.sp3-game-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.sp3-game-card:hover .sp3-game-thumb {
  transform: scale(1.08);
}

.sp3-game-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(9, 10, 26, 0.88);
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  z-index: 2;
}

.sp3-game-overlay,
.sp3-lobby-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 10, 26, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 3;
  box-sizing: border-box;
}

.sp3-game-card:hover .sp3-game-overlay,
.sp3-game-card:focus-within .sp3-game-overlay,
.sp3-game-card:hover .sp3-lobby-overlay,
.sp3-game-card:focus-within .sp3-lobby-overlay {
  opacity: 1;
}

.sp3-overlay-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
}

.sp3-overlay-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.sp3-btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  min-height: 40px;
}

.sp3-game-meta {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sp3-game-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp3-game-provider {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 7. Responsive Collapses & Breakpoints */
@media (max-width: 900px) {
  .sp3-nav {
    display: none;
  }
  .sp3-burger-toggle {
    display: flex;
  }
  .sp3-hero-kpi-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp3-card-subgrid {
    grid-template-columns: 1fr;
  }
  .sp3-pro-con-grid {
    grid-template-columns: 1fr;
  }
  .sp3-step-process {
    flex-direction: column;
    align-items: stretch;
  }
  .sp3-step-divider {
    text-align: center;
    transform: rotate(90deg);
    margin: -0.5rem 0;
  }
}

@media (max-width: 640px) {
  .sp3-hero-kpi-strip {
    grid-template-columns: 1fr;
  }
  .sp3-lobby-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp3-timeline-spine {
    padding-left: 2.25rem;
    margin-left: 1rem;
  }
  .sp3-timeline-node {
    left: calc(-2.25rem - 17px);
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }
  .sp3-game-overlay,
  .sp3-lobby-overlay {
    position: absolute;
    inset: 0;
  }
}

@media (max-width: 500px) {
  .sp3-lobby-grid {
    grid-template-columns: 1fr;
  }
  .sp3-overlay-sub {
    display: none;
  }
  .sp3-game-overlay .sp3-cta-btn,
  .sp3-lobby-overlay .sp3-cta-btn {
    min-height: 40px;
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
  }
}

/* Topology_1_Asymmetric_Bento */
.sp3-section-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .sp3-section-grid {
    grid-template-columns: 1fr;
  }
}

/* Material_4_Frosted_Liquid_Glass */
.sp3-card, .card {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* H2_1_Mono_Index_Prefix */
main {
  counter-reset: sec-idx;
}

h2::before {
  counter-increment: sec-idx;
  content: '0' counter(sec-idx) ' // ';
  font-family: monospace;
  color: var(--accent-primary);
  margin-right: 0.5rem;
}

/* micro_css_skills */
.layered-shadow {
  box-shadow: 0 1px 2px rgba(0,0,0,0.18), 0 4px 8px rgba(0,0,0,0.22), 0 12px 24px rgba(0,0,0,0.28), 0 24px 48px rgba(0,0,0,0.34);
}

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

/* Table Responsive Container */
.table-wrap, .table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
  border-radius: 12px;
}

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

th, td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

th {
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--accent-primary);
}

/* Header & Navigation */
.sp3-header {
  background: rgba(9, 10, 26, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.sp3-header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sp3-logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.sp3-logo-wrap img {
  height: 40px;
  width: auto;
}

.sp3-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp3-nav a {
  color: #E2E8F0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s;
}

.sp3-nav a:hover, .sp3-nav a.active {
  color: var(--accent-primary) !important;
}

@media (max-width: 900px) {
  .sp3-nav {
    display: none;
  }
}

/* CTA Buttons */
.sp3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.sp3-btn-primary {
  background: var(--accent-primary);
  color: #090A1A;
}

.sp3-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(78, 226, 184, 0.4);
}

.sp3-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sp3-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Split 60/40 */
.sp3-hero {
  margin-bottom: 2.5rem;
}

.sp3-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .sp3-hero-grid {
    grid-template-columns: 1fr;
  }
}

.sp3-hero-banner {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.sp3-hero-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Quick Summary Pill / Lead */
.sp3-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.sp3-summary-box {
  background: rgba(78, 226, 184, 0.07);
  border: 1px solid rgba(78, 226, 184, 0.25);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.sp3-summary-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Games Showcase Grid */
.sp3-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.sp3-game-card {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

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

.sp3-game-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.sp3-game-meta {
  padding: 0.85rem;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sp3-game-name {
  font-weight: 700;
  color: #FFFFFF;
}

.sp3-game-provider {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Payments Badges */
.sp3-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin: 1.25rem 0 2rem;
}

.sp3-payment-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 52px;
}

.sp3-payment-item img {
  height: 28px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
}

/* Variant_D_Flex_Specs_60pct */
.spec-list, .flex-specs, .stat-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.spec-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.spec-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.spec-val {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--accent-primary);
}

/* Widget_F_VIP_Tier_Slider */
.sp3-vip-widget {
  margin: 2rem 0;
  background: rgba(147, 51, 234, 0.08);
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 20px;
  padding: 1.75rem;
}

.sp3-slider-wrap {
  margin: 1.5rem 0 1rem;
}

.sp3-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  cursor: pointer;
  accent-color: var(--accent-primary);
}

.sp3-vip-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sp3-vip-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sp3-vip-detail-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sp3-vip-detail-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--accent-primary);
}

/* FAQ_Tabbed_Categories */
.sp3-faq-tabs {
  margin: 2rem 0;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.tab-btn {
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn[aria-selected="true"] {
  background: var(--accent-primary);
  color: #090A1A;
  border-color: var(--accent-primary);
  font-weight: 700;
}

.tab-panel {
  display: none;
}

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

.sp3-faq-card {
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sp3-faq-q {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 0.65rem;
}

.sp3-faq-a {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* Breadcrumb nav */
.sp3-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.sp3-breadcrumbs a {
  color: var(--accent-primary);
  text-decoration: none;
}

/* Footer */
.sp3-footer {
  background: #060712;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.sp3-footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

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

.sp3-footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #FFFFFF;
  margin-top: 0;
  margin-bottom: 1rem;
}

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

.sp3-footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.sp3-footer-bottom {
  max-width: 1360px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.7;
}

.sp3-license-box {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 0.8rem;
  color: #818CF8;
}

/* === EDITORIAL & UX ENHANCEMENTS: CALLOUTS, STEPS, METRIC PILLS === */
.sp3-callout {
  background: var(--bg-surface);
  border: 1px solid rgba(165, 180, 252, 0.15);
  border-left: 4px solid var(--accent-primary);
  border-radius: 8px;
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.sp3-callout-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--accent-primary);
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.sp3-callout p:last-child {
  margin-bottom: 0;
}

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

.sp3-step-card {
  background: var(--bg-surface);
  border: 1px solid rgba(165, 180, 252, 0.2);
  border-radius: 8px;
  padding: 1.25rem 1rem;
}

.sp3-step-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--accent-primary);
  opacity: 0.7;
  margin-bottom: 0.35rem;
}

.sp3-step-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: #FFFFFF;
}

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

.sp3-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0;
}

.sp3-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(9, 10, 26, 0.65);
  border: 1px solid rgba(78, 226, 184, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #FFFFFF;
}

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

@media (max-width: 900px) {
  .sp3-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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