/* Fonts */
@font-face {
    font-family: 'BL Melody';
    src: url('../../fonts/bl-melody/BLMelody-Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'BL Melody';
   src: url('../../fonts/bl-melody/BLMelodyMono-Bold.otf') format('opentype');
    font-weight: 700;
   font-style: normal;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh; 
  background: #111;
  color: #efefef;
  overflow-x: hidden;
  font-family: "BL-Melody", sans-serif;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.15vw 2vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(20, 20, 20, 0.06);
  z-index: 9999;
  transition: background 0.25s ease, padding 0.25s ease;
  font-family: "Anton SC", sans-serif;
  font-weight: 400;
}

.navbar-logo {
  align-items: center;
  display: flex;
  gap: 2rem;
  font-size: 1.1rem;
}

.navbar-logo img {
  height: 1.8vw;
  min-height: 4rem;
}

.navbar-links {
  font-family: "Anton-Sc", sans-serif;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

.navbar-link {
  font-family: "Anton SC", sans-serif;
  color: #f3f2ee;
  text-decoration: none;
  font-size: 1.25rem;
  padding: 0.45rem 0;
  transition: color 0.2s ease;
}

.navbar-link:hover {
  color: #ddb173;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.navbar-register {
  font-family: "Anton SC", sans-serif;
  padding: 0.45em 1.4em;
  border-radius: 2em;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 0.8rem;
  background: #fdeed8;
  color: #252510;
  cursor: pointer;
  transition: all 0.16s;
  box-shadow: 0 2px 16px 0 #0002;
}

.navbar-register:hover {
  background: #e0cfad;
  color: #43260f;
}

.navbar.light-nav .navbar-link {
  color: black;
}

.light-nav span {
  color: black;
} 

.navbar.light-nav .navbar-register {
  color: black;
  border-color: black;
  background-color: transparent;
}

/* ------ MOBILE MENU SLIDE-OUT ------ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: rgba(20, 20, 20, 0.97);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4rem;
  justify-content: flex-start;
  gap: 1.8rem;
  transition: right 0.35s ease-in-out;
  z-index: 9998;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .navbar-link {
  font-size: 1.1rem;
  text-align: center;
}

.mobile-menu .navbar-register {
  font-size: 1.1rem;
  padding: 0 2em;
}

/* ------ Overlay ------*/
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 9997;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  z-index: 9998;
}

.hamburger {
  z-index: 9999; 
}

/* ===== Hamburger Animation ===== */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Responsive Navbar */
@media (max-width: 700px) {
  .navbar {
    padding: 2.5vw 5vw 2vw 3vw;
    font-size: 14px;
  }
  .navbar-logo img {
    height: 22px;
  }
  .navbar-links {
    display: none;
  }
  .navbar-register {
    font-size: 15px;
    padding: 0.5em 1.3em;
  }
  .hamburger {
    display: flex;
  }
}

/* =================== */
/* COMBINED PAGE 1 & 2 */
/* =================== */

.combined-section {
  width: 100vw;
  min-height: 200vh;
  position: relative;
  background: #111;
}

/* BACKGROUND IMAGE - stays behind everything */
.debate-bg-anim {
  width: 100vw;
  height: 100vh;
  filter: grayscale(1) brightness(1.5) blur(0.1px);
  z-index: 1 !important;  /* Lower than all content */
  pointer-events: none;
}

/* PAGE 1 CONTENT - in front of bg */
.page1-content {
  min-height: 100vh;
  position: relative;
  z-index: 100;  /* Way higher than bg image */
  padding-top: 72px;
}

.debate-content {
  position: relative;
  z-index: 100;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: -3rem;
}

.presents-text {
  color: #fdeed8;
  font-weight: 700;
  font-family: 'BL Melody', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  user-select: none;
  position: relative;
  z-index: 100;
}

.debate-title {
  font-family: 'Anton SC', sans-serif;
  color: #FAF3E0;
  font-weight: 900;
  margin-top: 0.2rem;
  font-size: 7vw;
  line-height: 1.1;
  text-shadow: 0 4px 14px #0008;
  margin-bottom: 2vw;
  position: relative;
  z-index: 100;
}

.debate-desc {
  font-family: 'BL Melody', sans-serif;
  max-width: 45rem;
  margin: 0 auto 3vw;
  font-size: 1.3vw;
  color: #ccc;
  position: relative;
  z-index: 100;
}

.debate-btn {
  font-family: 'BL Melody', sans-serif;
  margin-top: 2vw;
  padding: 0.85em 2.85em;
  border-radius: 28px;
  border: none;
  font-weight: 700;
  font-size: 1.3vw;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  z-index: 100;
}

.debate-btn-primary {
  font-family: 'BL Melody', sans-serif;
  background: #c26629;
  color: #fdeed8;
}

.debate-btn-primary:hover {
  background: #ee9f53;
}

.debate-btn-outline {
  background: transparent;
  color: #fdeed8;
  border: 1px solid #fdeed8;
}

.debate-btn-outline:hover {
  background: #4c2a17;
}

.button-row {
  display: flex;
  gap: 1vw;
  justify-content: center;
  position: relative;
  z-index: 100;
}

/* PAGE 2 CONTENT */
.page2-content {
  min-height: 100vh;
  position: relative;
  z-index: 100;
}

.stage-outer {
  position: relative;
  z-index: 100;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.stage-main {
  color: #95b721;
  font-weight: 800;
  font-family: "Anton SC", sans-serif;
  font-size: 8vw;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 100;
}

.mini-img-placeholder {
  width: 16vw;
  aspect-ratio: 16 / 9;
  position: relative;
  margin: 0 2vw;
  z-index: 1;
}

.stage-desc {
  max-width: 50rem;
  font-family: 'BL Melody', sans-serif;
  margin-top: 3vw;
  font-size: 1.3vw;
  color: #ccc;
  position: relative;
  z-index: 100;
}

/* MOBILE STYLES */
@media (max-width: 700px) {
  .debate-bg-anim {
    position: absolute;
    width: 100vw;
    height: 100vh;
    filter: grayscale(1) brightness(0.35) blur(0.7px);
  }
  
  .presents-text {
    margin-bottom: 6rem;
    user-select: none;
    margin-top: -2rem;
  }
  
  .debate-title {
    margin-bottom: 2.5rem;
    font-size: 10vw;
  }
  
  .debate-desc {
    margin-bottom: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 16px;
  }
  
  .debate-btn,
  .debate-btn-primary,
  .debate-btn-outline {
    padding: 0.85em 2em;
    font-size: 16px;
  }
  
  .stage-main .mini-img-placeholder {
    display: none !important;
  }
  
  .stage-main {
    gap: 0 !important;
    font-size: 10vw;
    display: inline;
  }
  
  .stage-main + .stage-main {
    display: inline;
  }
  
  .stage-desc {
    font-size: 18px;
    margin-top: 9vw;
  }
}
