@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Chakra+Petch:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --color-bg: #050814;
  --color-primary: #00f0ff;
  --color-primary-glow: rgba(0, 240, 255, 0.4);
  --color-secondary: #00ff66;
  --color-secondary-glow: rgba(0, 255, 102, 0.4);
  --color-danger: #ff003c;
  --color-text: #e0f2fe;
  --color-text-muted: #8ba3b8;
  --color-surface: rgba(10, 15, 30, 0.7);
  --color-surface-border: rgba(0, 240, 255, 0.2);
  
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Chakra Petch', sans-serif;

  --hud-border: 1px solid var(--color-surface-border);
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Grid & 3D Canvas */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(var(--color-surface-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-surface-border) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}

.scanline {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 10px;
  background: var(--color-primary-glow);
  opacity: 0.4;
  z-index: -1;
  animation: scan 8s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  0% { transform: translateY(-10px); }
  100% { transform: translateY(100vh); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
}

h1.glitch {
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 0 10px var(--color-primary);
  position: relative;
}

@media (max-width: 768px) {
  h1.glitch {
    font-size: 1.8rem;
  }
}

/* HUD Header Navigation */
.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: linear-gradient(180deg, rgba(5,8,20,0.9) 0%, rgba(5,8,20,0) 100%);
  border-bottom: 2px solid var(--color-primary);
  box-shadow: 0 5px 20px var(--color-primary-glow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.hud-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hud-logo img {
  height: 50px;
  filter: drop-shadow(0 0 5px var(--color-primary));
}

.hud-logo-text {
  display: flex;
  flex-direction: column;
}

.hud-logo-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 1px;
}

.hud-logo-subtitle {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hud-nav {
  display: flex;
  gap: 2rem;
}

.hud-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
}

.hud-nav a::before, .hud-nav a::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.hud-nav a::before {
  top: 0;
  left: 0;
  border-top-color: var(--color-primary);
  border-left-color: var(--color-primary);
}

.hud-nav a::after {
  bottom: 0;
  right: 0;
  border-bottom-color: var(--color-primary);
  border-right-color: var(--color-primary);
}

.hud-nav a:hover, .hud-nav a.active {
  background: var(--color-primary-glow);
  color: #fff;
  text-shadow: 0 0 5px #fff;
  border-color: var(--color-primary);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 5px;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.3s;
}

.mobile-menu-btn:hover {
  background: var(--color-primary-glow);
  box-shadow: 0 0 10px var(--color-primary-glow);
}

@media (max-width: 992px) {
  .hud-header {
    flex-wrap: wrap;
    padding: 1rem;
  }
  .hud-logo {
    max-width: calc(100% - 50px);
  }
  .hud-logo-title {
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
  .hud-logo-subtitle {
    display: none; /* Hide subtitle to save space */
  }
  .mobile-menu-btn {
    display: block;
  }
  .hud-nav {
    display: none; /* Hide by default */
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem 0;
    text-align: center;
    background: rgba(2, 6, 23, 0.95);
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(10px);
    z-index: 1000;
  }
  .hud-nav.show {
    display: flex;
    animation: fadeIn 0.3s forwards;
  }
}


/* Containers */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

/* Mechanical/Cyberpunk Cards */
.cyber-card {
  background: var(--color-surface);
  border: var(--hud-border);
  position: relative;
  padding: 2rem;
  backdrop-filter: blur(10px);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  transition: transform 0.3s, box-shadow 0.3s;
}

.page-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--color-primary-glow);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  gap: 1rem;
}

.page-header-actions {
  display: flex;
  gap: 10px;
}

@media (max-width: 768px) {
  .page-header-flex {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-header-actions {
    margin-top: 10px;
  }
}

.cyber-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
}

.cyber-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--color-primary-glow);
}

.card-title {
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  background: var(--color-primary);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* Buttons */
.cyber-btn {
  display: inline-block;
  background: transparent;
  color: var(--color-primary);
  font-family: var(--font-display);
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--color-primary);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  transition: 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}

.cyber-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.4), transparent);
  transition: 0.5s;
}

.cyber-btn:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 15px var(--color-primary-glow);
}

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

.cyber-btn.danger {
  color: var(--color-danger);
  border-color: var(--color-danger);
}
.cyber-btn.danger::after {
  background: linear-gradient(90deg, transparent, rgba(255, 0, 60, 0.4), transparent);
}
.cyber-btn.danger:hover {
  background: rgba(255, 0, 60, 0.1);
  box-shadow: 0 0 15px rgba(255, 0, 60, 0.4);
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.flex { display: flex; }
.grid { display: grid; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Glitch Animation */
.glitch-wrapper {
  position: relative;
  display: inline-block;
}

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

.glitch::before {
  left: 2px;
  text-shadow: -1px 0 var(--color-danger);
  clip-path: inset(44% 0 44% 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -1px 0 var(--color-primary);
  clip-path: inset(44% 0 44% 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip-path: inset(10% 0 17% 0); }
  20% { clip-path: inset(32% 0 86% 0); }
  40% { clip-path: inset(66% 0 93% 0); }
  60% { clip-path: inset(98% 0 44% 0); }
  80% { clip-path: inset(23% 0 98% 0); }
  100% { clip-path: inset(45% 0 28% 0); }
}

@keyframes glitch-anim2 {
  0% { clip-path: inset(29% 0 17% 0); }
  20% { clip-path: inset(10% 0 8% 0); }
  40% { clip-path: inset(40% 0 55% 0); }
  60% { clip-path: inset(78% 0 86% 0); }
  80% { clip-path: inset(9% 0 34% 0); }
  100% { clip-path: inset(54% 0 68% 0); }
}

/* Footer */
.hud-footer {
  border-top: 1px solid var(--color-primary);
  padding: 1.5rem;
  text-align: center;
  margin-top: 5rem;
  background: rgba(5,8,20,0.8);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Lightbox styles */
.cyber-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cyber-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.cyber-lightbox .lightbox-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 20, 0.95);
    backdrop-filter: blur(5px);
}

/* --- Filter & Tags Styles --- */
.cyber-filter-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  background: rgba(0, 240, 255, 0.05);
  padding: 1rem;
  border: 1px solid var(--color-primary-glow);
  border-radius: 4px;
}

.album-item {
  position: relative;
  height: 250px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  overflow: hidden;
  background: rgba(5, 8, 20, 0.6);
  cursor: pointer;
  transition: all 0.4s ease;
}

/* --- Vertical Timeline for Albums --- */
.album-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.album-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary-glow);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  top: 40px;
  background: rgba(5, 8, 20, 0.9);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 5px 15px;
  box-shadow: 0 0 10px var(--color-primary-glow);
  z-index: 10;
  text-align: center;
  white-space: nowrap;
}

.timeline-item.left .timeline-dot {
  right: 0;
  transform: translate(50%, -50%);
}

.timeline-item.right .timeline-dot {
  left: 0;
  transform: translate(-50%, -50%);
}

/* Connecting Line */
.timeline-item::after {
  content: '';
  position: absolute;
  top: 40px;
  height: 2px;
  background: var(--color-primary);
  box-shadow: 0 0 5px var(--color-primary-glow);
  width: 40px;
  z-index: 1;
  transform: translateY(-50%);
}

.timeline-item.left::after {
  right: 0;
}

.timeline-item.right::after {
  left: 0;
}

/* Extra Outer Border for Album */
.timeline-album-wrapper {
  padding: 8px;
  border: 1px solid var(--color-primary);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2), inset 0 0 10px rgba(0, 240, 255, 0.1);
  background: rgba(5, 8, 20, 0.8);
  position: relative;
}

.timeline-content {
  position: relative;
  display: block;
  text-decoration: none;
}

.timeline-content.album-item {
  height: 250px;
  width: 100%;
}

.timeline-date {
  position: absolute;
  top: 40px;
  width: 50%;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: bold;
  transform: translateY(-50%);
  text-shadow: 0 0 5px var(--color-primary-glow);
}

.timeline-item.left .timeline-date {
  left: 100%;
  padding-left: 30px;
  text-align: left;
}

.timeline-item.right .timeline-date {
  right: 100%;
  padding-right: 30px;
  text-align: right;
}

@media screen and (max-width: 768px) {
  .album-timeline::before {
    left: 40px;
  }
  
  .timeline-item {
    width: 100%;
    left: 0;
    padding-left: 90px;
    padding-right: 10px;
    margin-bottom: 20px;
  }
  
  .timeline-item.right {
    left: 0;
  }
  
  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: 40px;
    right: auto;
    transform: translate(-50%, -50%);
    top: 40px;
  }

  .timeline-item.left::after,
  .timeline-item.right::after {
    left: 40px;
    right: auto;
    width: 50px;
  }
}

.cyber-input {
  width: 100%;
  height: 48px;
  box-sizing: border-box;
  padding: 0.8rem;
  background: rgba(5, 8, 20, 0.8);
  border: 1px solid var(--color-primary);
  color: var(--color-text);
  font-family: 'Share Tech Mono', monospace;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.cyber-input:hover {
  border-color: #fff;
  box-shadow: 0 0 8px var(--color-primary-glow);
}

.cyber-input:focus {
  outline: none;
  box-shadow: 0 0 10px var(--color-primary-glow);
  background: rgba(5, 8, 20, 0.95);
}

/* --- Custom Select Styles --- */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  height: 48px;
  box-sizing: border-box;
  padding: 0.8rem;
  background: rgba(5, 8, 20, 0.8);
  border: 1px solid var(--color-primary);
  color: var(--color-text);
  font-family: 'Share Tech Mono', monospace;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.custom-select-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  text-align: left;
}

.custom-select-trigger::after {
  content: '';
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-left: 10px;
}

.custom-select-wrapper.open .custom-select-trigger {
  border-color: #fff;
  box-shadow: 0 0 8px var(--color-primary-glow);
}

.custom-select-wrapper.open .custom-select-trigger::after {
  transform: rotate(-135deg);
  margin-top: 5px;
}

.custom-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 5px;
  background: rgba(2, 6, 23, 0.95);
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.1);
  backdrop-filter: blur(10px);
  z-index: 999;
  display: none;
  max-height: 250px;
  overflow-y: auto;
}

.custom-select-wrapper.open .custom-select-options {
  display: block;
  animation: fadeIn 0.2s ease forwards;
}

.custom-option {
  padding: 0.8rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  transition: all 0.2s ease;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-option:last-child {
  border-bottom: none;
}

.custom-option:hover, .custom-option.selected {
  background: rgba(0, 240, 255, 0.1);
  color: var(--color-primary);
  padding-left: 1.5rem;
}


.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cyber-tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}


.cyber-lightbox .lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 2;
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 30px var(--color-primary-glow);
}

.cyber-lightbox .lightbox-content img,
.cyber-lightbox .lightbox-content video {
    max-width: 100%;
    max-height: 90vh;
    display: block;
}

.cyber-lightbox .lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: transparent;
    border: none;
    color: var(--color-primary);
    font-size: 2.5rem;
    cursor: pointer;
    text-shadow: 0 0 10px var(--color-primary-glow);
    transition: color 0.3s;
}

.cyber-lightbox .lightbox-close:hover {
    color: var(--color-danger);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
    border-left: 1px solid var(--color-surface-border);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary-glow);
}

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

/* --- Dashboard UI Redesign --- */
.index-dashboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.boot-sequence-box {
    border: 1px solid var(--color-primary);
    background: rgba(0, 20, 40, 0.6);
    padding: 3rem;
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.2), 0 0 30px rgba(0, 240, 255, 0.1);
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.boot-sequence-box::before, .boot-sequence-box::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--color-primary);
}
.boot-sequence-box::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.boot-sequence-box::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.sys-warning {
    color: var(--color-danger);
    font-size: 0.8rem;
    font-family: var(--font-display);
    letter-spacing: 3px;
    margin-bottom: 2rem;
    animation: sys-blink 2s infinite;
}

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

.hero-desc {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin: 20px 0 30px 0;
    font-family: monospace;
    text-transform: uppercase;
}

.live-stats-row {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid rgba(0, 240, 255, 0.3);
    border-bottom: 1px solid rgba(0, 240, 255, 0.3);
    padding: 20px 0;
    margin-bottom: 30px;
    background: rgba(0, 240, 255, 0.05);
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    font-family: var(--font-display);
    margin-bottom: 5px;
}

.stat-value {
    font-size: 2rem;
    color: #fff;
    font-family: var(--font-display);
    text-shadow: 0 0 10px var(--color-primary);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

.btn-pulse {
    animation: btn-pulse 2s infinite;
}
@keyframes btn-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(0, 240, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

/* Terminal Grid */
.terminal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    margin-top: 50px;
}

@media (max-width: 992px) {
    .terminal-grid {
        grid-template-columns: 1fr;
    }
    .boot-sequence-box {
        padding: 1.5rem;
    }
}

.terminal-card {
    background: var(--color-surface);
    border: var(--hud-border);
    padding: 30px;
    position: relative;
    text-decoration: none;
    color: var(--color-text);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.terminal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary);
    transition: all 0.3s;
}

.terminal-scanline {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to bottom, transparent, rgba(0, 240, 255, 0.2), transparent);
    transition: 0.5s;
    pointer-events: none;
}

.terminal-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-secondary);
    box-shadow: 0 10px 30px rgba(0, 255, 102, 0.1);
}
.terminal-card:hover::before {
    background: var(--color-secondary);
    box-shadow: 0 0 15px var(--color-secondary);
}

.terminal-card:hover .terminal-scanline {
    top: 100%;
    transition: 1s ease-in-out;
}

.terminal-card:hover .terminal-title,
.terminal-card:hover .terminal-action,
.terminal-card:hover .terminal-icon {
    color: var(--color-secondary);
}

.terminal-icon {
    width: 40px;
    height: 40px;
    color: var(--color-primary);
    margin-bottom: 20px;
    transition: 0.3s;
}

.terminal-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    color: var(--color-primary);
    opacity: 0.5;
}

.terminal-title {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
    transition: 0.3s;
}

.terminal-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    flex-grow: 1;
    margin-bottom: 20px;
}

.terminal-action {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--color-primary);
    transition: 0.3s;
}

/* Data Streams */
.data-stream {
    position: fixed;
    top: 0;
    width: 40px;
    height: 100vh;
    overflow: hidden;
    color: var(--color-primary);
    font-family: monospace;
    font-size: 0.8rem;
    line-height: 1.2;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
    text-align: center;
    word-break: break-all;
    display: flex;
    flex-direction: column;
}

.data-stream-left { left: 10px; }
.data-stream-right { right: 10px; }
