@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@800&family=Roboto:wght@700&display=swap");

.character-section {
  display: flex;
}

.success-promo-fold {
  /* position: relative;
  width: 100%;
  min-height: 500px;
  background: radial-gradient(
    circle,
    #f39c12 0%,
    #8e44ad 100%
  );
  overflow: hidden;
  font-family: "Roboto", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white; */
}

.main-content {
  position: relative;
  width: 100%;
  max-width: 1000px;
  z-index: 2;
}

/* TOP UI ELEMENTS */

.top-controls {
  text-align: center;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.pin-wrapper {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  border: 8px solid #ffffff6f; /* Semi-transparent white border */
  padding: 12px 20px;
  border-radius: 50px;
  display: inline-flex;
  gap: 10px;
  margin-bottom: 20px;
}

.pin-box {
  width: 40px;
  height: 45px;
  background: #1a1a1a;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  border: 1px solid #333;
}

.pin-box.active {
  border: 2px solid #a29bfe; /* Purple glow from screenshot */
  box-shadow: 0 0 10px rgba(162, 155, 254, 0.8);
  background: #1a1a1a;
}

.get-code {
  display: block;
  margin: 0 auto 2em;
  background: #2ecc71;
  border: none;
  padding: 14px 65px;
  font-family: "Orbitron", sans-serif;
  font-style: italic;
  font-weight: 900;
  border-radius: 8px;
  cursor: pointer;
  color: #1a1a1a;
  letter-spacing: 1px;
}

.download-code {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0 1rem;
  height: 36px;
  cursor: pointer;
  border-radius: 10px;
  background: #2ecc71;
  margin-bottom: 1rem;
}

.download-code img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  display: block; /* removes baseline gap */
}

/* LAYOUT FOR TEXT AND CHARACTERS */

.layout-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 50px;
  margin-top: 100px;
}

.headline-side {
  position: absolute;
  /* flex: 1; */
}

.headline {
  font-family: "Orbitron", sans-serif;
  font-size: 54px;
  line-height: 0.9;
  font-style: italic;
  text-transform: uppercase;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  margin: 0;
}

.fire-icon {
  width: 50px;
  position: absolute;
  left: 210px; /* Adjust based on "PIN" word position */
  bottom: 120px;
}

.character-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.character-img {
  width: 600px; /* Makes it overlap slightly */
  margin-right: -50px; /* Pulls character to the edge */
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
  position: relative;
  bottom: -4px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .layout-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .character-wrapper {
    display: block;
  }
  .character-section {
    display: block;
  }
  .headline {
    margin-bottom: 1rem;
    font-size: 30px;
  }
  .pin-fold .headline {
    font-size: 25px;
    margin-top: 1.5rem;
  }
  .character-img {
    margin-right: 0;
    width: 100%;
    position: relative;
    bottom: -4px;
  }
  .fire-icon {
    display: none;
  }
}
