/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #000;
  background: #fff;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Navigation ===== */
nav {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

nav .site-name {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #000;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

nav a {
  color: #000;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  transition: opacity 0.2s;
}

nav a:hover {
  opacity: 0.5;
}

nav a.active {
  border-bottom: 1px solid #000;
  padding-bottom: 2px;
}

/* ===== Main Content ===== */
main {
  flex: 1;
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* ===== Landing / Dictionary Definition ===== */
.definition {
  max-width: 38rem;
  padding: 6rem 0 4rem;
}

.definition .word {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.definition .pronunciation {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.05rem;
  font-style: italic;
  color: #444;
  margin-bottom: 0.5rem;
}

.definition .part-of-speech {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.definition .meaning {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.15rem;
  line-height: 1.7;
}

.definition .meaning .number {
  font-weight: 700;
  margin-right: 0.15em;
}

.definition .meaning p {
  margin-bottom: 0.6rem;
  padding-left: 1.5rem;
  text-indent: -1.5rem;
}

.definition .origin {
  margin-top: 2rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
}

/* ===== About Page ===== */
.about-content {
  max-width: 36rem;
  padding: 3rem 0;
}

.about-content h1 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.about-content p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
  text-wrap: pretty;
}

/* ===== Zines Page ===== */
.zines-page {
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
}

.peacock-container {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.6s ease-in-out;
  z-index: 10;
  cursor: pointer;
}

.peacock-container:hover {
  transform: translateX(-85%) translateY(-50%);
}

.peacock-container img {
  width: 280px;
  height: auto;
  display: block;
}

.zines-content {
  max-width: 52rem;
}

.zines-content h1 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.zines-content .subtitle {
  color: #666;
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
}

.zine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.zine-card {
  border: 1px solid #000;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  color: #999;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.zine-card:hover {
  background: #f5f5f5;
}

/* ===== Placeholder Pages ===== */
.placeholder-page {
  padding: 4rem 0;
}

.placeholder-page h1 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.placeholder-page p {
  color: #666;
  font-style: italic;
}

/* ===== Footer ===== */
footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid #000;
  font-size: 0.75rem;
  color: #666;
  text-align: center;
  letter-spacing: 0.03em;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  nav {
    padding: 1rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    gap: 1rem;
  }

  main {
    padding: 2rem 1.25rem;
  }

  .definition {
    padding: 2.5rem 0 2rem;
  }

  .definition .word {
    font-size: 2.2rem;
  }

  .definition .meaning {
    font-size: 1rem;
  }

  .definition .origin {
    font-size: 0.8rem;
  }

  .about-content h1,
  .zines-content h1,
  .placeholder-page h1 {
    font-size: 1.8rem;
  }

  .zine-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .peacock-container {
    position: relative;
    top: auto;
    transform: none;
    margin-bottom: 2rem;
  }

  .peacock-container:hover {
    transform: translateX(-80%);
  }

  .peacock-container img {
    width: 180px;
  }
}

@media (max-width: 480px) {
  nav ul {
    gap: 0.75rem;
  }

  main {
    padding: 1.5rem 1rem;
  }

  .definition .word {
    font-size: 1.6rem;
  }

  .definition .meaning {
    font-size: 0.9rem;
  }

  .definition .meaning p {
    padding-left: 1.2rem;
    text-indent: -1.2rem;
  }

  .about-content h1,
  .zines-content h1,
  .placeholder-page h1 {
    font-size: 1.5rem;
  }

  .zine-grid {
    grid-template-columns: 1fr;
  }

  .peacock-container img {
    width: 140px;
  }

  footer {
    padding: 1rem;
  }
}
