/* ==========================================================================
   DarkZwickTutorial - Cyberpunk Dark Hacker Styling
   ========================================================================== */

:root {
  --bg-pitch: #030305;
  --bg-dark: #0a0a0f;
  --bg-card: rgba(14, 14, 18, 0.92);
  --bg-glass: rgba(18, 18, 24, 0.82);
  
  --cyber-red: #ff1a40;
  --cyber-red-bright: #ff3355;
  --cyber-red-glow: rgba(255, 26, 64, 0.65);
  --cyber-red-dim: rgba(255, 26, 64, 0.22);
  
  --neon-green: #ff1a40;
  --neon-green-dim: rgba(255, 26, 64, 0.25);
  --neon-green-glow: rgba(255, 26, 64, 0.65);
  --neon-cyan: #ffffff;
  --neon-yellow: #ff3355;
  --neon-red: #ff1a40;
  --neon-red-glow: rgba(255, 26, 64, 0.7);

  --text-main: #ffffff;
  --text-muted: #b3b3b3;
  --text-dim: #666666;

  --border-neon: 1px solid rgba(255, 26, 64, 0.4);
  --border-neon-glow: 1px solid rgba(255, 26, 64, 0.85);
  --border-green: 1px solid rgba(255, 26, 64, 0.5);
  --border-yellow: 1px solid rgba(255, 51, 85, 0.6);

  --font-display: 'Orbitron', -apple-system, sans-serif;
  --font-mono: 'Share Tech Mono', 'Fira Code', monospace;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --transition-fast: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-mono);
  background-color: var(--bg-pitch);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at 50% 15%, #180408 0%, var(--bg-pitch) 75%);
  color: var(--text-main);
  line-height: 1.6;
}

/* Custom Selection & Scrollbar */
::selection {
  background: var(--cyber-red);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-pitch);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 26, 64, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyber-red-bright);
  box-shadow: 0 0 10px var(--cyber-red-bright);
}

/* Matrix Rain Canvas */
#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
}

/* Interactive Cursor Glow */
#cyber-cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--cyber-red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--cyber-red), 0 0 24px var(--cyber-red-bright);
  transition: transform 0.05s ease;
}

#cyber-cursor-follower {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid var(--cyber-red-glow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s, transform 0.12s ease-out;
}

/* Utility Glass Panels & Borders */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: var(--border-neon);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), inset 0 0 12px rgba(255, 26, 64, 0.08);
}

.glowing-border {
  border: 1px solid rgba(255, 26, 64, 0.6);
  box-shadow: 0 0 25px rgba(255, 26, 64, 0.3), inset 0 0 15px rgba(255, 26, 64, 0.1);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Helper Text Classes */
.cyber-red { color: var(--cyber-red); }
.text-white { color: #ffffff; }
.neon-green { color: var(--neon-green); }
.green-text { color: var(--neon-green); }
.yellow-text { color: var(--neon-yellow); }
.info-text { color: var(--neon-cyan); }
.highlight-cmd { color: #fff; background: rgba(255, 26, 64, 0.2); padding: 2px 6px; border-radius: 4px; border: 1px solid rgba(255, 26, 64, 0.4); }

/* Logo Styling Across Portal */
.shield-logo-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--cyber-red);
  padding: 2px;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 25px var(--cyber-red-glow), inset 0 0 10px var(--cyber-red-glow);
  animation: pulse-logo 3s infinite ease-in-out;
}

@keyframes pulse-logo {
  0%, 100% {
    box-shadow: 0 0 20px var(--cyber-red-glow), inset 0 0 8px var(--cyber-red-glow);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 35px var(--cyber-red-bright), inset 0 0 15px var(--cyber-red-glow);
    transform: scale(1.05);
  }
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  border: 1.5px solid var(--cyber-red);
  box-shadow: 0 0 12px var(--cyber-red-glow);
  transition: transform 0.2s ease;
}

.brand-logo:hover .nav-logo-img {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 20px var(--cyber-red-bright);
}

.hero-logo-wrapper {
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-img {
  width: 125px;
  height: 125px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--cyber-red);
  padding: 4px;
  background: rgba(8, 12, 20, 0.85);
  box-shadow: 0 0 35px var(--cyber-red-glow), 0 0 70px rgba(255, 26, 64, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-logo-img:hover {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 0 50px var(--cyber-red-bright), 0 0 100px rgba(255, 26, 64, 0.5);
}

/* Glitch Typography Effect */
.glitch-text {
  position: relative;
  display: inline-block;
  color: var(--neon-green);
  text-shadow: 0 0 12px var(--neon-green-glow);
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.glitch-text::before {
  left: 2px;
  text-shadow: -2px 0 var(--neon-cyan);
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch-text::after {
  left: -2px;
  text-shadow: -2px 0 var(--neon-red);
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip: rect(10px, 9999px, 30px, 0); }
  20% { clip: rect(40px, 9999px, 10px, 0); }
  40% { clip: rect(25px, 9999px, 50px, 0); }
  60% { clip: rect(60px, 9999px, 20px, 0); }
  80% { clip: rect(15px, 9999px, 70px, 0); }
  100% { clip: rect(35px, 9999px, 45px, 0); }
}

@keyframes glitch-anim2 {
  0% { clip: rect(50px, 9999px, 20px, 0); }
  25% { clip: rect(10px, 9999px, 60px, 0); }
  50% { clip: rect(70px, 9999px, 30px, 0); }
  75% { clip: rect(20px, 9999px, 80px, 0); }
  100% { clip: rect(40px, 9999px, 10px, 0); }
}

/* Buttons */
.cyber-button {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.primary-btn {
  background: var(--cyber-red);
  color: #ffffff;
  box-shadow: 0 0 20px var(--cyber-red-glow);
}

.primary-btn:hover {
  background: var(--cyber-red-bright);
  box-shadow: 0 0 35px var(--cyber-red), 0 0 12px #ffffff;
  transform: translateY(-2px);
}

.outline-btn {
  background: rgba(255, 26, 64, 0.08);
  color: #ffffff;
  border: 1px solid var(--cyber-red);
}

.outline-btn:hover {
  background: rgba(255, 26, 64, 0.25);
  box-shadow: 0 0 20px var(--cyber-red-glow);
  border-color: var(--cyber-red-bright);
}

.sm-btn {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* ==========================================================================
   ACCESS SCREEN (FULL-SCREEN PASSWORD LOCK)
   ========================================================================== */

.overlay-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(3, 3, 5, 0.96);
  backdrop-filter: blur(16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.overlay-screen.hidden-screen {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.08);
}

.lock-card {
  width: 100%;
  max-width: 460px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(255, 26, 64, 0.5);
  box-shadow: 0 0 50px rgba(255, 26, 64, 0.2), inset 0 0 20px rgba(255, 26, 64, 0.08);
  overflow: hidden;
  border-radius: var(--radius-md);
}

.scanline-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 26, 64, 0.04) 50%,
    rgba(255, 26, 64, 0.04)
  );
  background-size: 100% 4px;
  pointer-events: none;
}

.lock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 26, 64, 0.2);
  padding-bottom: 0.75rem;
  margin-bottom: 1.8rem;
}

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

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ff1a40; }
.dot.yellow { background: #ffffff; }
.dot.green { background: #333333; }

.terminal-badge {
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.lock-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.portal-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  letter-spacing: 1px;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(8, 8, 12, 0.95);
  border: 1px solid rgba(255, 26, 64, 0.4);
  border-radius: var(--radius-sm);
  padding: 0 0.85rem;
  margin-bottom: 1.2rem;
  transition: var(--transition-fast);
}

.input-group:focus-within {
  border-color: var(--cyber-red-bright);
  box-shadow: 0 0 25px var(--cyber-red-dim);
}

.input-prefix {
  color: var(--cyber-red);
  font-family: var(--font-mono);
  font-weight: 700;
  margin-right: 0.5rem;
}

.input-group input {
  width: 100%;
  padding: 0.9rem 0;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.input-group input::placeholder {
  color: #737373;
  letter-spacing: 1px;
}

.toggle-pwd {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.toggle-pwd:hover {
  color: var(--cyber-red);
}

#access-btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* Error Banner & Shake Animation */
.error-banner {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 26, 64, 0.18);
  border: 1px solid var(--cyber-red);
  border-radius: var(--radius-sm);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  animation: shake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.error-banner.hidden {
  display: none;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.terminal-footer-info {
  margin-top: 1.8rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  border-top: 1px dashed rgba(0, 255, 102, 0.12);
  padding-top: 1rem;
}

.blink-cursor {
  color: var(--neon-green);
  animation: blink 1s infinite;
}

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

/* ==========================================================================
   MAIN DASHBOARD & HEADER
   ========================================================================== */

.portal-dashboard {
  position: relative;
  z-index: 10;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.portal-dashboard.locked {
  display: none;
}

.cyber-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  background: rgba(10, 10, 15, 0.92);
  border-bottom: 1px solid rgba(255, 26, 64, 0.35);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: #ffffff;
}

.logo-icon {
  color: var(--cyber-red);
  filter: drop-shadow(0 0 8px var(--cyber-red));
}

.nav-menu {
  display: flex;
  gap: 1.8rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  text-shadow: 0 0 12px var(--cyber-red-glow);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyber-red);
  box-shadow: 0 0 10px var(--cyber-red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.icon-btn {
  background: rgba(255, 26, 64, 0.1);
  border: 1px solid var(--cyber-red);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.icon-btn:hover {
  background: var(--cyber-red);
  box-shadow: 0 0 15px var(--cyber-red-glow);
  color: #ffffff;
}

.cyber-pill-link {
  font-size: 0.8rem;
  color: #ffffff;
  background: rgba(255, 26, 64, 0.15);
  border: 1px solid var(--cyber-red);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.cyber-pill-link:hover {
  background: var(--cyber-red);
  box-shadow: 0 0 18px var(--cyber-red-glow);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding: 5rem 1.5rem 3rem;
  position: relative;
  text-align: center;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.cyber-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 26, 64, 0.12);
  border: 1px solid var(--cyber-red);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px var(--cyber-red-dim);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--cyber-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyber-red);
  animation: blink 1.2s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: 1.5px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  letter-spacing: 1px;
}

/* Website Link Card */
.website-link-card {
  padding: 1.5rem 2rem;
  margin-bottom: 1.8rem;
  text-align: left;
  border: 1px solid rgba(255, 26, 64, 0.45);
  background: var(--bg-card);
  box-shadow: 0 0 30px rgba(255, 26, 64, 0.15);
  border-radius: var(--radius-md);
}

.link-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
}

.link-field-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.link-icon {
  font-size: 1.3rem;
}

.link-url-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  word-break: break-all;
  text-shadow: 0 0 12px var(--cyber-red-glow);
}

.link-url-text:hover {
  color: var(--cyber-red-bright);
  text-decoration: underline;
}

.copy-btn {
  background: rgba(255, 26, 64, 0.15);
  border: 1px solid var(--cyber-red);
  color: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-fast);
  margin-left: auto;
}

.copy-btn:hover {
  background: var(--cyber-red);
  color: #ffffff;
  box-shadow: 0 0 18px var(--cyber-red-bright);
}

.visit-btn {
  background: var(--cyber-red);
  color: #ffffff;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition-fast);
  box-shadow: 0 0 15px var(--cyber-red-glow);
}

.visit-btn:hover {
  background: var(--cyber-red-bright);
  box-shadow: 0 0 25px var(--cyber-red);
  transform: translateY(-2px);
}

/* VPN WARNING CARD (Required Notice) */
.vpn-warning-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem 1.8rem;
  text-align: left;
  background: rgba(20, 5, 8, 0.92);
  border: 1px solid var(--cyber-red);
  box-shadow: 0 0 35px rgba(255, 26, 64, 0.25);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.warning-icon-wrapper {
  font-size: 2.2rem;
  flex-shrink: 0;
  animation: pulse-warn 2s infinite ease-in-out;
}

@keyframes pulse-warn {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px var(--cyber-red)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 18px var(--cyber-red-bright)); }
}

.warning-content {
  flex-grow: 1;
}

.warning-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.warning-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
}

.vpn-pill-badge {
  background: var(--cyber-red);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 1px;
  box-shadow: 0 0 10px var(--cyber-red-glow);
}

.warning-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.5;
}

/* ==========================================================================
   TERMINAL WIDGET SECTION
   ========================================================================== */

.terminal-widget-section {
  padding: 2rem 0 3.5rem;
}

.terminal-window {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 26, 64, 0.45);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

.terminal-bar {
  background: #0f080c;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 26, 64, 0.25);
}

.terminal-title {
  font-size: 0.82rem;
  color: #ffffff;
  font-weight: 700;
}

.terminal-status {
  font-size: 0.72rem;
  color: var(--cyber-red);
}

.terminal-body {
  padding: 1.2rem;
  min-height: 180px;
  max-height: 240px;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.6;
  background: rgba(5, 5, 8, 0.96);
}

.terminal-line {
  margin-bottom: 0.35rem;
  word-break: break-all;
}

.prompt-text {
  color: var(--cyber-red);
  font-weight: 700;
  margin-right: 0.5rem;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.2rem;
  background: #080509;
  border-top: 1px solid rgba(255, 26, 64, 0.2);
}

.terminal-input-row input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

/* ==========================================================================
   COURSE TUTORIALS SECTION & CARDS GRID
   ========================================================================== */

.courses-section {
  padding: 4rem 0 5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  font-size: 0.82rem;
  color: var(--cyber-red);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.section-description {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1rem;
}

/* Responsive Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

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

.video-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(255, 26, 64, 0.3);
  border-radius: var(--radius-md);
}

.video-card:hover {
  transform: translateY(-8px);
  border-color: var(--cyber-red-bright);
  box-shadow: 0 15px 35px rgba(255, 26, 64, 0.3), inset 0 0 20px rgba(255, 26, 64, 0.1);
}

.card-thumbnail-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  overflow: hidden;
}

.card-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .card-thumbnail {
  transform: scale(1.08);
}

.thumbnail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 8, 0.95), rgba(5, 5, 8, 0.25));
  transition: opacity 0.3s;
}

.play-btn-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  background: rgba(255, 26, 64, 0.25);
  border: 2px solid var(--cyber-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px var(--cyber-red-glow);
  transition: var(--transition-fast);
}

.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 4px;
}

.video-card:hover .play-btn-circle {
  background: var(--cyber-red);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 40px var(--cyber-red-bright);
}

.video-card:hover .play-icon {
  border-color: transparent transparent transparent #ffffff;
}

.duration-badge {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid var(--cyber-red);
  color: #ffffff;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-tag {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: var(--cyber-red);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.card-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed rgba(255, 26, 64, 0.2);
  padding-top: 1rem;
}

.file-spec {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
  padding: 3rem 0 6rem;
}

.about-card {
  padding: 3rem 2.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 850px) {
  .about-grid {
    grid-template-columns: 3fr 2fr;
  }
}

.about-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.about-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 26, 64, 0.05);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 26, 64, 0.2);
}

.bullet-icon {
  font-size: 1.4rem;
}

.neon-link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 700;
}

.about-stats-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.stat-box {
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid rgba(255, 26, 64, 0.3);
  border-radius: var(--radius-sm);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.green-glow {
  color: var(--cyber-red);
  text-shadow: 0 0 15px var(--cyber-red-glow);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.cyber-footer {
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-bottom: none;
  padding: 2rem 0;
  margin-top: 2rem;
  background: rgba(5, 5, 8, 0.96);
  border-top: 1px solid rgba(255, 26, 64, 0.3);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  border: 1.5px solid var(--cyber-red);
  box-shadow: 0 0 12px var(--cyber-red-glow);
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
}

.footer-url a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--cyber-red);
  font-weight: 700;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: var(--cyber-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyber-red);
}

/* ==========================================================================
   VIDEO MODAL POPUP
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(3, 3, 5, 0.95);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.modal-backdrop.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-dialog {
  width: 100%;
  max-width: 960px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--cyber-red);
  box-shadow: 0 0 60px rgba(255, 26, 64, 0.35);
  transform: scale(1);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--radius-md);
}

.modal-backdrop.hidden .modal-dialog {
  transform: scale(0.92);
}

.modal-header {
  padding: 1rem 1.5rem;
  background: #0f080c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 26, 64, 0.3);
}

.modal-badge {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: var(--cyber-red);
  font-weight: 700;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.close-btn {
  background: rgba(255, 26, 64, 0.2);
  border: 1px solid var(--cyber-red);
  color: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.close-btn:hover {
  background: var(--cyber-red);
  color: #ffffff;
  box-shadow: 0 0 15px var(--cyber-red);
}

.modal-body {
  padding: 0;
  background: #000000;
}

.video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  position: relative;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  outline: none;
}

.modal-footer {
  padding: 1rem 1.5rem;
  background: #0a0609;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 26, 64, 0.2);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-file-info .sep {
  margin: 0 0.5rem;
  color: var(--text-dim);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE, TABLET, LAPTOP)
   ========================================================================== */

/* Laptop & Large Desktop (1024px+) */
@media (min-width: 1024px) {
  .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
  }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  .container {
    padding: 0 1.25rem;
  }

  .about-card {
    padding: 2rem 1.5rem;
  }
  
  .terminal-card {
    margin: 0;
  }
}

/* Mobile & Small Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .cyber-header {
    padding: 0.75rem 1rem;
  }

  .header-container {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
  }
  
  .nav-menu {
    gap: 0.85rem;
    font-size: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    max-width: 100%;
  }

  .hero-section {
    padding: 3.5rem 1rem 2rem;
  }

  .website-link-card, .vpn-warning-card {
    padding: 1.2rem;
  }

  .link-field-group {
    flex-direction: column;
    align-items: stretch;
  }

  .link-url-text {
    font-size: 1rem;
    word-break: break-all;
  }

  .copy-btn {
    width: 100%;
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
    justify-content: center;
  }

  .warning-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .modal-dialog {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
  }

  .modal-backdrop {
    padding: 0.75rem;
  }

  .modal-footer {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .modal-file-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .modal-file-info .sep {
    display: none;
  }
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
  .access-card {
    padding: 2rem 1.25rem;
    width: 94vw;
  }

  .portal-title {
    font-size: 1.3rem;
  }

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

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .brand-logo .logo-text {
    font-size: 1rem;
  }

  .cyber-pill-link {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
  }

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

  .terminal-input-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .terminal-input-row .prompt-text {
    font-size: 0.8rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .footer-brand {
    flex-direction: column;
  }
}
