* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  background: #fafafa;
  padding-bottom: 100px; /* Space for footer + mobile nav */
}

/* Header & Socials */
.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px;
}

h1 {
  text-align: center;
}

.header-links {
  position: absolute;
  right: 20px;
  top: 30px;
}

.header-links a {
  font-size: 14px;
  border: 1px solid black;
  padding: 5px 10px;
  color: black;
}

/* Navigation */
.desktop-nav {
  background-color: black;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  margin-bottom: 20px;
}

.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: black;
  justify-content: space-around;
  padding: 15px 0;
  z-index: 1000;
}

.nav-btn {
  color: whitesmoke;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  margin: 0 20px;
}

/* Mobile Footer */
.mobile-footer {
  display: none; /* Hidden on desktop */
  text-align: center;
  padding: 15px;
  font-size: 12px;
  border-top: 1px dashed #ccc;
  margin-top: 20px;
}

/* Container & Content */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

li {
  margin-bottom: 15px;
  list-style: none;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

button {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: #1a0dab;
}

/* Author Button Style */
.author-button {
  border: 1.5px dashed black;
  padding: 7px;
  font-size: small;
  margin: 5px;
  text-align: center;
}

.author-button:hover {
  transition: 0.2s;
  background-color: black;
  color: whitesmoke;
}

.star-btn {
  margin-left: 10px;
  font-size: 18px;
}

/* RESPONSIVE LOGIC */
@media (max-width: 768px) {
  .header-links { display: none; } /* Hide top links on mobile */
  .desktop-nav { display: none; }
  .mobile-nav { display: flex; }
  .mobile-footer { display: block; }
  .header-container { padding: 10px; }
}