:root {
  --primary: #F2C94C;
  --background: #121212;
  --surface: #1E1E1E;
  --text-primary: #FFFFFF;
  --text-secondary: #FFF8E3;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 768px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  display: flex;
  align-items: center;
  padding: 20px 0;
  margin-bottom: 20px;
  position: sticky;
  top: 0;
  background-color: var(--background);
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.back-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--surface);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 20px;
  transition: background-color 0.2s;
  color: var(--text-primary);
  text-decoration: none;
}

.back-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  flex-grow: 1;
  text-align: center;
  /* margin-right: 40px; Balance Removed, using flex layout */
}

.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-menu a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.8;
  text-decoration: none;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary);
  opacity: 1;
  text-decoration: none;
}

/* Content */
.last-updated {
  color: #888;
  font-size: 0.875rem;
  margin-bottom: 30px;
}

h2 {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 12px;
}

h3 {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
}

p {
  color: var(--text-secondary); /* Using secondary for body text per contrast/hierarchy usually, but user spec says textSecondary is #FFF8E3 which is quite bright. Let's start with standard readable gray for paragraphs if that is too bright, or stick to user palette. #FFF8E3 is very light yellow. */
  /* Actually, let's stick to the palette. #FFF8E3 (Cream) on #121212 is high contrast. */
  margin-bottom: 16px;
  font-size: 0.95rem;
  opacity: 0.9;
}

ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 16px;
}

li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
  opacity: 0.9;
}

li::before {
  content: "•";
  color: var(--text-secondary); /* Or primary? usually bullets are nice in primary color */
  position: absolute;
  left: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .container {
    padding: 16px;
  }
  
  header {
    padding: 16px 0;
  }
}
