


@font-face {
  font-family: 'Windlass';
  src: url('../fonts/Windlass.woff2') format('woff2'),
       url('../fonts/Windlass.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PragRoman';
  src: url('../fonts/PragRoman.woff2') format('woff2'),
       url('../fonts/PragRoman.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


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


body {
  background: #1a1008;
  color: #d8cdb8;
  font-family: 'PragRoman', Georgia, serif;
  min-height: 100vh;
}




body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../images/Treasure_Map.webp") center top / cover no-repeat;
  z-index: -2;
  pointer-events: none;
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 2, 0.55);
  pointer-events: none;
  z-index: -1;
}




@media (orientation: portrait) and (max-width: 520px) {
  body::after {
    background-size: 150% auto;
    background-position: center top;
  }
}


@media (orientation: landscape) and (min-width: 521px) {
  body::before {
    background: rgba(10, 5, 2, 0.68);
  }
}


.legal-back {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 5, 2, 0.85);
  border-bottom: 1px solid rgba(184, 146, 42, 0.3);
  padding: 0.85rem 1.5rem;
}
.legal-back a {
  font-family: 'Windlass', Georgia, serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #b8922a;
  text-decoration: none;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: color 0.2s;
}
.legal-back a:hover {
  color: #f5ead6;
}
.legal-back a:focus-visible {
  outline: 2px solid #b8922a;
  outline-offset: 3px;
  border-radius: 2px;
}


.legal-wrap {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}


.legal-title {
  font-family: 'Windlass', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #f5ead6;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}


.legal-date {
  font-size: 0.82rem;
  color: #8a7a5a;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}


.legal-rule {
  border: none;
  border-top: 1px solid rgba(184, 146, 42, 0.3);
  margin: 2.5rem 0;
}


.legal-wrap h2 {
  font-family: 'Windlass', Georgia, serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #b8922a;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
  margin-top: 2rem;
}
.legal-wrap h2:first-of-type {
  margin-top: 0;
}


.legal-wrap p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.85;
  color: #d8cdb8;
  margin-bottom: 1.1rem;
}
.legal-wrap p:last-child {
  margin-bottom: 0;
}


.legal-wrap a {
  color: #b8922a;
  text-decoration: underline;
}
.legal-wrap a:hover {
  color: #f5ead6;
}


@media (max-width: 520px) {
  .legal-wrap {
    padding: 2rem 1.25rem 4rem;
  }
}


