.gothic-payment {
  box-sizing: border-box;
  width: 100%;
  padding: clamp(36px, 6vw, 80px) 16px;
  color: #f6e1c8;
  background: radial-gradient(ellipse at top, #340b19, #10070b 62%);
  font-family: Georgia, 'Times New Roman', serif;
}
.gothic-payment *, .gothic-payment *::before, .gothic-payment *::after { box-sizing: border-box; }
.gothic-payment__panel {
  width: min(100%, 660px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 52px) clamp(14px, 5vw, 48px) 32px;
  border: 1px solid #a87950;
  border-radius: 12px;
  background: radial-gradient(ellipse at 50% 25%, #3a0a1a 0, #1c080f 54%, #10070a 100%);
  box-shadow: inset 0 0 0 5px #13080b, inset 0 0 0 6px #65412c, 0 16px 40px #0009;
}
.gothic-payment h2 { margin: 0; text-align: center; color: #f8e2c4; font: 400 clamp(32px, 6vw, 52px)/1.15 Georgia,serif; }
.gothic-payment__divider { display: flex; align-items: center; justify-content: center; width: 72%; height: 22px; margin: 12px auto 18px; }
.gothic-payment__divider::before, .gothic-payment__divider::after { content: ''; height: 1px; width: 45%; background: linear-gradient(90deg, transparent, #ba8960); }
.gothic-payment__divider::after { transform: rotate(180deg); }
.gothic-payment__divider i { width: 12px; height: 18px; border: 1px solid #c99b72; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #d43f5b, #5b071a 52%, #1c070a); box-shadow: 0 0 12px #930e30; }
.gothic-payment__methods { border: 0; padding: 0; margin: 0; min-width: 0; }
.gothic-payment__methods legend { color: #e5c5a7; font: 16px/1.4 Georgia,serif; padding: 0; margin: 0 0 12px; }
.gothic-payment__choice { display: block; position: relative; margin: 0 0 12px; cursor: pointer; }
.gothic-payment__choice input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.gothic-payment__card { display: flex; align-items: center; justify-content: center; flex-direction: column; width: 100%; aspect-ratio: 2.5 / 1; color: #f4d4b3; background: center / 100% 100% no-repeat url('payment-gothic-frame.jpg'); filter: brightness(.82); transition: filter .2s, transform .2s; }
.gothic-payment__choice input:checked + .gothic-payment__card { filter: brightness(1.18); }
.gothic-payment__choice input:focus-visible + .gothic-payment__card { outline: 3px solid #f5cf8f; outline-offset: 2px; }
.gothic-payment__visa span { color: #f6ddc2; font: italic 700 clamp(30px, 7vw, 64px)/1 Georgia, serif; letter-spacing: .07em; text-shadow: 0 2px 0 #7d452c, 0 4px 12px #000; }
.gothic-payment__mastercard { gap: 3px; }
.gothic-payment__circles { display: flex; justify-content: center; }
.gothic-payment__circles i { width: clamp(30px, 8vw, 62px); aspect-ratio: 1; border-radius: 50%; border: 1px solid #d5a76d; background: radial-gradient(circle at 33% 27%, #d05858, #760919 60%, #33060d); box-shadow: inset 0 0 12px #ffe2ab44, 0 2px 8px #000; }
.gothic-payment__circles i + i { margin-left: -23%; background: radial-gradient(circle at 33% 27%, #ffc262, #b65b0d 62%, #522007); opacity: .94; }
.gothic-payment__master-text { font: 500 clamp(18px, 4vw, 30px)/1 Arial,sans-serif; color: #f2ddc4; text-shadow: 0 2px 4px #000; }
.gothic-payment__amount { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 62px; margin-top: 22px; padding: 10px 16px; border: 1px solid #9c714d; border-radius: 6px; background: #10080b; color: #e5c4a3; font-size: 18px; }
.gothic-payment__amount input { flex: 1; min-width: 0; width: 100%; padding: 7px 10px; border: 0; border-left: 1px solid #6e482f; border-radius: 0; color: #fff0da; background: transparent; font: 22px Georgia,serif; }
.gothic-payment__amount input:focus-visible { outline: 2px solid #d9aa7a; outline-offset: 2px; }
.gothic-payment__currency { color: #eacda8; }
.gothic-payment__continue { display: block; width: 100%; min-height: 64px; margin-top: 22px; border: 1px solid #c09265; border-radius: 30px; background: linear-gradient(#750d26, #450716 55%, #21050c); box-shadow: inset 0 0 0 4px #3a0a15, 0 8px 18px #0008; color: #f8dcc2; font: 24px Georgia,serif; opacity: .8; }
.gothic-payment__status { text-align: center; margin: 12px 0 0; color: #d4baa8; font: 14px/1.5 Arial,sans-serif; }
@media (max-width: 380px) { .gothic-payment { padding-inline: 10px; } .gothic-payment__panel { padding-inline: 14px; } .gothic-payment__amount { gap: 7px; padding-inline: 10px; } }

/* The payment controls use separate artwork for the two framed choices. */
.gothic-payment__panel { border-radius: 42% 42% 12px 12px / 8% 8% 12px 12px; border: 2px solid #8d6547; background: radial-gradient(ellipse at 50% 35%, #310715, #18070d 68%, #0e0609); box-shadow: inset 0 0 0 5px #16080d, inset 0 0 0 7px #66422d, 0 16px 45px #000c; }
.gothic-payment h2 { font-size: clamp(36px, 7.5vw, 58px); }
.gothic-payment__choice { margin: 0 0 18px; }
.gothic-payment__card { aspect-ratio: 1817 / 866; background-size: 100% 100%; filter: brightness(.94); }
.gothic-payment__visa { background-image: url('payment-visa-frame-seo.webp'); }
.gothic-payment__mastercard { background-image: url('payment-master-frame-seo.webp'); gap: 3px; }
.gothic-payment__visa span { margin-left: 20%; font: 700 clamp(44px, 11vw, 92px)/1 Georgia,serif; letter-spacing: .01em; color: #e9bd8d; background: linear-gradient(#fff1d0 3%, #dbab79 31%, #8d543e 52%, #edc79a 68%, #8f5035 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 0 #4f271e) drop-shadow(0 3px 3px #140404); }
.gothic-payment__circles, .gothic-payment__master-text { margin-left: 21%; }
.gothic-payment__circles i { width: clamp(47px, 12vw, 90px); background: radial-gradient(circle at 34% 25%, #e47b85 0, transparent 25%), repeating-conic-gradient(from 10deg at 48% 40%, #781222 0deg 20deg, #bd2745 21deg 40deg, #4b0612 41deg 58deg); box-shadow: inset 0 0 0 2px #48131a, inset 0 0 18px #28030a, 0 2px 8px #000; }
.gothic-payment__circles i + i { margin-left: -23%; background: radial-gradient(circle at 35% 25%, #ffe4a6 0, transparent 26%), repeating-conic-gradient(from 15deg at 47% 40%, #92510e 0deg 20deg, #dfa42e 21deg 40deg, #643509 41deg 58deg); }
.gothic-payment__master-text { font-size: clamp(20px, 5vw, 36px); text-shadow: 0 1px 0 #603e2d, 0 3px 4px #000; }
.gothic-payment__amount { margin-top: 24px; }
.gothic-payment__continue { min-height: 0; height: auto; aspect-ratio: 3 / 1; margin: 14px 0 0; padding: 0 12%; border: 0; border-radius: 0; background: center / 100% 100% no-repeat url('payment-ruby-button-seo.webp'); box-shadow: none; opacity: 1; color: #f8e1c8; font-size: clamp(24px, 5vw, 39px); text-shadow: 0 2px 4px #2a020a; }
@media (prefers-reduced-motion: reduce) { .gothic-payment__card { transition: none; } }
.gothic-payment__card img { display: block; width: 66%; height: 76%; margin-left: 19%; object-fit: contain; filter: drop-shadow(0 2px 3px #000) drop-shadow(0 0 3px #c2987944); }
.gothic-payment__mastercard img { width: 68%; height: 76%; }
