/* Royal Helping Network — one-page landing */
:root {
  --bg0: #040710;
  --bg1: #0A122A;
  --card: #121A3Bcc;
  --text: #EAF0FF;
  --muted: #B8C3E6;
  --border: rgba(255, 255, 255, .10);
  --shadow: 0 18px 60px rgba(0, 0, 0, .45);

  /* from logo */
  --gold: #F4B514;
  --gold2: #FFD56B;
  --navy: #0E2E63;
  --maroon: #7B1223;
  --maroon2: #B11E33;
  --sky: #2D7EEA;

  --radius: 18px;
  --radius2: 26px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(45, 126, 234, .22), transparent 55%),
    radial-gradient(900px 600px at 85% 15%, rgba(244, 181, 20, .18), transparent 55%),
    radial-gradient(1000px 700px at 50% 95%, rgba(177, 30, 51, .20), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -20vmax;
  pointer-events: none;
  z-index: -1;
  opacity: .55;
  filter: blur(40px);
  mix-blend-mode: screen;
  transform: translate3d(0, 0, 0);
}

body::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(244, 181, 20, .22), transparent 55%),
    radial-gradient(circle at 70% 20%, rgba(45, 126, 234, .18), transparent 55%),
    radial-gradient(circle at 50% 80%, rgba(177, 30, 51, .18), transparent 60%);
  animation: aurora 18s ease-in-out infinite alternate;
}

body::after {
  background:
    radial-gradient(circle at 30% 70%, rgba(255, 213, 107, .16), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(45, 126, 234, .12), transparent 55%);
  animation: aurora2 22s ease-in-out infinite alternate;
}

@keyframes aurora {
  0% {
    transform: translate(-2%, -1%) scale(1.02) rotate(-2deg);
  }

  50% {
    transform: translate(1%, 2%) scale(1.06) rotate(2deg);
  }

  100% {
    transform: translate(2%, -1%) scale(1.03) rotate(0deg);
  }
}

@keyframes aurora2 {
  0% {
    transform: translate(2%, 1%) scale(1.02) rotate(3deg);
  }

  50% {
    transform: translate(-1%, -2%) scale(1.08) rotate(-1deg);
  }

  100% {
    transform: translate(-2%, 1%) scale(1.04) rotate(1deg);
  }
}

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

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* Top progress bar */
.scrollbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--sky), var(--maroon2));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.03)),
    radial-gradient(600px 200px at 20% -50%,
      rgba(244, 181, 20, 0.15),
      transparent);

  border-bottom: 0.5px solid rgba(0, 0, 0, 0);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand .brand-logo {
  width: 80px;
  height: auto;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border: none;
  filter: drop-shadow(0 4px 12px rgba(244, 181, 20, 0.2));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 18px rgba(244, 181, 20, 0.4));
}

.brand .title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.5;
}

.brand .title strong {
  font-size: 14px;
  letter-spacing: .5px;
  color: var(--gold2);
}

.brand .title span {
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--maroon2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  font-size: 13px;
  color: rgba(234, 240, 255, .92);
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: .2s ease;
}

.nav-links a:hover {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
}

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  user-select: none;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .18);
}

.btn:active {
  transform: translateY(0px) scale(.99);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 126, 234, .25), 0 0 0 6px rgba(244, 181, 20, .14);
}

.btn-primary {
  border-color: rgba(244, 181, 20, .38);
  background: linear-gradient(135deg, rgba(244, 181, 20, .92), rgba(45, 126, 234, .78));
  color: #061022;
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(255, 213, 107, .95), rgba(45, 126, 234, .88));
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
}

.burger svg {
  width: 18px;
  height: 18px;
  margin: auto;
  display: block;
}

/* Hero */
.hero {
  position: relative;
  padding: 56px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .05);
  color: rgba(234, 240, 255, .92);
  font-size: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--sky));
  box-shadow: 0 0 0 4px rgba(244, 181, 20, .15);
}

.h1 {
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.05;
  margin: 14px 0 10px;
  letter-spacing: -1px;
}

.h1 .accent {
  background: linear-gradient(90deg, var(--gold2), var(--gold), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: rgba(184, 195, 230, .96);
  font-size: 15px;
  line-height: 1.65;
  margin: 10px 0 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.stats {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat {
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: transform .18s ease, border-color .2s ease, background .2s ease;
}

.stat:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
}

.stat strong {
  display: block;
  font-size: 18px;
  letter-spacing: .2px;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
}

.hero-card {
  position: relative;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(14, 22, 50, .75), rgba(14, 22, 50, .40));
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateZ(0);
  transition: transform .22s ease, border-color .2s ease;
}

.hero-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .18);
}

@media (min-width: 981px) {
  .hero-card {
    animation: floaty 6.5s ease-in-out infinite;
  }

  .hero-card:hover {
    animation-play-state: paused;
  }
}

@keyframes floaty {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -120px -80px auto auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at 30% 30%, rgba(244, 181, 20, .55), transparent 60%);
  filter: blur(6px);
  transform: rotate(18deg);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -110px -140px -110px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle at 40% 40%, rgba(45, 126, 234, .38), transparent 60%);
  filter: blur(10px);
}

.hero-card-inner {
  position: relative;
  padding: 22px;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  color: rgba(234, 240, 255, .92);
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(39, 255, 162, .9);
  box-shadow: 0 0 0 0 rgba(39, 255, 162, .35);
  animation: pulse 2.1s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(39, 255, 162, .35);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(39, 255, 162, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(39, 255, 162, 0);
  }
}

.hero-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .03);
}

.check {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(244, 181, 20, .98), rgba(45, 126, 234, .78));
  display: grid;
  place-items: center;
  color: #061022;
  flex: 0 0 auto;
}

.check svg {
  width: 12px;
  height: 12px;
}

/* Sections */
section {
  scroll-margin-top: 88px;
}

.section {
  padding: 52px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  margin: 0;
  letter-spacing: -.4px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  max-width: 62ch;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-items: stretch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .22);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;

  transform: translateZ(0);
  transition: transform .22s ease, border-color .2s ease, background .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .055);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: .1px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  flex: 1;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.icon svg {
  width: 18px;
  height: 18px;
}

/* Tables */
.table-wrap {
  overflow: auto;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  text-align: left;
  font-size: 13px;
  white-space: nowrap;
}

th {
  font-size: 12px;
  color: rgba(234, 240, 255, .88);
  letter-spacing: .5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .04);
}

tr:hover td {
  background: rgba(255, 255, 255, .03);
}

.hint {
  margin-top: 10px;
  color: rgba(184, 195, 230, .95);
  font-size: 12px;
}

.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  color: rgba(234, 240, 255, .92);
  font-size: 12px;
}

.pill .b {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--gold);
}

/* Steps */
.steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(177, 30, 51, .92), rgba(244, 181, 20, .92));
  color: #061022;
  font-weight: 800;
  font-size: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* CTA band */
.cta {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .14);
  background:
    radial-gradient(900px 400px at 20% 10%, rgba(244, 181, 20, .22), transparent 60%),
    radial-gradient(900px 400px at 80% 20%, rgba(45, 126, 234, .18), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cta {
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(circle at 25% 35%, rgba(244, 181, 20, .16), transparent 55%),
    radial-gradient(circle at 70% 35%, rgba(45, 126, 234, .14), transparent 60%);
  opacity: .85;
  transform: translate3d(0, 0, 0);
  animation: ctaGlow 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ctaGlow {
  0% {
    transform: translate(-1.5%, -1%) scale(1.02);
  }

  100% {
    transform: translate(1.5%, 1%) scale(1.06);
  }
}

.cta>* {
  position: relative;
  z-index: 1;
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.cta h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: .1px;
}

.cta p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  max-width: 62ch;
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Footer */
footer {
  padding: 30px 0 44px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(7, 10, 18, 0), rgba(7, 10, 18, .65));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 16px;
  align-items: start;
}

.small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .03);
  font-size: 12px;
  color: rgba(234, 240, 255, .92);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px) scale(.992);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Single premium image spotlight */
.spotlight {
  position: relative;
  border-radius: 30px;
  padding: 14px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: translateZ(0);
  perspective: 900px;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 32px;
  background:
    conic-gradient(from 180deg,
      rgba(244, 181, 20, .95),
      rgba(45, 126, 234, .85),
      rgba(177, 30, 51, .85),
      rgba(244, 181, 20, .95));
  filter: blur(10px);
  opacity: .45;
  animation: spinGlow 10.5s linear infinite;
  z-index: 0;
}

.spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 240px at 20% 10%, rgba(244, 181, 20, .16), transparent 60%),
    radial-gradient(700px 240px at 80% 20%, rgba(45, 126, 234, .14), transparent 60%);
  opacity: .85;
  z-index: 0;
  pointer-events: none;
}

@keyframes spinGlow {
  to {
    transform: rotate(360deg);
  }
}

.spotlight-frame {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(10, 14, 28, .55);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .42);
}

.spotlight-frame img {
  width: 100%;
  height: clamp(280px, 42vw, 420px);
  object-fit: cover;
  filter: saturate(1.06) contrast(1.05);
  transform: scale(1.03);
  transition: transform 1.2s ease, filter .6s ease;
}

.spotlight-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 18, .78), rgba(7, 10, 18, .18) 55%, rgba(7, 10, 18, .04)),
    linear-gradient(180deg, transparent 60%, rgba(7, 10, 18, .70));
  pointer-events: none;
}

.spotlight-frame::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, .14), transparent 65%);
  transform: translateX(-40%) rotate(12deg);
  opacity: .0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.spotlight:hover .spotlight-frame::before {
  opacity: .75;
  animation: shine 1.15s ease;
}

@keyframes shine {
  from {
    transform: translateX(-45%) rotate(12deg);
  }

  to {
    transform: translateX(45%) rotate(12deg);
  }
}

.spotlight:hover .spotlight-frame img {
  transform: scale(1.07);
  filter: saturate(1.12) contrast(1.06);
}

.spotlight-frame figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 60ch;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(10, 14, 28, .62);
  backdrop-filter: blur(10px);
}

.spotlight-frame figcaption strong {
  display: block;
  letter-spacing: .2px;
  color: var(--gold2);
  font-weight: 600;
}

.spotlight-frame figcaption span {
  display: block;
  margin-top: 2px;
  color: rgba(184, 195, 230, .95);
  font-size: 12px;
  line-height: 1.45;
}

/* Tilt interaction (enhanced by JS) */
[data-tilt] {
  --rx: 0deg;
  --ry: 0deg;
  --tz: 0px;
  transform-style: preserve-3d;
  transition: transform .18s ease, border-color .2s ease, background .2s ease;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--tz));
}

[data-tilt]:hover {
  border-color: rgba(255, 255, 255, .18);
}

/* Mobile nav sheet */
.sheet {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1200;
}

.sheet.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sheet-panel {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(10, 14, 28, .92);
  box-shadow: var(--shadow);
  padding: 12px;
}

.sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 6px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sheet-links {
  display: grid;
  gap: 8px;
  padding: 10px 6px 6px;
}

.sheet-links a {
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  font-size: 14px;
}

.close {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
}

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

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .brand {
    min-width: unset;
  }

  .spotlight {
    padding: 12px;
  }

  .spotlight-frame figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .hero {
    padding: 34px 0 10px;
  }

  .section {
    padding: 40px 0;
  }

  .lead {
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  .stats {
    grid-template-columns: 1fr;
  }

  table {
    min-width: 520px;
  }

  .brand .brand-logo {
    width: 110px;
    height: auto;
    padding: 0;
  }

  .spotlight {
    padding: 10px;
    border-radius: 26px;
  }

  .spotlight::before {
    border-radius: 28px;
  }

  .spotlight-frame figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .h1 {
    letter-spacing: -0.6px;
  }
}

/* --- Added Animations and Theming --- */
.nav-hover {
  position: relative;
}

.nav-hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 2px;
}

.nav-hover:hover::after {
  width: 70%;
  left: 15%;
}

.glow-card {
  position: relative;
  overflow: hidden;
}

.glow-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.glow-card:hover::before {
  left: 150%;
}

.glow-card:hover {
  border-color: rgba(244, 181, 20, 0.4);
  box-shadow: 0 10px 40px rgba(244, 181, 20, 0.1);
}

.pulse-btn {
  animation: pulse-shadow 2s infinite;
}

@keyframes pulse-shadow {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 181, 20, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(244, 181, 20, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(244, 181, 20, 0);
  }
}

.hero-float {
  animation: floaty-smooth 6s ease-in-out infinite;
}

@keyframes floaty-smooth {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

.fade-accent {
  animation: colorPhase 4s infinite alternate;
}

@keyframes colorPhase {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(15deg);
  }
}

.glow-border {
  position: relative;
}

.glow-border::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  background: linear-gradient(45deg, var(--gold), var(--sky), var(--maroon), var(--gold));
  z-index: -1;
  filter: blur(8px);
  background-size: 300% 300%;
  animation: borderGlow 6s linear infinite;
  opacity: 0.6;
}

@keyframes borderGlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Additional overall theme improvements */
/* .card {
  background: rgba(18, 26, 59, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 181, 20, 0.15);
  display: flex;
  flex-direction: column;
}

.card h3 {
  color: var(--gold2);
  font-size: 18px;
}

.card p {
  flex: 1;
} */

.section-head h2 {
  color: var(--text);
  text-shadow: 0 2px 10px rgba(45, 126, 234, 0.3);
}

.btn-primary {
  box-shadow: 0 4px 15px rgba(244, 181, 20, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(244, 181, 20, 0.5);
}

.grid-2 {
  align-items: stretch;
}

.spotlight-frame {
  border: 2px solid rgba(244, 181, 20, 0.2);
  display: flex;
  flex-direction: column;
}

.spotlight-frame img {
  flex: 1;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.nav-links a {
  font-weight: 500;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {

  .nav-inner {
    padding: 8px 0;
  }

  .brand {
    min-width: auto;
    gap: 8px;
  }

  .brand .brand-logo {
    width: 70px;
  }

  .nav-links {
    display: none;
    /* hidden because mobile menu uses burger */
  }

  .nav-cta {
    gap: 6px;
  }

  .nav-cta .btn {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 10px;
  }

  .burger {
    width: 34px;
    height: 34px;
  }

}