/* ===============================
   OMBRA TERMINAL THEME (Pixel Rain Edition)
   =============================== */

:root {
  --bg: #0a010f;
  --accent1: #461e53;
  --accent2: #661f49;
  --accent3: #84345b;
  --accent4: #d0595d;
  --text: #f2f2f2;
  --scanline-opacity: 0.05;
}

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

html, body {
  width: 100%;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "VT323", monospace;
  font-size: 1.2rem;
  overflow: hidden;
}

canvas#rain-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===============================
   Scene Layers
   =============================== */
#scene {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.layer {
  position: absolute;
  width: 200%;
  height: 100%;
  background-repeat: repeat-x;
  image-rendering: pixelated;
  opacity: 0.8;
  animation: move-layer 60s linear infinite;
}

.layer.trees {
  background-image: url("images/trees.png");
  bottom: 0;
  animation-duration: 100s;
}

.layer.lake {
  background-image: url("images/lake.png");
  bottom: 0;
  opacity: 0.6;
  animation-duration: 80s;
}

.layer.bustop {
  background-image: url("images/bustop.png");
  bottom: 0;
  opacity: 1;
  animation-duration: 120s;
}

@keyframes move-layer {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===============================
   Terminal Container
   =============================== */

.main-container {
  position: relative;
  z-index: 3;
  width: 85%;
  max-width: 900px;
  margin: 5rem auto;
  padding: 2rem;
  border: 2px solid var(--accent3);
  background: rgba(10, 1, 15, 0.8);
  backdrop-filter: blur(2px);
  box-shadow: 0 0 15px var(--accent4);
  animation: fadeIn 2s ease;
}

header {
  text-align: center;
  margin-bottom: 1.5rem;
}

header h1 {
  color: var(--accent4);
  text-shadow: 0 0 10px var(--accent3);
  font-size: 2.4rem;
}

nav a {
  text-decoration: none;
  color: var(--text);
  margin: 0 0.5rem;
  transition: color 0.2s ease, text-shadow 0.3s ease;
}

nav a:hover, nav a.active {
  color: var(--accent4);
  text-shadow: 0 0 6px var(--accent4);
}

/* ===============================
   Lists, Links, Music, etc.
   =============================== */

ul.skills, ul.music-list, .band-links ul {
  list-style: none;
  text-align: center;
}

ul.skills li, ul.music-list li {
  margin: 0.5rem 0;
}

.band-photos .photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.band-photos img {
  width: 100%;
  border: 2px solid var(--accent3);
  border-radius: 3px;
  image-rendering: pixelated;
  filter: brightness(0.8);
  transition: all 0.3s ease;
}

.band-photos img:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 10px var(--accent4);
  transform: scale(1.02);
}

footer {
  text-align: center;
  margin-top: 1rem;
  opacity: 0.8;
  font-size: 1rem;
}

/* ===============================
   Boot Splash
   =============================== */

#boot-splash {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 10;
  animation: splashFade 3s forwards;
}

.splash-logo {
  font-size: 2rem;
  color: var(--accent4);
  text-shadow: 0 0 10px var(--accent3);
  margin-bottom: 1rem;
}

.splash-line {
  width: 80%;
  height: 2px;
  background: var(--accent4);
  animation: loadLine 2s ease-in-out forwards;
}

@keyframes loadLine {
  from { width: 0; }
  to { width: 80%; }
}

@keyframes splashFade {
  0%, 70% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

/* ===============================
   Scanline Flicker
   =============================== */
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    rgba(255,255,255,var(--scanline-opacity)) 0px,
    transparent 2px,
    rgba(0,0,0,0.02) 4px
  );
  pointer-events: none;
  z-index: 5;
  animation: flicker 0.2s infinite;
}

@keyframes flicker {
  0%, 100% { opacity: 0.04; }
  50% { opacity: 0.07; }
}

/* ===============================
   Simple Fade Animation
   =============================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
