/* ---------- RESET ---------- */
* {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ---------- BODY ---------- */
body {
  background-color: #000000;
  background-image: url('bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #e8e8e8;
  font-family: 'Iceland', sans-serif;
  font-size: 30px;
  line-height: 1.6;
  margin: 0;
  padding: 2rem;
}

/* keeps regular content pages (about, favorites) in a readable column */
.content {
  max-width: 700px;
  margin: 0 auto;
}

/* ---------- IMAGES ---------- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- HEADER (about.html / favorites.html) ---------- */
header {
  text-align: center;
  margin-bottom: 2rem;
  border: 2px solid #4dff4d;
  border-radius: 8px;
  padding: 1.5rem;
  background-color: rgba(0, 0, 0, 0.5);
}

/* ---------- HEADINGS ---------- */
h1, h2 {
  font-family: 'Press Start 2P', system-ui;
  color: #4dff4d;
  text-shadow: 0 0 8px rgba(77, 255, 77, 0.6);
  letter-spacing: 1px;
  line-height: 1.5;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2rem;
}

/* ---------- NAV ---------- */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

nav a {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  border: 2px solid #7fffd4;
  color: #7fffd4;
  text-decoration: none;
  font-family: 'Press Start 2P', system-ui;
  font-size: 0.7rem;
  transition: all 0.15s ease;
}

nav a:hover {
  background-color: #7fffd4;
  color: #000000;
  box-shadow: 0 0 16px rgba(127, 255, 212, 0.7);
}

/* ---------- LISTS ---------- */
ul {
  padding-left: 1.2rem;
}

/* ---------- HERO (index.html) ---------- */
.hero {
  text-align: center;
  padding: 2rem;
  border: 2px solid #4dff4d;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.5);
  margin: 2rem auto;
  width: 90%;
  max-width: none;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.3;
}

.hero p {
  font-size: 1.5rem;
  max-width: 500px;
}

/* ---------- BUTTON GROUP (hero buttons) ---------- */
.button-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Press Start 2P', system-ui;
  font-size: 0.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: #4dff4d;
  color: #000000;
  box-shadow: 0 0 12px rgba(77, 255, 77, 0.5);
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(77, 255, 77, 0.8);
}

.btn-secondary {
  background-color: transparent;
  color: #7fffd4;
  border: 2px solid #7fffd4;
}

.btn-secondary:hover {
  box-shadow: 0 0 20px rgba(127, 255, 212, 0.6);
}

/* ---------- MUSIC BUTTON ---------- */
#music-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  border: 2px solid #4dff4d;
  background-color: rgba(0, 0, 0, 0.6);
  color: #4dff4d;
  font-family: 'Press Start 2P', system-ui;
  font-size: 0.65rem;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(77, 255, 77, 0.4);
  z-index: 10;
}

#music-btn:hover {
  box-shadow: 0 0 16px rgba(77, 255, 77, 0.8);
}

/* ---------- MOBILE RESPONSIVE ---------- */
@media (max-width: 600px) {
  body {
    font-size: 18px;
    padding: 1rem;
  }

  header {
    padding: 1.5rem 1rem;
  }

  h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  h2 {
    font-size: 1.3rem;
  }

  .hero {
    min-height: auto;
    padding: 3rem 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  nav {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  nav a {
    font-size: 0.55rem;
    padding: 0.5rem 0.9rem;
    white-space: nowrap;
  }

  .button-group {
    flex-direction: column;
    align-items: center;
  }

  #music-btn {
    bottom: 1rem;
    right: 1rem;
    font-size: 0.55rem;
    padding: 0.5rem 1rem;
  }
}

