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

html,
body {
  background: #C2304C;
  min-height: 100vh;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: rgba(255, 255, 255, 0.9);
  -webkit-font-smoothing: antialiased;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a {
  opacity: 0.75;
  transition: 0.25s;
}

.nav-links a.active,
.nav-links a:hover {
  opacity: 1;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-text img {
  display: block;
  height: 26px;
  width: auto;
  position: relative;
  top: -3px;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 4px 26px 100px;
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 12px 0 10px;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

p.meta {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  margin-top: -2px;
  margin-bottom: 20px;
}

#md {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 26px;
  padding: 36px 40px;
  font-size: 0.93rem;
  line-height: 1.6;
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.92);
  white-space: pre-wrap;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

#md.is-error {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

footer {
  margin-top: 60px;
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
}

footer a {
  color: inherit;
  opacity: 0.85;
}

footer a:hover {
  opacity: 1;
}

.links-line {
  margin-bottom: 8px;
}

.footer-divider {
  opacity: 0.4;
}

code {
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 6px;
  border-radius: 6px;
  color: #fff;
}

@media (max-width: 860px) {
  .container {
    padding: 0 18px 80px;
  }

  #md {
    padding: 28px 24px;
    border-radius: 22px;
  }

  .page-title {
    font-size: 2.3rem;
  }

  .nav {
    padding: 14px 18px;
  }
}
