/* GridGames - Payment Pages */

.gg-payment-section {
  position: relative;
  padding: clamp(48px, 6vw, 96px) 0;
}

.gg-payment-inner {
  width: min(920px, calc(100vw - 48px));
  margin: 0 auto;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 18px;

  /* Neutral defaults that should sit nicely on your dark theme */
  background: rgba(10, 12, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.gg-payment-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: 0.02em;
  line-height: 1.12;
}

.gg-payment-text {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.92;
  padding-top: 32px;
  padding-bottom: 32px;
}

.gg-payment-error {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 14px;

  background: rgba(255, 70, 70, 0.12);
  border: 1px solid rgba(255, 70, 70, 0.35);

  font-weight: 600;
}

.gg-payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* Center content */
.gg-payment-inner {
  text-align: center;
}
.gg-payment-actions--center {
  justify-content: center;
  align-items: center;
}

/* SVG-only Home button */
.gg-home-svg {
  display: block;
  width: 240px; /* adjust to match your SVG */
  height: 64px;

  background-image: var(--home-default);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  cursor: pointer;
}

.gg-home-svg:hover {
  background-image: var(--home-hover);
}

.gg-payment-inner a {
  color: #ff6a00; /* GridGames orange */
  font-weight: 600;
}

.gg-payment-inner a.gg-payment-button {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.gg-payment-inner a.gg-payment-button:hover {
  color: #ff6a00;
}

/* Payment Success */
.gg-payment-title--success {
  color: #2dff7a; /* neon green */
  text-shadow: 0 0 14px rgba(45, 255, 122, 0.35);
}

/* Failure page buttons (class-based, safe for success page SVG link) */
.gg-payment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 16px 28px; /* BIGGER buttons */
  min-width: 180px;

  border-radius: 999px;
  background: #000000; /* black background */
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;

  border: 2px solid #ff6a00; /* neon orange border */
  text-decoration: none;

  transition: color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.gg-payment-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(255, 106, 0, 0.35);
}

/* Primary: Try Again */
.gg-payment-button-primary {
  border-color: rgba(255, 106, 0, 0.55);
  background: #000000; /* keep black */
}

.gg-payment-button-primary:hover {
  transform: translateY(-1px);

  box-shadow: 0 0 10px rgba(255, 106, 0, 0.55), 0 0 24px rgba(255, 106, 0, 0.45),
    0 0 40px rgba(255, 106, 0, 0.35);
}

.gg-payment-button-primary,
.gg-payment-button-secondary {
  background: #000000;
  border-color: #ff6a00;
}

/* Spacing around gift voucher success output */
.gg-voucher-success {
  margin-top: 32px;
  margin-bottom: 40px;
  color: #ff6a00;
  font-weight: 600;
  font-size: clamp(18px, 4vw, 32px);
  font-family: "Orbitron", "Segoe UI", sans-serif;
}

/* Payment Failed */

.gg-payment-title--error {
  color: #ff4d4d;
}

/* Mobile*/

@media (max-width: 900px) {
  .gg-payment-inner {
    width: min(720px, calc(100vw - 32px));
    padding: 20px;
    border-radius: 16px;
  }

  .gg-payment-actions {
    flex-direction: column;
  }

  .gg-payment-actions--center {
    align-items: center;
    justify-content: center;
  }

  .gg-payment-button {
    width: 100%;
    padding: 14px 24px;
    min-width: 160px;
    font-size: 15px;
  }
}
