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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #1a1008;
  color: #f0e8d8;
  min-height: 100vh;
}

/* Header / Nav */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(36, 22, 8, 0.97) 0%, rgba(26, 16, 8, 0.92) 100%);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(255, 180, 80, 0.15);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 180, 80, 0.08);
  z-index: 100;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.nav-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffd280;
}

.hamburger {
  display: none;
}

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

.nav-link {
  text-decoration: none;
  color: rgba(240, 232, 216, 0.55);
  font-size: 0.95rem;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: #ffd280;
  background: rgba(255, 180, 80, 0.08);
}

.nav-link.active {
  color: #ffd280;
  background: rgba(255, 180, 80, 0.12);
}

/* Sections */
main {
  padding-top: 140px;
}

.section {
  display: none;
  min-height: calc(100vh - 64px);
  align-items: center;
  justify-content: center;
}

.section.active {
  display: flex;
}

.section-content {
  max-width: 640px;
  padding: 4rem 2rem;
  text-align: center;
}

.section-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffd280 0%, #ff9a3c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #ffd280;
}

.section-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(240, 232, 216, 0.7);
}

.section-content a {
  color: #ff9a3c;
  text-decoration: none;
}

.section-content a:hover {
  text-decoration: underline;
}

#posts-container {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.post {
  background: rgba(255, 180, 80, 0.05);
  border: 1px solid rgba(255, 180, 80, 0.12);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}

.post h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffd280;
  margin-bottom: 0.4rem;
}

.post p {
  font-size: 0.95rem;
  color: rgba(240, 232, 216, 0.7);
  margin-bottom: 0.5rem;
}

.post small {
  font-size: 0.75rem;
  color: rgba(240, 232, 216, 0.35);
}

footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.75rem;
  color: rgba(240, 232, 216, 0.3);
}

/* Mobile */
@media (max-width: 600px) {
  .nav-container {
    height: auto;
    padding: 0;
    gap: 0;
    align-items: stretch;
  }

  .nav-top {
    justify-content: space-between;
    padding: 0 1.25rem;
    height: 64px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }

  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffd280;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  nav {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  nav.open {
    max-height: 300px;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
  }

  .nav-link {
    display: block;
    padding: 0.65rem 1rem;
    font-size: 1rem;
  }

  main {
    padding-top: 64px;
  }

  .section-content {
    padding: 2.5rem 1.25rem;
  }
}
