/* ==========================================================================
   TDCTF Academy - 2026 Liquid Glass Cyber-Minimalism Design System
   Based on challenges-design.md, home-design.md, and glassmorphism.md
   ========================================================================== */

:root {
  /* Surface & Base Deep Cyber Palette */
  --bg-deep-space: #030712;
  --bg-dark: #030712;
  --bg-surface: #0b0f19;
  --bg-surface-elevated: #111827;
  --bg-code: #050914;
  
  /* Liquid Glass Tokens */
  --glass-base: rgba(15, 23, 42, 0.75);
  --glass-surface-highlight: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-hover: rgba(255, 255, 255, 0.3);
  --glass-card-bg: rgba(15, 23, 42, 0.85);
  --glass-blur: 24px;
  
  /* Accent Colors (challenges-design.md) */
  --accent-blue: #0080ff;
  --accent-cyan: #06b6d4;
  --accent-purple: #a855f7;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --accent-red: #ef4444;
  --accent-pink: #ff1493;
  
  /* Neon & Text Highlights */
  --neon-cyan: #00f0ff;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Shadows & Reflections (home-design.md) */
  --shadow-liquid: 0 8px 32px 0 rgba(0, 0, 0, 0.4), inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
  --shadow-liquid-hover: 0 16px 48px 0 rgba(0, 128, 255, 0.28), inset 0 1px 2px 0 rgba(255, 255, 255, 0.4);
  
  /* Dimensions & Springs */
  --navbar-height: 70px;
  --sidebar-width: 295px;
  --toc-width: 245px;
  --content-max-width: 920px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
  --smooth-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Eliminate Horizontal Scrollbar Completely & Enforce Dark Cyber Canvas */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep-space);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

body {
  min-height: 100dvh;
  background: var(--bg-deep-space);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  position: relative;
}

/* Modern Frosted Cyber Scrollbar (Vertical Only - No Ugly White Bar) */
::-webkit-scrollbar {
  width: 7px;
  height: 0px !important; /* Disables horizontal scrollbar */
}

::-webkit-scrollbar-track {
  background: #030712;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) #030712;
}

code, pre, kbd, .font-mono {
  font-family: "JetBrains Mono", "Fira Code", Consolas, monospace;
}

/* Strict Sizing to Prevent Giant Broken SVG Icons */
svg {
  max-width: 100%;
  box-sizing: content-box;
}

.doc-breadcrumbs svg,
.breadcrumbHomeIcon_OVst,
.breadcrumbHomeIcon_YNFT,
.breadcrumbs__link svg,
.breadcrumbs__item svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

.doc-article svg,
article svg {
  max-width: 24px !important;
  max-height: 24px !important;
  vertical-align: middle !important;
  display: inline-block !important;
}

/* Ambient Radial Orbs - Non-blocking */
.ambient-bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none !important;
  z-index: 0;
  overflow: hidden;
  opacity: 0.45;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none !important;
  will-change: transform, opacity;
}

.ambient-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 128, 255, 0.25) 0%, transparent 70%);
  top: -150px;
  left: 10%;
  animation: orbPulse 10s ease-in-out infinite alternate;
}

.ambient-orb-2 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
  top: 35%;
  right: -100px;
  animation: orbPulse 14s ease-in-out infinite alternate-reverse;
}

.ambient-orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  bottom: -50px;
  left: 25%;
  animation: orbPulse 12s ease-in-out infinite alternate;
}

@keyframes orbPulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
  100% { transform: scale(1.1) translate(20px, -20px); opacity: 1; }
}

.doc-icon {
  display: inline-block;
  vertical-align: -0.15em;
  margin-right: 0.4rem;
  flex-shrink: 0;
  color: var(--neon-cyan);
}

/* ==========================================================================
   1. Arena Top Navigation Bar (challenges-design.md)
   ========================================================================== */

.arena-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--navbar-height);
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.75rem;
  gap: 1.5rem;
  pointer-events: auto;
}

.arena-navbar::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 128, 255, 0.6) 50%, transparent 100%);
  pointer-events: none;
}

.navbar-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
}

.brand-logo-img {
  height: 32px;
  width: 32px;
  min-width: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
  display: block;
}

.brand-gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #dbeafe 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.arena-nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.3rem 0.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 1001;
}

.nav-capsule-item {
  position: relative;
  padding-bottom: 8px;
  margin-bottom: -8px;
}

.nav-capsule-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s var(--smooth-ease);
  pointer-events: auto;
}

.nav-capsule-btn:hover,
.nav-capsule-item:hover .nav-capsule-btn,
.nav-capsule-item.open .nav-capsule-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-capsule-item.open .nav-capsule-btn {
  background: rgba(0, 128, 255, 0.2);
  border: 1px solid rgba(0, 128, 255, 0.4);
  color: #ffffff;
}

.arena-dropdown-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 270px;
  max-height: 460px;
  overflow-y: auto;
  background: rgba(11, 15, 25, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 0.6rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 128, 255, 0.25);
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 9999;
  pointer-events: auto;
}

.arena-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -24px;
  left: -20px;
  right: -20px;
  height: 28px;
  background: transparent;
  pointer-events: auto;
}

.nav-capsule-item:hover .arena-dropdown-menu,
.nav-capsule-item:focus-within .arena-dropdown-menu,
.nav-capsule-item.open .arena-dropdown-menu {
  display: flex !important;
}

.arena-dropdown-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  display: block;
  cursor: pointer;
  pointer-events: auto;
}

.arena-dropdown-link:hover {
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.12);
  transform: translateX(4px);
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-command-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.825rem;
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: auto;
}

.search-command-btn:hover {
  border-color: rgba(0, 128, 255, 0.5);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 15px rgba(0, 128, 255, 0.25);
}

.user-hub-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, rgba(0, 128, 255, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
  border: 1px solid rgba(0, 128, 255, 0.3);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-md);
  color: #93c5fd;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
}

.user-hub-chip:hover {
  border-color: rgba(0, 128, 255, 0.6);
  box-shadow: 0 0 18px rgba(0, 128, 255, 0.35);
  color: #ffffff;
}

.sidebar-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.4rem;
  pointer-events: auto;
}

/* ==========================================================================
   2. Liquid Glass Buttons (home-design.md & glassmorphism.md)
   ========================================================================== */

.btn-liquid-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(0, 128, 255, 0.9) 0%, rgba(37, 99, 235, 0.95) 50%, rgba(99, 102, 241, 0.95) 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 8px 32px 0 rgba(37, 99, 235, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.7);
  transition: all 0.25s var(--smooth-ease);
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

.btn-liquid-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 40px 0 rgba(37, 99, 235, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  filter: brightness(1.08);
}

.btn-liquid-primary:active {
  transform: translateY(1px);
}

.btn-liquid-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-liquid);
  transition: all 0.25s var(--smooth-ease);
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

.btn-liquid-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.btn-liquid-secondary:active {
  transform: translateY(1px);
}

/* ==========================================================================
   3. Full-Width Clean Hero Video Banner (No Horizontal Overflow)
   ========================================================================== */

.hero-full-banner {
  position: relative;
  width: 100%;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5rem 1.5rem 6rem;
  background: #030712;
  z-index: 10;
}

.hero-video-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(1.25) contrast(1.15);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at center 42%, rgba(3, 7, 18, 0.35) 0%, rgba(3, 7, 18, 0.8) 65%, #030712 100%),
    linear-gradient(180deg, rgba(3, 7, 18, 0.5) 0%, transparent 35%, rgba(3, 7, 18, 0.95) 85%, #030712 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo-container {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 24px rgba(0, 240, 255, 0.65)) drop-shadow(0 0 65px rgba(0, 128, 255, 0.45));
  transition: transform 0.3s var(--smooth-ease);
}

.hero-logo-img:hover {
  transform: scale(1.06) rotate(-2deg);
}

.hero-shimmer-title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero-shimmer-title .shimmer-text {
  background: linear-gradient(135deg, #ffffff 0%, #bfdbfe 40%, #3b82f6 80%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-cta-wrap {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   Telemetry Metrics Strip (Minimalist & Clean)
   ========================================================================== */

.telemetry-ticker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1040px;
  margin: 0 auto 5rem;
  background: rgba(13, 17, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.telemetry-card {
  padding: 1.5rem 1.25rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  transition: background 0.2s ease;
  border-radius: 0;
  box-shadow: none;
}

.telemetry-card:last-child {
  border-right: none;
}

.telemetry-card:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: none;
}

.telemetry-val {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.75rem;
  font-weight: 700;
  color: #f0f6fc !important;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.telemetry-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8b949e;
  font-weight: 600;
}

/* ==========================================================================
   Curriculum Overview / Core Learning Tracks
   ========================================================================== */

.bento-ecosystem-section {
  max-width: 1160px;
  margin: 0 auto 6rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

.section-headline-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
  width: 100%;
}

.section-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-headline-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: #f0f6fc;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
  text-align: center;
}

.section-headline-desc {
  font-size: 0.95rem;
  color: #8b949e;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.bento-card {
  position: relative;
  padding: 1.75rem;
  border-radius: 14px;
  background: rgba(13, 17, 23, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.25s var(--smooth-ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
}

.bento-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(17, 24, 39, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.bento-card-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.bento-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #38bdf8;
  flex-shrink: 0;
}

.bento-track-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

.bento-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f0f6fc;
  margin-top: 0.1rem;
  letter-spacing: -0.01em;
}

.bento-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.bento-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.bento-card:hover .bento-cta-link {
  color: #60a5fa;
  gap: 0.6rem;
}

.challenge-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto 5rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

.challenge-card {
  position: relative;
  cursor: pointer;
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--smooth-ease);
  text-decoration: none;
  outline: none;
  display: block;
  pointer-events: auto;
}

.challenge-card:hover {
  transform: scale(1.02) translateY(-4px);
}

.challenge-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  opacity: 0;
  filter: blur(18px);
  transition: opacity 0.4s ease;
  pointer-events: none !important;
  z-index: 0;
}

.challenge-card:hover .challenge-card-glow {
  opacity: 1;
}

.challenge-card-surface {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(3, 7, 18, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: border-color 0.3s ease;
  pointer-events: auto;
}

.challenge-card:hover .challenge-card-surface {
  border-color: rgba(255, 255, 255, 0.3);
}

.challenge-shimmer-line {
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none !important;
}

.challenge-card:hover .challenge-shimmer-line {
  opacity: 1;
}

.challenge-bg-silhouette {
  position: absolute;
  right: -10px;
  bottom: -10px;
  pointer-events: none !important;
  transition: all 0.4s ease;
  opacity: 0.08;
}

.challenge-card:hover .challenge-bg-silhouette {
  opacity: 0.18;
  transform: scale(1.08);
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.points-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.challenge-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0.75rem;
  margin-bottom: 0.4rem;
  transition: color 0.2s ease;
}

.challenge-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.challenge-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0;
}

.meta-chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.challenge-footer-row {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.theme-web { --cat-color: #0080ff; }
.theme-pwn { --cat-color: #ef4444; }
.theme-crypto { --cat-color: #a855f7; }
.theme-re { --cat-color: #f59e0b; }
.theme-forensics { --cat-color: #10b981; }
.theme-misc { --cat-color: #06b6d4; }

/* ==========================================================================
   Documentation Layout (Sidebar, Article, TOC)
   ========================================================================== */

.doc-layout-container {
  display: flex;
  width: 100%;
  min-height: calc(100vh - var(--navbar-height));
  position: relative;
  z-index: 10;
  align-items: flex-start;
}

.doc-sidebar {
  width: var(--sidebar-width);
  height: calc(100vh - var(--navbar-height));
  position: sticky;
  top: var(--navbar-height);
  align-self: flex-start;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-right: 1px solid var(--glass-border);
  overflow-y: auto;
  padding: 1.25rem 0.75rem 2rem;
  flex-shrink: 0;
  pointer-events: auto;
}

.doc-sidebar-header {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neon-cyan);
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sidebar-category-group {
  margin-bottom: 1.25rem;
}

.sidebar-group-title {
  font-size: 0.825rem;
  font-weight: 700;
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  margin-bottom: 0.4rem;
}

.sidebar-links-list {
  list-style: none;
  padding-left: 0.35rem;
  margin-top: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  line-height: 1.4;
  border: 1px solid transparent;
  pointer-events: auto;
}

.sidebar-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(2px);
}

.sidebar-link.active {
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.35);
  font-weight: 600;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.doc-main-content {
  flex: 1;
  min-width: 0;
  padding: 2.5rem 3rem 4rem;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.doc-article-inner {
  width: 100%;
  max-width: var(--content-max-width);
}

.doc-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.doc-breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  pointer-events: auto;
}

.doc-breadcrumbs a:hover {
  color: var(--neon-cyan);
}

.breadcrumb-sep {
  opacity: 0.4;
}

.doc-article h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.doc-article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.doc-article h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.doc-article p {
  margin-bottom: 1.25rem;
  color: #cbd5e1;
  font-size: 0.975rem;
  line-height: 1.75;
}

.doc-article ul, .doc-article ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: #cbd5e1;
}

.doc-article li {
  margin-bottom: 0.5rem;
}

.doc-article a {
  color: var(--neon-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 240, 255, 0.3);
  transition: all 0.15s ease;
  pointer-events: auto;
}

.doc-article a:hover {
  border-bottom-color: var(--neon-cyan);
  color: #ffffff;
}

.admonition {
  background: var(--glass-card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--neon-cyan);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.admonition.tip {
  border-left-color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.05);
}

.admonition.warning {
  border-left-color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.05);
}

.admonition.danger {
  border-left-color: var(--accent-red);
  background: rgba(239, 68, 68, 0.05);
}

.admonition-title {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Code Blocks & Terminal Windows - Deep Cyber Dark */
.code-block-wrapper,
.theme-code-block,
.codeBlockContainer_Ckt0,
.codeBlockContent_biex {
  position: relative;
  background: #050914 !important;
  background-color: #050914 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px;
  margin: 1.5rem 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.code-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.04) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 0.75rem;
  color: #94a3b8;
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  letter-spacing: 0.05em;
}

pre,
pre code,
.prism-code,
.codeBlockLines_e6Vv,
.token-line {
  background: #050914 !important;
  background-color: #050914 !important;
  color: #e2e8f0 !important;
}

pre {
  padding: 1.25rem !important;
  overflow-x: auto;
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  border: none !important;
  font-family: "JetBrains Mono", "Fira Code", Consolas, monospace !important;
}

pre code {
  background: transparent !important;
  color: #e2e8f0 !important;
  font-family: "JetBrains Mono", "Fira Code", Consolas, monospace !important;
}

.token.comment, .token.prolog, .token.doctype, .token.cdata {
  color: #64748b !important;
  font-style: italic;
}
.token.punctuation {
  color: #94a3b8 !important;
}
.token.property, .token.tag, .token.boolean, .token.number, .token.constant, .token.symbol, .token.deleted {
  color: #f87171 !important;
}
.token.selector, .token.attr-name, .token.string, .token.char, .token.builtin, .token.inserted {
  color: #34d399 !important;
}
.token.operator, .token.entity, .token.url, .language-css .token.string {
  color: #38bdf8 !important;
}
.token.atrule, .token.attr-value, .token.keyword {
  color: #c084fc !important;
  font-weight: 600;
}
.token.function, .token.class-name {
  color: #60a5fa !important;
}
.token.regex, .token.important, .token.variable {
  color: #fbbf24 !important;
}

p code, li code, td code, th code {
  background: rgba(0, 240, 255, 0.08) !important;
  color: #00f0ff !important;
  border: 1px solid rgba(0, 240, 255, 0.2) !important;
  padding: 0.15rem 0.45rem !important;
  border-radius: 6px !important;
  font-size: 0.875em !important;
  font-family: "JetBrains Mono", monospace !important;
}

.code-copy-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  pointer-events: auto;
}

.code-copy-btn:hover {
  background: rgba(0, 240, 255, 0.18);
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

th, td {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  font-size: 0.9rem;
}

th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  color: #ffffff;
}

.doc-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.pagination-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: var(--glass-card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s var(--smooth-ease);
  pointer-events: auto;
}

.pagination-card:hover {
  border-color: var(--accent-blue);
  background: rgba(0, 128, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 128, 255, 0.2);
}

.pagination-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.pagination-title {
  font-size: 1rem;
  font-weight: 600;
  color: #93c5fd;
}

.doc-toc {
  width: var(--toc-width);
  height: calc(100vh - var(--navbar-height));
  position: sticky;
  top: var(--navbar-height);
  align-self: flex-start;
  padding: 2.5rem 1.25rem 2rem 0.5rem;
  overflow-y: auto;
  flex-shrink: 0;
  pointer-events: auto;
  scroll-behavior: smooth;
}

.doc-toc::-webkit-scrollbar {
  width: 4px;
}

.doc-toc::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.doc-toc::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
}

.toc-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neon-cyan);
  margin-bottom: 0.85rem;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 0.85rem;
}

.toc-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.825rem;
  line-height: 1.4;
  transition: all 0.15s ease;
  display: block;
  pointer-events: auto;
}

.toc-link:hover, .toc-link.active {
  color: var(--neon-cyan);
  transform: translateX(2px);
}

.search-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 5rem 1.5rem 2rem;
}

.search-modal-overlay.open {
  display: flex;
}

.search-modal-box {
  width: 100%;
  max-width: 680px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid var(--accent-blue);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 128, 255, 0.25);
  overflow: hidden;
  pointer-events: auto;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--glass-border);
}

.search-modal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 1.1rem;
}

.search-results-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.search-result-item {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: background 0.15s ease;
  border: 1px solid transparent;
  pointer-events: auto;
}

.search-result-item:hover {
  background: rgba(0, 128, 255, 0.15);
  border-color: rgba(0, 128, 255, 0.35);
}

.search-result-title {
  font-weight: 600;
  color: #93c5fd;
  font-size: 0.95rem;
}

.search-result-cat {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 1200px) {
  .doc-toc {
    display: none;
  }
  .doc-main-content {
    padding: 2rem 2rem 4rem;
  }
}

@media (max-width: 900px) {
  .telemetry-ticker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .telemetry-card:nth-child(2) {
    border-right: none;
  }
  .telemetry-card:nth-child(1),
  .telemetry-card:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .telemetry-ticker-grid {
    grid-template-columns: 1fr;
  }
  .telemetry-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.15rem 1rem;
  }
  .telemetry-card:last-child {
    border-bottom: none;
  }
}

@media (max-width: 900px) {
  .arena-nav-menu {
    display: none;
  }
  .sidebar-toggle-btn {
    display: block;
  }
  .doc-sidebar {
    position: fixed;
    top: var(--navbar-height);
    left: -100%;
    width: 300px;
    height: calc(100vh - var(--navbar-height));
    z-index: 1500;
    transition: left 0.3s var(--smooth-ease);
    background: rgba(3, 7, 18, 0.98);
  }
  .doc-sidebar.open {
    left: 0;
  }
  .doc-main-content {
    padding: 1.5rem 1rem 3rem;
  }
  .doc-pagination {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Developer Welcome & Announcement Modal (Minimalist Dark Glass)
   ========================================================================== */

.welcome-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.welcome-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.welcome-modal-box {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  padding: 2rem;
  overflow: hidden;
  transform: scale(0.96) translateY(8px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.welcome-modal-overlay.open .welcome-modal-box {
  transform: scale(1) translateY(0);
}

.welcome-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: #8b949e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 10;
}

.welcome-close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f0f6fc;
  border-color: rgba(255, 255, 255, 0.1);
}

.welcome-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.welcome-header-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 5px;
}

.welcome-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.welcome-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #38bdf8;
  font-weight: 600;
}

.welcome-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #f0f6fc;
  margin-top: 0.15rem;
  letter-spacing: -0.01em;
}

.welcome-body {
  color: #94a3b8;
  font-size: 0.895rem;
  line-height: 1.6;
  margin-bottom: 1.35rem;
}

.welcome-body p {
  margin-bottom: 0.45rem;
}

.welcome-body p:last-child {
  margin-bottom: 0;
}

.welcome-body strong {
  color: #e2e8f0;
  font-weight: 600;
}

.welcome-body em {
  color: #cbd5e1;
  font-style: normal;
}

.welcome-links-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.welcome-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.85rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  text-decoration: none;
  color: #f0f6fc;
  transition: all 0.2s ease;
}

.welcome-link-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateX(2px);
}

.welcome-link-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.welcome-row-icon {
  color: #8b949e;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.welcome-link-row:hover .welcome-row-icon {
  color: #38bdf8;
}

.welcome-link-row.welcome-link-support:hover .welcome-row-icon {
  color: #fbbf24;
}

.welcome-row-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f0f6fc;
}

.welcome-row-desc {
  display: block;
  font-size: 0.74rem;
  color: #64748b;
}

.welcome-row-arrow {
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.welcome-link-row:hover .welcome-row-arrow {
  color: #f0f6fc;
  transform: translate(2px, -2px);
}

.welcome-link-support {
  background: rgba(245, 158, 11, 0.04);
  border-color: rgba(245, 158, 11, 0.15);
}

.welcome-link-support:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.35);
}

.welcome-support-tag {
  font-size: 0.74rem;
  font-weight: 600;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  white-space: nowrap;
}

.welcome-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.welcome-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: #8b949e;
  cursor: pointer;
  user-select: none;
}

.welcome-checkbox-label input[type="checkbox"] {
  accent-color: #0080ff;
  cursor: pointer;
  width: 14px;
  height: 14px;
}

.welcome-start-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.welcome-start-btn:hover {
  background: #2563eb;
  border-color: #3b82f6;
  color: #ffffff;
}

@media (max-width: 520px) {
  .welcome-modal-box {
    padding: 1.5rem 1.15rem 1.25rem;
  }
  .welcome-footer-row {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0.85rem;
  }
  .welcome-start-btn {
    width: 100%;
  }
}


