/* --- CYVORASEC DESIGN SYSTEM & STYLE SHEET --- */

:root {
  /* HSL Color Palette */
  --bg-primary: #08090c;
  --bg-secondary: #0f1115;
  --bg-card: rgba(15, 17, 23, 0.7);
  
  --color-cyan: #00f0ff;
  --color-cyan-glow: rgba(0, 240, 255, 0.4);
  --color-green: #00ff66;
  --color-green-glow: rgba(0, 255, 102, 0.3);
  --color-orange: #ff9f00;
  --color-orange-glow: rgba(255, 159, 0, 0.3);
  --color-red: #ff3366;
  --color-red-glow: rgba(255, 51, 102, 0.35);
  
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-glow: rgba(0, 240, 255, 0.15);
  --border-glow-focus: rgba(0, 240, 255, 0.5);
  
  --font-title: 'Orbitron', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Inter', sans-serif;
}

/* Base resets & scrollbar overrides */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan);
}

/* Cyber Matrix Grid Background & Orbs */
.grid-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  z-index: -2;
  pointer-events: none;
}

.grid-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, transparent 10%, var(--bg-primary) 85%);
  pointer-events: none;
}

.glow-orb {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
}
.orb-1 {
  background-color: var(--color-cyan);
  top: -150px;
  left: -150px;
  animation: float 25s infinite ease-in-out alternate;
}
.orb-2 {
  background-color: var(--color-green);
  bottom: -150px;
  right: -150px;
  animation: float 20s infinite ease-in-out alternate-reverse;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 80px) scale(1.1); }
  100% { transform: translate(-30px, -40px) scale(0.9); }
}

/* Main Layout & App Container */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  z-index: 1;
}

/* Header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(8, 9, 12, 0.6);
  backdrop-filter: blur(10px);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  font-size: 1.5rem;
  color: var(--color-cyan);
  filter: drop-shadow(0 0 8px var(--color-cyan));
  animation: pulse 2s infinite ease-in-out;
}

.logo-text {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 2px;
}

.cyan-glow {
  color: var(--color-cyan);
  text-shadow: 0 0 10px var(--color-cyan-glow);
}

.security-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.15);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.status-indicator.live {
  background-color: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
  animation: blink-indicator 1.5s infinite;
}

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

/* Viewport & View Sections */
.viewport {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 2rem;
  min-height: calc(100vh - 120px);
}

.gate-section {
  display: none;
  width: 100%;
  max-width: 550px;
  animation: fade-in-scale 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.gate-section.active {
  display: block;
}

@keyframes fade-in-scale {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* Glassmorphism Panel cards */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.card-glow-wrapper {
  position: relative;
}

.card-glow-wrapper::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, transparent 60%, rgba(0, 255, 102, 0.05) 100%);
  z-index: -1;
  pointer-events: none;
}

.login-card {
  padding: 2.5rem;
}

.card-header {
  margin-bottom: 2rem;
}

.gate-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: var(--color-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.gate-tag.warning {
  color: var(--color-orange);
  background: rgba(255, 159, 0, 0.08);
  border: 1px solid rgba(255, 159, 0, 0.2);
}

.card-header h2 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Cyber Form Inputs & Layout */
.cyber-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.input-wrapper {
  position: relative;
  display: flex;
}

.input-wrapper input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.input-wrapper input::placeholder {
  color: #4a5568;
}

.input-wrapper input:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
  background: rgba(0, 0, 0, 0.55);
}

/* Input Focus Glow Line */
.input-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-cyan);
  transition: width 0.3s ease, left 0.3s ease;
}

.input-wrapper input:focus ~ .input-glow {
  width: 100%;
  left: 0;
  box-shadow: 0 0 8px var(--color-cyan);
}

/* CSS variables tweak for Warning Gate 2 inputs */
#gate2 .input-wrapper input:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 10px rgba(255, 159, 0, 0.15);
}
#gate2 .input-glow {
  background-color: var(--color-orange);
}
#gate2 .input-wrapper input:focus ~ .input-glow {
  box-shadow: 0 0 8px var(--color-orange);
}

/* Premium Buttons styling */
.cyber-btn {
  position: relative;
  padding: 0.9rem;
  background: transparent;
  border: 1px solid var(--color-cyan);
  color: var(--color-cyan);
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.cyber-btn.primary-btn {
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
  box-shadow: inset 0 0 8px rgba(0, 240, 255, 0.05);
}

.btn-slider {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.25), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

.cyber-btn:hover {
  background: rgba(0, 240, 255, 0.07);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25), inset 0 0 8px rgba(0, 240, 255, 0.1);
  text-shadow: 0 0 8px var(--color-cyan);
}

.cyber-btn:hover .btn-slider {
  left: 100%;
}

.cyber-btn:active {
  transform: scale(0.98);
}

/* Warning button style (Gate 2) */
.warning-btn {
  border-color: var(--color-orange);
  color: var(--color-orange);
  text-shadow: 0 0 8px rgba(255, 159, 0, 0.3);
  box-shadow: inset 0 0 8px rgba(255, 159, 0, 0.05);
}
.warning-btn:hover {
  background: rgba(255, 159, 0, 0.07);
  box-shadow: 0 0 15px rgba(255, 159, 0, 0.25), inset 0 0 8px rgba(255, 159, 0, 0.1);
  text-shadow: 0 0 8px var(--color-orange);
}
.warning-btn .btn-slider {
  background: linear-gradient(90deg, transparent, rgba(255, 159, 0, 0.25), transparent);
}

/* Success button style */
.success-btn {
  border-color: var(--color-green);
  color: var(--color-green);
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.3);
  box-shadow: inset 0 0 8px rgba(0, 255, 102, 0.05);
}
.success-btn:hover {
  background: rgba(0, 255, 102, 0.07);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.25), inset 0 0 8px rgba(0, 255, 102, 0.1);
  text-shadow: 0 0 8px var(--color-green);
}
.success-btn .btn-slider {
  background: linear-gradient(90deg, transparent, rgba(0, 255, 102, 0.25), transparent);
}

/* Terminal Console Box */
.terminal-console {
  background: rgba(4, 5, 8, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
}

.terminal-header {
  background: rgba(20, 22, 28, 0.9);
  padding: 0.5rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.terminal-dot.red { background-color: var(--color-red); }
.terminal-dot.yellow { background-color: var(--color-orange); }
.terminal-dot.green { background-color: var(--color-green); }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-left: 0.4rem;
  flex-grow: 1;
}

.terminal-body {
  padding: 1rem;
  height: 120px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  line-height: 1.4;
}

/* Logs Text Types */
.log-line {
  word-break: break-all;
}
.log-line.system {
  color: var(--text-muted);
}
.log-line.info {
  color: var(--color-cyan);
}
.log-line.warning {
  color: var(--color-orange);
}
.log-line.error {
  color: var(--color-red);
  text-shadow: 0 0 4px rgba(255, 51, 102, 0.2);
  animation: flicker-error 0.3s ease-out;
}
.log-line.success {
  color: var(--color-green);
  text-shadow: 0 0 4px rgba(0, 255, 102, 0.2);
}

@keyframes flicker-error {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Warnings layout tweaks for terminal */
.warning-console {
  border-color: rgba(255, 159, 0, 0.15);
}

/* --- HEAVY VAULT DOOR CURTAINS --- */
.curtains-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  display: flex;
  overflow: hidden;
  pointer-events: none; /* Allows click through when curtains are hidden/open */
}

.curtains-container.hidden {
  display: none;
}

.curtain {
  position: absolute;
  top: 0;
  width: 50vw;
  height: 100vh;
  background: radial-gradient(circle at center, #1b1e26 0%, #0d0f14 100%);
  transition: transform 1.6s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  align-items: center;
  pointer-events: auto; /* Catch clicks while active */
  z-index: 101;
}

.left-curtain {
  left: 0;
  border-right: 2px solid var(--color-cyan);
  box-shadow: 5px 0 25px rgba(0, 240, 255, 0.2);
  transform: translateX(0);
}

.right-curtain {
  right: 0;
  border-left: 2px solid var(--color-cyan);
  box-shadow: -5px 0 25px rgba(0, 240, 255, 0.2);
  transform: translateX(0);
}

/* Slide open movements */
.curtains-container.open .left-curtain {
  transform: translateX(-100%);
}

.curtains-container.open .right-curtain {
  transform: translateX(100%);
}

/* Heavy Steel door texture lines */
.door-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 12px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0%, transparent 10%, transparent 90%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
}

.door-edge-glow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--color-cyan);
  box-shadow: 0 0 15px var(--color-cyan);
}
.left-curtain .door-edge-glow { right: 0; }
.right-curtain .door-edge-glow { left: 0; }

/* Mechanical Core Lock in Center */
.lock-half {
  position: absolute;
  top: 50%;
  width: 140px;
  height: 200px;
  background: #11131a;
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--text-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 102;
  transition: border-color 0.5s ease;
}

.left-lock {
  right: -1px;
  border-radius: 12px 0 0 12px;
  border-right: none;
  justify-content: flex-end;
  padding-right: 1rem;
  box-shadow: -5px 5px 15px rgba(0,0,0,0.5);
}

.right-lock {
  left: -1px;
  border-radius: 0 12px 12px 0;
  border-left: none;
  justify-content: flex-start;
  padding-left: 1rem;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.5);
}

.lock-brand {
  position: relative;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.left-lock .lock-brand::after {
  content: '';
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 30px;
  background-color: var(--color-cyan);
  border-radius: 3px 0 0 3px;
  box-shadow: 0 0 8px var(--color-cyan);
}

.right-lock .lock-brand::before {
  content: '';
  position: absolute;
  left: -11px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 30px;
  background-color: var(--color-cyan);
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 8px var(--color-cyan);
}

/* Unlocking message layout (centered overlay) */
.unlocking-display {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 105;
  text-align: center;
  background: rgba(8, 9, 12, 0.95);
  border: 1px solid var(--color-cyan);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.25);
  border-radius: 8px;
  padding: 2.2rem 3rem;
  width: 380px;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.curtains-container.open .unlocking-display {
  opacity: 0;
}

.unlock-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--color-cyan);
  text-shadow: 0 0 10px var(--color-cyan-glow);
  margin-bottom: 0.5rem;
  animation: pulse 1.5s infinite;
}

.unlock-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.progress-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background-color: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.02); opacity: 0.85; }
}

/* --- GATE 3: THE COMPLETED CTF DASHBOARD --- */
#gate3 {
  max-width: 1100px;
  width: 100%;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  height: 620px;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
  background: rgba(12, 14, 18, 0.7);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.sidebar-header {
  margin-bottom: 2rem;
}

.sidebar-header h3 {
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.badge.green {
  color: var(--color-green);
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.2);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-item:hover:not(.disabled) {
  color: var(--color-cyan);
  background: rgba(0, 240, 255, 0.05);
}

.nav-item.active {
  color: var(--color-cyan);
  background: rgba(0, 240, 255, 0.08);
  border-left: 3px solid var(--color-cyan);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.nav-item.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.sidebar-footer {
  margin-top: auto;
}

.congrats-banner {
  background: rgba(0, 255, 102, 0.05);
  border: 1px solid rgba(0, 255, 102, 0.15);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.sparkle {
  font-size: 1.2rem;
  animation: bounce 2s infinite ease-in-out;
}

.banner-text strong {
  font-size: 0.8rem;
  color: var(--color-green);
  display: block;
  margin-bottom: 0.2rem;
}

.banner-text p {
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

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

/* Dashboard Main Pane */
.dashboard-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.main-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.2);
}

.doc-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-cyan);
  background: rgba(0, 240, 255, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.4rem;
}

.doc-title-area h2 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.flag-reveal-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.flag-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.flag-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-green);
  text-shadow: 0 0 10px var(--color-green-glow);
  background: rgba(0, 255, 102, 0.08);
  border: 1px dashed rgba(0, 255, 102, 0.3);
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  letter-spacing: 1px;
}

.select-all {
  user-select: all;
  -webkit-user-select: all;
}

/* Scrollable main content */
.main-content {
  padding: 2.2rem;
  overflow-y: auto;
  flex-grow: 1;
}

.intel-article {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 0.8rem;
  margin-bottom: 1.5rem;
}

.article-meta strong {
  color: var(--text-secondary);
}

.intel-article h3 {
  font-family: var(--font-title);
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
}

.intel-article p {
  margin-bottom: 1.2rem;
}

.intel-article blockquote {
  border-left: 3px solid var(--color-cyan);
  background: rgba(0, 240, 255, 0.03);
  padding: 1.2rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 1.8rem 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-primary);
}

/* Steganography Layout Grid inside Article */
.steg-showcase {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.8rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.steg-image-container {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#steg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(rgba(0, 240, 255, 0.1) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.5rem;
}

.img-tag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--color-cyan);
  background: rgba(0, 0, 0, 0.7);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  align-self: flex-start;
  letter-spacing: 0.5px;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

/* Neon Scanline effect for image */
.scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
  animation: scan 4s infinite linear;
}

@keyframes scan {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

/* Download details panel */
.steg-download-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.steg-download-card h4 {
  font-family: var(--font-title);
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

.steg-download-card p {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.steg-download-card .desc-text {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 1.2rem;
}

.download-btn {
  align-self: flex-start;
  padding: 0.65rem 1.2rem;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
}

/* Footer Styling */
.main-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(6, 7, 10, 0.8);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.footer-divider {
  margin: 0 0.5rem;
  opacity: 0.3;
}

/* Utility Helpers */
.text-danger {
  color: var(--color-red) !important;
}

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

.hidden {
  display: none !important;
}

/* Responsive Scaling details */
@media (max-width: 768px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
    height: auto;
  }
  .dashboard-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .steg-showcase {
    grid-template-columns: 1fr;
  }
  .main-header {
    padding: 1rem 1.5rem;
  }
  .main-footer {
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .viewport {
    padding: 1rem;
  }
  .login-card {
    padding: 1.5rem;
  }
  .unlocking-display {
    width: calc(100% - 40px);
  }
}
