body {
  margin: 0;
  background-color: #000;
  color: #0f0;
  font-family: 'Courier New', monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

header {
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/3/36/No_signal.gif'); /* CRT static */
  background-size: cover;
  background-attachment: fixed;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  color: #ff3b3b;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#bg-video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100vw;
  min-height: 100vh;
  z-index: -1;
  filter: grayscale(100%) contrast(200%);
  opacity: 0.25;
}

h1.glitch {
  font-size: 3rem;
  position: relative;
  color: white;
  margin-bottom: 2rem;
  text-align: center;
}
h1.glitch::before,
h1.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  right: 0;
  color: #0ff;
  overflow: hidden;
  z-index: -1;
}
h1.glitch::before {
  top: -2px;
  animation: glitchTop 1s infinite linear alternate-reverse;
}
h1.glitch::after {
  top: 2px;
  color: #f0f;
  animation: glitchBottom 1s infinite linear alternate-reverse;
}

@keyframes glitchTop {
  0% { clip-path: inset(0 0 80% 0); transform: translate(-2px, -2px); }
  100% { clip-path: inset(80% 0 0 0); transform: translate(2px, 2px); }
}
@keyframes glitchBottom {
  0% { clip-path: inset(80% 0 0 0); transform: translate(2px, 2px); }
  100% { clip-path: inset(0 0 80% 0); transform: translate(-2px, -2px); }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
}

.photo {
  position: relative;
  overflow: hidden;
  border: 2px solid #333;
  box-shadow: 0 0 10px #0f0;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.photo:hover {
  transform: scale(1.03) rotate(1deg);
  filter: contrast(1.3) saturate(1.2);
}

.photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(0.3) contrast(1.2);
}

/* Navigation */
nav ul {
  list-style: none;
  margin-top: 1rem;
}

nav ul li {
  display: inline-block;
  margin: 0 1rem;
}

nav ul li a {
  color: #ccc;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease-in-out;
}

nav ul li a:hover {
  color: #ff3b3b;
  border-bottom: 1px solid #ff3b3b;
}

.site-title {
  font-family: 'Courier New', monospace;
  font-size: 2.8rem;
  text-align: center;
  text-transform: uppercase;
  color: #ff3b3b;
  letter-spacing: 2px;
  padding: 2rem 1rem;
  background-color: rgba(0, 0, 0, 0.85);
  border-bottom: 2px dashed #ff0000;
  text-shadow: 
    2px 2px 0 #000,
    -1px -1px 0 #ff0000,
    1px -1px 0 #ff0000,
    -1px 1px 0 #000;
  animation: glitch 1.2s infinite;
}

@keyframes glitch {
  0% {
    text-shadow: 2px 2px 0 #000;
  }
  20% {
    text-shadow: -2px -1px 0 #ff0000, 1px 1px 0 #000;
  }
  40% {
    text-shadow: 1px -2px 0 #ff0000, -1px 2px 0 #000;
  }
  60% {
    text-shadow: 2px 1px 0 #ff0000, -2px -2px 0 #000;
  }
  80% {
    text-shadow: -1px 2px 0 #ff0000, 2px -1px 0 #000;
  }
  100% {
    text-shadow: 2px 2px 0 #000;
  }
}