/* =========================
   Pokémon-Style Global Theme
   ========================= */

/* --- Font Import --- */
@font-face {
  font-family: pkmnfont;
  src: url("/assets/PKMN RBYGSC.ttf");
}

/* --- Base Page Styling --- */
body {
  background-image: url("/assets/clocks.png");
  background-repeat: repeat;
  background-size: auto;
  image-rendering: pixelated; /* keep background crisp */
  background-attachment: fixed;
  font-family: pkmnfont, monospace;
  letter-spacing: 1px;
  line-height: 1.6;
  color: #111;
  margin: 0;
  padding: 0;
}

/* Optional: subtle tint overlay for retro Game Boy feel */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 240, 0.05);
  pointer-events: none;
  z-index: -1;
}

/* --- Layout Containers --- */
header,
main {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  max-width: 700px;
  width: 90%;
}

header h1 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.3rem;
  margin: 0;
}

/* --- Paragraphs --- */
p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* --- Buttons --- */
.btn-primary {
  background-color: #0055aa;
  border-color: #003f8a;
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px #ffffff55;
  font-family: pkmnfont, monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1.2rem;
  margin: 0.4rem;
  transition: all 0.15s ease-in-out;
}

.btn-primary:hover {
  background-color: #004080;
  border-color: #002f6c;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

/* --- Audio Player --- */
audio {
  display: block;
  margin: 2rem auto 0 auto;
  max-width: 500px;
  width: 100%;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
}

/* --- Utility Tweaks --- */
.container {
  text-align: center;
}

/* --- Responsive Adjustments --- */
@media (max-width: 576px) {
  header,
  main {
    width: 95%;
    padding: 1rem;
  }

  .btn-primary {
    width: 100%;
    margin: 0.3rem 0;
  }

  p {
    font-size: 0.95rem;
  }
}
