:root {
  --bg: #050505;
  --bg2: #0b0d10;
  --text: #f1f2f4;
  --muted: rgba(255,255,255,.72);
  --line: rgba(255,255,255,.12);
  --gold-1: #8a6a2d;
  --gold-2: #d2b06f;
  --gold-3: #f2deb2;
  --silver-1: #ffffff;
  --silver-2: #cdd1d8;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 35%, rgba(255,214,143,.08), transparent 28%),
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.06), transparent 20%),
    radial-gradient(circle at 82% 70%, rgba(255,255,255,.03), transparent 24%),
    linear-gradient(180deg, #07090b 0%, #050505 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow: hidden;
}

.admin-bar .rfc-page { min-height: calc(100vh - 32px); }
.rfc-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.rfc-bg-image {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(5,5,5,.72), rgba(5,5,5,.88)), url('../images/hero-bg.png');
  background-position: center center;
  background-size: cover;
  opacity: .22;
  filter: blur(2px) saturate(.85);
  transform: scale(1.06);
  z-index: -4;
}

.rfc-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0, rgba(0,0,0,.10) 25%, rgba(0,0,0,.42) 68%, rgba(0,0,0,.72) 100%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  z-index: -3;
}

.rfc-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  mix-blend-mode: screen;
  opacity: .75;
  z-index: -2;
  animation: pulseGlow 8s ease-in-out infinite alternate;
}
.light-1 {
  width: 36vw;
  height: 36vw;
  min-width: 280px;
  min-height: 280px;
  top: -10vw;
  left: -8vw;
  background: radial-gradient(circle, rgba(255,227,176,.25), rgba(255,227,176,.04) 45%, rgba(255,227,176,0) 72%);
}
.light-2 {
  width: 26vw;
  height: 26vw;
  min-width: 220px;
  min-height: 220px;
  bottom: -6vw;
  right: -3vw;
  background: radial-gradient(circle, rgba(255,255,255,.20), rgba(255,255,255,.03) 45%, rgba(255,255,255,0) 72%);
  animation-duration: 11s;
}
.light-3 {
  width: 44vw;
  height: 10px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(247,218,161,.85), rgba(255,255,255,0));
  border-radius: 999px;
  filter: blur(6px);
  opacity: .85;
  animation: sweepLine 6.5s ease-in-out infinite;
}

.rfc-particles,
.rfc-particles::before,
.rfc-particles::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255,255,255,.20) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 28%, rgba(255,255,255,.16) 0 1px, transparent 1.5px),
    radial-gradient(circle at 28% 78%, rgba(255,255,255,.12) 0 1px, transparent 1.5px),
    radial-gradient(circle at 62% 66%, rgba(255,255,255,.18) 0 1px, transparent 1.5px),
    radial-gradient(circle at 46% 36%, rgba(255,224,175,.20) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 84%, rgba(255,255,255,.10) 0 1px, transparent 1.5px);
  background-size: 100% 100%;
  opacity: .32;
  z-index: -1;
  animation: drift 16s linear infinite;
}
.rfc-particles::before { animation-duration: 22s; opacity: .20; }
.rfc-particles::after  { animation-duration: 28s; opacity: .16; }

.rfc-hero {
  position: relative;
  width: min(100%, 980px);
  padding: 48px 24px;
  text-align: center;
}
.rfc-glow-line {
  width: min(70vw, 540px);
  height: 1px;
  margin: 0 auto 28px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(242,222,178,.9), rgba(255,255,255,0));
  box-shadow: 0 0 18px rgba(242,222,178,.55);
  animation: glowLine 3.8s ease-in-out infinite;
}
.rfc-kicker {
  margin: 0 0 14px;
  color: rgba(255,255,255,.58);
  letter-spacing: .35em;
  text-transform: uppercase;
  font-size: 11px;
}
.rfc-title {
  margin: 0;
  font-size: clamp(54px, 10vw, 140px);
  line-height: .95;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--silver-1) 0%, var(--silver-2) 62%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(255,255,255,.10);
  position: relative;
}
.rfc-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.75) 48%, rgba(255,255,255,0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  mix-blend-mode: screen;
  opacity: .40;
  transform: translateX(-120%);
  animation: shineText 7s ease-in-out infinite;
}
.rfc-subtitle {
  margin: 14px 0 12px;
  font-size: clamp(18px, 3vw, 32px);
  letter-spacing: .58em;
  text-indent: .58em;
  text-transform: uppercase;
  color: var(--muted);
}
.rfc-divider {
  width: min(240px, 44vw);
  height: 2px;
  margin: 22px auto 18px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(210,176,111,.82), rgba(255,255,255,0));
  box-shadow: 0 0 16px rgba(210,176,111,.38);
}
.rfc-note {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: clamp(14px, 1.7vw, 18px);
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate3d(0,0,0); opacity: .52; }
  100% { transform: scale(1.08) translate3d(1.5vw,-1vh,0); opacity: .82; }
}
@keyframes sweepLine {
  0%, 100% { opacity: .38; transform: translate(-50%, -50%) scaleX(.78); }
  50% { opacity: .95; transform: translate(-50%, -50%) scaleX(1.08); }
}
@keyframes glowLine {
  0%,100% { opacity: .55; transform: scaleX(.88); }
  50% { opacity: 1; transform: scaleX(1); }
}
@keyframes shineText {
  0%, 100% { transform: translateX(-120%); opacity: 0; }
  18% { opacity: .22; }
  38% { opacity: .45; }
  55% { transform: translateX(120%); opacity: 0; }
}
@keyframes drift {
  0% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(0,-10px,0) scale(1.02); }
  100% { transform: translate3d(0,-20px,0) scale(1.04); }
}

@media (max-width: 782px) {
  .admin-bar .rfc-page { min-height: calc(100vh - 46px); }
}
@media (max-width: 640px) {
  .rfc-hero { padding: 36px 18px; }
  .rfc-kicker { letter-spacing: .22em; }
  .rfc-subtitle { letter-spacing: .36em; text-indent: .36em; }
  .light-1 { top: -24vw; left: -16vw; }
  .light-2 { bottom: -18vw; right: -12vw; }
}
