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

@font-face {
  font-family: 'BlockBlueprint';
  src: url('./fonts/BlockBlueprint.ttf') format('truetype');
}

@font-face {
  font-family: 'Teknaf';
  src: url('./fonts/TeknafRegular-rv0aB.otf') format('opentype');
}

body {
  font-family: sans-serif;
  background: black;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* HERO */
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  will-change: transform, opacity;
  z-index: 20;
}

.overlay-video {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 90vw;
  height: 80vh;
  transform: translate(-50%, -39%) scale(1.3);
  filter: contrast(1.3) saturate(0.6);
}

.intro-video {
  z-index: 2;
  opacity: 1;
  transition: opacity 0.8s ease;
}

.loop-video {
  z-index: 1;
}

/* PAGE 2 */
#content {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: black;
  opacity: 0;
  z-index: 4;
}

.content-inner {
  text-align: center;
}

.content-image {
  margin-top: 400px;
  width: 320px;
  max-width: 80vw;
  transform: scale(6);
}
.content-vmage {
  display: flex;
  align-items: center;
  margin-right: 500px;
  max-width: 500px;
  justify-content: center;
  height: 300px;
  background-color: #000;
  color: #fff;
  font-size: 1rem;
  font-family: Teknaf;
  text-align: left;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* PAGE 3 */
#page3 {
  position:relative;
  height: 200vh;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  background: black;
  overflow: hidden;
  transform: scale(1);
  z-index: 3;
}

.page3-video {
  position: absolute;
  top: 200px;
  left: 80%;
  width: 80vw;
  height: 80vh;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1);
  z-index: 1;
}

.page3-inner {
  position: relative;
  font-size: 0.8rem;
  top: 250px;
  left: 110%;
  width: 500px;
  height: 80vh;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1);
  z-index: 0;
}

.page3-inner h1 {
  font-size: 4rem;
}

.page3-inner p {
  margin-bottom: 00px;
  margin-right: -400px;
  font-size: 1rem;
  opacity: 0.8;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* PAGE 4 */
#page4 {
  position: relative;
  height: 80vh;
  width: 100vw;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: black;
  overflow: visible;
  z-index: 3;
}

.page4-video {
  position: absolute;
  top: -1000px;
  left: 50%;
  width: 80vw;
  height: 80vh;
  object-fit: cover;
  transform: translate(-70%, -50%) scale(-1) rotate(60deg);
  z-index: 0;
}

.page4-inner {
  align-items: center;
  margin-top: -1100px;
  margin-right: 400px;
  justify-content: center;
  height: 300px;
  background-color: #00000000;
  font-size: 0.9rem;
  font-family: Teknaf;
  text-align: left;
  z-index: 1;
}

.p1 {
  color: rgb(255, 255, 255);
  margin-left: 300px;
  max-width: 500px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.p2 {
  color: rgb(255, 255, 255);
  margin-left: 1000px;
  margin-top: 100px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* PAGE 5 */
#page5 {
  position: relative;
  margin-top: 80px;
  height: 60vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(4%, -50%) scale(0.4);
  overflow: visible;
  z-index: 21;
}

.page5-video {
  position: absolute;
  top: 750px;
  left: 0%;
  width: 80vw;
  height: 200vh;
  object-fit: cover;
  overflow: visible;
  opacity: 0.5;
  z-index: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.page5-inner {
  position: absolute;
  top: 800px;
  left: -22%;
  width: 80vw;
  height: 80vh;
  object-fit: cover;
  overflow: visible;
  z-index: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.star-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.star {
  position: absolute;
  z-index: 2;
  width: 40px;
  height: auto;
  pointer-events: auto;
  cursor: pointer;
  opacity: 0.55;
  filter:
    drop-shadow(0 0 6px rgba(255,255,255,0.3))
    drop-shadow(0 0 14px rgba(255,200,100,0.4))
    drop-shadow(0 0 30px rgba(255,100,100,0.3));
  transition:
    transform 0.35s ease,
    filter 0.35s ease,
    opacity 0.35s ease;
}

.star:hover {
  transform: scale(2.2);
  opacity: 0.9;
  filter:
    drop-shadow(0 0 14px white)
    drop-shadow(0 0 40px red)
    drop-shadow(0 0 90px gold);
}

/* PAGE 6 LAYOUT */
#page6 {
  width: 100%;
  position: relative;
  min-height: 20vh;
  z-index: 9999;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  box-sizing: border-box;
  margin-top: 600px;
  overflow: visible;
}

.page6-container {
  margin-top: -600px;
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
}

.video-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-wrapper video {
  width: 400px;
  height: 225px;
  object-fit: cover;
  margin-top: 20px;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  transform: scale(0.92);
  background: #000;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-wrapper .video-button:hover + video,
.video-wrapper:hover video {
  opacity: 1;
  transform: scale(1);
}

.video-button {
  padding: 14px 28px;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.video-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.video-wrapper:hover .video-button::before {
  transform: translateX(100%);
}

.video-wrapper:hover .video-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.1),
    0 0 40px rgba(120, 200, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  letter-spacing: 0.12em;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  margin-top: 10px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
  z-index: 20;
}

.video-wrapper:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* PAGE 7 */
#page7 {
  width: 100%;
  min-height: 50vh;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page7-container {
  text-align: center;
  max-width: 600px;
}

#page7 h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #000;
  font-family: 'Teknaf', sans-serif;
  letter-spacing: 0.01em;
}

#page7 p {
  font-size: 1rem;
  margin: 5px 0;
  color: #333;
  letter-spacing: 0.01em;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* ---------- LAPTOP / SMALL DESKTOP (≤ 1400px) ---------- */
@media (max-width: 1400px) {
  .content-vmage { margin-right: 300px; }
  .page3-inner { left: 100%; width: 400px; }
  .page3-inner p { margin-right: -200px; }
  .p2 { margin-left: 700px; }
  .video-wrapper video { width: 340px; height: 191px; }
}

/* ---------- TABLET LANDSCAPE (≤ 1200px) ---------- */
@media (max-width: 1200px) {
  .overlay-video {
    width: 95vw;
    height: 70vh;
    transform: translate(-50%, -39%) scale(1.1);
  }
  .content-image { transform: scale(4); margin-top: 300px; }
  .content-vmage { margin-right: 100px; max-width: 400px; font-size: 0.9rem; }
  .page3-video { left: 50%; width: 90vw; height: 60vh; }
  .page3-inner {
    left: 50%; top: 600px; width: 80vw; height: auto;
    transform: translate(-50%, 0);
  }
  .page3-inner p { margin-right: 0; }
  .page4-video {
    top: -600px; width: 90vw;
    transform: translate(-50%, -50%) scale(-1) rotate(60deg);
  }
  .page4-inner { margin-top: -700px; margin-right: 0; width: 90vw; }
  .p1 { margin-left: 100px; max-width: 400px; }
  .p2 { margin-left: 400px; margin-top: 80px; max-width: 400px; }
  .page6-container { gap: 30px; }
  .video-wrapper video { width: 280px; height: 158px; }
}

/* ---------- TABLET PORTRAIT (≤ 900px) ---------- */
@media (max-width: 900px) {
  /* HERO */
  .overlay-video {
    width: 100vw;
    height: 60vh;
    transform: translate(-50%, -39%) scale(1);
  }

  /* PAGE 2 */
  #content { height: auto; min-height: 100vh; padding: 60px 20px; }
  .content-inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }
  .content-image { margin-top: 100px; width: 60vw; transform: scale(2.5); }
  .content-vmage { margin-right: 0; max-width: 90vw; height: auto; padding: 20px 0; font-size: 0.9rem; }

  /* PAGE 3 */
  #page3 { height: auto; min-height: 100vh; flex-direction: column; padding: 60px 20px; overflow: visible; }
  .page3-video { position: relative; top: auto; left: auto; width: 90vw; height: 40vh; transform: none; margin-bottom: 40px; }
  .page3-inner { position: relative; top: auto; left: auto; width: 90vw; height: auto; transform: none; }
  .page3-inner p { margin-right: 0; font-size: 0.95rem; }

  /* PAGE 4 */
  #page4 { height: auto; min-height: 100vh; flex-direction: column; padding: 60px 20px; overflow: visible; }
  .page4-video { position: relative; top: auto; left: auto; width: 90vw; height: 40vh; transform: scale(-1) rotate(60deg); margin-bottom: 40px; }
  .page4-inner { position: relative; margin-top: 0; margin-right: 0; height: auto; display: flex; flex-direction: column; gap: 30px; width: 90vw; }
  .p1, .p2 { margin-left: 0; margin-top: 0; max-width: 100%; font-size: 0.9rem; }

  /* PAGE 5 — centered, JS transforms disabled below 900px */
  #page5 {
    height: auto;
    min-height: 60vh;
    transform: none;
    margin-top: 0;
    padding: 40px 0;
    overflow: hidden;
  }
  .page5-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120vw;
    height: 100%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
  }
  .page5-inner {
    position: relative;
    top: auto;
    left: auto;
    width: 100vw;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: none;
  }
  .page5-inner .other-video {
    display: block;
    margin: 0 auto;
    width: 70vw;
    max-width: 420px;
    height: auto;
  }

  /* PAGE 6 */
  #page6 { margin-top: 100px; padding: 40px 20px; }
  .page6-container { margin-top: 0; flex-direction: column; align-items: center; gap: 40px; }
  .video-wrapper video {
    width: 90vw; max-width: 400px; height: auto;
    aspect-ratio: 16/9; opacity: 1; transform: scale(1);
  }
  .nav-dropdown {
    position: relative; top: auto; left: auto; transform: none;
    margin-top: 14px; opacity: 1; visibility: visible;
    pointer-events: auto; width: 90vw; max-width: 400px;
  }

  .star { width: 30px; }

  /* PAGE 7 */
  #page7 h1 { font-size: 2.2rem; }
  #page7 p { font-size: 0.95rem; }
}

/* ---------- MOBILE (≤ 600px) ---------- */
@media (max-width: 600px) {
  /* HERO — centered + zoomed to fill screen (no letterbox) */
  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .overlay-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100vh;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%) scale(1.35);
    filter: contrast(1.3) saturate(0.6);
  }

  .content-image { width: 50vw; transform: scale(2); margin-top: 60px; }
  .content-vmage { font-size: 0.85rem; padding: 15px 10px; }
  .page3-inner p, .p1, .p2 { font-size: 0.85rem; }
  .page3-video, .page4-video { height: 30vh; }

  .page5-inner .other-video { width: 80vw; max-width: 360px; }

  .video-button { padding: 10px 20px; font-size: 0.9rem; }
  .star { width: 22px; }

  #page7 { padding: 40px 15px; }
  #page7 h1 { font-size: 1.8rem; margin-bottom: 15px; }
  #page7 p { font-size: 0.85rem; word-break: break-word; }
}

/* ---------- SMALL MOBILE (≤ 380px) ---------- */
@media (max-width: 380px) {
  .content-image { transform: scale(1.6); }
  .content-vmage, .page3-inner p, .p1, .p2 { font-size: 0.8rem; }
  #page7 h1 { font-size: 1.5rem; }
}

/* ---------- LANDSCAPE PHONES ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero, .overlay-video { height: 100vh; }
  #content, #page3, #page4 { min-height: auto; padding: 40px 20px; }
  .content-image { margin-top: 40px; transform: scale(1.8); }
}