/* =====================================================
   checkout.css — aligned with index styles.css
   ===================================================== */

/* ─── BASE ─────────────────────────────────────────── */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at 50% -10%, rgba(96, 165, 250, 0.20), transparent 34%),
    linear-gradient(180deg, #07101f 0%, #0b1220 42%, #050914 100%);
  color: white;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.splash-hidden {
  display: none !important;
}

/* ─── NAV (matches index .nav exactly) ─────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(7, 16, 31, 0.86);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(147, 197, 253, 0.12);
  backdrop-filter: blur(14px);
  box-sizing: border-box;
}

.logo,
.logo:visited,
.logo:hover,
.logo:active {
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
  text-decoration: none;
}

.brand-lockup,
.splash-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-logo,
.splash-brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform .18s ease;
  filter:
    drop-shadow(0 0 12px rgba(59,130,246,0.28))
    drop-shadow(0 0 24px rgba(59,130,246,0.12));
}

.splash-brand-logo {
  width: 42px;
  height: 42px;
}

.brand-lockup:hover .brand-logo,
.splash-brand-lockup:hover .splash-brand-logo {
  transform: scale(1.03);
}

.brand-name,
.splash-brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #ffffff, #b8c2d9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.splash-brand-name {
  font-size: 18px;
}

.splash-brand-lockup {
  justify-content: center;
  margin-bottom: 16px;
}

/* ─── CURRENCY TOGGLE ───────────────────────────────── */
.currency-toggle {
  display: flex;
  gap: 6px;
  align-items: center;
}

.currency-btn {
  background: #111c33;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  opacity: 0.65;
  transition: all 0.2s ease;
}

.currency-btn:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.3);
}

.currency-btn.active {
  background: linear-gradient(135deg, #86efac, #22c55e);
  color: #052e16;
  font-weight: 600;
  opacity: 1;
  transform: translateY(-1px);
}

/* ─── PROGRESS BAR ──────────────────────────────────── */
.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  font-size: 12px;
  opacity: 0.8;
  background: rgba(7, 16, 31, 0.62);
  border-bottom: 1px solid rgba(147, 197, 253, 0.10);
  backdrop-filter: blur(8px);
}

.progress-step {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.progress-step.active {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: white;
  font-weight: 600;
}

.progress-step.done {
  background: #22c55e;
  color: black;
  font-weight: 600;
}

.progress-line {
  width: 30px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
}

/* ─── SPLASH SCREEN ─────────────────────────────────── */
.splash-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  min-height: 100vh;
  padding: 34px 20px 42px;
  background:
    linear-gradient(180deg, rgba(7,16,31,0.16), rgba(11,18,32,0.96) 92%),
    radial-gradient(circle at 50% 0%, rgba(96,165,250,0.28), transparent 42%),
    linear-gradient(135deg, rgba(15,23,42,0.95), rgba(2,6,23,0.96));
  text-align: center;
}

.splash-close {
  display: none;
}

.splash-back-link {
  position: absolute;
  top: 22px;
  left: 24px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.splash-back-link:hover {
  color: #ffffff;
}

.splash-inner {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  transform: none;
}

.splash-logo {
  display: none;
}

.splash-screen h1 {
  color: white;
  font-size: clamp(30px, 5vw, 42px);
  margin: 0 0 7px;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.splash-sub {
  color: rgba(203, 213, 225, 0.78);
  font-size: 14px;
  margin: 0 0 18px;
  line-height: 1.35;
}

/* Urgency bar */
.splash-urgency {
  display: inline-block;
  background: rgba(34, 197, 94, 0.07);
  border: 1px solid rgba(34, 197, 94, 0.20);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 12.5px;
  color: #cbd5e1;
  margin-bottom: 22px;
  line-height: 1.35;
}

.splash-prompt {
  font-size: 12.5px;
  color: rgba(203, 213, 225, 0.66);
  margin: 0 0 12px;
  font-weight: 650;
}

/* ─── SPLASH GRID — 2x2 on mobile ──────────────────── */
.splash-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0 auto 8px;
  width: 100%;
  max-width: 560px;
}

/* Desktop: 4 columns */
@media (min-width: 600px) {
  .splash-pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.splash-card {
  background: linear-gradient(145deg, rgba(17,28,51,0.94), rgba(8,15,29,0.92));
  border: 1px solid rgba(147,197,253,0.14);
  border-radius: 12px;
  padding: 15px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  text-align: center;
}

.splash-card:hover {
  transform: translateY(-2px);
  border-color: #3b82f6;
}

.splash-card.selected {
  border: 1px solid rgba(96,165,250,0.78);
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 0 0 28px rgba(59,130,246,0.16);
}

.splash-card--best.selected {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
}

.splash-card h3 {
  color: white;
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
}

.splash-price {
  font-size: 1.45rem;
  font-weight: bold;
  color: #3b82f6;
  margin: 7px 0 4px;
  line-height: 1;
}

.splash-card small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  display: block;
}

.splash-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  margin-top: 8px;
  font-weight: 600;
}

/* Inline error (no alert) */
.splash-error {
  color: #f87171;
  font-size: 12px;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.2s ease, max-height 0.2s ease, margin 0.2s ease;
}

.splash-error.visible {
  max-height: 24px;
  margin: 8px 0 4px;
  opacity: 1;
}

/* Shake animation */
@keyframes cmg-shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

.shake {
  animation: cmg-shake 0.5s ease;
}

/* CTA button */
.splash-cta {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: white;
  padding: 13px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
  max-width: 320px;
  border: 1px solid rgba(191,219,254,0.35);
  box-shadow: 0 12px 32px rgba(37,99,235,0.30), inset 0 1px 0 rgba(255,255,255,0.22);
}

.splash-cta:hover {
  background: #2f6fe0;
  transform: translateY(-1px);
}

/* Trust strip */
.splash-trust {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 17px;
  color: rgba(203, 213, 225, 0.58);
  font-size: 11.5px;
  flex-wrap: wrap;
}

/* ─── CHECKOUT LAYOUT ───────────────────────────────── */
.checkout-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
  gap: 0;
  background: transparent;
}

/* ─── LEFT FORM ─────────────────────────────────────── */
.checkout-form {
  padding: 40px;
}

.checkout-form h1 {
  margin-bottom: 5px;
  font-size: 26px;
}

.subhead {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 12px;
}

.checkout-form label {
  display: block;
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 13px;
  opacity: 0.9;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 12px;
  margin-top: 4px;
  border-radius: 8px;
  border: none;
  background: rgba(17, 28, 51, 0.92);
  color: white;
  box-sizing: border-box;
  font-size: 14px;
  font-family: Arial, sans-serif;
  outline: none;
  transition: border 0.2s;
  border: 1px solid rgba(147,197,253,0.12);
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: #3b82f6;
}

/* ─── SECTION CARDS (matches index card aesthetic) ─── */
.section-card {
  background: linear-gradient(145deg, rgba(17,28,51,0.94), rgba(8,15,29,0.92));
  border: 1px solid rgba(147,197,253,0.14);
  border-radius: 12px;
  padding: 16px;
  margin-top: 14px;
  box-shadow: 0 18px 42px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
}

.section-card + .section-card {
  margin-top: 16px;
}

.checkout-promo-reward-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 16px 0 14px;
  padding: 13px 14px;
  border: 1px solid rgba(244, 200, 106, 0.28);
  border-radius: 12px;
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 200, 106, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(23, 30, 42, 0.95), rgba(9, 16, 30, 0.97));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.checkout-promo-reward-card[hidden] {
  display: none !important;
}

.checkout-promo-reward-card__media {
  width: 42px;
  height: 42px;
}

.checkout-promo-reward-card__logo,
.checkout-promo-reward-card__mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.checkout-promo-reward-card__logo {
  object-fit: cover;
}

.checkout-promo-reward-card__mark {
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 200, 106, 0.36);
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 247, 223, 0.90), rgba(244, 200, 106, 0.68) 38%, rgba(93, 65, 16, 0.42) 74%),
    rgba(46, 35, 17, 0.45);
  color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.checkout-promo-reward-card__mark::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 1px solid rgba(31, 22, 3, 0.38);
  border-radius: 999px;
  background: rgba(31, 22, 3, 0.18);
}

.checkout-promo-reward-card__mark::after {
  content: "";
  position: absolute;
  bottom: 7px;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: rgba(31, 22, 3, 0.34);
}

.checkout-promo-reward-card__body {
  min-width: 0;
}

.checkout-promo-reward-card__eyebrow {
  color: #f4c86a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.checkout-promo-reward-card h2 {
  margin: 2px 0 4px;
  color: #f8fafc;
  font-size: 18px;
  line-height: 1.15;
}

.checkout-promo-reward-card p {
  margin: 0;
  color: #e0f2fe;
  font-size: 14px;
  line-height: 1.35;
}

.checkout-promo-reward-card small {
  display: block;
  margin-top: 5px;
  color: rgba(226, 232, 240, 0.76);
  font-size: 12px;
  line-height: 1.35;
}

.checkout-promo-reward-card__lock {
  align-self: start;
  border: 1px solid rgba(244, 200, 106, 0.28);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(2, 6, 23, 0.36);
  color: #f8dfa4;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.section-card label {
  margin-top: 0;
  margin-bottom: 6px;
}

.checkout-heard-about {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(147, 197, 253, 0.08);
}

.checkout-heard-about__label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px !important;
  color: rgba(226, 232, 240, 0.88);
}

.checkout-heard-about__label span {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.10);
  color: rgba(203, 213, 225, 0.68);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.checkout-heard-about select {
  display: block;
  height: 40px;
  min-height: 40px;
  padding: 10px 12px;
  line-height: 18px;
  appearance: none;
  -webkit-appearance: none;
}

.checkout-heard-about__other {
  min-height: 40px;
  margin-top: 8px !important;
  padding: 10px 12px !important;
}

.checkout-heard-about__other[hidden] {
  display: none !important;
}

.section-header {
  margin-bottom: 10px;
}

.section-sub {
  font-size: 12px;
  color: rgba(226, 237, 255, 0.82);
  margin-top: 2px;
  display: block;
  font-weight: 400;
  line-height: 1.4;
}

/* ─── PACKAGE SELECTOR ──────────────────────────────── */
.package-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.package-option {
  display: block;
  cursor: pointer;
}

.package-option input {
  display: none;
}

.option-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: rgba(17, 28, 51, 0.92);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 14px;
  transition: 0.2s;
}

.package-option:hover .option-content {
  border-color: rgba(59, 130, 246, 0.5);
}

.package-option input:checked + .option-content {
  border-color: rgba(96,165,250,0.78);
  background: rgba(22, 37, 68, 0.92);
  box-shadow: 0 0 24px rgba(59,130,246,0.12);
}

.package-option.best input:checked + .option-content {
  border-color: #22c55e;
}

.option-left {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-direction: column;
  min-width: 0;
}

.option-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.option-title {
  font-size: 14px;
  font-weight: 600;
}

.option-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.22);
  color: #bfdbfe;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  white-space: normal;
}

.option-badge--green {
  background: rgba(245, 197, 66, 0.12);
  border-color: rgba(245, 197, 66, 0.28);
  color: #f8d978;
}

.option-description {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.35;
}

.checkout-credit-save-accent {
  color: #a7f3d0;
  font-weight: 750;
}

.option-right {
  flex-shrink: 0;
  text-align: right;
}

.option-price {
  font-size: 15px;
  font-weight: bold;
}

.option-meta {
  display: block;
  font-size: 11px;
  opacity: 0.65;
  margin-top: 2px;
}

/* ─── INCLUDED CARD SELECTOR ────────────────────────── */
.card-selector-section {
  overflow: hidden;
  padding: 12px 16px 6px;
}

.card-selector-copy h2 {
  margin: 0 0 4px;
  font-size: 19px;
  line-height: 1.18;
}

.card-selector-copy p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.4;
}

.card-selector-preview {
  display: block;
  width: min(100%, 560px);
  margin: -16px auto -14px;
  border-radius: 12px;
}

.card-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.card-selector-option {
  min-height: 42px;
  padding: 8px 8px;
  border: 1px solid rgba(147,197,253,0.18);
  border-radius: 10px;
  background: rgba(17, 28, 51, 0.88);
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.card-selector-option:hover {
  border-color: rgba(245, 197, 66, 0.46);
  color: #f8fafc;
  transform: translateY(-1px);
}

.card-selector-option.is-selected {
  border-color: rgba(245, 197, 66, 0.92);
  background: linear-gradient(145deg, rgba(35, 30, 20, 0.96), rgba(16, 24, 40, 0.96));
  color: #f5c542;
  box-shadow: 0 0 24px rgba(245, 197, 66, 0.10), inset 0 1px 0 rgba(255,255,255,0.08);
}

.card-selector-option:focus-visible {
  outline: 2px solid rgba(245, 197, 66, 0.72);
  outline-offset: 2px;
}

@media (min-width: 640px) {
  .card-selector-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 901px) {
  .card-selector-section {
    padding: 11px 16px 6px;
  }

  .card-selector-copy h2 {
    font-size: 18px;
  }

  .card-selector-copy p {
    font-size: 13px;
  }

  .card-selector-preview {
    width: min(100%, 480px);
    margin: -14px auto -16px;
  }

  .card-selector-option {
    min-height: 38px;
    padding: 7px 9px;
    font-size: 12.5px;
  }
}

/* ─── PILLS ─────────────────────────────────────────── */
.pill {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  vertical-align: middle;
}

.pill--green {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.pill--blue {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

/* ─── INFO BOX ──────────────────────────────────────── */
.checkout-info-box {
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #cbd5e1;
}

.checkout-info-box summary {
  cursor: pointer;
  font-size: 12px;
  opacity: 0.9;
  padding: 2px 0;
}

.checkout-info-box ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.small-note {
  margin-top: 10px;
  opacity: 0.8;
  font-size: 12px;
}

/* ─── CLIP DETAILS (collapsible) ────────────────────── */
.clip-details {
  margin-top: 0;
}

.clip-details summary {
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.clip-details summary:hover {
  opacity: 1;
}

.summary-hint {
  font-size: 11px;
  color: #3b82f6;
  font-weight: 400;
  opacity: 0.9;
}

.multi-clip-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.checkout-container.is-first-clip-collapsed #clip-description-section,
.checkout-container.is-first-clip-collapsed [data-first-clip-field] {
  display: none;
}

.clip-request-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(147,197,253,0.14);
  border-radius: 10px;
  background: rgba(17, 28, 51, 0.86);
  padding: 12px;
  max-height: 260px;
  overflow: hidden;
  transition: opacity 0.22s ease, max-height 0.22s ease, margin 0.22s ease, padding 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.clip-request-summary.is-complete {
  border-color: rgba(34,197,94,0.38);
}

.clip-request-summary.is-saved {
  background: rgba(10, 27, 42, 0.9);
}

.clip-request-summary strong {
  display: block;
  color: #f8fafc;
  font-size: 13px;
  margin-bottom: 4px;
}

.clip-request-summary p {
  margin: 0 0 4px;
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.35;
}

.clip-request-summary span {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.35;
}

.clip-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.clip-summary-edit,
.clip-summary-remove,
.clip-remove-btn,
.add-clip-btn {
  border: 1px solid rgba(96,165,250,0.38);
  border-radius: 10px;
  background: rgba(59,130,246,0.12);
  color: #dbeafe;
  cursor: pointer;
  font-weight: 700;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.clip-summary-edit {
  padding: 8px 10px;
  font-size: 12px;
}

.clip-summary-remove,
.clip-remove-btn {
  border-color: rgba(248,113,113,0.22);
  background: rgba(127, 29, 29, 0.12);
  color: #fecaca;
  padding: 8px 10px;
  font-size: 12px;
}

.add-clip-btn {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
}

.clip-summary-edit:hover,
.clip-summary-remove:hover,
.clip-remove-btn:hover,
.add-clip-btn:hover {
  border-color: rgba(147,197,253,0.62);
  background: rgba(59,130,246,0.18);
  transform: translateY(-1px);
}

.clip-summary-remove:hover,
.clip-remove-btn:hover {
  border-color: rgba(248,113,113,0.42);
  background: rgba(127, 29, 29, 0.18);
}

.add-clip-btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.2);
  transform: none;
}

.add-clip-btn:disabled:hover {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(148, 163, 184, 0.2);
  transform: none;
}

.clip-request-form {
  border: 1px solid rgba(147,197,253,0.14);
  border-radius: 12px;
  background: rgba(8, 15, 29, 0.52);
  padding: 14px;
  max-height: 1200px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, opacity 0.22s ease, max-height 0.22s ease, margin 0.22s ease, padding 0.22s ease, transform 0.22s ease;
}

.clip-request-form.is-newly-added {
  border-color: rgba(125, 211, 252, 0.58);
  background: rgba(8, 26, 45, 0.72);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.clip-request-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.clip-request-form h3 {
  margin: 0;
  font-size: 16px;
}

.clip-game-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.clip-game-toggle label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(147,197,253,0.14);
  border-radius: 10px;
  background: rgba(17, 28, 51, 0.78);
  padding: 10px;
  color: #dbeafe;
  cursor: pointer;
  font-size: 12px;
}

.clip-game-toggle input {
  width: auto;
  margin: 0;
}

.clip-inherited-game {
  border: 1px solid rgba(34,197,94,0.24);
  border-radius: 10px;
  background: rgba(22, 101, 52, 0.12);
  color: #bbf7d0;
  font-size: 12px;
  line-height: 1.4;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.clip-inherited-game.is-hidden,
.clip-game-fields.is-hidden {
  display: none;
}

.clip-request-note {
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.45;
  opacity: 0.88;
}

.clip-request-availability-note {
  margin-top: 2px;
}

.clip-request-review-message {
  border: 1px solid rgba(248,113,113,0.28);
  border-radius: 10px;
  background: rgba(127, 29, 29, 0.14);
  color: #fecaca;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  padding: 10px 12px;
}

.clip-request-summary.is-removing,
.clip-request-form.is-removing {
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
  transform: translateY(-4px);
  pointer-events: none;
}

.clip-one-edit-highlight {
  border-color: rgba(125, 211, 252, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.remove-clip-modal[hidden] {
  display: none;
}

.remove-clip-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.remove-clip-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.remove-clip-modal.is-open .remove-clip-modal__backdrop {
  opacity: 1;
}

.remove-clip-modal__dialog {
  position: relative;
  width: min(420px, 100%);
  border: 1px solid rgba(147, 197, 253, 0.18);
  border-radius: 16px;
  background: #07101f;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  padding: 20px;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease;
  outline: none;
}

.remove-clip-modal.is-open .remove-clip-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.remove-clip-modal__dialog h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
  color: #f8fafc;
}

.remove-clip-modal__dialog p {
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.55;
}

.remove-clip-modal__summary {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.72);
  padding: 11px 12px;
}

.remove-clip-modal__summary span {
  color: #e2e8f0;
  font-size: 12px;
  line-height: 1.35;
}

.remove-clip-modal__summary span + span {
  color: #94a3b8;
}

.remove-clip-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.remove-clip-modal__keep,
.remove-clip-modal__remove {
  border: 1px solid rgba(147,197,253,0.2);
  border-radius: 11px;
  cursor: pointer;
  font-weight: 800;
  padding: 11px 12px;
}

.remove-clip-modal__keep {
  background: rgba(59,130,246,0.1);
  color: #dbeafe;
}

.remove-clip-modal__remove {
  border-color: rgba(248,113,113,0.28);
  background: rgba(127, 29, 29, 0.24);
  color: #fecaca;
}

.remove-clip-modal-open {
  overflow: hidden;
}

/* ─── PAYMENT OPTIONS ───────────────────────────────── */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.payment-option {
  display: block;
  cursor: pointer;
}

.payment-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.payment-box {
  border: 1px solid rgba(147,197,253,0.14);
  background: rgba(17, 28, 51, 0.92);
  padding: 12px 14px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.payment-title {
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.payment-sub {
  font-size: 12px;
  opacity: 0.65;
  margin-top: 3px;
}

.payment-option:hover .payment-box {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.payment-option input:checked + .payment-box {
  border: 1px solid rgba(96,165,250,0.78);
  background: rgba(59, 130, 246, 0.08);
  box-shadow: 0 0 24px rgba(59,130,246,0.12);
}

/* ─── RIGHT: ORDER SUMMARY ──────────────────────────── */
.checkout-summary {
  position: sticky;
  top: 100px;
  align-self: start;
  margin: 32px 32px 32px 0;
  padding: 28px;
  box-sizing: border-box;
  border: 1px solid rgba(147,197,253,0.16);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(15,26,46,0.96), rgba(8,15,29,0.96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255,255,255,0.08);
}

.checkout-summary h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 18px;
}

.summary-box {
  background: rgba(17, 28, 51, 0.92);
  border: 1px solid rgba(147,197,253,0.14);
  padding: 18px;
  border-radius: 10px;
  margin-bottom: 14px;
  line-height: 1.8;
  font-size: 14px;
}

.summary-box p {
  margin: 0;
}

.summary-box p + p {
  margin-top: 2px;
}

.currency-note {
  font-size: 12px;
  opacity: 0.65;
  margin-bottom: 8px;
  min-height: 16px;
}

/* Trust signals above CTA */
.pre-cta-trust {
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trust-item {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.3;
}

.manual-note {
  font-size: 12px;
  opacity: 0.7;
  margin: 0 0 4px;
  line-height: 1.45;
}

.checkout-promo-reminder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(244, 200, 106, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(244, 200, 106, 0.08), rgba(15, 23, 42, 0.52)),
    rgba(8, 15, 29, 0.70);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.checkout-promo-reminder[hidden] {
  display: none !important;
}

.checkout-promo-reminder span {
  display: block;
  margin-bottom: 2px;
  color: #f4c86a;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .06em;
  line-height: 1.15;
  text-transform: uppercase;
}

.checkout-promo-reminder strong {
  display: block;
  color: #f8fafc;
  font-size: 12.5px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.checkout-promo-reminder p {
  margin: 0;
  color: #f8dfa4;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.pay-btn {
  width: 100%;
  padding: 14px;
  margin-top: 14px;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  border: 1px solid rgba(191,219,254,0.35);
  border-radius: 8px;
  color: white;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 12px 32px rgba(37,99,235,0.30), inset 0 1px 0 rgba(255,255,255,0.22);
  font-family: Arial, sans-serif;
}

.pay-btn:hover {
  background: #2f6fe0;
  transform: translateY(-1px);
}

.pay-reassurance {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.55;
  text-align: center;
}

.secure-note {
  margin-top: 14px;
  font-size: 11px;
  opacity: 0.5;
  text-align: center;
}

.checkout-support {
  display: grid;
  justify-items: center;
  gap: 5px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(147, 197, 253, 0.10);
  color: rgba(203, 213, 225, 0.58);
  text-align: center;
}

.checkout-support p {
  margin: 0;
}

.checkout-support__prompt {
  color: rgba(226, 232, 240, 0.78);
  font-size: 12px;
  font-weight: 600;
}

.checkout-support__email {
  color: #93c5fd;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 3px;
}

.checkout-support__email:hover,
.checkout-support__email:focus-visible {
  text-decoration: underline;
}

.checkout-support__payments {
  margin-top: 4px !important;
  font-size: 11px;
  letter-spacing: 0.01em;
}

.checkout-support__legal {
  font-size: 10.5px;
  line-height: 1.45;
  opacity: 0.78;
}

.free-checkout-container {
  align-items: start;
}

.free-summary .summary-box p + p {
  margin-top: 6px;
}

.free-success {
  display: none;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.08);
  color: #86efac;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

#error-message {
  color: #f87171;
  margin-top: 10px;
  font-size: 12px;
}

/* ─── FIELD ERRORS ──────────────────────────────────── */
.field-error {
  color: #f87171;
  font-size: 12px;
  margin-top: 6px;
  display: none; /* checkout.js sets display:block inline */
}

.input-error {
  border-color: #dc2626 !important;
}

/* ─── PROCESSING OVERLAY ────────────────────────────── */
.checkout-processing {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 18, 32, 0.75);
  backdrop-filter: blur(8px);
}

.checkout-processing.show {
  display: flex;
}

.processing-card {
  width: min(420px, 100%);
  background: linear-gradient(145deg, rgba(15,26,46,0.96), rgba(8,15,29,0.96));
  border: 1px solid rgba(147,197,253,0.16);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.processing-card h2 {
  margin: 16px 0 8px;
  font-size: 20px;
}

.processing-card p {
  margin: 0;
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.5;
}

.processing-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto;
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: cmg-spin 0.9s linear infinite;
}

@keyframes cmg-spin {
  to { transform: rotate(360deg); }
}

/* ─── MOBILE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .checkout-container {
    grid-template-columns: 1fr;
  }

  .checkout-form {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .checkout-summary {
    position: static;
    margin: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    padding: 24px;
    background: rgba(8,15,29,0.74);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  }
}

@media (max-width: 600px) {
  .nav {
    min-height: 66px;
    gap: 10px;
    padding: 8px 14px;
  }

  .brand-lockup,
  .splash-brand-lockup {
    gap: 9px;
  }

  .brand-logo,
  .splash-brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .brand-name,
  .splash-brand-name {
    font-size: 18px;
  }

  .splash-screen {
    padding: 26px 16px 32px;
  }

  .splash-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(15, 26, 46, 0.76);
    color: white;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
  }

  .splash-back-link {
    display: none;
  }

  .splash-trust {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .checkout-form {
    padding: 20px 16px;
  }

  .checkout-promo-reward-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
  }

  .checkout-promo-reward-card__lock {
    grid-column: 2;
    justify-self: start;
    margin-top: -4px;
  }

  .checkout-promo-reminder {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .checkout-promo-reminder p {
    text-align: left;
    white-space: normal;
  }

  .checkout-progress {
    gap: 5px;
    padding: 12px 10px;
  }

  .progress-step {
    padding: 6px 8px;
    font-size: 11px;
  }

  .progress-line {
    width: 16px;
  }

  .option-content {
    align-items: flex-start;
    gap: 12px;
  }

  .option-left {
    gap: 6px;
  }

  .option-right {
    min-width: 86px;
  }

  .option-price {
    white-space: nowrap;
  }

  .checkout-summary {
    padding: 20px 16px;
  }

  .clip-game-toggle {
    grid-template-columns: 1fr;
  }

  .clip-request-summary {
    align-items: flex-start;
  }
}

/* ─── BUNDLE NOTE (shows on 3+ clips) ───────────────── */
.bundle-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  padding: 11px 14px;
  background: rgba(34, 197, 94, 0.045);
  border: 1px solid rgba(34, 197, 94, 0.16);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.42;
  color: #cbd5e1;
  animation: fadeInNote 0.25s ease;
}

.bundle-note-text strong {
  color: #a7f3d0;
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
}

@keyframes fadeInNote {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── SPLASH BUNDLE NOTE ─────────────────────────────── */
.splash-bundle-note {
  display: inline-block;
  background: rgba(34, 197, 94, 0.065);
  border: 1px solid rgba(34, 197, 94, 0.20);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12.5px;
  color: #cbd5e1;
  margin: 4px auto 10px;
  line-height: 1.38;
}

.splash-bundle-note strong {
  color: #86efac;
}


/* ─── SATISFACTION NOTE ──────────────────────────────── */
.satisfaction-note {
  margin-top: 10px;
  font-size: 12px;
  color: #86efac;
  text-align: center;
  opacity: 0.85;
  line-height: 1.4;
}

.payment-title--logos {
  gap: 8px;
}

.payment-logo {
  display: block;
  width: auto;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
}

.payment-logo--paypal {
  height: 17px;
  max-width: 82px;
  transform: translateY(1px);
}

.payment-logo--interac {
  height: 28px;
  border-radius: 4px;
  transform: translateY(-1px);
}

.payment-card-logos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.payment-logo--visa {
  height: 12px;
  max-width: 40px;
  transform: translateY(1px);
}

.payment-logo--mastercard {
  height: 18px;
  max-width: 30px;
  transform: translateY(1px);
}
