@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: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .logo {
    width: 28vw;
    max-width: 120px;
    height: auto;
    flex-shrink: 0;
  }

  .navbar nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
  }

  .btn {
    flex-shrink: 0;
    padding: 6px 10px;
    font-size: 0.7rem;
    border-radius: 14px;
    width: auto;
  }

  .hero {
    width: 100%;
    padding-top: 40px;
  }

  .img-cont {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    min-height: auto;
  }

  .image1 {
    position: static;
    width: 45vw;
    height: auto;
  }

  .image2 {
    position: static;
    width: 90vw;
    height: auto;
    margin: 0 auto;
  }

  .overlay-text {
    position: static;
    width: 90%;
    font-size: 1.4rem;
    text-align: left;
    line-height: 1.3;
    margin-top: 10px;
  }

  main {
    gap: 40px;
  }

  .rev1 {
    width: 90vw;
    height: auto;
    margin-top: 40px;
  }

  .easy-pay {
    width: 90vw;
    height: auto;
  }

  .form {
    width: 90vw;
    height: auto;
    padding: 30px 15px;
    gap: 20px;
  }

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

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

  footer {
    width: 90vw;
    height: auto;
    flex-direction: column;
    gap: 15px;
    padding: 30px 0;
  }

  .telegram,
  .twitter {
    width: auto;
  }
}

/* ===== 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;
}