/* 404 PAGE BUTTON */
/* ===========================================================
   0. GLOBAL THEME VARIABLES (Matches about.css)

   =========================================================== */

:root {
  --bg-light: #f5f7fc;
  --bg-dark: #0d1117;

  --text-light: #222;
  --text-dark: #e6e6e6;

  --card-light: rgba(255, 255, 255, 0.45);
  --card-dark: rgba(15, 20, 30, 0.55);

  --hero-light: rgba(255, 255, 255, 0.55);
  --hero-dark: rgba(20, 26, 39, 0.45);

  --border-light: rgba(255, 255, 255, 0.35);
  --border-dark: rgba(255, 255, 255, 0.18);

  --circuit-glow: #29b6f6;
}


/* Light mode */
@media (prefers-color-scheme: light) {
  body {
    background: var(--bg-light) !important;
    color: var(--text-light);
  }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  body {
    background: var(--bg-dark) !important;
    color: var(--text-dark);
  }
}


/* ===========================================================
   1. BACKGROUND ORBS (WWDC-style)
   =========================================================== */

.tech-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.tech-bg::before,
.tech-bg::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  animation: float-orb 18s infinite ease-in-out alternate;
}

/* Orb A */
.tech-bg::before {
  top: -130px;
  left: -120px;
  background: radial-gradient(circle, #4A73FF 0%, transparent 70%);
}

/* Orb B */
.tech-bg::after {
  bottom: -150px;
  right: -160px;
  background: radial-gradient(circle, #00E0FF 0%, transparent 70%);
  animation-delay: 3s;
}

@keyframes float-orb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.14); }
  100% { transform: translate(-20px, 20px) scale(1.05); }
}



/* ===========================================================
   2. CIRCUIT GRID BACKGROUND
   =========================================================== */

.circuit-lines {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.28;
  background:
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent 94%,
      #4d9dff22 96%
    ),
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 94%,
      #4d9dff22 96%
    );
  animation: circuit-scroll 34s ease-in-out infinite;
}

@keyframes circuit-scroll {
  0% { transform: translateY(0); }
  50% { transform: translateY(-120px); }
  100% { transform: translateY(0); }
}



/* ===========================================================
   3. HERO SECTION (Tech-themed)
   =========================================================== */

.tech-wrapper {
  position: relative;
  z-index: 3;
  padding: 20px;
}

.tech-hero {
  padding: 48px;
  border-radius: 22px;
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-dark);
  background: rgba(20, 26, 39, 0.45);
  margin-bottom: 40px;
  box-shadow:
    0 10px 40px rgba(0,0,0,0.25),
    inset 0 0 30px rgba(0,200,255,0.08);
}

.tech-title {
  font-size: 42px;
  font-weight: 800;
  color: #dff3ff;
  text-shadow: 0 0 18px #4da0ff66;
}

.tech-subtitle {
  font-size: 18px;
  color: #aac7ff;
  line-height: 1.6;
}
/* ===========================================================
   4. RETURN HOME BUTTON
   =========================================================== */
.return-home {
  display: inline-block;
  margin-top: 22px;
  padding: 10px 20px;
  border-radius: 12px;
  background: rgba(0, 120, 255, 0.35);
  border: 1px solid #4da6ff66;
  color: #dff3ff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none !important;   /* ← removes underline */
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 0 14px #009dff55,
    0 0 12px #007bff55;
  transition: 0.25s ease;
}

.return-home:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 22px #00c2ff88,
    0 0 16px #29b6f6;
}

/* CHIP CONTAINER ALIGNMENT */
.chip-container {
  margin-top: 15px;
  margin-bottom: 5px;
}
