@import url("common.css");

/* === Page wrapper === */
html {
  height: 100%;
}

body {
  font-family: "Montserrat", sans-serif;
  background-size: cover;
  background-repeat: repeat;
  position: relative;
  line-height: 1.6;
}

#background {
  display: none !important;
}

#content {
  padding-top: 4.5em;
  min-height: 100vh;
  text-align: left;
}

/* === Heading === */
.heading {
  position: relative;
  max-width: 1100px;
  margin: 1.5em auto 0;
  padding: 1.2em 1.5em;
  background: transparent;
  text-align: center;
}

.heading h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
}

.back-arrow {
  position: absolute;
  top: 50%;
  left: 1.4em;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4em;
  height: 2.4em;
  border-radius: 999px;
  border: 1px solid rgba(255, 186, 1, 0.25);
  background: rgba(24, 20, 14, 0.45);
  transition: border-color 0.25s ease, background 0.25s ease,
    transform 0.25s ease;
}

.back-arrow a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.back-arrow img {
  height: 1.1em;
  width: auto;
  filter: brightness(0) saturate(100%) invert(79%) sepia(61%) saturate(2107%)
    hue-rotate(1deg) brightness(102%) contrast(103%);
  transition: transform 0.25s ease;
}

.back-arrow:hover {
  border-color: #ffba01;
  background: rgba(255, 186, 1, 0.12);
  transform: translateY(-50%) scale(1.05);
  box-shadow: none;
}

.back-arrow:hover img {
  transform: translateX(-2px);
}

/* === Legal document card === */
main {
  max-width: 860px;
  margin: 1.5em auto 4em;
  padding: clamp(1.8em, 4vw, 3em) clamp(1.6em, 4vw, 2.8em);
}

main section + section {
  margin-top: clamp(1.4em, 3vw, 2em);
  padding-top: clamp(1.4em, 3vw, 2em);
  border-top: 1px solid rgba(255, 186, 1, 0.18);
}

main section h2 {
  margin: 0 0 0.7em;
  color: #ffba01;
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
}

main section p {
  margin: 0 0 0.9em;
  font-size: 0.96rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.85);
}

main section p:last-child {
  margin-bottom: 0;
}

main section a,
main ul li a {
  color: #ffba01;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 186, 1, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

main section a:hover,
main ul li a:hover {
  color: #ffd25a;
  border-bottom-color: #ffd25a;
}

/* Custom gold-bullet list — replaces the default disc markers */
main ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9em;
}

main ul li {
  position: relative;
  padding-left: 1.5em;
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

main ul li::before {
  content: "";
  position: absolute;
  left: 0.15em;
  top: 0.75em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffba01 0%, #ce8600 100%);
  box-shadow: 0 0 10px rgba(255, 186, 1, 0.45);
}

main ul li strong {
  color: #fff;
  font-weight: 800;
  margin-right: 0.2em;
}

/* === Responsive === */
@media (max-width: 600px) {
  #content {
    padding-top: 4em;
  }

  .heading {
    padding-left: 3em;
    padding-right: 1em;
  }

  .back-arrow {
    left: 0.8em;
    width: 2.1em;
    height: 2.1em;
  }

  main {
    margin: 1em 1em 3em;
    padding: 1.4em 1.2em;
    border-radius: 22px;
  }
}
