/* ==========================================================
   MSA 2027 — PAYMENT OPTIONS
   Premium editorial redesign
   ========================================================== */

:root {
  --pay-red: #a50021;
  --pay-red-hover: #c10b32;
  --pay-ink: #17181d;
  --pay-muted: #777983;
  --pay-border: #e7e5e5;
  --pay-bg: #f7f7f5;
}

.msa-inner {
  background: var(--pay-bg);
  overflow: hidden;
}

.msa-inner .shell {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

/* HERO */

.pay-hero {
  position: relative;
  padding: 112px 0 86px;
  background: #17181d;
  color: #fff;
  overflow: hidden;
}

.pay-hero::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  right: -250px;
  top: -300px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.pay-hero::after {
  content: "25";
  position: absolute;
  right: 5%;
  bottom: -100px;
  font-size: clamp(200px, 28vw, 430px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.12em;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.pay-hero .shell {
  position: relative;
  z-index: 1;
}

.pay-hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 30px;
  color: #ff718d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.pay-hero .eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--pay-red);
}

.pay-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 1.02;
}

.pay-hero h1 em {
  color: #ff496c;
  font-style: normal;
}

.pay-hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.pay-hero-bottom p {
  max-width: 500px;
  margin: 0;
  color: #b9b9c0;
  font-size: 15px;
  line-height: 1.8;
}

.pay-hero-bottom a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s;
}

.pay-hero-bottom a span {
  color: #ff496c;
  margin-left: 8px;
}

.pay-hero-bottom a:hover {
  color: #ff718d;
}

/* CONTENT */

.pay-content {
  padding: 95px 0 115px;
}

.pay-content .section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 36px;
  margin-bottom: 46px;
}

.pay-content .section-head .eyebrow {
  margin-bottom: 17px;
  color: var(--pay-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pay-content .section-head h2 {
  margin: 0;
  color: var(--pay-ink);
  font-size: clamp(38px, 4.7vw, 65px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.1;
}

.pay-content .section-head h2 em {
  color: var(--pay-red);
  font-style: normal;
}

.pay-content .section-head > p {
  max-width: 350px;
  margin: 0 0 5px;
  color: var(--pay-muted);
  font-size: 14px;
  line-height: 1.85;
}

/* PAYMENT GRID */

.pay-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 22px;
  align-items: stretch;
}

/* SHARED PANELS */

.pay-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--pay-border);
  border-radius: 3px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.pay-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(20, 20, 30, 0.07);
  border-color: #d6d2d2;
}

.pay-panel .panel-top {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e8e8e8;
}

.pay-panel .panel-number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border: 1px solid #e8c7ce;
  color: var(--pay-red);
  font-size: 13px;
  font-weight: 800;
}

.pay-panel .panel-top h2 {
  margin: 2px 0 8px;
  color: var(--pay-ink);
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.pay-panel .panel-top p {
  margin: 0;
  color: var(--pay-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* FEATURED REGISTRATION CARD */

.pay-panel:first-child {
  grid-row: span 2;
  background: var(--pay-ink);
  border-color: var(--pay-ink);
  color: #fff;
  padding: 42px;
}

.pay-panel:first-child .panel-top {
  border-bottom-color: rgba(255, 255, 255, 0.14);
  padding-bottom: 38px;
}

.pay-panel:first-child .panel-number {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ff6482;
}

.pay-panel:first-child .panel-top h2 {
  color: #fff;
  font-size: clamp(27px, 3vw, 38px);
}

.pay-panel:first-child .panel-top p {
  color: #a8a8b0;
}

.pay-panel:first-child:hover {
  border-color: var(--pay-ink);
}

/* PAYMENT OPTIONS */

.pay-choices {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 27px;
}

.pay-panel:first-child .pay-choices {
  margin-top: 35px;
  gap: 15px;
}

.pay-choice {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-width: 0;
  margin: 0;
  background: #f6f6f6;
  border: 1px solid transparent;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.pay-choice > span {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding: 16px 18px;
  color: var(--pay-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.pay-choice button {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  flex-shrink: 0;
  width: 60px;
  min-height: 64px;
  padding: 0;
  background: var(--pay-red);
  border: 0;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pay-choice button:hover {
  background: var(--pay-red-hover);
}

.pay-choice button:focus-visible {
  outline: 3px solid #ff718d;
  outline-offset: 3px;
}

.pay-choice:hover {
  background: #fff;
  border-color: #e2d7da;
}

/* FEATURED PAYMENT OPTIONS */

.pay-panel:first-child .pay-choice {
  background: #26272e;
  border-color: rgba(255, 255, 255, 0.08);
}

.pay-panel:first-child .pay-choice > span {
  color: #fff;
  font-size: 14px;
  padding: 23px 20px;
}

.pay-panel:first-child .pay-choice button {
  width: 70px;
  background: var(--pay-red);
}

.pay-panel:first-child .pay-choice:hover {
  background: #30313a;
  border-color: rgba(255, 255, 255, 0.2);
}

/* BANK TRANSFER */

.bank-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  margin-top: 95px;
  background: #fff;
  border: 1px solid var(--pay-border);
}

.bank-intro {
  padding: 54px 42px;
  background: var(--pay-red);
  color: #fff;
}

.bank-intro .eyebrow {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.bank-intro h2 {
  margin: 0 0 28px;
  font-size: clamp(48px, 5vw, 75px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 1.02;
}

.bank-intro h2 em {
  font-style: normal;
  color: #ffc6d1;
}

.bank-intro > p:not(.eyebrow) {
  max-width: 330px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.9;
}

.bank-intro a {
  display: inline-block;
  margin-top: 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 6px;
}

.bank-intro a:hover {
  color: #ffe1e7;
}

.bank-details {
  padding: 32px 42px;
}

.bank-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 24px 0;
}

.bank-row + .bank-row {
  border-top: 1px solid var(--pay-border);
}

.bank-number {
  flex-shrink: 0;
  color: var(--pay-red);
  font-size: 12px;
  font-weight: 800;
}

.bank-row h3 {
  margin: 0 0 15px;
  color: var(--pay-ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.bank-row dl {
  display: grid;
  grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
  gap: 10px 18px;
  margin: 0;
}

.bank-row dt {
  color: var(--pay-muted);
  font-size: 12px;
  font-weight: 500;
}

.bank-row dd {
  min-width: 0;
  margin: 0;
  color: var(--pay-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.bank-row dd.iban {
  color: var(--pay-red);
  font-weight: 800;
  letter-spacing: 0.025em;
}

/* REVEAL ANIMATIONS */

.pay-content .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .pay-content .reveal:not(.is-visible) {
    opacity: 0;
    transform: translateY(22px);
  }

  .pay-content .reveal {
    transition:
      opacity 0.65s ease,
      transform 0.65s ease,
      box-shadow 0.3s ease;
  }
}

/* TABLET */

@media (max-width: 991px) {
  .pay-hero {
    padding: 85px 0 70px;
  }

  .pay-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pay-panel:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .bank-section {
    grid-template-columns: 1fr;
  }

  .bank-intro {
    padding: 42px;
  }
}

/* MOBILE */

@media (max-width: 767px) {
  .msa-inner .shell {
    width: min(100% - 32px, 1240px);
  }

  .pay-hero {
    padding: 65px 0 55px;
  }

  .pay-hero h1 {
    font-size: clamp(43px, 10vw, 65px);
  }

  .pay-hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 35px;
  }

  .pay-content {
    padding: 65px 0 80px;
  }

  .pay-content .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 30px;
  }

  .pay-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pay-panel,
  .pay-panel:first-child {
    grid-column: auto;
    padding: 24px;
  }

  .pay-panel .panel-top {
    gap: 15px;
  }

  .pay-panel:first-child .panel-top h2 {
    font-size: 27px;
  }

  .pay-panel:first-child .pay-choice > span {
    padding: 17px 14px;
  }

  .pay-choice button,
  .pay-panel:first-child .pay-choice button {
    width: 54px;
  }

  .bank-section {
    margin-top: 65px;
  }

  .bank-intro,
  .bank-details {
    padding: 30px 24px;
  }

  .bank-row {
    gap: 14px;
  }

  .bank-row dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .bank-row dd {
    margin-bottom: 12px;
  }
}
