@font-face {
  font-family: 'Michroma';
  src: url('./fonts/Michroma/Michroma-Regular.ttf');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Michroma';
}

html {
  overflow-x: hidden;
}

body {
  background: #05010c;
  color: white;
  font-family: 'michroma', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  overflow-x: hidden;
  background: linear-gradient(180deg, #05010c 0%, #1a0a33 40%);
}

/* ===== Layout width safety ===== */
header {
  width: 70%;
  max-width: 1200px;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 60px;
  width: 100%;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 17px 60px;
  align-items: center;
  width: 100%;
}

.logo {
  top: 40px;
  width: 132px;
  height: 40px;
  left: 107px;
  gap: 12px;
}

.navbar nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #ccc;
  height: 46px;
  top: 32px;
  left: 695px;
  gap: 46px;
}

/* btn is used as <a class="btn"> in your HTML */
.btn {
  background: #6a00ff;
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  color: white;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

/* ===== HERO ===== */
.hero {
  width: 100%;
  display: flex;
  justify-content: center;
}

.img-cont {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
}

.image1 {
  width: 272px;
  height: 88px;
  top: 50px;
  left: 90px;
  gap: 12px;
  position: absolute;
  border-radius: 20px;
}

.image2 {
  width: 1080px;
  max-width: 100%;
  height: auto;
  top: 116px;
  left: 98px;
  border: 1px;
  border-radius: 20px;
  display: block;
}

.overlay-text {
  position: absolute;
  top: 40%;
  left: 8%;
  font: weight 600;
  font-size: 40px;
  font-style: regular;
  letter-spacing: 0%;
  line-height: 100%;
  width: 750px;
  max-width: 90%;
}

/* ===== REV SPIN IMAGE ===== */
.rev {
  width: 100%;
  display: flex;
  justify-content: center;
}

.rev1 {
  width: 941px;
  max-width: 100%;
  height: auto;
  top: 7px;
  left: 169px;
  margin-top: 60px;
  display: block;
}

/* ===== PAY EASY SECTION ===== */
.pay-easy {
  width: 100%;
  display: flex;
  justify-content: center;
}

.pay-easy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.easy-pay {
  width: 1050px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== WAITLIST FORM ===== */
.form {
  border: 1px dotted #7114E3;
  width: 1039px;
  max-width: 90vw;
  height: 418px;
  left: 122px;
  top: 2165px;
  right: 12px;
  bottom: 24px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.waitlist {
  background: #6a00ff;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  width: 150px;
  position: relative;
  bottom: 25%;
  right: 40%;
}

.sign input {
  padding: 15px;
  width: 700px;
  max-width: 90vw;
  border: 1px dotted #7114E3;
  background: #05010c;
  color: white;
}

.sign button {
  padding: 15px;
  background: #6a00ff;
  color: #ccc;
  width: 700px;
  max-width: 90vw;
}

/* ===== FOOTER ===== */
footer {
  border: 1px dotted #7114E3;
  width: 1088px;
  max-width: 90vw;
  left: 46px;
  top: 2694px;
  height: 196px;
  padding-left: 46px;
  padding-right: 46px;
  border-left: hidden;
  border-right: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-bottom: 80px;
}

footer a {
  color: white;
  text-decoration: none;
}

.telegram {
  background: white;
  color: #05010c;
  padding: 5px 18px;
  width: 130px;
  border-radius: 4px;
}

.twitter {
  background: white;
  color: #05010c;
  padding: 5px 18px;
  width: 130px;
  border-radius: 4px;
}

/* ===== Tablet / Medium Screens Fix ===== */
@media (max-width: 1024px) {
  header {
    width: 92%;
  }

  .navbar {
    padding: 14px 20px;
  }

  .overlay-text {
    font-size: 32px;
    width: min(750px, 90%);
  }

  .waitlist {
    right: 0;
    bottom: 0;
  }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {

  body {
    align-items: stretch;
    gap: 20px;
    overflow-x: hidden;
  }

  header {
    width: 100%;
  }

    .navbar {
    width: 100%;
    padding: 20px 16px;
    display: flex;
    flex-direction: row;            /* ✅ changed from column */
    justify-content: space-between; /* ✅ */
    align-items: center;            /* ✅ */
    gap: 0;
    position: relative;             /* ✅ needed for dropdown */
    z-index: 1000;                  /* ✅ keep header above hero */
  }

  .logo {
    width: 120px;
    height: auto;
  }

  /* ✅ FIX: hide nav by default on mobile */
  .navbar nav {
    display: none;
  }


  .navbar nav a {
    font-size: 14px;
    margin: 0;
  }

  .btn {
    width: 80%;
    text-align: center;
    padding: 10px 14px;
    border-radius: 20px;
  }

  /* ===== HERO: keep logo + overlay INSIDE the card on mobile ===== */
  .img-cont {
    position: relative;
    width: 95vw;
    max-width: 95vw;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
  }

  .image2 {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
  }

  .image1 {
    position: absolute;
    top: 5px;
    left: 14px;
    width: 140px;
    height: auto;
    z-index: 2;
  }

  .overlay-text {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 58%;
    transform: translateY(-50%);
    font-size: clamp(18px, 4.2vw, 28px);
    line-height: 1.3;
    text-align: left;
    z-index: 2;
    max-width: 90%;
  }

  .waitlist {
    margin-bottom: 30px;
  }

  .rev1 {
    width: 90vw;
  }

  .easy-pay {
    width: 95vw;
  }

  .form {
    width: 95vw;
    height: auto;
    padding: 30px 16px;
  }

  .waitlist {
    position: static;
    width: 70%;
  }

  .sign input,
  .sign button {
    width: 100%;
    max-width: 100%;
  }

  footer {
    width: 95vw;
    flex-direction: column;
    gap: 14px;
    padding: 25px 0;
  }
}

/* ===== Animation ===== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.rev1 {
  animation: spin 20s linear infinite;
}

/* ===== FAQ ===== */
.faq-section {
  max-width: 1075px;
  width: 90%;
}

.faq-section h1 {
  font-size: 40px;
  margin-bottom: 30px;
}

.accordion-item {
  background: #05010c;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #222;
}

.accordion-item input {
  display: none;
}

.accordion-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  background: #05010c;
  transition: background 0.3s ease;
}

.accordion-title:hover {
  background: #7114E3;
}

.icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #0d0d0d;
}

.accordion-content p {
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

.accordion-item input:checked ~ .accordion-content {
  max-height: 200px;
}

.accordion-item input:checked ~ .accordion-title .icon {
  transform: rotate(-135deg);
}

/* ===== Waitlist Message ===== */
#waitlistMsg {
  min-height: 18px;
  color: #ccc;
}

#waitlistMsg.success {
  color: #4cff88;
}

#waitlistMsg.error {
  color: #ff6b6b;
}

/* ========================= */
/* HAMBURGER MENU STYLES */
/* ========================= */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
    z-index: 1100; /* ✅ make sure button is clickable */
  }

  /* ✅ FIX: dropdown appears directly under the navbar */
  #navMenu {
    position: absolute;
    top: 100%;        /* ✅ was 80px */
    left: 0;          /* ✅ ensures full width aligns */
    width: 100%;
    background: #05010c;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    display: none;
    border-top: 1px solid #7114E3;
    z-index: 2000;    /* ✅ menu above hero image */
  }

  #navMenu.active {
    display: flex;
  }

  /* ✅ optional but safe: make each link take space properly */
  #navMenu a {
    width: 100%;
    text-align: center;
  }
}