@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

body {
  background-color: black;
  color: white;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Segoe UI', sans-serif;
  margin: 0;
}

a {
  color: green;
}

ul li {
  margin-bottom: 8px;
}

ol li {
  margin-bottom: 8px;
}

.main-content {
  margin: 0 auto;
  width: 60%;
  padding: 2rem 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.75rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.site-nav__link {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.site-nav__link:hover {
  color: #7dff7d;
}

.site-nav__link--active {
  color: #7dff7d;
}

.site-nav__divider {
  width: 1px;
  height: 1.1rem;
  background: rgba(255, 255, 255, 0.12);
}

.main-content a:not(.site-nav__link) {
  display: inline-flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #27d16f, #00b85c);
  color: #041f0b;
  padding: 0.2rem 0.85rem 0.2rem 0.65rem;
  border-radius: 0.9rem;
  text-decoration: none;
  line-height: 1.25;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, padding-right 0.25s ease;
}

.main-content a:not(.site-nav__link)::after {
  content: '→';
  position: absolute;
  right: 0.2rem;
  top: 50%;
  opacity: 0;
  transform: translateY(-50%) translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  font-size: 0.85em;
}

.main-content a:not(.site-nav__link):hover {
  background: linear-gradient(135deg, rgba(39, 209, 111, 0.25), rgba(0, 184, 92, 0.25));
  color: #7dff7d;
  transform: translateY(-1px);
  padding-right: 1.15rem;
}

.main-content a:not(.site-nav__link):hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.lang-toggle {
  background: transparent;
  border: 1px solid green;
  border-radius: 999px;
  color: green;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  font: inherit;
}

.lang-toggle:hover {
  background-color: rgba(0, 128, 0, 0.1);
}

.final-message {
  font-size: 100px;
}

.stealth-note {
  color: black;
  font-size: 8px;
}

.post {
  margin-bottom: 2rem;
}

.post-date {
  color: gray;
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease-out forwards;
  animation-delay: 0.1s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .main-content {
    width: 85%;
    padding: 1.5rem 0;
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .site-nav {
    justify-content: center;
  }

  .final-message {
    font-size: 3rem;
  }
}
