/* --- BASE --- */
body {
  background: #000;
  min-height: 100vh;
  position: relative;
  margin: 0;
  font-family: "Inter", sans-serif;
}

/* --- BACKGROUND --- */
.background__detail {
  background-color: #f40000;
  height: calc(100% - 389px);
  left: 0;
  position: absolute;
  right: 0;
  top: 195px;
  z-index: 0;
}

/* --- CONTENT --- */
.content {
  background-color: #000;
  border: 1px solid rgb(239, 243, 18);
  filter: drop-shadow(0 0 30px #fffffe);
  width: min(90%, 1000px);
  height: auto;
  margin: 60px auto;
  position: relative;
  padding: clamp(24px, 5vw, 100px);
  border-radius: 16px;
  z-index: 1;
}

.content__corner-rectangle {
  background-color: #00f4bf;
  bottom: -15px;
  clip-path: polygon(0% 100%, 0% 50%, 4% 0%, 100% 0%, 100% 50%, 96% 100%);
  height: 33px;
  position: absolute;
  right: 32px;
  width: 50%;
  z-index: 3;
}

.content__main {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 6vw, 80px);
  justify-content: start;
}

/* --- BUTTONS --- */
.button {
  align-items: center;
  background-color: transparent;
  border: none;
  border-radius: 16px;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  padding: 16px 24px;
  text-align: center;
  width: 100%;
  max-width: 240px;
  transition: all 0.3s ease;
}

.button:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* --- FORM --- */
.form {
  display: flex;
  flex-direction: column;
}

.form__label {
  color: #1875e8;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  margin-bottom: 8px;
}

.form__input {
  background-color: transparent;
  border: 1px solid #f8f8f6;
  border-radius: 8px;
  color: #fff;
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 400;
  height: 56px;
  margin-bottom: 24px;
  outline: none;
  padding: 8px 16px;
  width: 85%;
}

.form__input::placeholder {
  color: #fff;
}

.form__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.form__link {
  color: #00f4bf;
  cursor: pointer;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  line-height: 110%;
  text-align: center;
  text-decoration: underline;
  margin-top: 16px;
}

/* --- TEXTS & TITLES --- */
.section__title {
  color: #fff;
  font-family: "Chakra Petch", sans-serif;
  font-size: clamp(36px, 10vw, 88px);
  font-weight: 700;
  line-height: 100%;
  margin-bottom: clamp(24px, 8vw, 80px);
  text-align: center;
}

.section__title > span {
  color: #f8e807;
}

/* --- FRIENDS --- */
.friends__title {
  color: #1875e8;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
}

.friends__container {
  border: 1px solid #fafafa;
  border-radius: 8px;
  color: #f4f7f4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: clamp(16px, 2.5vw, 21px);
  padding: 16px;
  margin-top: 1rem;
  width: 85%;
  max-width: 453px;
}

.friends__container > p {
  color: #07a7f1;
}

/* --- PRIZE DRAW --- */
.prizeDraw__title {
  color: #00f4bf;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  margin-top: 1rem
}

.prizeDraw__container {
  color: #fff;
  font-size: clamp(16px, 2.5vw, 21px);
  font-style: italic;
  font-weight: 700;
  line-height: 160%;
  margin-top: 1rem;
}

/* --- PAGE IMAGE --- */
.page__image {
  position: relative;
  display: block;
  max-width: 90%;
  height: auto;
  margin: 0 auto 16px;
  z-index: 2;
}

/* --- COLORS --- */
.primary {
  background-color: #1875e8;
  color: #fff;
}

.secondary {
  background-color: #fff;
  color: #1875e8;
}

/* --- RESPONSIVE LAYOUT --- */
@media (min-width: 769px) {
  .form__buttons {
    flex-direction: row;
    justify-content: center;
  }

  .content {
    padding: 80px;
  }

  .button {
    width: 208px;
  }

  .page__image {
    position: absolute;
    right: 0;
    top: 76px;
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  .content__corner-rectangle {
    width: 70%;
    right: 0;
    left: 0;
    margin: 0 auto;
  }

  .section__title {
    text-align: center;
  }

  .button {
    width: 100%;
  }

  .form__buttons {
    flex-direction: column;
    gap: 12px;
  }
}
