/* Cyberpunk styles */

body {
  margin: 0;
  padding: 0;
  background-color: #030712;
}

/* Background Video styling */
.cyber-bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
  opacity: 0.25; /* Subtle background presence */
  filter: blur(2px); /* Soft focus so it doesn't distract from text */
}

.cyber-grid {
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: center center;
  z-index: -1;
  position: fixed; /* Keep grid fixed in background too */
  width: 100%;
  height: 100%;
}

.cyber-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Glitch Effect */
@keyframes glitch {
  0% {
    text-shadow: -2px -2px 0px #06b6d4, 2px 2px 0px #8b5cf6;
  }
  25% {
    text-shadow: 2px 2px 0px #06b6d4, -2px -2px 0px #8b5cf6;
  }
  50% {
    text-shadow: -2px 2px 0px #06b6d4, 2px -2px 0px #8b5cf6;
  }
  75% {
    text-shadow: 2px -2px 0px #06b6d4, -2px 2px 0px #8b5cf6;
  }
  100% {
    text-shadow: -2px -2px 0px #06b6d4, 2px 2px 0px #8b5cf6;
  }
}

.glitch-hover:hover {
  animation: glitch 0.3s infinite;
}

/* Neon Borders */
.neon-card-violet {
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.3s ease;
}
.neon-card-violet:hover {
  border-color: #8b5cf6;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.neon-card-cyan {
  border: 1px solid rgba(6, 182, 212, 0.2);
  transition: all 0.3s ease;
}
.neon-card-cyan:hover {
  border-color: #06b6d4;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

/* Scanlines on terminal */
.terminal-screen::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 10;
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
}

.container-max {
  max-width: 1280px;
}

/* Scrollbar hide for cases */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Clip paths for cards */
.clip-path-card {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

/* Fix mobile viewport scale and scroll behavior */
html, body {
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}
