.pre-order-container {
  min-width: 40vw;
  margin: 0 auto;
  padding: 20px;
  color: white;
  font-family: 'voima';
}

#pay-now {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.bear-sit {
  width: 128px;
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  margin-left: auto;
  position: relative;
  z-index: 10;
  transform: translateY(16px);
}

#header-box {
  padding: 1rem;
}

.box {
  padding: 5vh;
  margin-bottom: 3vh;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.8));
}

.form-group {
  margin-bottom: 20px;
}

.form-group.currency-group {
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.form-group input[type="email"],
.form-group input[type="number"],
.form-group input[type="text"] {
  width: 100%;
  padding: 16px;
  border: 2px solid #ccc;
  border-radius: 5px;
  font-size: 20px;
  font-family: 'voima';
  background: #fff;
  color: #000;
  box-sizing: border-box;
}


.form-group input:focus {
  border-color: #ffc525;
  outline: none;
}

.reward-section {
  background: radial-gradient(circle, #ffc525, #ff8800);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
  margin: 20px 0;
}

.reward-section h3 {
  margin-top: 0;
  color: var(--dark);
  font-size: 1.5em;
  font-weight: 1.5em;
}

.reward-section input[type="text"] {
  background: radial-gradient(circle, rgb(116, 67, 4), rgb(75, 47, 5));
  border: #ff8800;
  color: white;
}

.reward-item {
  margin: 15px 0;
  padding: 10px 0;
}

.reward-label {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 1.15em;
}

.info-tooltip {
  position: relative;
  margin-left: 8px;
}

.info-icon {
  color: var(--dark);
  font-size: 0.9em;
  border: 1px solid var(--dark);
  border-radius: 50%;
  padding: 2px 6px;
  display: inline-block;
  line-height: 1;
}

.tooltip-text {
  visibility: hidden;
  width: 250px;
  background-color: rgba(0, 0, 0, 0.9);
  color: #fff;
  text-align: left;
  border-radius: 5px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -125px;
  font-size: 0.85em;
  border: 1px solid #ffd700;
}

.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #ffd700 transparent transparent transparent;
}

.info-tooltip:hover .tooltip-text {
  visibility: visible;
}

.price-display-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: radial-gradient(circle, rgba(255, 197, 37, 0.2), rgba(255, 154, 3, 0.2));
  border: 2px solid #ff9a03;
  padding: 30px;
  border-radius: 5px;
  text-align: center;
  margin: 20px auto;
  max-width: 400px;
}

.form-group .currency-label {
  display: inline-block;
  margin-bottom: 0;
  margin-right: 12px;
  color: #fff;
  font-size: 1.1em;
  vertical-align: middle;
}

.currency-selector {
  display: inline-block;
  width: auto;
  min-width: 150px;
  padding: 12px;
  border: 2px solid #ff9a03;
  border-radius: 5px;
  font-size: 16px;
  font-family: 'voima';
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-align: center;
  vertical-align: middle;
}

.currency-selector:focus {
  border-color: #ffc525;
  outline: none;
}

.currency-selector option {
  background: #000;
  color: #fff;
}

.currency-note {
  margin-top: 10px;
  color: #ccc;
  font-size: 0.85em;
  font-style: italic;
  text-align: center;
}

.price-label {
  font-size: 2.2em;
  color: #fff;
}

.price-amount {
  font-size: 2.2em;
  background: radial-gradient(circle, #ffc525, #ff9a03);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 10px;
}

.tip-label {
  display: block;
  margin-bottom: 15px;
  color: #fff;
  font-size: 1.5em;
  text-align: center;
}

.tip-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tip-btn {
  background: radial-gradient(circle, rgba(255, 197, 37, 0.2), rgba(255, 154, 3, 0.2));
  border: 2px solid #ff9a03;
  color: #fff;
  padding: 16px 28px;
  border-radius: 5px;
  font-size: 18px;
  font-family: 'voima';
  transition: all 0.3s;
}

.tip-btn:hover {
  background: radial-gradient(circle, rgba(255, 197, 37, 0.3), rgba(255, 154, 3, 0.3));
}

.tip-btn.active {
  background: radial-gradient(circle, #ffc525, #ff9a03);
  color: #000;
}

.email-info {
  margin: 10px 0 0 0;
  color: #ccc;
  font-size: 0.9em;
  font-style: italic;
}

.payment-methods {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.payment-icon {
  height: 1.5rem;
  margin-left: 4px;
  margin-right: 4px;
}

.submit-btn {
  background: radial-gradient(circle, #ffc525, #ff9a03);
  color: #000;
  padding: 30px;
  border: none;
  border-radius: 5px;
  font-size: 2.2em;
  font-family: 'voima';
  width: 100%;
  max-width: 400px;
  display: block;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: radial-gradient(circle, #ffae00, #ff8800);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(255, 154, 3, 0.3);
}

.submit-btn:disabled {
  background: #666;
}

.loading {
  display: none;
  text-align: center;
  padding: 20px;
  color: #fff;
}

.error {
  color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
  display: none;
}

.title {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #fff;
}

.subtitle {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ccc;
}

.success-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
  color: white;
  font-family: 'voima';
  text-align: center;
}

#success-box {
  border: 0.25rem solid #ffc525;
}

.success-title {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #ffc525;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  margin: 10px 15px;
  background: #007cba;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-family: 'voima';
  transition: background 0.3s;
}

.btn:hover {
  background: #005a87;
  text-decoration: none;
  color: white;
}

.btn-primary {
  background: rgba(0, 0, 0, 0.75);
  color: white;
}

.btn-primary:hover {
  background: rgba(0, 0, 0, 0.75);
  color: white;
}

.back-home-section {
  display: flex;
  justify-content: center;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-30px);
  }

  60% {
    transform: translateY(-15px);
  }
}

#stripe-info {
  padding: 1rem;
  text-align: center;
}

#stripe-info p {
  margin: 10px 0;
  font-size: 0.95em;
}

.kofi-link {
  color: #ffc525;
  text-decoration: none;
  padding: 12px 24px;
  border: 1px solid #ff9a03;
  border-radius: 5px;
  transition: all 0.3s;
  display: inline-block;
  margin-top: 10px;
  font-size: 1.1em;
}

.kofi-link:hover {
  background: radial-gradient(circle, #ffc525, #ff9a03);
  color: #000;
  text-decoration: none;
}

@media (max-width: 768px) {
  .box {
    padding: 1rem;
  }

  .success-container {
    padding: 10px;
  }

  .success-box {
    padding: 20px;
  }

  .success-title {
    font-size: 2em;
  }

  .btn {
    display: block;
    margin: 10px 0;
  }

  .tip-buttons {
    flex-direction: column;
    align-items: center;
  }

  .tip-btn {
    width: 200px;
  }

  .tooltip-text {
    width: 200px;
    margin-left: -100px;
  }

  .price-display-section {
    flex-direction: column;
    gap: 1.5rem;
    padding: 20px;
  }

  .price-label,
  .price-amount {
    font-size: 1.8em;
  }

  .currency-selector {
    width: 100%;
    max-width: 250px;
  }
}