@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Noto+Color+Emoji&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
  --bg: #062522;
  --card: #157368;
  --card-muted: #0b3f3a;
  --border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
  --muted-soft: rgba(255, 255, 255, 0.55);
  --accent: #2dd4bf;
}

/* reset */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

body {
   background: url(/res/bg2.png) #264653 top left repeat fixed;
   @apply text-white;
   font-family: 'Inter', sans-serif;
}

/* layout */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 32, 29, 0.13);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.nav a {
  margin-left: 1.5rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

/* main */
.main {
  padding: 3rem 0;
}

.card {
  background: #06252223;
  border-radius: 12px;
  padding: 3rem;
  backdrop-filter: blur(6px);
  border: 1px solid #ffffff;
}

.card-muted {
  background: #0625227e;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 2rem 0;
  backdrop-filter: blur(6px);
  border: 1px solid #ffffff;
}

/* typography */
h1 {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--muted);
  margin-bottom: 1rem;
}

small {
  color: var(--muted-soft);
}

ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.4rem;
  color: var(--muted);
}

/* links */
a {
  color: var(--accent);
}
/* back link */
.back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  text-decoration: none;
  color: var(--muted);
}

.back:hover {
  color: var(--text);
}

/* footer */
.footer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted-soft);
}

.footer a {
  color: var(--muted-soft);
  text-decoration: none;
  margin-left: 1rem;
}

.footer a:hover {
  color: var(--text);
}

/* responsive */
@media (max-width: 640px) {
  .card {
    padding: 2rem 1.5rem;
  }

  h1 {
    font-size: 2.1rem;
  }

  .nav a {
    margin-left: 1rem;
  }
}
