:root {
  --night: #0b0418;
  --night2: #160830;
  --purple: #3d1a6b;
  --rose: #c8527a;
  --rose-lt: #f2a0c0;
  --pink: #f7ccd8;
  --gold: #d4943a;
  --gold-lt: #f2c060;
  --lavender: #9b6ec8;
  --cream: #fdf7f0;
  --text-d: #1a0a30;
  --text-lt: #f8f0ff;
  --serif: "Noto Serif KR", serif;
  --sans: "Noto Sans KR", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  background: var(--night);
  color: var(--text-lt);
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: linear-gradient(
    to bottom,
    rgba(11, 4, 24, 0.96) 0%,
    rgba(11, 4, 24, 0.85) 100%
  );
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-logo-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-lt);
  letter-spacing: 0.02em;
}

.nav-back {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-back:hover {
  color: var(--rose-lt);
}

.page-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 108px 24px 80px;
}

.legal-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.legal-label::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--rose);
}

.page-title {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-lt);
  margin-bottom: 12px;
  line-height: 1.3;
}

.page-date {
  font-size: 0.88rem;
  color: rgba(248, 240, 255, 0.5);
  margin-bottom: 48px;
}

.operator-card {
  background: rgba(61, 26, 107, 0.25);
  border: 1px solid rgba(155, 110, 200, 0.2);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 48px;
}

.operator-card table {
  width: 100%;
  border-collapse: collapse;
}

.operator-card td {
  padding: 8px 0;
  font-size: 0.9rem;
}

.operator-card td:first-child {
  color: rgba(248, 240, 255, 0.5);
  width: 9.6rem;
  white-space: nowrap;
  padding-right: 18px;
  font-size: 0.82rem;
}

.operator-card td:last-child {
  color: var(--text-lt);
}

.operator-card tr + tr td {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.operator-card a {
  color: var(--rose-lt);
}

.section {
  margin-bottom: 40px;
}

.section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--rose), var(--lavender));
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-lt);
  margin-bottom: 12px;
}

.section-body {
  font-size: 0.92rem;
  color: rgba(248, 240, 255, 0.75);
  line-height: 1.9;
}

.section-body p {
  margin-bottom: 10px;
}

.section-body ul,
.section-body ol {
  padding-left: 1.2em;
  margin-bottom: 10px;
}

.section-body li {
  margin-bottom: 6px;
}

.section-body strong {
  color: var(--rose-lt);
  font-weight: 600;
}

.section-body a {
  color: var(--rose-lt);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  margin: 16px 0;
  border-radius: 10px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.data-table th {
  background: rgba(61, 26, 107, 0.4);
  color: var(--rose-lt);
  font-weight: 600;
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(155, 110, 200, 0.25);
  white-space: nowrap;
}

.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(248, 240, 255, 0.75);
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.note {
  background: rgba(61, 26, 107, 0.35);
  border-left: 3px solid var(--lavender);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin: 14px 0;
}

.note-warn {
  background: rgba(200, 82, 122, 0.12);
  border-left: 3px solid var(--rose);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin: 14px 0;
}

footer {
  background: #05020f;
  padding: 40px 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 64px;
}

.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--rose-lt);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-copy a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 600px) {
  .nav {
    padding: 14px 20px;
  }

  .page-wrap {
    padding: 90px 20px 60px;
  }

  .page-title {
    font-size: 1.7rem;
  }
}
