/* ---------- Fonts ---------- */
@font-face {
  font-family: "Dameron";
  src: url("assets/fonts/dameron.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Dameron";
  src: url("assets/fonts/dameronsemital.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "Torwelten";
  src: url("assets/fonts/TorweltenMono.ttf") format("truetype");
}
@font-face {
  font-family: "CourierLocal";
  src: url("assets/fonts/Courier.ttc") format("truetype");
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: #000; color: #fff; font-family: "CourierLocal", "Courier New", Courier, monospace; }
.page {
  max-width: 430px;
  margin: 0 auto;
  background: #000;
}
@media (min-width: 701px) {
  .page { max-width: none; }
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Top nav ---------- */
.top-nav {
  position: relative;
  width: 100%;
  background: url("assets/img/top-nav-bar.png") left center / auto 100% no-repeat #000;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 18px;
}
.top-nav .nav-links {
  display: flex;
  gap: 28px;
  font-family: "Dameron", sans-serif;
  font-style: italic;
  font-size: 18px;
  letter-spacing: 1px;
  color: #fff;
}
.top-nav .nav-links a:hover { opacity: 0.7; }

/* ---------- Hero ---------- */
.hero {
  width: 100%;
  background: #000;
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Shop/Sell/News tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
}
.tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70%;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.tile .tile-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 2;
  text-align: center;
  font-family: "Dameron", sans-serif;
  font-style: italic;
  font-weight: bold;
  font-size: 22px;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

/* ---------- .edu verified section ---------- */
.edu-section {
  background: #000;
  padding: 40px 24px;
}
.edu-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}
.edu-text .edu-header {
  font-family: "Dameron", sans-serif;
  font-style: italic;
  font-size: 32px;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 18px;
  white-space: nowrap;
}
.edu-text .edu-desc {
  font-family: "CourierLocal", "Courier New", Courier, monospace;
  color: #fff;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.5;
  margin-bottom: 22px;
  max-width: 520px;
}
.edu-text .edu-desc .bold { font-weight: bold; }
.learn-more {
  display: inline-block;
  position: relative;
  padding: 14px 42px;
  background: url("assets/img/learn-more-box.png") center / 100% 100% no-repeat;
  font-family: "CourierLocal", "Courier New", Courier, monospace;
  font-style: italic;
  color: #fff;
  font-size: 16px;
}
.edu-gallery img {
  width: 100%;
  height: auto;
}

/* ---------- Footer ---------- */
.footer {
  background: #000;
  border-top: 1px solid #111;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: "Dameron", sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  color: #fff;
}
.footer .footer-links {
  display: flex;
  gap: 26px;
}
.footer .footer-socials {
  display: flex;
  gap: 14px;
  font-family: "Dameron", sans-serif;
  font-size: 14px;
}

/* ---------- Responsive (mobile) ---------- */
@media (max-width: 720px) {
  .edu-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .edu-text { order: 1; }
  .edu-gallery { order: 2; }
  .top-nav { height: 48px; padding: 0 14px; }
  .top-nav .nav-links { gap: 16px; font-size: 14px; }
  .footer {
    flex-direction: column;
    gap: 12px;
    padding: 16px 14px;
    text-align: center;
  }
  .tile .tile-label { font-size: 20px; bottom: 6px; }
}

/* ---------- Desktop overrides (same layout as mobile, scaled up) ---------- */
@media (min-width: 701px) {
  .top-nav {
    height: 150px;
    padding: 0 44px;
  }
  .top-nav .nav-links {
    font-size: 22px;
    gap: 40px;
  }
  .hero {
    width: 100%;
    height: 732px;
    background: #000;
    overflow: hidden;
  }
  .hero img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
  }
  .tile {
    aspect-ratio: auto;
    height: 500px;
  }
  .tile .tile-label {
    font-size: 38px;
    bottom: 28px;
    letter-spacing: 2px;
  }
  .edu-section {
    padding: 60px 60px;
  }
  .edu-inner {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    align-items: center;
  }
  .edu-text .edu-header {
    font-size: 42px;
    margin-bottom: 22px;
  }
  .edu-text .edu-desc {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 26px;
    max-width: 500px;
  }
  .learn-more {
    padding: 14px 44px;
    font-size: 15px;
  }
  .edu-gallery { display: flex; justify-content: center; }
  .edu-gallery img { max-width: 520px; width: 100%; }
  .footer {
    padding: 24px 40px;
    font-size: 16px;
  }
  .footer .footer-links { gap: 40px; }
  .footer .footer-socials svg { width: 24px; height: 24px; }
}

/* ---------- Under-construction page ---------- */
.uc-wrap {
  min-height: calc(100vh - 56px - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  text-align: center;
}
.uc-wrap h1 {
  font-family: "Dameron", sans-serif;
  font-style: italic;
  font-size: clamp(36px, 6vw, 84px);
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.uc-wrap p {
  font-family: "CourierLocal", "Courier New", Courier, monospace;
  font-size: 16px;
  max-width: 520px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.uc-wrap a.back {
  font-family: "CourierLocal", "Courier New", Courier, monospace;
  font-style: italic;
  padding: 12px 30px;
  border: 1px solid #7cf29a;
  border-radius: 999px;
  color: #fff;
}
