.gg-page {
  padding: 28px 0 56px;
}

.gg-hero {
  margin-bottom: 28px;
  text-align: center;
}

.gg-hero__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #e9d5ff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.gg-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 10px;
}

.gg-hero p {
  color: #a8a3c7;
  max-width: 680px;
  margin: 0 auto;
}

.gg-hero--compact {
  text-align: start;
}

.gg-hero--compact p {
  margin: 0;
}

.gg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.gg-form,
.gg-summary,
.gg-checkout-summary,
.gg-checkout-pay,
.gg-success-card {
  background: rgba(10, 7, 32, 0.88);
  border: 1px solid rgba(120, 50, 240, 0.24);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.gg-field {
  margin-bottom: 16px;
}

.gg-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.gg-field input,
.gg-field select,
.gg-select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(120, 50, 240, 0.35);
  background: linear-gradient(180deg, rgba(18, 12, 48, 0.95), rgba(8, 5, 24, 0.95));
  color: #f8fafc;
  padding: 14px 16px;
  font-size: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gg-field input:focus,
.gg-select:focus {
  outline: none;
  border-color: rgba(168, 85, 247, 0.7);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18);
}

.gg-select-wrap {
  position: relative;
}

.gg-select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 44px;
  cursor: pointer;
}

.gg-select-wrap__icon {
  position: absolute;
  top: 50%;
  inset-inline-end: 16px;
  width: 10px;
  height: 10px;
  pointer-events: none;
  border-right: 2px solid #c4b5fd;
  border-bottom: 2px solid #c4b5fd;
  transform: translateY(-70%) rotate(45deg);
}

.gg-steam-link {
  margin: 0 0 18px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(100, 30, 220, 0.14));
  border: 1px solid rgba(96, 165, 250, 0.35);
}

.gg-steam-link__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.gg-steam-link__icon {
  font-size: 1.4rem;
  line-height: 1;
}

.gg-steam-link__head strong {
  display: block;
  margin-bottom: 4px;
}

.gg-steam-link__head small {
  color: #bfdbfe;
}

.gg-steam-link__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.22);
  border: 1px solid rgba(96, 165, 250, 0.45);
  color: #dbeafe;
  text-decoration: none;
  font-weight: 700;
}

.gg-steam-link__btn:hover {
  color: #fff;
  background: rgba(59, 130, 246, 0.34);
}

.gg-unavailable {
  max-width: 560px;
  margin: 40px auto;
  text-align: center;
  padding: 32px 24px;
  border-radius: 18px;
  background: rgba(10, 7, 32, 0.88);
  border: 1px solid rgba(120, 50, 240, 0.24);
}

.gg-unavailable__icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.gg-unavailable p {
  color: #a8a3c7;
  margin-bottom: 20px;
}

.gg-field small {
  display: block;
  margin-top: 6px;
  color: #9ca3af;
  font-size: 0.8rem;
}

.gg-warning {
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: #fde68a;
}

.gg-warning p {
  margin: 8px 0 0;
  line-height: 1.55;
}

.gg-summary h2 {
  font-size: 1rem;
  color: #c4b5fd;
  margin-bottom: 12px;
}

.gg-summary__price {
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 8px;
}

.gg-summary__meta {
  color: #9ca3af;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.gg-summary__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gg-summary__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gg-msg {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.gg-msg.is-err {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fecaca;
}

.gg-msg.is-ok {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #bbf7d0;
}

.gg-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 24px;
}

.gg-checkout-lines {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.gg-checkout-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gg-checkout-lines li.is-total strong {
  color: #c4b5fd;
  font-size: 1.2rem;
}

.gg-pay-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(120, 50, 240, 0.22);
  margin-bottom: 10px;
  cursor: pointer;
}

.gg-pay-option:has(input:checked) {
  border-color: rgba(168, 85, 247, 0.55);
  background: rgba(100, 30, 220, 0.12);
}

.gg-success-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.gg-success-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.45);
  color: #86efac;
  font-size: 1.8rem;
  font-weight: 800;
}

.gg-success-steps {
  text-align: start;
  margin: 24px 0;
  padding: 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
}

.gg-success-steps ol {
  margin: 12px 0 0;
  padding-inline-start: 1.2rem;
  line-height: 1.7;
}

.gg-success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .gg-grid,
  .gg-checkout-grid {
    grid-template-columns: 1fr;
  }
}
