/* vrc.dj  Support: tip-jar page. Pairs with fancy-fx.css for the aurora
   background + card spotlight. */

.support-page {
  flex: 1 1 auto;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 3.5rem;
}

.support-shell {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  animation: supportRise .7s var(--ease) both;
}
@keyframes supportRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.support-head {
  text-align: center;
  margin-bottom: 1.75rem;
}
.support-coffee {
  font-size: 3rem;
  line-height: 1;
  display: inline-block;
  filter: drop-shadow(0 8px 22px color-mix(in srgb, var(--accent) 30%, transparent));
  animation: supportFloat 4.5s ease-in-out infinite;
}
@keyframes supportFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-8px) rotate(3deg); }
}
.support-title {
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--white);
  margin: 1rem 0 .5rem;
}
.support-sub {
  font-size: clamp(.92rem, 2.4vw, 1.05rem);
  color: var(--text-secondary);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ─── Card ─── */
.support-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  background: color-mix(in srgb, var(--bg-card) 62%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px color-mix(in srgb, black 28%, transparent);
  transition:
    border-color .3s var(--ease),
    box-shadow .35s var(--ease),
    transform .35s cubic-bezier(.22, .61, .36, 1);
}
.support-card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent,
    color-mix(in srgb, var(--accent) 65%, transparent) 50%, transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.support-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow:
    0 24px 60px color-mix(in srgb, var(--accent) 16%, transparent),
    0 0 0 1px color-mix(in srgb, var(--accent) 16%, transparent);
}
.support-card:hover::after { opacity: 1; }

.support-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 1rem;
  font-size: clamp(.92rem, 2.3vw, 1rem);
}
.support-card p:last-of-type { margin-bottom: 1.75rem; }
.support-card strong { color: var(--white); }

/* ─── Ko-fi CTA ─── */
.support-cta-wrap { text-align: center; }
.support-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 2.4rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: clamp(.95rem, 2.5vw, 1.05rem);
  color: var(--accent-fg, #fff);
  background: linear-gradient(135deg,
    var(--accent),
    color-mix(in srgb, var(--accent) 70%, var(--scope-color-tag, #a78bfa)));
  border: 0;
  text-decoration: none;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 32%, transparent);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), filter .2s var(--ease);
  overflow: hidden;
}
.support-cta i { font-size: 1.1em; }
.support-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, color-mix(in srgb, white 38%, transparent), transparent);
  transform: skewX(-18deg);
  transition: left .6s var(--ease);
}
.support-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 38px color-mix(in srgb, var(--accent) 42%, transparent);
  filter: saturate(1.08);
  color: var(--accent-fg, #fff);
}
.support-cta:hover::before { left: 130%; }
.support-cta:active { transform: translateY(0) scale(.99); }

.support-foot {
  margin-top: 1.5rem;
  text-align: center;
  font-size: .82rem;
  color: var(--text-muted);
}

@media (max-width: 575.98px) {
  .support-page {
    padding: 1.75rem .9rem 2.5rem;
  }
  .support-head { margin-bottom: 1.25rem; }
  .support-coffee { font-size: 2.5rem; }
  .support-card { border-radius: 16px; }
  .support-cta { padding: .85rem 1.9rem; width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .support-shell,
  .support-coffee { animation: none; }
  .support-card:hover { transform: none; }
  .support-cta:hover { transform: none; }
  .support-cta::before { display: none; }
}
