/* FONTS */
@font-face {
  font-family: "OCRAEXT";
  src: url("/assets/OCRAEXT.TTF") format("truetype");
}

@font-face {
  font-family: "Cy Grotesk";
  src: url("/assets/kobuzan-cy-grotesk-grand-dark.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

/* BASE */
body.policy-page {
    font-family: "OCRAEXT", sans-serif;     
    background-image: url('../images/Background.png'); /* your previous background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff; /* white text by default */
    line-height: 1.7;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

/* Add a semi-transparent overlay so text is readable */
body.policy-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0); /* black overlay */
    z-index: 0;
}

/* HEADER */
.policy-header {
  position: relative;
  z-index: 1; /* above overlay */
  text-align: center;
  padding: 3rem 1rem 2rem;
  border-radius: 10px;
}

.policy-header h1 {
  font-family: "Cy Grotesk", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.last-updated {
  font-size: 0.9rem;
  opacity: 0.8;
  color: #f5f5f5;
}

/* MAIN CONTAINER */
.policy-container {
  position: relative;
  z-index: 1; /* above overlay */
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  background-color: rgba(0,0,0,0.5); /* semi-transparent black box for text readability */
  border-radius: 10px;
}

/* SECTIONS */
.policy-container section {
  margin-bottom: 2rem;
}

.policy-container h2 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  color: #ff4d4d; /* red headings */
}

.policy-container p {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: #ffffff; /* white text */
}

/* LISTS */
.policy-container ul {
  margin-left: 1.2rem;
  margin-bottom: 1rem;
}

.policy-container li {
  margin-bottom: 0.4rem;
}

/* LINKS */
.policy-container a {
  color: #ff4d4d; /* red links */
  text-decoration: none;
}

.policy-container a:hover {
  text-decoration: underline;
}

/* FOOTER */
.policy-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.85rem;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(0,0,0,0.5);
  border-radius: 10px;
}

/* MOBILE */
@media (max-width: 600px) {
  .policy-header h1 {
    font-size: 1.8rem;
  }

  .policy-container {
    padding: 2rem 1rem;
  }
}
