html,
body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  color: #fff;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative; /* New - for correct .glow positioning */
  box-sizing: border-box;
}

.navbar {
  margin-top: 5vh;
  display: flex;
  width: 485px;
  height: 63px;
  justify-content: space-around;
  text-align: center;
  align-items: center;
  background: #f36214;
  border-radius: 93px;

  p {
    height: 20px;
    font-family: "Poppins";
    font-style: normal;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
    transition: 0.1s ease-in-out;

    &:hover {
      color: #e2e2e2;
    }
  }
}

.language {
  display: flex;
  align-items: center;
  height: 21px;
}

.flag {
  width: 51px;
  height: 21px;
  left: 397.05px;
  top: 21px;
}

.line {
  border: 1px solid #fff;
  height: 22px;
  border-width: 1px;
}

.box {
  margin-top: 15vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1b120e;
  padding: 0px 120px 20px 120px;
  border: 1px solid #f36214;
  border-radius: 51px;

  h1 {
    margin: 44px 0 0 0;
    font-family: "ClashDisplay-Semibold";
    font-weight: 600;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #f36214;
  }

  h3 {
    margin-top: 10px;
    font-family: Poppins;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #945833;
  }

  .boxInput {
    .flex {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      margin: 20px 0 0 0;
    }

    p {
      font-family: Poppins;
      font-weight: 400;
      font-size: 16px;
      line-height: 100%;
      letter-spacing: 0%;
      color: #fff;
      margin: 0;
    }

    a {
      font-family: Poppins;
      font-weight: 400;
      font-size: 16px;
      line-height: 100%;
      letter-spacing: 0%;
      color: #f36214;
      text-decoration: none;
      margin: 0;
    }

    input {
      background-color: #150d0a;
      color: #945833;
      border-radius: 73px;
      height: 42px;
      width: 454px;
      padding: 2px 20px;
      outline: 0;
      border: 0;
      margin-top: 6px;
      margin-bottom: 30px;

      &::placeholder {
        color: #945833;
      }
    }
  }

  .button {
    font-family: "Poppins";
    font-weight: 600;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0px 24px;
    gap: 4px;
    width: 457px;
    height: 44px;
    background: #f36214;
    border-radius: 43px;
    margin-bottom: 20px;
  }
}

.glow {
  position: absolute;
  width: 1561px;
  height: 1561px;
  left: -243px;
  top: -725px;
  background: radial-gradient(
    50% 50% at 50% 50%,
    #42281a 0%,
    rgba(15, 11, 10, 0) 100%
  );
  z-index: -1;
}

@media (max-width: 1024px) {
  .navbar {
    width: 400px;
  }

  .box {
    padding: 0 80px 20px;
  }

  .box .boxInput input,
  .box .button {
    width: 380px;
  }
}

@media (max-width: 767px) {
  body {
    padding: 0 20px;
  }

  .navbar {
    width: 100%;
    max-width: 400px;
    height: auto;
    padding: 15px 0;
    flex-wrap: wrap;
  }

  .box {
    width: 100%;
    max-width: 400px;
    padding: 0 20px 20px;
    margin-top: 5vh;
    box-sizing: border-box;
  }

  .box h1 {
    font-size: 28px;
    margin: 30px 0 0;
    text-align: center;
  }

  .box .boxInput input,
  .box .button {
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
  }

  .language {
    margin: 10px 0;
  }
}