/* Premium Arcade Aesthetic - Modern & Subtle */

/* Minimal Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-transform: uppercase !important;
}

@keyframes crt-flicker {
  0% { opacity: 0.15; }
  5% { opacity: 0.18; }
  10% { opacity: 0.14; }
  15% { opacity: 0.20; }
  20% { opacity: 0.15; }
  50% { opacity: 0.16; }
  80% { opacity: 0.14; }
  100% { opacity: 0.15; }
}

/* 1. Global Scanlines - Barely visible, just for texture */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    rgba(255,255,255,0) 50%,
    rgba(0,0,0,0.05) 50%,
    rgba(0,0,0,0.05)
  );
  background-size: 100% 4px;
  z-index: 9999990;
  pointer-events: none;
  opacity: 0.5;
}

/* 2. CRT Screen Vignette - Soft edges */
body::after {
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle, rgba(0,0,0,0) 70%, rgba(0,0,0,0.4) 100%);
  z-index: 9999991;
  pointer-events: none;
}

/* 3. Subtle Hover Animations for Cards (Glassmorphism + Neon) */
.venture-card, .software-card, .hardware-card, .about-card, .capability-card, .industry-item, .case-card, .model-item, .role-badge {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(10, 10, 15, 0.75) !important;
  backdrop-filter: blur(10px);
}

.venture-card:hover, .software-card:hover, .hardware-card:hover, .about-card:hover, .capability-card:hover, .industry-item:hover, .case-card:hover, .model-item:hover, .role-badge:hover {
  border-color: rgba(0, 255, 255, 0.5) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 255, 0.15) !important;
  transform: translateY(-5px) !important;
}

/* 4. Highly Visible & Clickable Neobrutalist Buttons */
.btn, .btn-primary, .btn-contact, .nav-links .btn-contact {
  position: relative;
  overflow: hidden;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.2s ease !important;
  border-radius: 4px !important; /* Slight rounding for modern feel */
  border: 3px solid #00bfff !important;
  background: #000000 !important; /* Dark background to contrast with blue */
  color: #00bfff !important;
  font-family: 'Oswald', sans-serif !important; /* Bolder font */
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  box-shadow: 6px 6px 0px #00bfff !important; /* Sky blue pop-out shadow */
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 28px !important;
  font-size: 1.1rem !important; /* Larger text */
  cursor: pointer !important;
}

.btn:hover, .btn-primary:hover, .btn-contact:hover, .nav-links .btn-contact:hover {
  background: #00bfff !important;
  color: #000000 !important;
  transform: translate(-3px, -3px) !important;
  box-shadow: 9px 9px 0px rgba(0, 191, 255, 0.5) !important;
}

.btn:active, .btn-primary:active, .btn-contact:active, .nav-links .btn-contact:active {
  transform: translate(6px, 6px) !important;
  box-shadow: 0px 0px 0px #00bfff !important;
}

/* Home Page Hero CTA Buttons */
.btn-explore {
  position: relative;
  overflow: hidden;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.2s ease !important;
  border-radius: 0px !important;
  border: 3px solid #000000 !important;
  background: #ffffff !important; /* White background */
  color: #000000 !important; /* Black text */
  font-family: 'Share Tech Mono', monospace !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  box-shadow: 4px 4px 0px #000000 !important; /* Black pop-out shadow */
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 24px !important;
  font-size: 0.95rem !important;
}

.btn-explore:hover {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
  transform: translate(-2px, -2px) !important;
  box-shadow: 6px 6px 0px #000000 !important;
}

.btn-explore:active {
  transform: translate(4px, 4px) !important;
  box-shadow: 0px 0px 0px #000000 !important;
}

.btn-explore-outline {
  position: relative;
  overflow: hidden;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.2s ease !important;
  border-radius: 0px !important;
  border: 3px solid #ffffff !important;
  background: #000000 !important; /* Black background */
  color: #ffffff !important; /* White text */
  font-family: 'Share Tech Mono', monospace !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  box-shadow: 4px 4px 0px #ffffff !important; /* White pop-out shadow */
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 24px !important;
  font-size: 0.95rem !important;
}

.btn-explore-outline:hover {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
  transform: translate(-2px, -2px) !important;
  box-shadow: 6px 6px 0px #ffffff !important;
}

.btn-explore-outline:active {
  transform: translate(4px, 4px) !important;
  box-shadow: 0px 0px 0px #ffffff !important;
}

.btn-explore svg, .btn-explore-outline svg {
  width: 14px !important;
  height: 14px !important;
  margin-left: 8px !important;
  display: inline-block !important;
}

/* 5. Chromatic Aberration on Hover for Major Headings */
h1:hover, h2:hover {
  text-shadow: 
    2px 0 0 rgba(255, 0, 0, 0.7),
    -2px 0 0 rgba(0, 255, 255, 0.7) !important;
  animation: crt-flicker 0.2s infinite;
}

@keyframes crt-flicker {
  0% { opacity: 0.95; }
  50% { opacity: 1; }
  100% { opacity: 0.98; }
}

/* 6. Mobile Controls Overlay - Keep functional but clean */
#mobile-controls {
  position: fixed;
  bottom: 20px;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 99999999;
  display: none;
  pointer-events: none;
}

@media (max-width: 768px) {
  #mobile-controls {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
  }
}

.d-pad { position: relative; width: 120px; height: 120px; pointer-events: auto; }
.d-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 50%; /* Modern circle */
  color: rgba(255,255,255,0.8);
  font-size: 20px;
  display: flex; justify-content: center; align-items: center;
  user-select: none; touch-action: none;
}
.d-btn:active { background: rgba(0, 255, 255, 0.3); box-shadow: 0 0 10px #00ffff; }
.d-up { top: 0; left: 40px; width: 40px; height: 40px; }
.d-down { bottom: 0; left: 40px; width: 40px; height: 40px; }
.d-left { top: 40px; left: 0; width: 40px; height: 40px; }
.d-right { top: 40px; right: 0; width: 40px; height: 40px; }

.action-buttons { display: flex; gap: 15px; align-items: center; pointer-events: auto; }
.a-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255, 60, 74, 0.1);
  border: 1px solid rgba(255, 60, 74, 0.3);
  color: rgba(255,255,255,0.8);
  font-family: 'Share Tech Mono', monospace; font-size: 16px;
  display: flex; justify-content: center; align-items: center;
  user-select: none; touch-action: none;
}
.a-btn:active { background: rgba(255, 60, 74, 0.4); box-shadow: 0 0 15px #ff3c4a; }
