:root {
  --lsu-red: #9b1c1c;
  --lsu-red-deep: #6f1010;
  --lsu-orange: #e85d04;
  --lsu-green: #1b4332;
  --ink: #14181f;
  --muted: #5c6b7a;
  --line: rgba(20, 24, 31, 0.12);
  --line-strong: rgba(155, 28, 28, 0.28);
  --card: #fffefb;
  --shadow: 0 14px 36px rgba(20, 24, 31, 0.08);
  --radius: 18px;
  --font-display: "Fraunces", "Palatino Linotype", Georgia, serif;
  --font-body: "Figtree", "Trebuchet MS", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  background:
    radial-gradient(1000px 480px at 10% -10%, rgba(155, 28, 28, 0.16), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(232, 93, 4, 0.14), transparent 50%),
    linear-gradient(180deg, #fbf7f2 0%, #f3ece4 48%, #ebe4db 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 24, 31, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 24, 31, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.35), transparent 70%);
  opacity: 0.5;
}

.wrap {
  width: min(960px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 0.85rem 0 2rem;
  position: relative;
  z-index: 1;
}

.brand-official {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  text-align: center;
  margin-bottom: 1rem;
  animation: rise 0.55s ease both;
}

.brand-logo-full {
  width: clamp(72px, 18vw, 110px);
  height: auto;
  display: block;
  border-radius: 18px;
  background: #fff;
  border: 1.5px solid rgba(20, 24, 31, 0.08);
  box-shadow: 0 8px 20px rgba(20, 24, 31, 0.1);
  overflow: hidden;
}

.brand-sub {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: clamp(0.85rem, 2.4vw, 0.98rem);
  letter-spacing: 0.02em;
  max-width: 22rem;
  line-height: 1.35;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  animation: rise 0.7s ease both;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  text-decoration: none;
  color: inherit;
  background:
    linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  background-clip: padding-box;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  z-index: 1;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(145deg, rgba(155, 28, 28, 0.55), rgba(232, 93, 4, 0.35), rgba(155, 28, 28, 0.2));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card.usd::before { background: linear-gradient(90deg, var(--lsu-red-deep), var(--lsu-red)); }
.card.zwg::before { background: linear-gradient(90deg, #c2410c, var(--lsu-orange)); }

.card.usd::after {
  background: linear-gradient(145deg, rgba(111, 16, 16, 0.75), rgba(155, 28, 28, 0.45), rgba(155, 28, 28, 0.18));
}

.card.zwg::after {
  background: linear-gradient(145deg, rgba(194, 65, 12, 0.75), rgba(232, 93, 4, 0.45), rgba(232, 93, 4, 0.18));
}

.card:hover,
.card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(20, 24, 31, 0.14);
  outline: none;
}

.card:hover.usd { border-color: rgba(155, 28, 28, 0.2); }
.card:hover.zwg { border-color: rgba(232, 93, 4, 0.22); }

.card-kicker {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lsu-red);
}

.card.zwg .card-kicker { color: #c2410c; }

.card h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.15;
  font-weight: 650;
}

.card > p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.card ul {
  margin: 0 0 1.25rem;
  padding: 0.85rem 0.95rem;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  flex: 1;
  border: 1.5px solid rgba(20, 24, 31, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
}

.card li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 550;
}

.card li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--lsu-orange);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15);
}

.card.usd li::before {
  background: var(--lsu-red);
  box-shadow: 0 0 0 3px rgba(155, 28, 28, 0.14);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: auto;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, var(--lsu-red-deep), var(--lsu-red));
  box-shadow: 0 8px 18px rgba(155, 28, 28, 0.22);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.card.zwg .card-cta {
  background: linear-gradient(135deg, #c2410c, var(--lsu-orange));
  box-shadow: 0 8px 18px rgba(232, 93, 4, 0.22);
}

.card:hover .card-cta { filter: brightness(1.05); }

.footnote {
  margin: 1.35rem auto 0;
  max-width: 42rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  animation: rise 0.85s ease both;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  color: var(--lsu-red);
  font-weight: 700;
  text-decoration: none;
}

.back:hover { text-decoration: underline; }

.tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0 auto 1rem;
  max-width: 560px;
  padding: 0.4rem;
  border: 2px solid rgba(155, 28, 28, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 22px rgba(20, 24, 31, 0.06);
}

.tab {
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--ink);
  padding: 0.7rem 0.5rem;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.tab:hover {
  border-color: rgba(155, 28, 28, 0.2);
  background: rgba(255, 255, 255, 0.85);
}

.tab.active {
  background: linear-gradient(135deg, var(--lsu-red-deep), var(--lsu-red));
  border-color: rgba(111, 16, 16, 0.4);
  color: #fff;
  box-shadow: 0 6px 14px rgba(155, 28, 28, 0.28);
}

.panel {
  width: min(560px, 100%);
  margin: 0 auto;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf6 100%);
  border: 2px solid transparent;
  border-radius: calc(var(--radius) + 2px);
  padding: 1.35rem 1.3rem 1.25rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  animation: rise 0.55s ease both;
}

.panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  border-radius: calc(var(--radius) + 2px) calc(var(--radius) + 2px) 0 0;
  background: linear-gradient(90deg, var(--lsu-red-deep), var(--lsu-orange));
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(160deg, rgba(155, 28, 28, 0.65), rgba(232, 93, 4, 0.4), rgba(155, 28, 28, 0.2));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pane { display: none; }
.pane.active { display: block; animation: rise 0.35s ease both; }

.pay-form {
  display: grid;
  gap: 0.15rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

label {
  display: block;
  font-weight: 700;
  margin: 0.85rem 0 0.4rem;
  font-size: 0.92rem;
  color: #2a3340;
}

.pay-form label:first-child { margin-top: 0.15rem; }

input, select {
  width: 100%;
  padding: 0.88rem 1rem;
  border: 1.5px solid rgba(20, 24, 31, 0.14);
  border-radius: 12px;
  font: inherit;
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 1px 2px rgba(20, 24, 31, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:hover, select:hover {
  border-color: rgba(155, 28, 28, 0.28);
}

input:focus, select:focus {
  outline: none;
  border-color: var(--lsu-red);
  box-shadow:
    0 0 0 3px rgba(155, 28, 28, 0.14),
    inset 0 1px 2px rgba(20, 24, 31, 0.03);
}

.amount-row {
  display: flex;
  align-items: stretch;
  gap: 0.55rem;
}

.amount-row span {
  display: grid;
  place-items: center;
  min-width: 3.6rem;
  padding: 0 0.75rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff4ea, #f7e6d8);
  border: 1.5px solid rgba(194, 65, 12, 0.28);
  font-weight: 800;
  color: #8a3410;
}

.amount-row input {
  flex: 1;
}

.btn {
  margin-top: 1.15rem;
  width: 100%;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.98rem 1rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #c2410c, var(--lsu-orange));
  box-shadow: 0 10px 22px rgba(232, 93, 4, 0.28);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.btn:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn:disabled { opacity: 0.65; cursor: wait; transform: none; }

.status {
  margin-top: 0.95rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #eef2f6;
  border: 1.5px solid rgba(20, 24, 31, 0.1);
  color: var(--ink);
  display: none;
  white-space: pre-wrap;
  font-size: 0.92rem;
}

.status.show { display: block; }

.status.ok {
  background: #e8f7ec;
  border-color: rgba(27, 67, 50, 0.28);
  color: #1b4332;
}

.status.err {
  background: #fdeeee;
  border-color: rgba(155, 28, 28, 0.28);
  color: #6f1010;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 820px) {
  .grid-2 { grid-template-columns: 1fr; gap: 0.9rem; }
  .card { min-height: 0; padding: 1.2rem 1.1rem 1.1rem; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 1rem); padding: 0.65rem 0 1.5rem; }
  .brand-official { margin-bottom: 0.85rem; gap: 0.3rem; }
  .brand-logo-full { width: 78px; border-radius: 14px; }
  .card-cta { padding: 0.8rem 0.9rem; font-size: 0.95rem; }
  .tabs {
    grid-template-columns: 1fr;
    border-radius: 16px;
    padding: 0.35rem;
  }
  .panel { padding: 1.1rem 1rem 1.05rem; border-radius: 16px; }
  .amount-row { flex-wrap: wrap; }
  .amount-row span { min-width: 3rem; }
  .footnote { font-size: 0.88rem; margin-top: 1rem; padding: 0 0.25rem; }
}

@media (max-width: 360px) {
  .brand-logo-full { width: 68px; border-radius: 12px; }
  .card h2 { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
