:root {
  --bg: #ffe7f1;
  --bg-dark: #0f0f11;
  --card: rgba(255, 255, 255, 0.7);
  --card-dark: rgba(16, 16, 18, 0.6);
  --text: #2a151a;
  --text-dark: #ffffff;
  --pink: #ff5ea8;
  --accent: #f9c3d9;
  --radius: 1.2rem;
  --max: 1100px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background: radial-gradient(circle, #ffe7f1 0%, #fff6fa 55%, #ffe7f1 100%);
  color: var(--text);
  line-height: 1.6;
}

body.dark {
  background: radial-gradient(circle, #121218 0%, #050509 70%);
  color: var(--text-dark);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.3rem;
  backdrop-filter: blur(14px);
  background: rgba(255, 231, 241, 0.68);
  border-bottom: 1px solid rgba(255, 94, 168, 0.12);
  position: sticky;
  top: 0;
  z-index: 999;
}

body.dark .topbar {
  background: rgba(16, 16, 18, 0.4);
}

.logo-text {
  font-weight: 700;
  font-size: 1.05rem;
}

.tagline {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
}

.actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

#themeToggle,
.menu-btn,
.small-link {
  background: rgba(255, 94, 168, 0.12);
  border: 1px solid rgba(255, 94, 168, 0.25);
  border-radius: 999px;
  color: inherit;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: none;
}

.menu-btn {
  display: none;
}

.mobile-nav {
  display: none;
}

.hero {
  max-width: var(--max);
  margin: 2.7rem auto 2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.1fr 0.9fr;
  padding: 0 1rem;
}

.hero-card,
.floating-box,
.post {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(249, 195, 217, 0.5);
  border-radius: 1.2rem;
  padding: 1.1rem 1.2rem 1.3rem;
}

body.dark .hero-card,
body.dark .floating-box,
body.dark .post {
  background: rgba(4, 4, 5, 0.35);
  border: 1px solid rgba(255, 94, 168, 0.15);
}

.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  margin-bottom: 0.6rem;
}

.mini-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e9328a;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(120deg, #ff5ea8, #ffa7cd);
  color: white;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}

.section {
  max-width: var(--max);
  margin: 1.7rem auto 2rem;
  padding: 0 1rem;
}

.section-title {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.section-sub {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.post-date {
  font-size: 0.65rem;
  opacity: 0.7;
  margin-bottom: 0.4rem;
}

.post-title {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.post-body {
  font-size: 0.8rem;
}

.old-post {
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  border: 1px solid rgba(233, 50, 138, 0.4);
}

.footer {
  text-align: center;
  font-size: 0.65rem;
  padding: 2rem 0 2.5rem;
  opacity: 0.7;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .menu-btn {
    display: inline-flex;
  }
  .mobile-nav {
    display: none;
    flex-direction: column;
    background: rgba(255, 231, 241, 0.98);
  }
  body.dark .mobile-nav {
    background: rgba(6, 6, 6, 0.96);
  }
  .mobile-nav a {
    padding: 0.7rem 1.1rem;
    text-decoration: none;
    color: inherit;
  }
}