/* ===== 1. Fonts ===== */
@font-face {
  font-family: 'PixelEmulator';
  src: url('../fonts/PixelEmulator.otf') format('opentype');
}

/* ===== 2. Global Styles ===== */
body {
  background-color: #1a1a1a;
  color: #00FF00;
  font-family: 'PixelEmulator', monospace;
  image-rendering: pixelated;
  margin: 0;
}

a {
  color: #ff00aa;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===== 3. Layout (Header, Nav, Main, Footer) ===== */
header {
  background: url('../images/header-bg.png') repeat;
  padding: 10px;
  text-align: center;
}

nav a {
  margin: 0 10px;
  color: #ffffff;
  text-decoration: none;
}

.logo {
  height: 64px;
}

main {
  padding: 20px;
  text-align: center;
}

footer {
  font-size: 10px;
  color: #ffffff;
  text-align: center;
  padding: 10px;
  background: #000;
}

/* ===== 4. Video Section ===== */
.video-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 20px;
  background-color: #1a1a1a;
}

.video-card {
  width: 100%;
  max-width: 800px;
  background: #2b2b2b;
  border: 4px solid #555;
  border-radius: 0;
  box-shadow: 0 0 0 4px #1a1a1a, 0 4px 0 #111;
  padding: 15px;
}

.video-card h2 {
  margin-bottom: 10px;
  font-size: 1.3em;
  text-align: center;
  color: #eee;
  font-family: 'PixelEmulator', monospace;
  letter-spacing: 1px;
}

.video-card video {
  width: 100%;
  display: block;
  background-color: #000;
  image-rendering: pixelated;
  border: 2px solid #444;
}

/* ===== 5. Music Section ===== */
.music-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 20px;
  background-color: #1a1a1a;
}

.track {
  width: 100%;
  max-width: 800px;
  background: #2b2b2b;
  border: 4px solid #555;
  border-radius: 0;
  box-shadow: 0 0 0 4px #1a1a1a, 0 4px 0 #111;
  padding: 15px;
  text-align: center;
}

.track p {
  margin-bottom: 10px;
  font-size: 1.3em;
  color: #eee;
  font-family: 'PixelEmulator', monospace;
  letter-spacing: 1px;
}

.track audio {
  width: 100%;
  display: block;
  background-color: #000;
  border: 2px solid #444;
  border-radius: 0 !important;
  outline: none;
}

.track audio::-webkit-media-controls-panel,
.track audio::-webkit-media-controls-enclosure {
  border-radius: 0 !important;
}

/* ===== 6. Contact Page ===== */
.contact form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.contact input,
.contact textarea {
  width: 100%;
  box-sizing: border-box;
  background: #1a1a1a;
  border: 2px solid #00ff00;
  color: #00ff00;
  font-family: 'PixelEmulator', monospace;
  padding: 5px;
  margin-bottom: 10px;
  image-rendering: pixelated;
  outline: none;
}

.contact input:focus,
.contact textarea:focus {
  border: 2px solid #00ff00;
  border-radius: 0;
  outline: none;
}

.contact button {
  background: #1a1a1a;
  border: 2px solid #00ff00;
  color: #00ff00;
  font-family: 'PixelEmulator', monospace;
  font-size: 16px;
  padding: 8px;
  cursor: pointer;
  image-rendering: pixelated;
  text-transform: uppercase;
}

.contact button:hover {
  background: #00ff00;
  color: #1a1a1a;
}

/* Autofill Fix */
.contact input:-webkit-autofill,
.contact input:-webkit-autofill:hover,
.contact input:-webkit-autofill:focus,
.contact textarea:-webkit-autofill,
.contact textarea:-webkit-autofill:hover,
.contact textarea:-webkit-autofill:focus {
  background-color: #1a1a1a !important;
  color: #00ff00 !important;
  -webkit-box-shadow: 0 0 0px 1000px #1a1a1a inset !important;
  box-shadow: 0 0 0px 1000px #1a1a1a inset !important;
  font-family: 'PixelEmulator', monospace !important;
  -webkit-text-fill-color: #00ff00 !important;
}
