/* ==================================================
   Root Variables & Base Styling
================================================== */

:root {
  --pink1: #ff9494;
  --pink2: #ff7e91;
  --pink3: #ffe4e4;
  --text-dark: #333;
  --text-light: #666;
  --btn-color: #ff4e68;
  --btn-hover: rgba(255, 94, 145, 0.4);
}

* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: #fff;
}

/* ==================================================
   Background Animation
================================================== */

.gradientBgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, var(--pink1), var(--pink2), var(--pink3));
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
  z-index: -1;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ==================================================
   Layout & Containers
================================================== */

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ==================================================
   Glassmorphism Card
================================================== */

.glass-card {
  width: 100%;
  max-width: 900px;
  height: auto;
  min-height: 400px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 4px 2px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.8),
      transparent);
}

.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.8),
      transparent,
      rgba(255, 255, 255, 0.3));
}

/* ==================================================
   Typography
================================================== */

.hero-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-top: 0;
  margin-bottom: 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================================================
   Button Style
================================================== */

.start-btn {
  font-size: 1.5rem;
  padding: 0.75rem 2rem;
  margin-top: 30px;
  border: none;
  border-radius: 999px;
  background: var(--btn-color);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

.start-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px var(--btn-hover);
}

/* ==================================================
   Responsive Tweaks
================================================== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .glass-card {
    padding: 2rem;
  }

  .start-btn {
    font-size: 0.95rem;
    padding: 0.65rem 1.6rem;
  }
}

/* ==================================================
   Select Payment Section
================================================== */

.select-payment {
  display: flex;
  justify-content: space-between;
  align-items: inline;
  height: 100%;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.select-payment-left {
  flex: 1;
  text-align: left;
  padding-right: 1rem;
  max-width: 50%;
}

.select-payment-divider {
  width: 1px;
  min-height: 300px;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.select-payment-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  max-width: 50%;
}

/* Card-style option for each payment method */
.select-payment-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 14px 20px;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.select-payment-option:hover {
  transform: scale(1.02);
  cursor: pointer;
}

.select-payment-option .start-btn {
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  white-space: nowrap;
}

.select-payment-option span {
  color: #333;
  font-weight: 600;
}

.select-payment-option img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* ==================================================
   Responsive Styling
================================================== */

@media (max-width: 768px) {
  .select-payment {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    align-items: center;
  }

  .select-payment-left {
    padding-right: 0;
    max-width: 100%;
  }

  .select-payment-divider {
    display: none;
  }

  .select-payment-right {
    align-items: center;
    max-width: 100%;
  }

  .select-payment-option {
    justify-content: center;
    gap: 1rem;
  }

  .select-payment-option img {
    margin-left: 0;
  }

  .qr-container,
  .status-container {
    width: 100%;
    max-width: 280px;
  }
}

/* ==================================================
   Payment QRIS Specific Styling
================================================== */

.payment-qris-instructions {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.payment-qris-instructions ol {
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.3;
  margin: 0;
  margin-top: 0.5rem;
}

.payment-qris-instructions li {
  margin-bottom: 0.2rem;
}

.payment-qris-instructions p {
  margin-bottom: 0.3rem;
  margin-top: 0;
  font-weight: 600;
}

.qr-container {
  background: white;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.status-container {
  background: rgba(255, 255, 255, 0.2);
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 15px;
  width: 220px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
}

@media (max-width: 768px) {
  .payment-qris-instructions ol {
    font-size: 0.85rem;
  }

  .qr-container img {
    width: 150px !important;
    height: 150px !important;
  }
}