* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0f0e11;
  --bg-card: rgba(22, 21, 26, 0.7);
  --border-light: #2b2733;
  --border-accent: #6d5b88;
  --text-primary: #e0d9e8;
  --text-secondary: #9d91af;
  --accent-violet: #6d5b88;
  --accent-light: #b38ed1;
  --glow-purple: rgba(109, 91, 136, 0.6);
  --star-gold: #c9a84c;
}

body {
  background-color: var(--bg-dark);
  font-family: 'Georgia', 'Times New Roman', 'Book Antiqua', serif;
  min-height: 100vh;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
}

.page-container {
  max-width: 600px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(60, 50, 80, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border-radius: 1.8rem;
  backdrop-filter: blur(3px);
  min-height: 80vh;
}

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid rgba(37, 34, 43, 0.8);
  padding-bottom: 0.9rem;
}

.logo h1 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #d4c8e6;
  line-height: 1.1;
}

.logo .accent-dot {
  color: var(--accent-light);
  font-size: 1.8rem;
}

.logo .sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.1rem;
  font-style: italic;
  letter-spacing: 0.4px;
  opacity: 0.9;
}

.nav-tabs {
  display: flex;
  gap: 0.6rem;
  background-color: rgba(24, 23, 29, 0.6);
  border-radius: 2.5rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(38, 35, 45, 0.8);
  justify-content: center;
}

.nav-tab {
  background: rgba(24, 23, 30, 0.4);
  color: #a99bbd;
  padding: 0.5rem 1.4rem;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 500;
  border: none;
  outline: none;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav-tab.active {
  background: rgba(109, 91, 136, 0.7);
  color: #f2ebff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(212, 200, 230, 0.5);
}

.nav-tab:hover:not(.active) {
  background: rgba(70, 60, 90, 0.6);
  color: #e2d5f5;
}

@media (max-width: 550px) {
  .page-container {
    padding: 1.2rem;
  }
}

.nav-tabs-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  gap: 0.6rem;
  background-color: rgba(15, 14, 17, 0.95);
  border-top: 1px solid rgba(38, 35, 45, 0.8);
  padding: 0.6rem 1rem;
  justify-content: center;
  backdrop-filter: blur(3px);
}

body {
  padding-bottom: 5rem;
}