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

html,
body {
  width: 100%;
  min-height: 100%;
  background: #03030a;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

.infix-homepage {
  width: 100%;
  min-height: 100vh;
  background: #03030a;
}

/* Main image wrapper */
.image-map {
  position: relative;
  width: 100%;
  max-width: 3840px;
  margin: 0 auto;
  background: #03030a;
}

/* 4K WebP homepage image */
.homepage-img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Invisible clickable zones */
.hotspot {
  position: absolute;
  display: block;
  z-index: 20;
  background: rgba(255, 255, 255, 0);
  cursor: pointer;
}

/* Uncomment this only for testing hotspot positions */
/*
.hotspot {
  background: rgba(255, 215, 0, 0.18);
  border: 1px solid rgba(255, 215, 0, 0.7);
}
*/

/* Dynamic overlays */
.overlay {
  position: absolute;
  z-index: 30;
  color: white;
  pointer-events: none;
}

/* ================= MASKS FOR BAKED-IN IMAGE VALUES ================= */

.mask {
  position: absolute;
  z-index: 28;
  background: #070613;
  pointer-events: none;
}

/* Covers baked-in plus sign inside profile circle */
.profile-plus-mask {
  left: 6.35%;
  top: 20.4%;
  width: 2.6%;
  height: 5.9%;
  border-radius: 8px;
}

/* Covers baked-in Works Submitted 0.
   Wide enough for future numbers like 24, 156, 2.4K */
.works-zero-mask {
  left: 49.35%;
  top: 22.35%;
  width: 4.8%;
  height: 5.7%;
  border-radius: 8px;
}

/* Covers baked-in Reviews Given 0.
   Wide enough for future numbers like 24, 156, 2.4K */
.reviews-zero-mask {
  left: 57.45%;
  top: 22.35%;
  width: 4.8%;
  height: 5.7%;
  border-radius: 8px;
}

/* ================= TOP NAV HOTSPOTS ================= */

.nav-home {
  left: 33.3%;
  top: 3.8%;
  width: 4.7%;
  height: 4.1%;
}

.nav-explore {
  left: 38.3%;
  top: 3.8%;
  width: 5.5%;
  height: 4.1%;
}

.nav-community {
  left: 44.1%;
  top: 3.8%;
  width: 7%;
  height: 4.1%;
}

.nav-resources {
  left: 51.4%;
  top: 3.8%;
  width: 6.7%;
  height: 4.1%;
}

.nav-events {
  left: 58.5%;
  top: 3.8%;
  width: 5%;
  height: 4.1%;
}

.nav-messages {
  left: 63.6%;
  top: 3.8%;
  width: 6.7%;
  height: 4.1%;
}

/* Top-right icons */
.bell-hotspot {
  left: 81.3%;
  top: 2.3%;
  width: 3.2%;
  height: 5.5%;
}

.profile-hotspot {
  left: 85.5%;
  top: 2.0%;
  width: 12%;
  height: 6%;
}

/* ================= MAIN PAGE BUTTONS ================= */

.student-hotspot {
  left: 5.0%;
  top: 36.0%;
  width: 9.3%;
  height: 17.2%;
}

.tutor-hotspot {
  left: 17.4%;
  top: 36.0%;
  width: 10%;
  height: 17.2%;
}

.marketplace-hotspot {
  left: 29.7%;
  top: 36.0%;
  width: 12.5%;
  height: 17.2%;
}

.journal-hotspot {
  left: 43.2%;
  top: 36.0%;
  width: 10.7%;
  height: 17.2%;
}

.isc-hotspot {
  left: 55.2%;
  top: 36.0%;
  width: 10.4%;
  height: 17.2%;
}

/* ================= DOMAIN HOTSPOTS ================= */

.domain-stem {
  left: 69.6%;
  top: 18.0%;
  width: 7.2%;
  height: 15.2%;
}

.domain-literature {
  left: 77.0%;
  top: 18.0%;
  width: 7.2%;
  height: 15.2%;
}

.domain-video {
  left: 84.5%;
  top: 18.0%;
  width: 7.2%;
  height: 15.2%;
}

.domain-design {
  left: 92.0%;
  top: 18.0%;
  width: 6.2%;
  height: 15.2%;
}

.domain-music {
  left: 69.6%;
  top: 34.2%;
  width: 7.2%;
  height: 15.2%;
}

.domain-liberal {
  left: 77.0%;
  top: 34.2%;
  width: 7.2%;
  height: 15.2%;
}

.domain-culinary {
  left: 84.5%;
  top: 34.2%;
  width: 7.2%;
  height: 15.2%;
}

.domain-finance {
  left: 92.0%;
  top: 34.2%;
  width: 6.2%;
  height: 15.2%;
}

/* ================= VIEW ALL HOTSPOTS ================= */

.domains-viewall {
  left: 91.5%;
  top: 14.2%;
  width: 6.5%;
  height: 3.5%;
}

.submitted-viewall {
  left: 24.6%;
  top: 57.2%;
  width: 6.3%;
  height: 3.8%;
}

.reviews-viewall {
  left: 55.0%;
  top: 57.2%;
  width: 6.5%;
  height: 3.8%;
}

.ongoing-viewall {
  left: 91.2%;
  top: 57.2%;
  width: 6.5%;
  height: 3.8%;
}

/* ================= FOOTER HOTSPOTS ================= */

.privacy-hotspot {
  left: 75.8%;
  top: 96.0%;
  width: 5.8%;
  height: 3%;
}

.terms-hotspot {
  left: 82.4%;
  top: 96.0%;
  width: 5.4%;
  height: 3%;
}

.support-hotspot {
  left: 88.5%;
  top: 96.0%;
  width: 4.8%;
  height: 3%;
}

/* ================= PROFILE PHOTO OVERLAY ================= */

.profile-upload {
  position: absolute;
  z-index: 35;
  left: 3.6%;
  top: 15.4%;
  width: 8.0%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  overflow: hidden;
}

.profile-upload span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #f5c542;
  font-size: clamp(18px, 3vw, 95px);
  line-height: 1;
  text-shadow:
    0 0 12px rgba(245, 197, 66, 0.95),
    0 0 22px rgba(245, 197, 66, 0.35);
}

.profile-upload img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  border-radius: 50%;
}

/* ================= FUTURE USER DATA OVERLAYS ================= */
/* These are prepared for later backend/database updates.
   Most are empty now because the image already has placeholder labels. */

.user-name {
  left: 23.3%;
  top: 18.6%;
  font-size: clamp(10px, 1.15vw, 42px);
  color: #c084fc;
}

.infix-id-value {
  left: 16.0%;
  top: 27.6%;
  font-size: clamp(7px, 0.72vw, 25px);
  color: #ddd6ff;
}

.member-since-value {
  left: 23.9%;
  top: 27.6%;
  font-size: clamp(7px, 0.72vw, 25px);
  color: #ddd6ff;
}

.average-stars {
  left: 38.1%;
  top: 23.7%;
  font-size: clamp(11px, 1.35vw, 45px);
  letter-spacing: 0.12em;
  color: rgba(245, 197, 66, 0.25);
}

/* Coded works number above the mask */
.works-count {
  left: 49.35%;
  top: 22.45%;
  width: 4.8%;
  font-size: clamp(13px, 1.8vw, 58px);
  color: white;
  text-align: center;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.28);
}

/* Coded reviews number above the mask */
.reviews-count {
  left: 57.45%;
  top: 22.45%;
  width: 4.8%;
  font-size: clamp(13px, 1.8vw, 58px);
  color: white;
  text-align: center;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.28);
}

.light-level-value {
  left: 64.6%;
  top: 23.0%;
  font-size: clamp(10px, 1.1vw, 36px);
  color: #f5c542;
}

/* Lists are empty now. Later JS/backend will fill these boxes. */

.submitted-list {
  left: 3.2%;
  top: 61.4%;
  width: 26.5%;
  height: 28%;
  overflow: hidden;
}

.reviews-list {
  left: 34.0%;
  top: 61.4%;
  width: 27%;
  height: 28%;
  overflow: hidden;
}

.ongoing-list {
  left: 65.3%;
  top: 61.4%;
  width: 31.0%;
  height: 28%;
  overflow: hidden;
}

/* Example future card styling */
.dynamic-card {
  width: 100%;
  min-height: 18%;
  padding: 2.5% 3%;
  margin-bottom: 2%;
  border-radius: 10px;
  background: rgba(14, 10, 35, 0.58);
  border: 1px solid rgba(155, 92, 246, 0.18);
  color: #f5f0ff;
  font-size: clamp(8px, 0.75vw, 26px);
}

.dynamic-card small {
  display: block;
  margin-top: 0.4em;
  color: #a9a1c8;
}

/* Mobile behavior:
   The full dashboard scales down. Later we can create a separate mobile image. */

@media (max-width: 768px) {
  body {
    overflow-x: auto;
  }

  .image-map {
    min-width: 1100px;
  }
}
