:root {
  --bg: #0c0d12;
  --bg-elevated: #14161e;
  --bg-card: #181a24;
  --bg-input: #101219;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f7fb;
  --text-muted: #9ea4b3;
  --text-soft: #757b8c;

  --accent: #ff2d55;
  --accent-2: #ff7a59;
  --accent-glow: rgba(255, 45, 85, 0.24);
  --accent-soft: rgba(255, 45, 85, 0.14);

  --yt-red: #ff0033;
  --paypal-blue: #0070ba;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 45px rgba(0, 0, 0, 0.4);
}

body[data-accent="cyan"] {
  --accent: #0ea5e9;
  --accent-2: #38bdf8;
  --accent-glow: rgba(14, 165, 233, 0.24);
  --accent-soft: rgba(14, 165, 233, 0.14);
}

body[data-accent="gold"] {
  --accent: #f59e0b;
  --accent-2: #fbbf24;
  --accent-glow: rgba(245, 158, 11, 0.24);
  --accent-soft: rgba(245, 158, 11, 0.14);
}

body[data-accent="emerald"] {
  --accent: #10b981;
  --accent-2: #34d399;
  --accent-glow: rgba(16, 185, 129, 0.24);
  --accent-soft: rgba(16, 185, 129, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(900px 500px at 15% -10%, var(--accent-glow), transparent 60%),
    radial-gradient(700px 420px at 90% 0%, rgba(120, 75, 255, 0.1), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.hidden {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Setup Hint Strip */
.setup-strip {
  background: linear-gradient(90deg, rgba(255, 45, 85, 0.16), rgba(255, 122, 89, 0.12));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.setup-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.setup-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  flex-shrink: 0;
}

.pin-chip {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
}

.setup-strip-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-xs-accent {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-xs-ghost {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 13, 18, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-emblem {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-text strong {
  font-size: 0.96rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text small {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-sm {
  padding: 7px 13px;
  font-size: 0.84rem;
}

.btn-xs {
  padding: 5px 10px;
  font-size: 0.78rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}

.btn-youtube {
  background: var(--yt-red);
  color: #ffffff;
}

.btn-youtube:hover {
  filter: brightness(1.1);
}

.btn-paypal {
  background: var(--paypal-blue);
  color: #ffffff;
}

.btn-paypal:hover {
  filter: brightness(1.1);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
}

.btn-icon-close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.btn-icon-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.14);
}

/* Main Shell & Hero */
.main-shell {
  padding-top: 24px;
  padding-bottom: 56px;
}

.hero-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.hero-banner-wrap {
  position: relative;
  height: 200px;
  background: #14161e;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(20, 22, 30, 0.92) 100%);
}

.hero-body {
  position: relative;
  padding: 0 26px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-identity {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  flex: 1;
  min-width: 280px;
}

.avatar-ring {
  margin-top: -48px;
  width: 104px;
  height: 104px;
  border-radius: 999px;
  padding: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  flex-shrink: 0;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

.hero-avatar {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  background: var(--bg-card);
}

.hero-meta {
  padding-top: 8px;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-title-row h1 {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

.verified-pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  border: 1px solid var(--accent-glow);
}

.hero-handle-line {
  margin: 4px 0 8px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-bio {
  margin: 0;
  max-width: 620px;
  color: #cdd2df;
  font-size: 0.94rem;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.hero-stats-mini {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 7px 14px;
  text-align: center;
  min-width: 84px;
}

.stat-pill strong {
  display: block;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.stat-pill span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: 10px;
}

.mobile-only-cta {
  display: none;
}

.sep {
  margin: 0 6px;
  color: var(--text-soft);
}

/* Grid & Panels */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(320px, 0.96fr);
  gap: 24px;
  align-items: start;
}

.left-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.right-col {
  position: sticky;
  top: 86px;
}

.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-header h2 {
  margin: 2px 0 0;
  font-size: 1.24rem;
  letter-spacing: -0.015em;
}

.wrap-gap {
  flex-wrap: wrap;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
}

.muted-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 4px 0 0;
}

/* Goal Progress */
.goal-pct-badge {
  background: var(--accent-soft);
  color: var(--accent-2);
  border: 1px solid var(--accent-glow);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 5px 12px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.progress-track {
  margin: 14px 0 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px var(--accent-glow);
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.goal-numbers {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.num-lg {
  font-size: 1.35rem;
}

.goal-right-meta {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Videos Grid */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.16s, border-color 0.16s, box-shadow 0.16s;
}

.video-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.video-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 12px 28px var(--accent-glow);
}

.video-thumb-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: #0e1016;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  overflow: hidden;
}

.video-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.25s;
}

.video-card:hover .video-thumb-btn img {
  transform: scale(1.03);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 18, 0.28);
  display: grid;
  place-items: center;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.video-play-circle {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(15, 17, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  padding-left: 2px;
}

.video-tag-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(12, 13, 18, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
}

.video-duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(10, 12, 16, 0.88);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}

.video-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.video-card-title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.video-raised-pill {
  color: var(--accent-2);
  font-weight: 700;
}

.video-card-actions {
  margin-top: auto;
  padding-top: 6px;
}

/* Supporters Wall */
.wall-tabs {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 999px;
}

.wall-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.wall-tab.active {
  background: var(--accent);
  color: #fff;
}

.supporters-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.supporter-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.supporter-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.supporter-main {
  flex: 1;
  min-width: 0;
}

.supporter-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.supporter-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.supporter-amount {
  font-weight: 800;
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
}

.chip-mini {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.chip-pending {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.32);
  color: #fcd34d;
}

.chip-video-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  border: 1px solid transparent;
  cursor: pointer;
}

.chip-video-link:hover {
  border-color: var(--accent);
}

.supporter-msg {
  margin: 7px 0 0;
  font-size: 0.92rem;
  color: #e4e7f0;
  word-break: break-word;
}

.supporter-foot {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: var(--text-soft);
}

.hearted-pill {
  color: #fb7185;
  font-weight: 600;
}

/* Donation Widget */
.donate-panel {
  border-color: rgba(255, 255, 255, 0.12);
}

.donate-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.donate-header h2 {
  margin: 2px 0 0;
  font-size: 1.25rem;
}

.freq-toggle {
  display: flex;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}

.freq-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.freq-btn.active {
  background: var(--accent);
  color: #fff;
}

.selected-video-banner {
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.svb-info {
  min-width: 0;
}

.svb-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-2);
}

.svb-info strong {
  display: block;
  font-size: 0.86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.field-block {
  margin-bottom: 14px;
}

.field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #d6dbe8;
  margin-bottom: 6px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.label-row .field-label {
  margin-bottom: 0;
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
}

.char-counter {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.tier-btn {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.14s, background 0.14s;
}

.tier-btn:hover {
  border-color: var(--border-strong);
}

.tier-btn.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.tier-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 1rem;
}

.tier-label {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.custom-amount-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 12px;
}

.custom-amount-wrap:focus-within {
  border-color: var(--accent);
}

.currency-prefix {
  font-weight: 700;
  color: var(--text-muted);
  margin-right: 6px;
}

.custom-amount-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 4px;
  font-weight: 700;
}

.currency-code {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-soft);
}

.tier-perk-hint {
  margin: 7px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.text-input,
.select-input,
.textarea-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s;
}

.text-input:focus,
.select-input:focus,
.textarea-input:focus {
  border-color: var(--accent);
}

.textarea-input {
  resize: vertical;
}

.method-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.method-tab {
  flex: 1;
  min-width: 90px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.method-tab.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}

.method-info-box {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-notice {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.demo-notice strong {
  color: var(--text);
}

.copy-account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
}

.copy-account-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  word-break: break-all;
  color: #e2e8f0;
}

.direct-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
}

.qr-box {
  background: #ffffff;
  padding: 8px;
  border-radius: 12px;
  display: inline-flex;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.qr-caption {
  font-size: 0.74rem;
  color: var(--text-soft);
}

.form-error {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.84rem;
  margin: 8px 0 0;
}

/* Receipt View */
.receipt-view {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 6px 0;
}

.receipt-badge {
  align-self: center;
  background: rgba(34, 197, 94, 0.16);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 999px;
  padding: 5px 14px;
  font-weight: 700;
  font-size: 0.86rem;
}

.receipt-view h3 {
  margin: 0;
  font-size: 1.3rem;
}

.receipt-card {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
}

.receipt-row span {
  color: var(--text-muted);
}

.receipt-msg-box {
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.receipt-msg-box p {
  margin: 4px 0 0;
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.86rem;
}

.footer-inner p {
  margin: 0;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(6, 7, 11, 0.78);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-dialog {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.modal-md { max-width: 560px; }
.modal-lg { max-width: 780px; }
.modal-xl { max-width: 900px; }

.modal-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.12rem;
}

.modal-body-stack {
  padding: 20px 22px;
  overflow-y: auto;
}

.modal-footer-split {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.video-stage {
  background: #08090d;
  aspect-ratio: 16 / 9;
  width: 100%;
  position: relative;
}

.video-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-stage-fallback {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-stage-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
}

.video-stage-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 10px;
  background: rgba(10, 12, 18, 0.55);
}

.share-qr-section {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

/* Creator Studio */
.studio-pin-gate {
  padding: 40px 22px;
  display: grid;
  place-items: center;
}

.pin-card {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.pin-card h4 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.pin-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.studio-editor {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.studio-tabs {
  display: flex;
  gap: 6px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.studio-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.studio-tab.active {
  background: var(--accent-soft);
  border-color: var(--accent-glow);
  color: var(--accent-2);
}

.studio-scroll {
  padding: 20px 22px;
  overflow-y: auto;
  flex: 1;
}

.studio-pane {
  display: none;
}

.studio-pane.active {
  display: block;
}

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

.studio-grid-3 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
}

.accent-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.swatch-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 0.82rem;
  cursor: pointer;
}

.swatch-btn.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.swatch-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.upload-row {
  display: flex;
  gap: 8px;
}

.upload-btn {
  white-space: nowrap;
}

.studio-subhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.studio-callout {
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.studio-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

.st-videos-list,
.st-tiers-list,
.st-donations-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.st-item-card {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}

.st-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.st-tier-row {
  display: grid;
  grid-template-columns: 80px 100px 140px 1fr;
  gap: 8px;
  align-items: center;
}

.st-don-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.studio-don-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.studio-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.studio-footer-btns {
  display: flex;
  gap: 10px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: #1f2330;
  color: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* Responsive */
@media (max-width: 960px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .right-col {
    position: static;
  }

  .nav-links {
    display: none;
  }

  .hero-cta-group {
    width: 100%;
    align-items: flex-start;
  }

  .mobile-only-cta {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .hero-banner-wrap {
    height: 140px;
  }

  .hero-body {
    padding: 0 16px 18px;
  }

  .avatar-ring {
    width: 82px;
    height: 82px;
    margin-top: -36px;
  }

  .studio-grid-2,
  .studio-grid-3,
  .st-tier-row {
    grid-template-columns: 1fr;
  }

  .share-qr-section {
    flex-direction: column;
    text-align: center;
  }
}
