body.is-germain-victory-open { overflow: hidden; }

.germain-victory {
  position: fixed;
  z-index: 170;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 40%, rgba(122, 37, 255, .2), transparent 35%),
    radial-gradient(circle at 50% 55%, rgba(255, 32, 164, .16), transparent 52%),
    rgba(2, 0, 5, .91);
  backdrop-filter: blur(11px) saturate(.78);
  transition: opacity .32s ease, visibility .32s ease;
}

.germain-victory.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.germain-victory.is-leaving { opacity: 0; }

.germain-victory::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background:
    repeating-linear-gradient(180deg, transparent 0 4px, rgba(255, 116, 206, .12) 5px, transparent 6px),
    linear-gradient(90deg, transparent, rgba(130, 246, 255, .05), transparent);
  animation: victoryScan 8s linear infinite;
}

.germain-victory__panel {
  position: relative;
  width: min(780px, calc(100vw - 32px));
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(153, 245, 255, .68);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  color: #fff4fc;
  background:
    linear-gradient(135deg, rgba(121, 45, 255, .13), transparent 28%),
    linear-gradient(315deg, rgba(255, 31, 164, .13), transparent 30%),
    rgba(8, 1, 13, .96);
  box-shadow:
    0 35px 100px rgba(0, 0, 0, .86),
    0 0 32px rgba(124, 240, 255, .18),
    0 0 72px rgba(255, 38, 168, .16),
    inset 0 0 0 1px rgba(255, 206, 239, .045);
  transform: perspective(900px) rotateX(4deg) scale(.93);
  filter: brightness(.72) saturate(.82);
  transition: transform .48s cubic-bezier(.16, .86, .25, 1), filter .48s ease;
}

.germain-victory.is-open .germain-victory__panel {
  transform: perspective(900px) rotateX(0) scale(1);
  filter: brightness(1) saturate(1);
  animation: victoryMaterialize .7s steps(6, end) both;
}

.germain-victory__panel::before,
.germain-victory__panel::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.germain-victory__panel::before {
  inset: 7px;
  border: 1px solid rgba(255, 71, 181, .18);
  clip-path: inherit;
}

.germain-victory__panel::after {
  top: -30%;
  left: -15%;
  width: 30%;
  height: 160%;
  opacity: .38;
  background: linear-gradient(90deg, transparent, rgba(151, 250, 255, .22), transparent);
  transform: skewX(-14deg);
  animation: victorySweep 3.6s ease-in-out infinite;
}

.germain-victory__corner {
  position: absolute;
  z-index: 4;
  width: 35px;
  height: 35px;
  border-color: #ff4bb5;
  border-style: solid;
  pointer-events: none;
  filter: drop-shadow(0 0 7px #ff2da9);
}

.germain-victory__corner--tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.germain-victory__corner--tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; border-color: #8af8ff; filter: drop-shadow(0 0 7px #8af8ff); }
.germain-victory__corner--bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; border-color: #8af8ff; filter: drop-shadow(0 0 7px #8af8ff); }
.germain-victory__corner--br { right: 12px; bottom: 12px; border-width: 0 2px 2px 0; }

.germain-victory__vector {
  position: absolute;
  z-index: 0;
  top: 24px;
  left: 50%;
  width: 94%;
  height: 190px;
  opacity: .27;
  transform: translateX(-50%);
  overflow: visible;
}

.victory-wire {
  fill: none;
  stroke: url(#victoryVectorGradient);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.victory-wire .victory-cue { stroke-width: 2.1; stroke-dasharray: 10 6; }

.germain-victory__content {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(600px, calc(100% - 48px));
  min-height: 520px;
  align-content: center;
  justify-items: center;
  margin: auto;
  padding: 45px 0 38px;
  text-align: center;
}

.germain-victory__eyebrow {
  margin: 0 0 10px;
  color: #92f9ff;
  font: 700 8px/1 "Courier New", monospace;
  letter-spacing: .28em;
  text-shadow: 0 0 9px rgba(138, 248, 255, .72);
}

.germain-victory h2 {
  margin: 0;
  color: #fff5fc;
  font: 400 clamp(40px, 8vw, 76px)/.9 Georgia, "Times New Roman", serif;
  letter-spacing: .08em;
  text-indent: .08em;
  text-shadow:
    0 0 5px #fff,
    0 0 14px #ff2da9,
    0 0 34px rgba(255, 45, 169, .82),
    0 0 58px rgba(120, 55, 255, .55);
}

.germain-victory__paypal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(430px, 100%);
  gap: 14px;
  margin-top: 50px;
}

.germain-victory__paypal a {
  position: relative;
  display: grid;
  min-height: 72px;
  place-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 143, 213, .64);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  color: #fff2fb;
  text-decoration: none;
  background:
    linear-gradient(145deg, rgba(116, 49, 255, .78), rgba(205, 17, 146, .84) 58%, rgba(48, 4, 57, .96));
  box-shadow: inset 0 1px 0 rgba(255, 234, 248, .2), 0 0 17px rgba(255, 45, 169, .25);
  transition: transform .18s ease, border-color .18s ease, filter .18s ease, box-shadow .18s ease;
}

.germain-victory__paypal a::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -55%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-16deg);
  transition: left .42s ease;
}

.germain-victory__paypal small {
  color: #9cfaff;
  font: 700 6px/1 "Courier New", monospace;
  letter-spacing: .2em;
  text-shadow: 0 0 7px #8af8ff;
}

.germain-victory__paypal strong {
  margin-top: 7px;
  font: 700 21px/1 Georgia, "Times New Roman", serif;
  letter-spacing: .05em;
  text-shadow: 0 0 10px rgba(255, 149, 218, .92);
}

.germain-victory__paypal a:hover,
.germain-victory__paypal a:focus-visible {
  z-index: 1;
  border-color: #fff;
  outline: none;
  filter: brightness(1.18);
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 0 28px rgba(255, 45, 169, .65), 0 0 38px rgba(130, 247, 255, .26);
}

.germain-victory__paypal a:hover::before,
.germain-victory__paypal a:focus-visible::before { left: 125%; }

.germain-victory__skip {
  min-height: 42px;
  margin-top: 18px;
  padding: 0 20px;
  border: 1px solid rgba(144, 247, 255, .32);
  color: rgba(217, 253, 255, .74);
  background: rgba(8, 7, 24, .82);
  cursor: pointer;
  font: 700 8px/1 "Courier New", monospace;
  letter-spacing: .14em;
  transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.germain-victory__skip:hover,
.germain-victory__skip:focus-visible {
  border-color: #8af8ff;
  outline: none;
  color: white;
  background: rgba(27, 15, 72, .9);
  box-shadow: 0 0 17px rgba(138, 248, 255, .34);
}

.germain-victory__beg {
  margin: 14px 0 0;
  color: rgba(255, 172, 222, .58);
  font: 700 7px/1.35 "Courier New", monospace;
  letter-spacing: .17em;
}

@keyframes victoryMaterialize {
  0% { opacity: 0; filter: brightness(3) saturate(.2); transform: perspective(900px) rotateX(9deg) scale(.88, .05); }
  24% { opacity: .82; }
  39% { opacity: .28; }
  55% { opacity: 1; transform: perspective(900px) rotateX(2deg) scale(1.02, 1); }
  69% { opacity: .56; }
  100% { opacity: 1; filter: brightness(1) saturate(1); transform: perspective(900px) rotateX(0) scale(1); }
}

@keyframes victorySweep {
  0%, 14% { left: -45%; }
  72%, 100% { left: 125%; }
}

@keyframes victoryScan { to { background-position-y: 90px; } }

@media (max-width: 620px) {
  .germain-victory { padding: 7px; }
  .germain-victory__panel { width: calc(100vw - 14px); min-height: 490px; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
  .germain-victory__content { width: calc(100% - 30px); min-height: 490px; padding-block: 34px 28px; }
  .germain-victory__vector { top: 44px; width: 118%; height: 150px; }
  .germain-victory__eyebrow { font-size: 6px; letter-spacing: .14em; }
  .germain-victory h2 { font-size: clamp(35px, 12vw, 54px); letter-spacing: .04em; }
  .germain-victory__paypal { gap: 8px; margin-top: 54px; }
  .germain-victory__paypal a { min-height: 64px; }
  .germain-victory__paypal strong { font-size: 18px; }
  .germain-victory__skip { width: 100%; padding-inline: 10px; font-size: 7px; letter-spacing: .08em; }
  .germain-victory__beg { max-width: 290px; font-size: 6px; letter-spacing: .1em; }
}

@media (max-height: 610px) and (min-width: 621px) {
  .germain-victory__panel,
  .germain-victory__content { min-height: calc(100svh - 24px); }
  .germain-victory__content { padding-block: 24px; }
  .germain-victory__paypal { margin-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .germain-victory::before,
  .germain-victory__panel,
  .germain-victory__panel::after { animation: none !important; }
}
