/* ==========================================
   NOR4C — Design System
   Cyber Security Community Platform
   Premium Cyberpunk Aesthetic
   ========================================== */

/* ----- Google Fonts ----- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ----- CSS Variables ----- */
:root {
  /* Colors */
  --neon: #ff1a1a;
  --neon-dark: #cc0000;
  --neon-bright: #ff4444;
  --neon-glow: rgba(255, 26, 26, 0.4);
  --neon-glow-soft: rgba(255, 26, 26, 0.15);
  --neon-glow-subtle: rgba(255, 26, 26, 0.06);

  --bg-primary: #090909;
  --bg-secondary: #161616;
  --bg-tertiary: #242424;
  --bg-elevated: #1a1a1a;

  --text-primary: #ffffff;
  --text-secondary: #bbbbbb;
  --text-muted: #666666;
  --text-dim: #444444;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --border-neon: rgba(255, 26, 26, 0.15);
  --border-neon-strong: rgba(255, 26, 26, 0.3);

  --glass-bg: rgba(22, 22, 22, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.15s var(--ease-out);
  --transition-normal: 0.3s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);
  --transition-slower: 0.8s var(--ease-out);

  /* Layout */
  --container-width: 1200px;
  --container-narrow: 900px;
  --navbar-height: 72px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-neon: 0 0 20px rgba(255, 26, 26, 0.15), 0 0 40px rgba(255, 26, 26, 0.05);
  --shadow-neon-strong: 0 0 20px rgba(255, 26, 26, 0.3), 0 0 60px rgba(255, 26, 26, 0.1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}

/* ----- Scrollbar ----- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon);
}

/* ----- Selection ----- */
::selection {
  background: rgba(255, 26, 26, 0.3);
  color: var(--text-primary);
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p {
  color: var(--text-secondary);
  line-height: 1.75;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--neon);
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

.text-neon {
  color: var(--neon);
}

.text-glow {
  text-shadow: 0 0 10px var(--neon-glow), 0 0 30px rgba(255, 26, 26, 0.1);
}

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section--dark {
  background-color: var(--bg-secondary);
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(9, 9, 9, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border-neon);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.nav-logo .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-logo .logo-accent {
  color: var(--neon);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--neon);
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px var(--neon-glow);
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--border-neon-strong);
  border-radius: var(--radius-md);
  color: var(--neon);
  background: transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.nav-cta:hover {
  background: rgba(255, 26, 26, 0.1);
  border-color: var(--neon);
  box-shadow: var(--shadow-neon);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-normal);
  border-radius: var(--radius-full);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(9, 9, 9, 0.96);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.mobile-nav a:hover {
  color: var(--neon);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon), var(--neon-dark));
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(255, 26, 26, 0.2);
}

.btn-primary:hover {
  box-shadow: var(--shadow-neon-strong);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: var(--shadow-neon);
}

.btn-ghost {
  background: transparent;
  color: var(--neon);
  padding: 10px 20px;
}

.btn-ghost:hover {
  background: rgba(255, 26, 26, 0.06);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 0.8rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.7rem;
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
  padding-top: var(--navbar-height);
}

/* Circuit grid background */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 26, 26, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 26, 26, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
  z-index: 1;
}

/* Scanline overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 2;
}

/* Red ambient glow */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 26, 26, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: glowPulse 6s ease-in-out infinite;
}

.hero-glow-secondary {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 26, 26, 0.05) 0%, transparent 70%);
  top: 30%;
  right: 10%;
  z-index: 1;
  animation: glowPulse 8s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-xl);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
  padding: 8px 20px;
  border: 1px solid var(--border-neon-strong);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2xl);
  background: rgba(255, 26, 26, 0.04);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-glow);
  animation: glowPulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.04em;
}

.hero-title .highlight {
  color: var(--neon);
  text-shadow: 0 0 30px rgba(255, 26, 26, 0.3), 0 0 60px rgba(255, 26, 26, 0.1);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Terminal-style text */
.hero-terminal {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  padding: 16px 24px;
  background: rgba(22, 22, 22, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: inline-block;
  text-align: left;
}

.hero-terminal .prompt {
  color: var(--neon);
}

.hero-terminal .command {
  color: var(--text-secondary);
}

.hero-terminal .cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--neon);
  margin-left: 4px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Floating particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--neon);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-duration: 15s; animation-delay: 2s; }
.particle:nth-child(3) { left: 35%; animation-duration: 10s; animation-delay: 4s; }
.particle:nth-child(4) { left: 50%; animation-duration: 14s; animation-delay: 1s; }
.particle:nth-child(5) { left: 65%; animation-duration: 11s; animation-delay: 3s; }
.particle:nth-child(6) { left: 75%; animation-duration: 13s; animation-delay: 5s; }
.particle:nth-child(7) { left: 85%; animation-duration: 16s; animation-delay: 2.5s; }
.particle:nth-child(8) { left: 92%; animation-duration: 9s; animation-delay: 4.5s; }

/* ==========================================
   STATS BAR
   ========================================== */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-neon);
  border-bottom: 1px solid var(--border-neon);
  padding: var(--space-2xl) 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  position: relative;
  padding: var(--space-md) 0;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--neon);
  text-shadow: 0 0 15px rgba(255, 26, 26, 0.4), 0 0 40px rgba(255, 26, 26, 0.1);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================
   CARDS
   ========================================== */
/* Base Card */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-neon);
  transform: translateY(-4px);
  box-shadow: var(--shadow-neon);
}

/* Path Card */
.path-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--neon);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-xl) var(--space-xl) var(--space-xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.path-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 26, 26, 0.02) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.path-card:hover {
  border-color: var(--border-neon);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 26, 26, 0.08);
}

.path-card:hover::before {
  opacity: 1;
}

.path-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 26, 26, 0.06);
  color: var(--neon);
  margin-bottom: var(--space-md);
  transition: all var(--transition-normal);
}

.path-card:hover .path-icon {
  box-shadow: 0 0 16px rgba(255, 26, 26, 0.15);
}

.path-icon svg {
  width: 24px;
  height: 24px;
}

.path-card h3 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.path-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.path-link {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: gap var(--transition-fast);
}

.path-link:hover {
  gap: var(--space-sm);
}

/* Feature Card */
.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-normal);
  position: relative;
}

.feature-card:hover {
  border-color: var(--border-neon);
  transform: translateY(-4px);
  box-shadow: var(--shadow-neon);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: rgba(255, 26, 26, 0.06);
  color: var(--neon);
  margin-bottom: var(--space-lg);
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
  box-shadow: 0 0 20px rgba(255, 26, 26, 0.15);
  background: rgba(255, 26, 26, 0.1);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Course Card */
.course-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  border-color: var(--border-neon);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), var(--shadow-neon);
}

.course-card-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.course-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.course-card:hover .course-card-image img {
  transform: scale(1.05);
}

.course-card-image .course-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 9, 9, 0.8) 100%);
}

.course-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 26, 26, 0.15);
  border: 1px solid rgba(255, 26, 26, 0.3);
  color: var(--neon);
  backdrop-filter: blur(8px);
}

.course-card-body {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 700;
}

.course-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex: 1;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.course-meta-item svg {
  width: 14px;
  height: 14px;
  color: var(--neon);
}

.course-level {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
}

.course-level--iniciante { color: #4ade80; }
.course-level--intermediario { color: #fbbf24; }
.course-level--avancado { color: var(--neon); }

/* Course Image Placeholder Gradients */
.course-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-img-placeholder svg {
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.15);
}

.course-img-placeholder--redteam {
  background: linear-gradient(135deg, #1a0505 0%, #330a0a 50%, #1a0505 100%);
}
.course-img-placeholder--blueteam {
  background: linear-gradient(135deg, #050a1a 0%, #0a1433 50%, #050a1a 100%);
}
.course-img-placeholder--osint {
  background: linear-gradient(135deg, #0a1a0a 0%, #143314 50%, #0a1a0a 100%);
}
.course-img-placeholder--bugbounty {
  background: linear-gradient(135deg, #1a1505 0%, #332a0a 50%, #1a1505 100%);
}
.course-img-placeholder--pentest {
  background: linear-gradient(135deg, #150520 0%, #200a33 50%, #150520 100%);
}
.course-img-placeholder--redes {
  background: linear-gradient(135deg, #051a1a 0%, #0a3333 50%, #051a1a 100%);
}
.course-img-placeholder--programacao {
  background: linear-gradient(135deg, #0f0a1a 0%, #1a1433 50%, #0f0a1a 100%);
}
.course-img-placeholder--forense {
  background: linear-gradient(135deg, #1a0f05 0%, #331f0a 50%, #1a0f05 100%);
}

/* ==========================================
   SECTION-SPECIFIC
   ========================================== */
/* Paths Grid */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

/* Course Filters */
.course-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--border-light);
  color: var(--text-secondary);
}

.filter-btn.active {
  background: rgba(255, 26, 26, 0.1);
  border-color: var(--border-neon-strong);
  color: var(--neon);
}

/* Search Bar */
.search-bar {
  position: relative;
  max-width: 400px;
  margin-top: var(--space-lg);
}

.search-bar input {
  width: 100%;
  padding: 12px 20px 12px 44px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
}

.search-bar input::placeholder {
  color: var(--text-dim);
}

.search-bar input:focus {
  border-color: var(--border-neon-strong);
  box-shadow: 0 0 0 3px rgba(255, 26, 26, 0.05);
}

.search-bar svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-dim);
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
  padding: var(--space-5xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 26, 26, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  margin-bottom: var(--space-md);
}

.cta-section p {
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
}

.cta-terminal {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: var(--space-2xl);
}

.cta-terminal .prompt {
  color: var(--neon);
}

/* ==========================================
   ABOUT PAGE
   ========================================== */
.about-hero {
  padding: calc(var(--navbar-height) + var(--space-4xl)) 0 var(--space-4xl);
  text-align: center;
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.about-text h2 {
  margin-bottom: var(--space-lg);
}

.about-text p {
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: var(--space-2xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--neon) 0%, var(--bg-tertiary) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-2xl);
  padding-left: var(--space-lg);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-2xl) - 1px);
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon-glow);
  border: 2px solid var(--bg-primary);
}

.timeline-date {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--neon);
  margin-bottom: var(--space-xs);
}

.timeline-item h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.timeline-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================
   LOGIN / AUTH PAGE
   ========================================== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--navbar-height) var(--space-xl) var(--space-xl);
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 26, 26, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 26, 26, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.auth-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
}

.auth-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.auth-header .nav-logo {
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.auth-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  opacity: 0.5;
}

/* Auth Tabs */
.auth-tabs {
  display: flex;
  gap: 2px;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 3px;
  margin-bottom: var(--space-xl);
}

.auth-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.auth-tab.active {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.auth-tab:hover:not(.active) {
  color: var(--text-secondary);
}

/* Form */
.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-input:focus {
  border-color: var(--border-neon-strong);
  box-shadow: 0 0 0 3px rgba(255, 26, 26, 0.06);
}

.form-input-icon {
  position: relative;
}

.form-input-icon svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-dim);
}

.form-input-icon input {
  padding-left: 42px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-lg);
  font-size: 0.8rem;
}

.form-footer a {
  color: var(--neon);
  font-weight: 500;
}

.form-footer a:hover {
  text-decoration: underline;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
  color: var(--text-dim);
  font-size: 0.8rem;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.btn-social {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  transition: all var(--transition-fast);
  background: transparent;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}

.btn-social:hover {
  border-color: var(--border-light);
  background: var(--bg-tertiary);
}

.btn-social svg {
  width: 18px;
  height: 18px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-4xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
  max-width: 280px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer-social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: 0 0 12px rgba(255, 26, 26, 0.15);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.footer-bottom-links a:hover {
  color: var(--text-secondary);
}

/* ==========================================
   PAGE HEADERS (for sub-pages)
   ========================================== */
.page-header {
  padding: calc(var(--navbar-height) + var(--space-4xl)) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 26, 26, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 26, 26, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 30%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 30%, black 10%, transparent 70%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  margin-bottom: var(--space-md);
}

.page-header p {
  max-width: 500px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes glowPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
    transform: translateY(90vh) scale(1);
  }
  90% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-20vh) scale(0.5);
    opacity: 0;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes borderGlow {
  0%, 100% {
    border-color: var(--border-neon);
    box-shadow: 0 0 10px rgba(255, 26, 26, 0.1);
  }
  50% {
    border-color: var(--border-neon-strong);
    box-shadow: 0 0 20px rgba(255, 26, 26, 0.2);
  }
}

/* Scroll-triggered animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.7s var(--ease-out);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.7s var(--ease-out);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays for grids */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }

/* ==========================================
   UTILITIES
   ========================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.mt-auto { margin-top: auto; }
.ml-auto { margin-left: auto; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .paths-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-4xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  /* Navbar */
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: 90vh;
  }

  .hero-terminal {
    font-size: 0.75rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  /* Grids */
  .paths-grid,
  .features-grid,
  .courses-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  /* Auth */
  .auth-container {
    max-width: 100%;
  }

  /* Course Filters */
  .course-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--space-sm);
  }

  .filter-btn {
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  :root {
    --navbar-height: 64px;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }

  .hero-title {
    font-size: 2rem;
  }

  .hero-badge {
    font-size: 0.6rem;
    padding: 6px 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item::after {
    display: none;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.7rem;
  }

  .btn-lg {
    padding: 14px 28px;
  }

  .course-card-image {
    height: 160px;
  }
}

/* ==========================================
   MINIMAL LANDING & GLITCH STYLES
   ========================================== */

/* Hide scrollbar on minimal landing */
body.minimal-landing {
  overflow: hidden;
  background-color: #000;
}

.hero-minimal {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content-minimal {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================
   HIGH-TECH DIAGNOSTIC CONSOLE (SQUARE)
   ========================================== */
.terminal-scan-container {
  position: relative;
  width: 90vw;
  max-width: 420px;
  height: 90vw;
  max-height: 420px;
  background: rgba(9, 9, 9, 0.4);
  border: 1px solid rgba(255, 26, 26, 0.15);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.9), inset 0 0 30px rgba(255, 26, 26, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  overflow: hidden;
  animation: logoFadeIn 2s var(--ease-out) both;
}

.hero-logo-large {
  width: 96%;
  height: 96%;
  object-fit: cover;
  opacity: 0.95;
  filter: contrast(105%) brightness(95%);
  z-index: 2;
  mix-blend-mode: screen;
  user-select: none;
  -webkit-user-drag: none;
  animation: logoPulseGlow 4s ease-in-out infinite;
}

/* Brackets on corners */
.term-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--neon);
  border-style: solid;
  z-index: 10;
  pointer-events: none;
}
.term-tl { top: -2px; left: -2px; border-width: 2px 0 0 2px; }
.term-tr { top: -2px; right: -2px; border-width: 2px 2px 0 0; }
.term-bl { bottom: -2px; left: -2px; border-width: 0 0 2px 2px; }
.term-br { bottom: -2px; right: -2px; border-width: 0 2px 2px 0; }

/* Scan Laser Bar */
.term-scan-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  box-shadow: 0 0 10px var(--neon), 0 0 20px var(--neon);
  z-index: 5;
  animation: scanLaserBox 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scanLaserBox {
  0%, 100% { top: 2%; opacity: 0.1; }
  5%, 95% { opacity: 1; }
  50% { top: 98%; opacity: 1; }
}

/* Grid lines under the logo */
.term-grid-lines {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  background-image: 
    linear-gradient(rgba(255, 26, 26, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 26, 26, 0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

/* Tech HUD readout text labels */
.term-stats {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255, 26, 26, 0.5);
  z-index: 6;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.term-left {
  bottom: 12px;
  left: 12px;
  align-items: flex-start;
}

.term-right {
  bottom: 12px;
  right: 12px;
  align-items: flex-end;
}

@media (max-width: 768px) {
  .term-stats {
    font-size: 7px;
    gap: 2px;
    letter-spacing: 0.5px;
  }
  .term-left {
    bottom: 8px;
    left: 8px;
  }
  .term-right {
    bottom: 8px;
    right: 8px;
  }
  .term-corner {
    width: 12px;
    height: 12px;
  }
  .term-tl { border-width: 1.5px 0 0 1.5px; }
  .term-tr { border-width: 1.5px 1.5px 0 0; }
  .term-bl { border-width: 0 0 1.5px 1.5px; }
  .term-br { border-width: 0 1.5px 1.5px 0; }
}

@keyframes logoPulseGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 26, 26, 0.4)) drop-shadow(0 0 50px rgba(255, 26, 26, 0.15)); }
  50% { filter: drop-shadow(0 0 35px rgba(255, 26, 26, 0.6)) drop-shadow(0 0 70px rgba(255, 26, 26, 0.25)); }
}

/* Enter Button (Minimal) */
.btn-enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  padding: 16px 40px;
  border: 1px solid rgba(255, 26, 26, 0.3);
  border-radius: 2px; /* sharper corners */
  background: rgba(10, 0, 0, 0.5);
  color: var(--neon);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
  animation: btnFadeIn 1s var(--ease-out) 1s both;
  backdrop-filter: blur(4px);
  text-shadow: 0 0 10px rgba(255, 26, 26, 0.5);
}

.btn-enter::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 26, 26, 0.1) 10px, rgba(255, 26, 26, 0.1) 20px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.btn-enter:hover::before { opacity: 1; }
.btn-enter:hover {
  border-color: var(--neon);
  background: rgba(255, 26, 26, 0.1);
  box-shadow: 0 0 20px rgba(255, 26, 26, 0.4), inset 0 0 10px rgba(255, 26, 26, 0.2);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
  color: #fff;
}
.btn-enter:active { transform: scale(0.96); }

/* ==========================================
   INSANE GLITCH TRANSITION
   ========================================== */
.glitch-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  background: #000;
  transition: opacity 0.3s ease;
}

/* Base Canvas Layer */
.glitch-overlay canvas {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  opacity: 0.8;
}

/* Static Noise Layer — lightweight */
.static-noise {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 2;
  opacity: 0.04;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 26, 26, 0.03) 2px,
    rgba(255, 26, 26, 0.03) 4px
  );
}

/* Scanline overlay — static, no animation */
.screen-flicker {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 4;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    rgba(0, 0, 0, 0.1) 1px,
    rgba(0, 0, 0, 0.1) 2px
  );
  opacity: 0.3;
}

/* Hacking Text Layer */
.glitch-text-container {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 3;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-dark);
  overflow: hidden;
}

.hack-line {
  position: absolute;
  white-space: nowrap;
  opacity: 0.7;
  text-shadow: 0 0 5px red;
  animation: hackLineAnim 0.3s steps(4) forwards;
}

@keyframes hackLineAnim {
  0% { opacity: 0; transform: translateX(-10px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateX(10px); }
}

/* Center elements during Glitch */
.glitch-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.glitch-status {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon);
  margin-top: 24px;
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(255, 26, 26, 0.5);
}

/* Progress Bar */
.progress-bar-container {
  width: 400px;
  height: 4px;
  background: rgba(255,0,0,0.2);
  margin-top: 16px;
  position: relative;
  overflow: hidden;
}

.progress-bar {
  position: absolute;
  top: 0; left: 0; height: 100%;
  background: #fff;
  box-shadow: 0 0 15px #fff, 0 0 30px red;
  width: 0%;
  transition: width 0.1s;
}

@keyframes smoothFadeOut {
  0% { background: rgba(0,0,0,0); }
  75% { background: rgba(0,0,0,0.5); }
  90% { background: rgba(0,0,0,1); }
  100% { background: rgba(0,0,0,1); }
}

/* Page Fade-in for smooth navigation */
.page-fade-in {
  animation: pageFadeIn 1s var(--ease-out) forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .hero-logo-large { width: 300px; }
  .glitch-logo-img { width: 250px; }
  .progress-bar-container { width: 250px; }
  .glitch-status { font-size: 0.9rem; letter-spacing: 2px; }
}

.hero-logo {
  width: 280px;
  height: auto;
  margin-bottom: var(--space-2xl);
  filter: drop-shadow(0 0 30px rgba(255, 26, 26, 0.3)) drop-shadow(0 0 60px rgba(255, 26, 26, 0.1));
  animation: logoFadeIn 1.2s var(--ease-out) both, logoFloat 6s ease-in-out infinite 1.2s;
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
    filter: drop-shadow(0 0 0 rgba(255, 26, 26, 0)) brightness(0);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: drop-shadow(0 0 30px rgba(255, 26, 26, 0.3)) drop-shadow(0 0 60px rgba(255, 26, 26, 0.1)) brightness(1);
  }
}

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

/* Enter Button */
.btn-enter {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 18px 48px;
  border: 1px solid var(--neon);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--neon);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  animation: btnFadeIn 0.8s var(--ease-out) 0.8s both;
  z-index: 1;
}

.btn-enter::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--neon), var(--neon-dark));
  z-index: -1;
  transition: left 0.4s var(--ease-out);
}

.btn-enter:hover::before {
  left: 0;
}

.btn-enter:hover {
  color: var(--text-primary);
  box-shadow: var(--shadow-neon-strong);
  transform: translateY(-2px);
}

.btn-enter:active {
  transform: translateY(0) scale(0.98);
}

.btn-enter-icon svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn-enter:hover .btn-enter-icon svg {
  transform: translateX(4px);
}

.btn-enter-text {
  position: relative;
}

/* Pulsing glow animation on idle */
.btn-enter {
  animation: btnFadeIn 0.8s var(--ease-out) 0.8s both, btnGlowPulse 3s ease-in-out infinite 2s;
}

@keyframes btnFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes btnGlowPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 26, 26, 0.1), 0 0 20px rgba(255, 26, 26, 0.05);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 26, 26, 0.25), 0 0 40px rgba(255, 26, 26, 0.1);
  }
}

/* ==========================================
   GLITCH TRANSITION OVERLAY
   ========================================== */
.glitch-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  background: var(--bg-primary);
}

.glitch-overlay.active {
  opacity: 1;
  pointer-events: all;
  animation: glitchFlicker 0.15s steps(2) 3;
}

.glitch-overlay canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Center logo during transition */
.glitch-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  opacity: 0;
  animation: glitchCenterIn 0.5s ease 0.8s both;
}

.glitch-logo {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 0.15em;
  position: relative;
  animation: glitchText 0.1s steps(2) infinite;
}

/* Chromatic aberration layers */
.glitch-logo::before,
.glitch-logo::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-logo::before {
  color: #ff0000;
  z-index: -1;
  animation: glitchLeft 0.3s steps(2) infinite;
}

.glitch-logo::after {
  color: #0000ff;
  z-index: -2;
  animation: glitchRight 0.3s steps(2) infinite;
}

.glitch-status {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--neon);
  margin-top: 16px;
  opacity: 0.8;
  animation: blink 0.8s step-end infinite;
}

/* Scanline during glitch */
.glitch-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 26, 26, 0.02) 2px,
    rgba(255, 26, 26, 0.02) 4px
  );
  animation: scanlineMove 8s linear infinite;
}

.glitch-scanline::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 26, 26, 0.08);
  animation: scanlineSweep 3s linear infinite;
}

/* Glitch Keyframes */
@keyframes glitchFlicker {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0.8; }
}

@keyframes glitchText {
  0% {
    transform: translate(0);
    text-shadow: 0 0 20px rgba(255, 26, 26, 0.5);
  }
  20% {
    transform: translate(-2px, 1px);
  }
  40% {
    transform: translate(2px, -1px);
  }
  60% {
    transform: translate(-1px, -1px);
  }
  80% {
    transform: translate(1px, 2px);
  }
  100% {
    transform: translate(0);
    text-shadow: 0 0 30px rgba(255, 26, 26, 0.7);
  }
}

@keyframes glitchLeft {
  0% { clip-path: inset(40% 0 30% 0); transform: translate(-3px, 0); }
  20% { clip-path: inset(10% 0 70% 0); transform: translate(3px, 0); }
  40% { clip-path: inset(60% 0 10% 0); transform: translate(-2px, 0); }
  60% { clip-path: inset(20% 0 50% 0); transform: translate(2px, 0); }
  80% { clip-path: inset(70% 0 5% 0); transform: translate(-3px, 0); }
  100% { clip-path: inset(30% 0 40% 0); transform: translate(3px, 0); }
}

@keyframes glitchRight {
  0% { clip-path: inset(50% 0 20% 0); transform: translate(3px, 0); }
  20% { clip-path: inset(5% 0 60% 0); transform: translate(-3px, 0); }
  40% { clip-path: inset(30% 0 40% 0); transform: translate(2px, 0); }
  60% { clip-path: inset(70% 0 10% 0); transform: translate(-2px, 0); }
  80% { clip-path: inset(15% 0 55% 0); transform: translate(3px, 0); }
  100% { clip-path: inset(45% 0 25% 0); transform: translate(-3px, 0); }
}

@keyframes glitchCenterIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
  }
}

@keyframes scanlineMove {
  0% { background-position: 0 0; }
  100% { background-position: 0 100vh; }
}

@keyframes scanlineSweep {
  0% { top: -4px; }
  100% { top: 100%; }
}

/* Screen shake when glitch triggers */
.screen-shake {
  animation: screenShake 0.4s ease-in-out;
}

@keyframes screenShake {
  0%, 100% { transform: translate(0); }
  10% { transform: translate(-5px, 3px); }
  20% { transform: translate(5px, -3px); }
  30% { transform: translate(-3px, 5px); }
  40% { transform: translate(3px, -5px); }
  50% { transform: translate(-5px, -3px); }
  60% { transform: translate(5px, 3px); }
  70% { transform: translate(-3px, -5px); }
  80% { transform: translate(3px, 5px); }
  90% { transform: translate(-5px, 3px); }
}

/* Responsive adjustments for hero logo */
@media (max-width: 768px) {
  .hero-logo {
    width: 200px;
  }

  .btn-enter {
    padding: 16px 36px;
    font-size: 0.75rem;
  }

  .glitch-logo {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: 160px;
  }

  .btn-enter {
    padding: 14px 28px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
  }

  .glitch-logo {
    font-size: 2rem;
  }
}

/* ==========================================
   AUTH MESSAGE & PASSWORD STRENGTH
   ========================================== */
.auth-message {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.auth-message.error {
  background: rgba(255, 26, 26, 0.1);
  border: 1px solid rgba(255, 26, 26, 0.3);
  color: #ff6666;
}

.auth-message.success {
  background: rgba(0, 204, 68, 0.1);
  border: 1px solid rgba(0, 204, 68, 0.3);
  color: #00cc44;
}

.password-strength {
  margin-top: 8px;
}

.strength-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.strength-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
}

.strength-label {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
  display: inline-block;
}

/* Button Loader */
.btn-loader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-loader svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================
   DASHBOARD LAYOUT
   ========================================== */
.dashboard-body {
  min-height: 100vh;
  background: var(--bg-primary);
  overflow-x: hidden;
}

.dashboard-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Sidebar */
.dash-sidebar {
  width: 260px;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transition: transform 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.dash-sidebar-header {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.dash-nav {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-family: var(--font-body);
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.dash-nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.dash-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.dash-nav-item.active {
  background: rgba(255, 26, 26, 0.1);
  color: var(--neon);
  border: 1px solid rgba(255, 26, 26, 0.15);
}

.dash-nav-badge {
  margin-left: auto;
  background: var(--neon);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  line-height: 1;
  box-shadow: 0 0 10px rgba(255, 26, 26, 0.4);
}

/* Cores e efeitos dos botões da Comunidade no Sidebar */
.community-item.instagram-sidebar-btn:hover {
  background: linear-gradient(45deg, rgba(240, 148, 51, 0.15), rgba(220, 39, 67, 0.15));
  color: #f09433;
}

.community-item.whatsapp-sidebar-btn:hover {
  background: rgba(35, 211, 102, 0.15);
  color: #25D366;
}

.community-item.discord-sidebar-btn:hover {
  background: rgba(88, 101, 242, 0.15);
  color: #5865F2;
}

/* Rodapé do Sidebar (Botão de Sair com destaque e padding seguro para celular) */
.dash-sidebar-footer {
  padding: 12px 12px calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  position: sticky;
  bottom: 0;
  z-index: 10;
}

.dash-sidebar-footer .dash-nav-item#logoutBtn {
  background: rgba(255, 26, 26, 0.08);
  border: 1px solid rgba(255, 26, 26, 0.25);
  color: #ff4444;
  font-weight: 600;
}

.dash-sidebar-footer .dash-nav-item#logoutBtn:hover {
  background: rgba(255, 26, 26, 0.2);
  border-color: rgba(255, 26, 26, 0.5);
  color: #ffffff;
}

/* Main Content */
.dash-main {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
}

/* Topbar */
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(9, 9, 9, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.dash-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dash-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.dash-menu-toggle svg {
  width: 24px;
  height: 24px;
}

.dash-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.dash-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 26, 26, 0.15);
  border: 1px solid rgba(255, 26, 26, 0.3);
  color: var(--neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.dash-user-info {
  display: flex;
  flex-direction: column;
}

.dash-user-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dash-user-email {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Dashboard Content */
.dash-content {
  padding: 32px;
}

.dash-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.dash-welcome h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.dash-welcome h2 span {
  color: var(--neon);
}

.dash-welcome p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.dash-welcome-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: #00cc44;
  background: rgba(0, 204, 68, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0, 204, 68, 0.2);
}

.dash-status-dot {
  width: 8px;
  height: 8px;
  background: #00cc44;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Stats Grid */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.dash-stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color 0.2s ease;
}

.dash-stat-card:hover {
  border-color: rgba(255, 26, 26, 0.2);
}

.dash-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 26, 26, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-stat-icon svg {
  width: 22px;
  height: 22px;
  color: var(--neon);
}

.dash-stat-info {
  display: flex;
  flex-direction: column;
}

.dash-stat-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dash-stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Empty State */
.dash-empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--bg-secondary);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
}

.dash-empty-icon {
  color: var(--text-dim);
  margin-bottom: 20px;
  opacity: 0.4;
}

.dash-empty h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.dash-empty p {
  font-size: 0.85rem;
  color: var(--text-dim);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Dashboard Responsive */
@media (max-width: 1024px) {
  .dash-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dash-sidebar {
    transform: translateX(-100%);
  }

  .dash-sidebar.open {
    transform: translateX(0);
  }

  .dash-main {
    margin-left: 0;
  }

  .dash-menu-toggle {
    display: block;
  }

  .dash-content {
    padding: 20px;
  }

  .dash-topbar {
    padding: 12px 20px;
  }

  .dash-welcome {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .dash-user-info {
    display: none;
  }
}

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

/* ==========================================
   CONFIG / PROFILE PREMIUM LAYOUT
   ========================================== */
.config-container {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  animation: pageFadeIn 0.8s var(--ease-out) both;
}

.config-left-panel {
  flex: 1;
  max-width: 320px;
  width: 100%;
}

.config-right-panel {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
  width: 100%;
}

.cyber-profile-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-normal);
}

.cyber-profile-card:hover {
  border-color: rgba(255, 26, 26, 0.2);
}

.cyber-profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--neon), transparent);
}

.cyber-avatar-large {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 26, 26, 0.04);
  border: 1px solid var(--neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--neon);
  margin: 0 auto 20px;
  box-shadow: var(--shadow-neon-glow);
  text-shadow: 0 0 10px rgba(255, 26, 26, 0.3);
}

.cyber-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neon);
  border: 1px solid rgba(255, 26, 26, 0.25);
  background: rgba(255, 26, 26, 0.03);
  padding: 4px 14px;
  border-radius: 4px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Role Badges Styling */
.cyber-badge.badge-member {
  color: var(--text-secondary);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
}

.cyber-badge.badge-admin {
  color: #ff9f1a;
  border-color: rgba(255, 159, 26, 0.4);
  background: rgba(255, 159, 26, 0.05);
  text-shadow: 0 0 8px rgba(255, 159, 26, 0.3);
  box-shadow: 0 0 10px rgba(255, 159, 26, 0.05);
}

.cyber-badge.badge-moderator {
  color: #3a86ff;
  border-color: rgba(58, 134, 255, 0.4);
  background: rgba(58, 134, 255, 0.05);
  text-shadow: 0 0 8px rgba(58, 134, 255, 0.3);
  box-shadow: 0 0 10px rgba(58, 134, 255, 0.05);
}

.cyber-badge.badge-developer {
  color: #00f0ff;
  border-color: rgba(0, 240, 255, 0.5);
  background: rgba(0, 240, 255, 0.08);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
  font-weight: bold;
}

.cyber-badge.badge-nor4c {
  color: #00ff66;
  border-color: rgba(0, 255, 102, 0.5);
  background: rgba(0, 255, 102, 0.08);
  text-shadow: 0 0 12px rgba(0, 255, 102, 0.5);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.1);
  font-weight: bold;
}

.cyber-meta-list {
  text-align: left;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cyber-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cyber-meta-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cyber-meta-value {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-family: var(--font-mono);
  word-break: break-all;
}

@media (max-width: 992px) {
  .config-container {
    flex-direction: column;
    align-items: center;
  }
  .config-left-panel, .config-right-panel {
    max-width: 100%;
  }
}

/* ==========================================
   DASHBOARD HOME GRID & CARDS
   ========================================== */
.home-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 769px) {
  .home-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.home-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  min-height: 170px;
}

.home-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.home-card:hover {
  border-color: rgba(255, 26, 26, 0.35);
  box-shadow: var(--shadow-neon-glow);
  transform: translateY(-3px);
}

.home-card:hover::before {
  opacity: 1;
}

.home-card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255, 26, 26, 0.04);
  border: 1px solid rgba(255, 26, 26, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all var(--transition-normal);
}

.home-card:hover .home-card-icon {
  background: rgba(255, 26, 26, 0.08);
  border-color: var(--neon);
  box-shadow: 0 0 10px rgba(255, 26, 26, 0.2);
}

.home-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--neon);
}

.home-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.home-card p {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 36px;
}

.home-card-badge {
  position: absolute;
  bottom: 20px;
  left: 24px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--neon);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.75;
}

/* ==========================================
   DASHBOARD SUB-MENU TREE IN SIDEBAR
   ========================================== */
.dash-sidebar {
  overflow-y: auto;
}

.dash-nav-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.dash-sub-menu {
  padding-left: 24px;
  padding-right: 16px;
  margin-top: 4px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  max-height: 380px;
  overflow-y: auto;
  box-sizing: border-box;
  transition: max-height var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1), opacity var(--transition-normal) ease, margin var(--transition-normal) ease, padding var(--transition-normal) ease;
}

.dash-sub-menu.collapsed {
  max-height: 0 !important;
  opacity: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  pointer-events: none;
  overflow: hidden;
}

.dash-nav-group.collapsed .dropdown-chevron {
  transform: rotate(-90deg);
}

/* Scrollbar fina para o submenu na sidebar */
.dash-sub-menu::-webkit-scrollbar {
  width: 3px;
}
.dash-sub-menu::-webkit-scrollbar-track {
  background: transparent;
}
.dash-sub-menu::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 1.5px;
}
.dash-sub-menu::-webkit-scrollbar-thumb:hover {
  background: var(--neon);
}

.tree-root-label {
  color: var(--neon);
  font-weight: 700;
  font-size: 0.74rem;
  margin-bottom: 8px;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  padding-left: 2px;
}

.tree-children {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tree-line {
  color: rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.branch-char {
  color: rgba(255, 255, 255, 0.18);
  margin-right: 2px;
}

.dash-sub-menu .tree-node {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 0.76rem;
  padding: 3px 6px;
  border-radius: 3px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.dash-sub-menu .tree-node:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.dash-sub-menu .tree-node.active {
  color: var(--neon);
  font-weight: 600;
  text-shadow: 0 0 5px rgba(255, 26, 26, 0.2);
  background: rgba(255, 26, 26, 0.06);
  border: 1px solid rgba(255, 26, 26, 0.2);
}

/* Right side: terminal panel (Full Width) */
.terminal-panel {
  background: #060606;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}

.terminal-header {
  background: #0d0d0d;
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 1.5px;
}

.terminal-body {
  padding: 28px;
  overflow-y: auto;
  min-height: 480px;
}

.terminal-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  border-bottom: 1px dashed rgba(255, 26, 26, 0.15);
  padding-bottom: 12px;
  letter-spacing: 0.5px;
}

.terminal-meta span {
  color: var(--neon);
  font-weight: 700;
}

.terminal-text-content {
  font-family: var(--font-primary);
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.7;
}

/* Responsive Terminal adjustments */
@media (max-width: 768px) {
  .terminal-body {
    padding: 20px;
  }
  .terminal-text-content {
    font-size: 0.85rem;
  }
}

/* ==========================================
   NOR4C — RESPONSIVE MOBILE OPTIMIZATIONS
   ========================================== */

/* Touch Target Accessibility for Menu Toggle */
.dash-menu-toggle {
  padding: 12px;
  margin: -12px; /* Keeps visual position but expands touch target to 48x48px */
}

/* Sidebar Backdrop overlay with premium blur effect */
.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 4, 4, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 95; /* Below sidebar (100) but above content */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.sidebar-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

/* Auth Page / Cards mobile optimizations */
@media (max-width: 480px) {
  .auth-card {
    padding: 24px 20px;
  }
  
  .auth-tabs {
    margin-bottom: var(--space-lg);
  }
  
  .form-group {
    margin-bottom: var(--space-sm);
  }
  
  .glitch-status {
    font-size: 0.75rem !important;
    letter-spacing: 1.5px !important;
    padding: 0 16px;
    text-align: center;
  }
}

/* Config Page Mobile optimizations */
@media (max-width: 576px) {
  .cyber-profile-card {
    padding: 24px 16px;
  }
}

/* Dashboard Home Grid 1-column layout on small screens */
@media (max-width: 576px) {
  .home-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  
  .home-card {
    min-height: auto;
    padding: 20px;
  }
  
  .home-card p {
    margin-bottom: 24px;
  }
  
  .home-card-badge {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: auto;
  }
}

/* Auto-wrapping for terminal command strings */
pre {
  white-space: pre-wrap;
  word-break: break-all;
}

/* ==========================================
   CYBERPUNK MODAL & COURSE CARD SYSTEM
   ========================================== */

/* Modal Backdrop overlay */
.cyber-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200; /* Over everything */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.cyber-modal.active {
  opacity: 1;
  pointer-events: all;
}

/* Modal Content Card */
.cyber-modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-neon-strong);
  box-shadow: 0 0 35px rgba(255, 26, 26, 0.25), inset 0 0 20px rgba(255, 26, 26, 0.05);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyber-modal.active .cyber-modal-content {
  transform: scale(1);
}

/* Modal Header */
.cyber-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.cyber-modal-header h2 {
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  text-transform: uppercase;
  font-family: var(--font-display);
}

.modal-close-btn {
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--neon);
}

/* Modal Body */
.cyber-modal-body {
  padding: 24px;
}

/* Course Grid List Styling */
.courses-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Course Card Premium Layout */
.course-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  border-color: var(--border-neon-strong);
  box-shadow: var(--shadow-neon-glow);
  transform: translateY(-4px);
}

.course-card-image {
  height: 160px;
  position: relative;
  overflow: hidden;
}

.course-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.course-card:hover .course-card-image img {
  transform: scale(1.05);
}

.course-card-image .course-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(9, 9, 9, 0.9), transparent 80%);
  pointer-events: none;
}

.course-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-card-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
  height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-body p {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.course-meta {
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-card-body .btn-primary {
  margin-top: auto;
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 10px;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* Drag and Drop Zone styling */
.upload-zone:hover {
  border-color: var(--neon) !important;
  background: rgba(255, 26, 26, 0.04);
  box-shadow: 0 0 10px rgba(255, 26, 26, 0.1);
}

.upload-zone.dragover {
  border-color: #00ff66 !important;
  background: rgba(0, 255, 102, 0.04);
}

.cover-tab {
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.cover-tab.active {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  box-shadow: 0 0 5px rgba(255, 26, 26, 0.15);
}

/* ==========================================
   PENDING USER & APPROVALS SYSTEM
   ========================================== */
.social-link-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.approval-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all var(--transition-normal);
}

.approval-card:hover {
  border-color: rgba(255, 140, 0, 0.3);
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.05);
}

.approval-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.approval-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.approval-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.approval-info .uid-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.approval-actions {
  display: flex;
  gap: 8px;
}

.btn-approve {
  background: #00cc44;
  color: #fff;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  border-radius: var(--radius-md);
  font-weight: bold;
  transition: all var(--transition-fast);
}

.btn-approve:hover {
  background: #00ff55;
  box-shadow: 0 0 10px rgba(0, 255, 85, 0.3);
}

.btn-reject {
  background: rgba(255, 26, 26, 0.15);
  color: #ff4444;
  border: 1px solid rgba(255, 26, 26, 0.3);
  padding: 8px 16px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-reject:hover {
  background: rgba(255, 26, 26, 0.3);
  color: #fff;
}

/* BANNER DE IMAGEM DOS MÓDULOS (CENTRALIZADO E COM PROPORÇÃO PERFEITA NO PC E MOBILE) */
.module-header-banner {
  width: 100%;
  max-width: 640px;
  height: 320px;
  margin: 0 auto 28px auto;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 26, 26, 0.35);
  position: relative;
  background: #050505;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 26, 26, 0.15);
}

.module-header-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (max-width: 768px) {
  .module-header-banner {
    max-width: 100%;
    height: 220px;
    margin-bottom: 20px;
  }
}

/* ==========================================
   SISTEMA DE NOTIFICAÇÃO FLOATING TOAST CYBERPUNK
   ========================================== */
.cyber-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 420px;
  width: calc(100% - 48px);
}

.cyber-toast {
  pointer-events: auto;
  background: rgba(12, 10, 18, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--neon);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 26, 26, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
}

.cyber-toast.success {
  border-left-color: #00ff66;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 255, 102, 0.2);
}

.cyber-toast.error {
  border-left-color: #ff1a1a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 26, 26, 0.3);
}

.cyber-toast.info {
  border-left-color: #00f0ff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 240, 255, 0.2);
}

.cyber-toast.warning {
  border-left-color: #ffaa00;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 170, 0, 0.2);
}

.cyber-toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cyber-toast-content {
  flex: 1;
  line-height: 1.4;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* ==========================================
   ESTILOS CENTRALIZADOS DAS ABAS DO PAINEL ADMIN
   ========================================== */
.admin-tab-btn {
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  user-select: none;
}

.admin-tab-btn:hover {
  border-color: rgba(255, 26, 26, 0.4);
  color: #ffffff;
  background: rgba(255, 26, 26, 0.08);
}

.admin-tab-btn.active {
  background: rgba(255, 26, 26, 0.15) !important;
  border-color: var(--border-neon) !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(255, 26, 26, 0.25);
}

/* ==========================================
   ESTILOS ULTRA-PROFISSIONAIS DE FORMULÁRIO
   ========================================== */
.form-input, select.form-input, textarea.form-input {
  background: rgba(10, 8, 18, 0.9) !important;
  border: 1px solid var(--border-subtle) !important;
  color: #ffffff !important;
  border-radius: var(--radius-md) !important;
  padding: 12px 16px !important;
  font-family: var(--font-mono) !important;
  font-size: 0.88rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.form-input:focus, select.form-input:focus, textarea.form-input:focus {
  border-color: var(--border-neon) !important;
  box-shadow: 0 0 12px rgba(255, 26, 26, 0.25) !important;
  outline: none !important;
}

select.form-input option {
  background: #0a0812;
  color: #ffffff;
  padding: 10px;
}

.admin-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: all 0.2s ease;
}





