:root {
  color-scheme: dark;
  --bg: #060712;
  --bg-deep: #03040a;
  --panel: rgba(13, 15, 30, 0.82);
  --panel-solid: #0d0f1e;
  --panel-strong: #111329;
  --line: rgba(175, 147, 255, 0.16);
  --line-strong: rgba(175, 147, 255, 0.34);
  --text: #f7f5ff;
  --muted: #a7a8ba;
  --muted-2: #7f8194;
  --violet: #9a57ff;
  --magenta: #ff3eb5;
  --cyan: #39d9ff;
  --lime: #a8ff3e;
  --gold: #ffbd4a;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --shell: 1400px;
  --header-height: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-deep); overflow-x: clip; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(79, 34, 146, 0.12), transparent 34rem),
    radial-gradient(circle at 85% 18%, rgba(255, 29, 173, 0.08), transparent 32rem),
    var(--bg);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { padding: clamp(76px, 8vw, 128px) 0; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(4, 5, 13, 0.86);
  backdrop-filter: blur(18px) saturate(140%);
}
.site-header.is-scrolled { box-shadow: 0 14px 36px rgba(0,0,0,.28); }
.header-layout {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; width: 84px; }
.brand img { width: 84px; height: auto; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 8px; }
.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 10px;
  color: #c8c8d7;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .01em;
  transition: color .2s ease, background .2s ease;
}
.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.active { color: #fff; background: rgba(153, 83, 255, .12); }
.primary-nav a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--magenta));
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-link { color: #d2d2de; font-size: .88rem; font-weight: 800; }
.header-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(78, 214, 255, .45);
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, rgba(126,58,222,.28), rgba(26,177,230,.14));
  font-size: .86rem;
  font-weight: 800;
  box-shadow: inset 0 0 24px rgba(141,67,255,.12);
}
.header-button:hover,
.header-button:focus-visible { border-color: rgba(255,61,182,.75); }
.menu-toggle { display: none; }

.hero-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(48px, 6vw, 94px) 0 34px;
  border-bottom: 1px solid rgba(255,255,255,.055);
  background:
    linear-gradient(180deg, rgba(8,9,22,.36), rgba(6,7,18,.98)),
    url('/assets/webp/backgrounds/flarocity-network-frame.webp') center/cover no-repeat;
}
.hero-glow {
  position: absolute;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .18;
  pointer-events: none;
}
.hero-glow-one { left: -15rem; top: 2rem; background: var(--violet); }
.hero-glow-two { right: -15rem; bottom: -10rem; background: var(--magenta); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(42px, 6vw, 96px);
}
.hero-copy { max-width: 660px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow > span { width: 26px; height: 1px; background: currentColor; box-shadow: 0 0 12px currentColor; }
.eyebrow.compact { margin-bottom: 10px; font-size: .7rem; }
.hero-copy h1,
.section-intro h2,
.kittycats-copy h2,
.operations-copy h2 {
  margin: 0;
  font-size: clamp(3.4rem, 6.2vw, 7.4rem);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 900;
}
.hero-copy h1 em,
.section-intro h2 em,
.kittycats-copy h2 em,
.operations-copy h2 em {
  color: transparent;
  background: linear-gradient(105deg, #ff7a4b 0%, #ff4dac 42%, #9b70ff 68%, #3cdcff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}
.hero-lede {
  max-width: 640px;
  margin: 28px 0 0;
  color: #b8b8c9;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 900;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover,
.button:focus-visible { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #833bf0, #c038c6 62%, #e43d92);
  box-shadow: 0 14px 34px rgba(147, 55, 238, .24);
}
.button-primary:hover,
.button-primary:focus-visible { box-shadow: 0 18px 44px rgba(218, 50, 181, .3); }
.button-secondary { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.04); }
.button-secondary:hover,
.button-secondary:focus-visible { border-color: var(--line-strong); background: rgba(153,83,255,.1); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f4f1ff;
  font-weight: 850;
  font-size: .91rem;
}
.text-link span { color: var(--cyan); }
.text-link:hover,
.text-link:focus-visible { color: var(--cyan); }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-facts > div { padding: 18px 20px 0 0; }
.hero-facts > div + div { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.08); }
.hero-facts span { display: block; color: var(--muted-2); font-size: .66rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hero-facts strong { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 1rem; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); }

.hero-visual { position: relative; margin: 0; min-width: 0; }
.hero-image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(189,137,255,.25);
  border-radius: var(--radius-lg);
  background: #101224;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.025);
}
.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 -90px 100px rgba(5,6,14,.3);
}
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.hero-visual figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 12px;
  background: rgba(5,6,15,.62);
  backdrop-filter: blur(12px);
}
.hero-visual figcaption span { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.hero-visual figcaption strong { font-size: .83rem; }

.radio-bar-wrap { margin-top: clamp(28px, 4vw, 52px); }
.radio-bar {
  display: grid;
  grid-template-columns: auto minmax(180px, .85fr) minmax(240px, 1.2fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 86px;
  padding: 16px 20px;
  border: 1px solid rgba(255,74,188,.2);
  border-radius: 16px;
  background: linear-gradient(100deg, rgba(18,13,31,.96), rgba(9,12,26,.96));
  box-shadow: 0 18px 48px rgba(0,0,0,.26);
  transition: border-color .2s ease, transform .2s ease;
}
.radio-bar:hover,
.radio-bar:focus-visible { border-color: rgba(255,74,188,.48); transform: translateY(-2px); }
.radio-ident { display: flex; align-items: center; gap: 14px; min-width: 205px; }
.radio-pulse { width: 12px; height: 12px; border-radius: 50%; background: #ff2d74; box-shadow: 0 0 16px #ff2d74; }
.radio-ident small { display: block; color: var(--cyan); font-size: .68rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.radio-ident strong { display: block; font-size: 1rem; }
.radio-wave { display: flex; align-items: center; justify-content: center; gap: 5px; height: 34px; }
.radio-wave i { display: block; width: 3px; height: 10px; border-radius: 999px; background: linear-gradient(180deg, var(--cyan), var(--magenta)); animation: wave 1.2s ease-in-out infinite alternate; }
.radio-wave i:nth-child(2n) { height: 25px; animation-delay: -.4s; }
.radio-wave i:nth-child(3n) { height: 18px; animation-delay: -.7s; }
.radio-wave i:nth-child(4n) { height: 31px; animation-delay: -.2s; }
.radio-copy { color: var(--muted); font-size: .88rem; }
@keyframes wave { to { transform: scaleY(.45); opacity: .7; } }

.section-intro { margin-bottom: 42px; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: end; gap: 40px; }
.centered-heading { max-width: 860px; margin-inline: auto; text-align: center; }
.centered-heading .eyebrow { justify-content: center; }
.section-intro h2,
.kittycats-copy h2,
.operations-copy h2 { font-size: clamp(2.6rem, 4.7vw, 5.3rem); line-height: .98; }
.section-intro > p { margin: 0 0 6px; color: var(--muted); font-size: 1.02rem; }

.network-section { background: linear-gradient(180deg, rgba(9,10,24,.98), rgba(5,6,15,.98)); }
.network-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.network-card {
  --accent: var(--violet);
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 18px 20px;
  min-height: 238px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(20,22,42,.94), rgba(10,12,25,.95));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.network-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.network-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -100px; top: -100px; border-radius: 50%; background: var(--accent); filter: blur(55px); opacity: .09; }
.network-card:hover,
.network-card:focus-visible { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 48%, transparent); background: linear-gradient(145deg, rgba(26,27,50,.98), rgba(10,12,25,.98)); }
.accent-cyan { --accent: #39d9ff; }
.accent-pink { --accent: #ff3eb5; }
.accent-lime { --accent: #a8ff3e; }
.accent-gold { --accent: #ffbd4a; }
.accent-violet { --accent: #9a57ff; }
.accent-blue { --accent: #4f9cff; }
.card-icon { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent); border-radius: 14px; background: color-mix(in srgb, var(--accent) 10%, transparent); }
.card-icon img { width: 34px; height: 34px; object-fit: contain; }
.network-card h3 { margin: 3px 0 8px; font-size: 1.28rem; }
.network-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.card-action { grid-column: 2; align-self: end; color: var(--accent); font-size: .82rem; font-weight: 900; }
.card-action b { margin-left: 4px; }

.showcase-section { background: var(--bg); }
.showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.showcase-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17,19,36,.95), rgba(10,12,24,.95));
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.showcase-image { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.showcase-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.showcase-card:hover .showcase-image img { transform: scale(1.035); }
.showcase-content { padding: 26px 26px 28px; }
.showcase-content h3 { margin: 8px 0 12px; font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.08; letter-spacing: -.03em; }
.showcase-content > p { margin: 0; color: var(--muted); font-size: .9rem; }
.showcase-content ul { display: grid; gap: 8px; margin: 20px 0 22px; padding: 0; list-style: none; color: #d7d6e2; font-size: .82rem; }
.showcase-content li { position: relative; padding-left: 18px; }
.showcase-content li::before { content: ""; position: absolute; left: 0; top: .66em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px rgba(57,217,255,.5); }

.kittycats-section {
  position: relative;
  border-block: 1px solid rgba(255,255,255,.055);
  background:
    radial-gradient(circle at 20% 50%, rgba(133,54,216,.16), transparent 34rem),
    linear-gradient(180deg, #080917, #060713);
}
.kittycats-grid { display: grid; grid-template-columns: minmax(420px, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(48px, 7vw, 108px); }
.kittycats-visual {
  position: relative;
  min-height: 570px;
  border: 1px solid rgba(157,100,255,.24);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(21,19,41,.95), rgba(9,11,24,.95));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.kittycats-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(5,6,16,.78)); pointer-events: none; }
.kittycats-visual > img { width: 100%; height: 100%; min-height: 570px; object-fit: cover; object-position: center; }
.visual-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(7,8,20,.78); backdrop-filter: blur(12px); color: #dcdbe8; font-size: .76rem; font-weight: 800; box-shadow: 0 16px 30px rgba(0,0,0,.22); }
.visual-chip span { display: grid; place-items: center; min-width: 36px; height: 28px; padding: 0 7px; border-radius: 8px; color: #fff; background: linear-gradient(135deg, #8a41e5, #d63b9f); font-size: .68rem; letter-spacing: .06em; }
.chip-one { left: 20px; bottom: 24px; }
.chip-two { left: 50%; bottom: 24px; transform: translateX(-50%); }
.chip-three { right: 20px; bottom: 24px; }
.kittycats-copy { min-width: 0; }
.section-lede { max-width: 680px; margin: 26px 0 30px; color: var(--muted); font-size: 1.04rem; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tool-grid > div { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.tool-grid strong { display: block; margin-bottom: 5px; font-size: .92rem; }
.tool-grid span { display: block; color: var(--muted); font-size: .8rem; }
.kittycats-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }

.operations-section { background: #050611; }
.operations-grid { display: grid; grid-template-columns: minmax(300px, .68fr) minmax(0, 1.32fr); align-items: center; gap: clamp(42px, 6vw, 90px); }
.operations-copy > p:not(.eyebrow) { max-width: 560px; margin: 24px 0 28px; color: var(--muted); }
.operations-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.operations-cards a { position: relative; min-height: 370px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.operations-cards img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.operations-cards a:hover img { transform: scale(1.04); }
.operations-cards a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(4,5,13,.95)); }
.operations-cards span { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 4px; }
.operations-cards small { color: var(--cyan); font-size: .66rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.operations-cards strong { font-size: 1.35rem; }
.operations-cards b { color: #c8c7d6; font-size: .78rem; }

.community-section { padding: 56px 0; border-block: 1px solid rgba(255,255,255,.06); background: linear-gradient(90deg, rgba(18,11,33,.94), rgba(7,10,23,.94)); }
.community-layout { display: grid; grid-template-columns: minmax(260px, .62fr) minmax(0, 1.38fr); align-items: center; gap: 54px; }
.community-layout h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 3.1rem); line-height: 1.05; letter-spacing: -.035em; }
.community-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.community-links a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 78px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.community-links a:hover,
.community-links a:focus-visible { border-color: var(--line-strong); background: rgba(151,75,255,.07); }
.community-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(146,76,255,.12); }
.community-icon img { width: 25px; height: 25px; object-fit: contain; }
.community-links strong,
.community-links small { display: block; }
.community-links strong { font-size: .88rem; }
.community-links small { color: var(--muted); font-size: .72rem; }
.community-links b { color: var(--cyan); }

.site-footer { padding: 70px 0 24px; background: #030409; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, minmax(150px, .65fr)); gap: 52px; }
.footer-brand img { width: 118px; height: auto; }
.footer-brand p { max-width: 360px; margin: 18px 0 0; color: var(--muted); font-size: .86rem; }
.footer-column { display: grid; align-content: start; gap: 9px; }
.footer-column h2 { margin: 0 0 8px; color: #fff; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-column a { color: var(--muted); font-size: .82rem; }
.footer-column a:hover,
.footer-column a:focus-visible { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.07); color: var(--muted-2); font-size: .72rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.legal-links a:hover,
.legal-links a:focus-visible { color: #fff; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

@media (max-width: 1180px) {
  .header-layout { grid-template-columns: 92px minmax(0,1fr) auto; gap: 16px; }
  .primary-nav { gap: 2px; }
  .primary-nav a { padding-inline: 9px; font-size: .8rem; }
  .header-link { display: none; }
  .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(410px, 1.05fr); gap: 46px; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-facts > div:last-child { display: none; }
  .radio-bar { grid-template-columns: auto minmax(160px,.8fr) 1fr auto; gap: 18px; }
  .showcase-content { padding: 22px; }
  .kittycats-grid { grid-template-columns: minmax(370px,.9fr) minmax(0,1.1fr); gap: 48px; }
}

@media (max-width: 980px) {
  :root { --header-height: 70px; }
  .shell { width: min(calc(100% - 36px), var(--shell)); }
  .header-layout { grid-template-columns: 76px 1fr auto; }
  .brand, .brand img { width: 70px; }
  .menu-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(255,255,255,.035);
    cursor: pointer;
  }
  .menu-lines { display: grid; gap: 4px; width: 20px; }
  .menu-lines i { display: block; height: 2px; border-radius: 99px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-lines i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines i:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-lines i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 18px;
    right: 18px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(8,9,20,.98);
    box-shadow: 0 22px 50px rgba(0,0,0,.38);
  }
  .primary-nav.is-open { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .primary-nav a { justify-content: center; min-height: 48px; }
  .primary-nav a.active::after { display: none; }
  .header-actions { grid-row: 1; grid-column: 2; justify-self: end; margin-right: 58px; }
  .header-button { min-height: 40px; padding-inline: 13px; font-size: .78rem; }

  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-copy { max-width: 780px; }
  .hero-copy h1 { max-width: 800px; }
  .hero-visual { width: 100%; max-width: 900px; }
  .hero-image-frame { aspect-ratio: 16/9; }
  .radio-bar { grid-template-columns: auto 1fr auto; }
  .radio-copy { display: none; }
  .network-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .showcase-grid { grid-template-columns: 1fr; max-width: 780px; margin-inline: auto; }
  .showcase-card { display: grid; grid-template-columns: minmax(280px,.92fr) minmax(0,1.08fr); }
  .showcase-image { height: 100%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .kittycats-grid { grid-template-columns: 1fr; }
  .kittycats-visual { min-height: 520px; max-width: 780px; }
  .kittycats-visual > img { min-height: 520px; }
  .operations-grid { grid-template-columns: 1fr; }
  .operations-copy { max-width: 760px; }
  .community-layout { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .section { padding: 72px 0; }
  .header-actions { display: none; }
  .header-layout { grid-template-columns: 76px 1fr auto; }
  .primary-nav.is-open { grid-template-columns: 1fr; }
  .hero-section { padding-top: 38px; }
  .hero-copy h1 { font-size: clamp(3rem, 15vw, 5.4rem); }
  .hero-lede { margin-top: 22px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { flex: 1 1 180px; }
  .hero-actions .text-link { width: 100%; margin-top: 6px; }
  .hero-facts { margin-top: 28px; }
  .hero-facts > div { padding-top: 14px; }
  .hero-visual figcaption { left: 12px; right: 12px; bottom: 12px; padding: 10px 12px; }
  .hero-visual figcaption span { display: none; }
  .radio-bar { grid-template-columns: 1fr auto; gap: 14px; }
  .radio-ident { min-width: 0; }
  .radio-wave { display: none; }
  .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .network-grid { grid-template-columns: 1fr; }
  .network-card { min-height: 210px; padding: 24px; }
  .showcase-card { display: block; }
  .showcase-image { aspect-ratio: 16/9; border-right: 0; border-bottom: 1px solid var(--line); }
  .tool-grid { grid-template-columns: 1fr; }
  .kittycats-visual { min-height: 420px; }
  .kittycats-visual > img { min-height: 420px; }
  .visual-chip { position: static; margin: 10px 12px 0; transform: none; }
  .kittycats-visual { padding-bottom: 12px; }
  .kittycats-visual::after { display: none; }
  .operations-cards { grid-template-columns: 1fr; }
  .operations-cards a { min-height: 310px; }
  .community-links { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px 24px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 460px) {
  .shell { width: min(calc(100% - 22px), var(--shell)); }
  .hero-copy h1 { font-size: 2.95rem; }
  .hero-facts strong { font-size: .86rem; }
  .hero-facts span { font-size: .58rem; }
  .radio-bar { padding: 13px; }
  .radio-ident strong { font-size: .88rem; }
  .section-intro h2,
  .kittycats-copy h2,
  .operations-copy h2 { font-size: 2.4rem; }
  .network-card { grid-template-columns: auto 1fr; gap: 16px; }
  .card-action { grid-column: 1/-1; }
  .showcase-content { padding: 22px 20px 24px; }
  .kittycats-visual { min-height: 340px; }
  .kittycats-visual > img { min-height: 340px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (min-width: 2000px) {
  :root { --shell: 1580px; }
  body { font-size: 17px; }
  .hero-grid { grid-template-columns: minmax(0,.86fr) minmax(560px,1.14fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Compact homepage refinement: 8px spacing rhythm */
.section { padding: clamp(56px, 5vw, 80px) 0; }
.hero-section { padding: clamp(40px, 4vw, 64px) 0 24px; }
.hero-grid { gap: clamp(32px, 4vw, 64px); }
.hero-lede { margin-top: 24px; }
.hero-actions { margin-top: 24px; gap: 8px; }
.hero-facts { margin-top: 24px; }
.radio-bar-wrap { margin-top: clamp(24px, 3vw, 40px); }
.section-intro { margin-bottom: 32px; }
.split-heading { gap: 32px; }
.network-grid { gap: 8px; }
.network-card { gap: 16px; min-height: 216px; padding: 24px; }
.showcase-grid { gap: 16px; }
.showcase-content { padding: 24px; }
.showcase-content ul { gap: 8px; margin: 16px 0 16px; }
.kittycats-grid { gap: clamp(32px, 5vw, 72px); }
.kittycats-visual, .kittycats-visual > img { min-height: 500px; }
.section-lede { margin: 24px 0; }
.tool-grid { gap: 8px; }
.tool-grid > div { padding: 16px; }
.operations-grid { gap: clamp(32px, 4vw, 64px); }
.operations-copy > p:not(.eyebrow) { margin: 24px 0; }
.operations-cards { gap: 8px; }
.community-section { padding: 40px 0; }
.community-layout { gap: 32px; }
.community-links { gap: 8px; }
.site-footer { padding: 48px 0 24px; }
.footer-grid { gap: 32px; }
.footer-bottom { margin-top: 32px; }

/* Stable, accessible radio controls */
.radio-bar { cursor: default; }
.radio-controls { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.radio-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 62, 181, .48);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 56, 237, .9), rgba(225, 49, 155, .9));
  font-size: .82rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(255, 62, 181, 0);
}
.radio-play:hover, .radio-play:focus-visible { transform: translateY(-1px); border-color: rgba(255,255,255,.62); }
.radio-play.is-playing { background: linear-gradient(135deg, rgba(28, 161, 181, .92), rgba(127, 70, 220, .92)); }
.radio-play.is-blinking { animation: radioBlink 1.35s ease-in-out infinite; }
.radio-open { color: var(--muted); font-size: .74rem; font-weight: 800; white-space: nowrap; }
.radio-open:hover, .radio-open:focus-visible { color: var(--cyan); }
.radio-pulse { animation: livePulse 1.2s ease-in-out infinite; }
@keyframes radioBlink {
  0%, 100% { box-shadow: 0 0 0 rgba(255,62,181,0), 0 0 12px rgba(255,62,181,.18); }
  50% { box-shadow: 0 0 0 5px rgba(255,62,181,.08), 0 0 28px rgba(255,62,181,.52); }
}
@keyframes livePulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .42; transform: scale(.78); } }

@media (max-width: 980px) {
  .section { padding: 56px 0; }
  .radio-bar { grid-template-columns: auto 1fr auto; }
  .radio-controls { justify-content: flex-end; }
  .kittycats-visual, .kittycats-visual > img { min-height: 440px; }
}
@media (max-width: 720px) {
  .section { padding: 48px 0; }
  .hero-section { padding-top: 32px; }
  .radio-bar { grid-template-columns: 1fr; gap: 12px; }
  .radio-controls { justify-content: stretch; }
  .radio-play { flex: 1; }
  .radio-open { padding: 10px 4px; text-align: center; }
  .kittycats-visual, .kittycats-visual > img { min-height: 380px; }
  .community-section { padding: 32px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .radio-play.is-blinking, .radio-pulse { animation: none !important; }
}


/* 2026 homepage asset refresh */
.hero-image-frame { aspect-ratio: 16 / 9; }
.hero-image-frame picture { display: block; width: 100%; height: 100%; }
.hero-image-frame img { object-position: 62% center; }
.radio-wave img {
  width: 118px;
  height: 34px;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 0 10px rgba(255, 62, 181, .34));
  animation: waveformGlow 1.35s ease-in-out infinite alternate;
}
.card-icon img { width: 42px; height: 42px; filter: drop-shadow(0 0 9px color-mix(in srgb, var(--accent) 45%, transparent)); }
.kittycats-visual > img {
  min-height: 0;
  object-fit: contain;
  padding: clamp(28px, 4vw, 58px) clamp(24px, 4vw, 52px) 100px;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, .34));
}
.radio-play img { width: 30px; height: 30px; object-fit: contain; }
@keyframes waveformGlow {
  from { opacity: .72; transform: scaleX(.96); }
  to { opacity: 1; transform: scaleX(1.04); }
}
@media (max-width: 720px) {
  .hero-image-frame { aspect-ratio: 4 / 5; }
  .hero-image-frame img { object-position: center 42%; }
  .kittycats-visual > img { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .radio-wave img { animation: none !important; }
}


/* 2026 layout polish: centered project art, tighter 8px rhythm, richer page depth */
:root {
  --bg: #090a18;
  --bg-deep: #050611;
  --section-space: clamp(48px, 4.2vw, 64px);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(111, 55, 190, .18), transparent 28rem),
    radial-gradient(circle at 88% 26%, rgba(35, 162, 214, .11), transparent 34rem),
    radial-gradient(circle at 52% 72%, rgba(228, 53, 151, .08), transparent 38rem),
    linear-gradient(180deg, #090a18 0%, #070815 44%, #0b0a1b 72%, #070813 100%);
}

main {
  background:
    linear-gradient(rgba(255,255,255,.012), rgba(255,255,255,.012)),
    radial-gradient(circle at 50% 35%, rgba(122, 68, 220, .055), transparent 42rem);
}

.section { padding: var(--section-space) 0; }
.section-intro { margin-bottom: 24px; }
.split-heading { gap: 24px; }
.showcase-grid { gap: 8px; }
.showcase-content { padding: 20px; }
.showcase-content ul { margin: 12px 0; gap: 8px; }
.kittycats-grid { gap: clamp(24px, 4vw, 56px); }
.kittycats-visual,
.kittycats-visual > img { min-height: 430px; }
.section-lede { margin: 16px 0 24px; }
.kittycats-actions { gap: 8px; }

.network-section {
  background:
    radial-gradient(circle at 8% 16%, rgba(57, 217, 255, .08), transparent 24rem),
    linear-gradient(180deg, rgba(13, 14, 34, .96), rgba(8, 9, 23, .96));
}
.showcase-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 62, 181, .07), transparent 28rem),
    linear-gradient(180deg, #0b0c1d, #080918);
}
.kittycats-section {
  background:
    linear-gradient(90deg, rgba(8, 9, 23, .96), rgba(14, 10, 31, .92)),
    url('/assets/webp/backgrounds/flarocity-network-frame.webp') center/cover no-repeat;
  border-block: 1px solid rgba(164, 117, 255, .09);
}
.operations-section {
  background:
    linear-gradient(90deg, rgba(8, 10, 25, .91), rgba(15, 10, 31, .88)),
    url('/assets/webp/backgrounds/flarocity-network-frame.webp') center/cover no-repeat;
  border-block: 1px solid rgba(99, 201, 255, .08);
}
.community-section {
  padding: 32px 0;
  background:
    radial-gradient(circle at 12% 50%, rgba(150, 71, 255, .12), transparent 22rem),
    linear-gradient(90deg, rgba(17, 13, 37, .97), rgba(8, 12, 28, .97));
}
.site-footer {
  padding: 40px 0 20px;
  background:
    radial-gradient(circle at 18% 0%, rgba(123, 63, 214, .10), transparent 24rem),
    linear-gradient(180deg, #080916, #05060e);
}
.footer-grid { gap: 24px; }
.footer-bottom { margin-top: 24px; }

.operations-grid {
  grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr);
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
}
.operations-copy > p:not(.eyebrow) { margin: 16px 0 24px; }
.operations-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
}
.operations-cards .operations-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 20, 42, .96), rgba(10, 12, 27, .98));
  box-shadow: 0 16px 38px rgba(0, 0, 0, .22);
}
.operations-cards .operations-card::after { content: none; }
.operations-cards .operations-media {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: block !important;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0b18;
}
.operations-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(8, 9, 22, .54));
}
.operations-cards .operations-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .35s ease;
}
.operations-cards .operations-card:hover .operations-media img { transform: scale(1.025); }
.operations-card-copy {
  position: static !important;
  display: grid !important;
  align-content: start;
  gap: 4px !important;
  padding: 16px;
}
.operations-card-copy small { color: var(--cyan); }
.operations-card-copy strong { font-size: 1.18rem; }
.operations-card-copy b { margin-top: 4px; }

@media (max-width: 980px) {
  :root { --section-space: 48px; }
  .operations-grid { grid-template-columns: 1fr; gap: 24px; }
  .operations-copy { max-width: 680px; }
  .kittycats-visual,
  .kittycats-visual > img { min-height: 390px; }
}

@media (max-width: 720px) {
  :root { --section-space: 40px; }
  .section-intro { margin-bottom: 20px; }
  .operations-cards { grid-template-columns: 1fr; }
  .operations-card-copy { padding: 16px; }
  .kittycats-visual,
  .kittycats-visual > img { min-height: 340px; }
  .community-section { padding: 24px 0; }
  .site-footer { padding-top: 32px; }
}


/* 2026 live spacing pass: compact 8px rhythm without crowding */
:root {
  --section-space: clamp(32px, 3vw, 48px);
  --header-height: 68px;
}

.shell { width: min(calc(100% - 40px), var(--shell)); }
.section { padding: var(--section-space) 0; }

.header-layout { gap: 20px; }
.site-header,
.header-layout { min-height: var(--header-height); }

.hero-section { padding: 32px 0 16px; }
.hero-grid { gap: clamp(24px, 3vw, 48px); }
.eyebrow { margin-bottom: 8px; }
.hero-lede { margin-top: 16px; line-height: 1.6; }
.hero-actions { margin-top: 16px; }
.hero-facts { margin-top: 20px; }
.hero-facts > div { padding-top: 12px; }
.radio-bar-wrap { margin-top: 16px; }
.radio-bar { min-height: 72px; padding: 12px 16px; gap: 16px; }

.section-intro { margin-bottom: 16px; }
.split-heading { gap: 16px 24px; }
.section-intro h2,
.kittycats-copy h2,
.operations-copy h2 { font-size: clamp(2.45rem, 4.15vw, 4.65rem); }

.network-grid { gap: 8px; }
.network-card {
  min-height: 176px;
  padding: 20px;
  gap: 12px 16px;
}
.card-icon { width: 48px; height: 48px; }
.card-icon img { width: 36px; height: 36px; }
.network-card h3 { margin: 0 0 6px; }
.network-card p { line-height: 1.5; }

.showcase-grid { gap: 8px; }
.showcase-image { aspect-ratio: 16 / 8.5; }
.showcase-content { padding: 16px; }
.showcase-content h3 { margin: 6px 0 8px; }
.showcase-content > p { line-height: 1.5; }
.showcase-content ul { margin: 8px 0 12px; gap: 6px; }

.kittycats-grid { gap: clamp(24px, 3vw, 40px); }
.kittycats-visual,
.kittycats-visual > img { min-height: 360px; }
.kittycats-visual > img { padding: 20px 20px 72px; }
.section-lede { margin: 12px 0 16px; line-height: 1.55; }
.tool-grid { gap: 8px; }
.tool-grid > div { padding: 12px; }
.tool-grid strong { margin-bottom: 3px; }
.kittycats-actions { margin-top: 16px; gap: 8px 16px; }
.visual-chip { min-height: 40px; padding: 6px 10px; }

.operations-grid { gap: clamp(20px, 2.5vw, 32px); }
.operations-copy > p:not(.eyebrow) { margin: 12px 0 16px; line-height: 1.55; }
.operations-cards { gap: 8px; }
.operations-cards .operations-media { aspect-ratio: 16 / 8.5; }
.operations-card-copy { padding: 12px; }

.community-section { padding: 24px 0; }
.community-layout { gap: 24px; }
.community-links { gap: 8px; }
.community-links a { min-height: 64px; padding: 10px 12px; }
.community-icon { width: 40px; height: 40px; }

.site-footer { padding: 32px 0 16px; }
.footer-grid { gap: 20px; }
.footer-brand img { width: 92px; }
.footer-brand p { margin-top: 12px; }
.footer-bottom { margin-top: 16px; padding-top: 16px; }

@media (max-width: 1100px) {
  :root { --section-space: 32px; }
  .hero-grid { gap: 24px; }
  .showcase-content { padding: 16px; }
  .kittycats-visual,
  .kittycats-visual > img { min-height: 340px; }
}

@media (max-width: 720px) {
  :root { --section-space: 24px; --header-height: 64px; }
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .hero-section { padding: 24px 0 12px; }
  .hero-grid { gap: 20px; }
  .hero-image-frame { aspect-ratio: 5 / 6; }
  .hero-actions { gap: 8px; }
  .hero-facts { margin-top: 16px; }
  .radio-bar-wrap { margin-top: 12px; }
  .radio-bar { min-height: 0; padding: 12px; }
  .section-intro { margin-bottom: 12px; }
  .network-card { min-height: 156px; padding: 16px; }
  .showcase-image { aspect-ratio: 16 / 9; }
  .showcase-content { padding: 16px; }
  .kittycats-visual,
  .kittycats-visual > img { min-height: 300px; }
  .kittycats-visual > img { padding: 16px; }
  .operations-card-copy { padding: 12px; }
  .community-section { padding: 20px 0; }
  .community-layout { gap: 16px; }
  .site-footer { padding-top: 24px; }
  .footer-grid { gap: 16px; }
}


/* 2026 centered layout + deployment-safe metrics pass */
.split-heading {
  display: block;
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}
.split-heading .eyebrow,
.kittycats-copy .eyebrow,
.operations-copy .eyebrow,
.community-layout .eyebrow {
  justify-content: center;
}

.kittycats-copy,
.operations-copy,
.community-layout > div:first-child,
.operations-card-copy,
.footer-brand {
  text-align: center;
}
.kittycats-copy .section-lede,
.operations-copy > p:not(.eyebrow),
.footer-brand p {
  margin-inline: auto;
}
.kittycats-actions {
  justify-content: center;
}
.tool-grid > div {
  text-align: center;
}
.operations-copy .button {
  margin-inline: auto;
}
.operations-card-copy {
  justify-items: center;
}

.community-layout {
  grid-template-columns: minmax(240px, .58fr) minmax(0, 1.42fr);
}

.footer-grid {
  grid-template-columns: 1.15fr repeat(3, minmax(150px, .7fr));
  align-items: start;
}
.footer-brand img {
  margin-inline: auto;
}
.footer-column {
  text-align: center;
}

/* Keep the homepage nav treatment consistent with the inner pages. */
.primary-nav > a.active,
.primary-nav > a:last-child {
  color: #c8c8d7;
  text-shadow: none;
}
.primary-nav > a.active:hover,
.primary-nav > a.active:focus-visible,
.primary-nav > a:last-child:hover,
.primary-nav > a:last-child:focus-visible {
  color: var(--nav-neon);
}
.primary-nav > a.active,
.primary-nav > a:last-child { color:#c8c8d7 !important; text-shadow:none !important; box-shadow:none !important; }
.primary-nav > a.active:hover,
.primary-nav > a.active:focus-visible,
.primary-nav > a:last-child:hover,
.primary-nav > a:last-child:focus-visible { color:var(--nav-neon) !important; }
.primary-nav > a.active,
.primary-nav > a:last-child { --nav-neon:var(--violet); }
.primary-nav > a:last-child { --nav-neon:#6ddfff; }
.primary-nav > a.active:hover,
.primary-nav > a.active:focus-visible,
.primary-nav > a:last-child:hover,
.primary-nav > a:last-child:focus-visible {
  border-color:color-mix(in srgb,var(--nav-neon) 74%,transparent) !important;
  background:color-mix(in srgb,var(--nav-neon) 24%,transparent) !important;
  box-shadow:inset 0 0 18px color-mix(in srgb,var(--nav-neon) 14%,transparent),0 0 10px color-mix(in srgb,var(--nav-neon) 55%,transparent),0 0 28px color-mix(in srgb,var(--nav-neon) 42%,transparent) !important;
  text-shadow:0 0 7px #fff,0 0 15px var(--nav-neon) !important;
  transform:translateY(-2px);
}
.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.footer-bottom > p {
  grid-column: 2;
  margin: 0;
  text-align: center;
  white-space: nowrap;
}
.footer-bottom .legal-links {
  grid-column: 3;
  justify-self: end;
  padding-right: 24px;
}

@media (max-width: 980px) {
  .community-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .operations-copy {
    margin-inline: auto;
  }
  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .footer-bottom > p,
  .footer-bottom .legal-links {
    grid-column: 1;
  }
  .footer-bottom .legal-links {
    justify-self: center;
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  .footer-column,
  .footer-brand {
    text-align: center;
  }
  .footer-bottom > p {
    white-space: normal;
  }
  .legal-links {
    justify-content: center;
  }
}


/* 2026 final homepage polish: wider grid, richer neon depth, compact radio controls */
:root {
  --shell: 1440px;
  --bg: #080918;
  --bg-deep: #03040d;
  --panel: rgba(15, 16, 38, .86);
  --panel-solid: #0d0f24;
  --panel-strong: #151536;
  --line: rgba(178, 147, 255, .2);
  --line-strong: rgba(105, 220, 255, .42);
  --shadow: 0 24px 72px rgba(0, 0, 0, .38);
}

body {
  background:
    radial-gradient(ellipse 62rem 42rem at 5% 5%, rgba(132, 54, 220, .2), transparent 68%),
    radial-gradient(ellipse 60rem 38rem at 96% 20%, rgba(22, 178, 225, .14), transparent 70%),
    radial-gradient(ellipse 70rem 42rem at 54% 64%, rgba(238, 43, 164, .09), transparent 72%),
    linear-gradient(180deg, #08091a 0%, #050615 42%, #0b081c 72%, #050611 100%);
}

main {
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,.012) 50%, transparent),
    radial-gradient(ellipse 68rem 44rem at 50% 24%, rgba(117, 67, 220, .07), transparent 72%);
}

.shell { width: min(calc(100% - 48px), var(--shell)); }
.section { position: relative; isolation: isolate; }
.section + .section { border-top: 1px solid rgba(168, 135, 255, .08); }

.hero-section {
  background:
    radial-gradient(ellipse 52rem 32rem at 22% 25%, rgba(162, 61, 239, .14), transparent 72%),
    radial-gradient(ellipse 48rem 30rem at 82% 44%, rgba(31, 194, 232, .1), transparent 74%),
    linear-gradient(180deg, rgba(9, 9, 27, .58), rgba(7, 8, 23, .28));
}
.hero-grid { grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr); }
.hero-copy { max-width: 700px; }
.hero-copy h1 em,
.section-intro h2 em,
.kittycats-copy h2 em,
.operations-copy h2 em {
  background: linear-gradient(105deg, #b97aff 4%, #ff4fbd 48%, #5ee7ff 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(173, 70, 255, .16));
}
.hero-image-frame {
  border-color: rgba(117, 219, 255, .22);
  box-shadow: 0 24px 72px rgba(0,0,0,.42), 0 0 42px rgba(99,72,220,.12), inset 0 0 0 1px rgba(255,255,255,.025);
}

.network-section {
  background:
    radial-gradient(ellipse 36rem 26rem at 7% 18%, rgba(48, 213, 255, .1), transparent 72%),
    radial-gradient(ellipse 42rem 30rem at 92% 72%, rgba(210, 53, 255, .08), transparent 74%),
    linear-gradient(180deg, rgba(12, 13, 35, .97), rgba(7, 8, 23, .98));
}
.showcase-section {
  background:
    radial-gradient(ellipse 44rem 30rem at 84% 14%, rgba(255, 55, 177, .09), transparent 72%),
    linear-gradient(180deg, #0b0c22, #08091a);
}
.kittycats-section {
  background:
    radial-gradient(ellipse 44rem 36rem at 16% 48%, rgba(60, 210, 255, .08), transparent 72%),
    radial-gradient(ellipse 48rem 34rem at 88% 46%, rgba(195, 55, 255, .1), transparent 70%),
    linear-gradient(90deg, rgba(8, 10, 27, .96), rgba(17, 10, 37, .94)),
    url('/assets/webp/backgrounds/flarocity-network-frame.webp') center/cover no-repeat;
}
.operations-section {
  background:
    radial-gradient(ellipse 46rem 30rem at 76% 48%, rgba(42, 188, 238, .08), transparent 72%),
    linear-gradient(90deg, rgba(7, 10, 27, .95), rgba(17, 10, 37, .92)),
    url('/assets/webp/backgrounds/flarocity-network-frame.webp') center/cover no-repeat;
}
.community-section {
  background:
    radial-gradient(ellipse 30rem 20rem at 10% 50%, rgba(166, 73, 255, .17), transparent 72%),
    radial-gradient(ellipse 26rem 18rem at 88% 50%, rgba(45, 202, 241, .09), transparent 75%),
    linear-gradient(90deg, rgba(19, 12, 42, .98), rgba(8, 13, 32, .98));
}
.site-footer {
  background:
    radial-gradient(ellipse 36rem 22rem at 18% 0%, rgba(129, 61, 224, .13), transparent 72%),
    linear-gradient(180deg, #080919, #03040c);
}

.network-card,
.showcase-card,
.operations-cards .operations-card,
.community-links a,
.tool-grid > div {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 16px 42px rgba(0,0,0,.18);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.network-card:hover,
.network-card:focus-visible {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 20px 48px rgba(0,0,0,.3), 0 0 28px color-mix(in srgb, var(--accent) 14%, transparent);
}
.showcase-card:hover,
.showcase-card:focus-within,
.operations-cards .operations-card:hover,
.operations-cards .operations-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(112, 220, 255, .36);
  box-shadow: 0 24px 54px rgba(0,0,0,.3), 0 0 30px rgba(109, 69, 230, .13);
}
.community-links a:hover,
.community-links a:focus-visible,
.tool-grid > div:hover {
  transform: translateY(-2px);
  border-color: rgba(103, 220, 255, .34);
  box-shadow: 0 16px 36px rgba(0,0,0,.24), 0 0 22px rgba(120, 72, 230, .12);
}

.radio-bar {
  grid-template-columns: auto minmax(92px, .55fr) minmax(190px, 1fr) auto;
  border-color: rgba(187, 125, 255, .28);
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 61, 181, .1), transparent 22rem),
    radial-gradient(circle at 74% 50%, rgba(56, 216, 255, .07), transparent 24rem),
    linear-gradient(110deg, rgba(20, 16, 48, .94), rgba(9, 15, 34, .95));
  box-shadow: 0 18px 48px rgba(0,0,0,.28), 0 0 28px rgba(135,68,230,.09), inset 0 1px 0 rgba(255,255,255,.035);
}
.radio-controls { min-width: 0; }
.radio-play { min-height: 42px; padding: 0 12px 0 9px; }
.radio-play img { width: 26px; height: 26px; }
.radio-mute {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  color: #fff;
  background: rgba(255,255,255,.045);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.radio-mute:hover,
.radio-mute:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(87, 224, 255, .58);
  background: rgba(57,217,255,.1);
  box-shadow: 0 0 18px rgba(57,217,255,.12);
}
.radio-mute img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.radio-mute.is-muted { border-color: rgba(255,70,183,.42); background: rgba(255,62,181,.09); }
.radio-mute.is-muted::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: #ff5fbd;
  box-shadow: 0 0 8px rgba(255,62,181,.7);
  transform: rotate(-45deg);
}
.radio-volume { display: flex; align-items: center; width: clamp(76px, 7vw, 112px); min-height: 40px; }
.radio-volume input {
  --volume-level: 70%;
  width: 100%;
  height: 18px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.radio-volume input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan) 0 var(--volume-level), rgba(255,255,255,.16) var(--volume-level) 100%);
  box-shadow: 0 0 10px rgba(57,217,255,.16);
}
.radio-volume input::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(255,255,255,.16); }
.radio-volume input::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--cyan); box-shadow: 0 0 10px rgba(57,217,255,.22); }
.radio-volume input::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  margin-top: -5.5px;
  appearance: none;
  border: 2px solid #08111b;
  border-radius: 50%;
  background: #83efff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.5), 0 0 12px rgba(57,217,255,.7);
}
.radio-volume input::-moz-range-thumb { width: 13px; height: 13px; border: 2px solid #08111b; border-radius: 50%; background: #83efff; box-shadow: 0 0 12px rgba(57,217,255,.7); }
.radio-open { padding: 8px 2px; }

@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr); }
  .radio-bar { grid-template-columns: auto minmax(80px,.5fr) 1fr auto; }
  .radio-copy { display: none; }
}

@media (max-width: 980px) {
  .shell { width: min(calc(100% - 36px), var(--shell)); }
  .hero-grid { grid-template-columns: 1fr; }
  .radio-bar { grid-template-columns: auto minmax(80px,1fr) auto; }
  .radio-controls { flex-wrap: wrap; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .radio-bar { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .radio-ident { justify-content: center; }
  .radio-controls { justify-content: center; gap: 8px; }
  .radio-play { flex: 1 1 132px; max-width: 180px; }
  .radio-volume { flex: 1 1 88px; max-width: 128px; }
  .radio-open { flex: 1 0 100%; padding: 4px; }
}

@media (max-width: 390px) {
  .shell { width: min(calc(100% - 20px), var(--shell)); }
  .radio-play { flex-basis: 120px; }
  .radio-volume { flex-basis: 76px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (min-width: 2000px) {
  :root { --shell: 1440px; }
  .hero-grid { grid-template-columns: minmax(0, .82fr) minmax(560px, 1.18fr); }
}


/* User-selected neon circuit backdrop and multicolor header hover system */
body {
  background-color: #070815;
  background-image:
    linear-gradient(180deg, rgba(5, 6, 18, .58), rgba(5, 6, 18, .72)),
    radial-gradient(ellipse 52rem 38rem at 50% 42%, rgba(8, 9, 24, .2), rgba(4, 5, 15, .62) 78%),
    url('/assets/webp/backgrounds/flarocity-neon-circuit-background.webp');
  background-position: center, center, center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

main {
  background: linear-gradient(180deg, rgba(8,9,25,.12), rgba(4,5,16,.3));
}

.hero-section {
  background:
    radial-gradient(ellipse 52rem 32rem at 22% 25%, rgba(162, 61, 239, .14), transparent 72%),
    radial-gradient(ellipse 48rem 30rem at 82% 44%, rgba(31, 194, 232, .1), transparent 74%),
    linear-gradient(180deg, rgba(8, 9, 27, .46), rgba(6, 8, 23, .58));
}
.network-section {
  background:
    radial-gradient(ellipse 36rem 26rem at 7% 18%, rgba(48, 213, 255, .11), transparent 72%),
    radial-gradient(ellipse 42rem 30rem at 92% 72%, rgba(210, 53, 255, .1), transparent 74%),
    linear-gradient(180deg, rgba(11, 12, 34, .82), rgba(6, 8, 23, .86));
}
.showcase-section {
  background:
    radial-gradient(ellipse 44rem 30rem at 84% 14%, rgba(255, 55, 177, .11), transparent 72%),
    linear-gradient(180deg, rgba(10, 11, 32, .82), rgba(7, 8, 24, .86));
}
.kittycats-section {
  background:
    radial-gradient(ellipse 44rem 36rem at 16% 48%, rgba(60, 210, 255, .1), transparent 72%),
    radial-gradient(ellipse 48rem 34rem at 88% 46%, rgba(195, 55, 255, .12), transparent 70%),
    linear-gradient(90deg, rgba(7, 9, 27, .82), rgba(16, 9, 36, .8));
}
.operations-section {
  background:
    radial-gradient(ellipse 46rem 30rem at 76% 48%, rgba(42, 188, 238, .1), transparent 72%),
    linear-gradient(90deg, rgba(6, 9, 26, .82), rgba(16, 9, 36, .8));
}
.community-section {
  background:
    radial-gradient(ellipse 30rem 20rem at 10% 50%, rgba(166, 73, 255, .18), transparent 72%),
    radial-gradient(ellipse 26rem 18rem at 88% 50%, rgba(45, 202, 241, .11), transparent 75%),
    linear-gradient(90deg, rgba(18, 11, 41, .84), rgba(7, 12, 31, .86));
}
.site-footer {
  background:
    radial-gradient(ellipse 36rem 22rem at 18% 0%, rgba(129, 61, 224, .15), transparent 72%),
    linear-gradient(180deg, rgba(7, 8, 24, .9), rgba(3, 4, 12, .95));
}

.primary-nav a { --nav-neon: var(--violet); }
.primary-nav a:nth-child(1) { --nav-neon: #b46cff; }
.primary-nav a:nth-child(2) { --nav-neon: #ff4fb9; }
.primary-nav a:nth-child(3) { --nav-neon: #44dbff; }
.primary-nav a:nth-child(4) { --nav-neon: #ff9d46; }
.primary-nav a:nth-child(5) { --nav-neon: #d16cff; }
.primary-nav a:nth-child(6) { --nav-neon: #4ca8ff; }
.primary-nav a:nth-child(7) { --nav-neon: #ffcf55; }
.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #fff;
  border-color: color-mix(in srgb, var(--nav-neon) 48%, transparent);
  background: color-mix(in srgb, var(--nav-neon) 13%, transparent);
  box-shadow: inset 0 0 14px color-mix(in srgb, var(--nav-neon) 8%, transparent), 0 0 17px color-mix(in srgb, var(--nav-neon) 28%, transparent);
  text-shadow: 0 0 10px color-mix(in srgb, var(--nav-neon) 76%, transparent);
}
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  background: var(--nav-neon);
  box-shadow: 0 0 12px var(--nav-neon);
}
.header-link:hover,
.header-link:focus-visible {
  color: #7feaff;
  text-shadow: 0 0 11px rgba(57,217,255,.72);
}
.header-button:hover,
.header-button:focus-visible {
  border-color: rgba(255, 88, 190, .72);
  background: linear-gradient(135deg, rgba(171, 68, 255, .92), rgba(255, 57, 175, .9));
  box-shadow: 0 0 24px rgba(255, 62, 181, .36), 0 10px 28px rgba(85, 34, 151, .32);
}

@media (max-width: 720px) {
  body {
    background-position: center, center, 34% top;
    background-attachment: scroll;
  }
}


/* Monitor-width correction: preserve the compact-window gutter ratio on 1080p */
@media (min-width: 981px) {
  .shell { width: min(94vw, 2400px); }
}

body {
  background-image:
    linear-gradient(180deg, rgba(5, 6, 18, .2), rgba(5, 6, 18, .38)),
    radial-gradient(ellipse 52rem 38rem at 50% 42%, rgba(8, 9, 24, .08), rgba(4, 5, 15, .3) 82%),
    url('/assets/webp/backgrounds/flarocity-neon-circuit-background.webp');
}

.hero-section {
  background:
    radial-gradient(ellipse 52rem 32rem at 22% 25%, rgba(162, 61, 239, .12), transparent 72%),
    radial-gradient(ellipse 48rem 30rem at 82% 44%, rgba(31, 194, 232, .08), transparent 74%),
    linear-gradient(180deg, rgba(8, 9, 27, .24), rgba(6, 8, 23, .36));
}
.network-section {
  background:
    radial-gradient(ellipse 36rem 26rem at 7% 18%, rgba(48, 213, 255, .1), transparent 72%),
    radial-gradient(ellipse 42rem 30rem at 92% 72%, rgba(210, 53, 255, .09), transparent 74%),
    linear-gradient(180deg, rgba(11, 12, 34, .5), rgba(6, 8, 23, .58));
}
.showcase-section {
  background:
    radial-gradient(ellipse 44rem 30rem at 84% 14%, rgba(255, 55, 177, .1), transparent 72%),
    linear-gradient(180deg, rgba(10, 11, 32, .48), rgba(7, 8, 24, .58));
}
.kittycats-section {
  background:
    radial-gradient(ellipse 44rem 36rem at 16% 48%, rgba(60, 210, 255, .09), transparent 72%),
    radial-gradient(ellipse 48rem 34rem at 88% 46%, rgba(195, 55, 255, .11), transparent 70%),
    linear-gradient(90deg, rgba(7, 9, 27, .54), rgba(16, 9, 36, .52));
}
.operations-section {
  background:
    radial-gradient(ellipse 46rem 30rem at 76% 48%, rgba(42, 188, 238, .09), transparent 72%),
    linear-gradient(90deg, rgba(6, 9, 26, .54), rgba(16, 9, 36, .52));
}
.community-section {
  background:
    radial-gradient(ellipse 30rem 20rem at 10% 50%, rgba(166, 73, 255, .17), transparent 72%),
    radial-gradient(ellipse 26rem 18rem at 88% 50%, rgba(45, 202, 241, .1), transparent 75%),
    linear-gradient(90deg, rgba(18, 11, 41, .6), rgba(7, 12, 31, .64));
}

.primary-nav a {
  border: 1px solid transparent;
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, text-shadow .2s ease, transform .2s ease;
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--nav-neon) 74%, transparent);
  background: color-mix(in srgb, var(--nav-neon) 24%, transparent);
  box-shadow:
    inset 0 0 18px color-mix(in srgb, var(--nav-neon) 14%, transparent),
    0 0 10px color-mix(in srgb, var(--nav-neon) 55%, transparent),
    0 0 28px color-mix(in srgb, var(--nav-neon) 42%, transparent);
  text-shadow: 0 0 7px #fff, 0 0 15px var(--nav-neon);
}
.primary-nav a.active {
  border-color: rgba(180, 108, 255, .38);
  box-shadow: inset 0 0 16px rgba(180,108,255,.12), 0 0 20px rgba(180,108,255,.22);
}
.header-button {
  box-shadow: inset 0 0 16px rgba(117,86,255,.1), 0 0 18px rgba(64,191,255,.16);
}
.header-button:hover,
.header-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(255, 88, 190, .62), 0 0 32px rgba(255, 62, 181, .48), 0 12px 30px rgba(85, 34, 151, .38);
  text-shadow: 0 0 9px rgba(255,255,255,.82);
}
.header-link:hover,
.header-link:focus-visible {
  text-shadow: 0 0 7px #fff, 0 0 17px rgba(57,217,255,.95);
}
.button-primary,
.radio-play {
  box-shadow: 0 0 12px rgba(255,62,181,.24), 0 10px 26px rgba(97,46,186,.24);
}
.button-primary:hover,
.button-primary:focus-visible,
.radio-play:hover,
.radio-play:focus-visible {
  box-shadow: 0 0 12px rgba(255,89,194,.66), 0 0 34px rgba(255,62,181,.42), 0 12px 30px rgba(88,42,166,.34);
}
.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(80,224,255,.72);
  background: rgba(57,217,255,.11);
  box-shadow: 0 0 10px rgba(57,217,255,.48), 0 0 28px rgba(57,217,255,.28);
  text-shadow: 0 0 10px rgba(103,232,255,.8);
}

@media (min-width: 1181px) {
  .hero-section { padding: 24px 0 12px; }
  .hero-grid {
    align-items: center;
    gap: clamp(24px, 2.2vw, 40px);
  }
  .hero-copy h1 { font-size: clamp(3.4rem, 6.2vw, 6rem); }
  .hero-image-frame {
    height: clamp(450px, 27vw, 520px);
    aspect-ratio: auto;
  }
  .hero-image-frame img { object-position: 62% 46%; }
}


/* Compact centered homepage and linked dropdown navigation */
:root { --section-space: clamp(20px, 1.55vw, 28px); }

.primary-nav > a,
.nav-menu-item > summary {
  --nav-neon: var(--violet);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #c8c8d7;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  list-style: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, text-shadow .2s ease, transform .2s ease;
}
.nav-menu-item { position: relative; --nav-neon: var(--violet); }
.nav-menu-item > summary { padding-right: 29px; }
.nav-menu-item > summary::-webkit-details-marker { display: none; }
.nav-menu-item > summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-68%) rotate(45deg);
  transition: transform .2s ease;
}
.nav-menu-item[open] > summary::after { transform: translateY(-30%) rotate(225deg); }
.nav-servers { --nav-neon: #44dbff; }
.nav-radio { --nav-neon: #ff4fb9; }
.nav-services { --nav-neon: #ffc76b; }
.nav-kittycats { --nav-neon: #d16cff; }
.primary-nav > a:last-child { --nav-neon: #6ddfff; }

.nav-menu-item > summary:hover,
.nav-menu-item > summary:focus-visible,
.nav-menu-item[open] > summary {
  transform: translateY(-2px);
  color: #fff;
  border-color: color-mix(in srgb, var(--nav-neon) 74%, transparent);
  background: color-mix(in srgb, var(--nav-neon) 24%, transparent);
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--nav-neon) 14%, transparent), 0 0 10px color-mix(in srgb, var(--nav-neon) 55%, transparent), 0 0 28px color-mix(in srgb, var(--nav-neon) 42%, transparent);
  text-shadow: 0 0 7px #fff, 0 0 15px var(--nav-neon);
}
.nav-dropdown {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 5px);
  left: 50%;
  display: none;
  grid-template-columns: 1fr;
  gap: 4px;
  width: max-content;
  min-width: 220px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--nav-neon) 38%, transparent);
  border-radius: 14px;
  background: rgba(7, 8, 22, .97);
  box-shadow: 0 22px 55px rgba(0,0,0,.46), 0 0 28px color-mix(in srgb, var(--nav-neon) 16%, transparent);
  backdrop-filter: blur(20px) saturate(145%);
  transform: translateX(-50%);
}
.nav-menu-item[open] > .nav-dropdown,
.nav-menu-item:hover > .nav-dropdown,
.nav-menu-item:focus-within > .nav-dropdown { display: grid; }
.nav-dropdown-wide {
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  min-width: 620px;
}
.primary-nav .nav-dropdown a {
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #c9c9d9;
  background: rgba(255,255,255,.018);
  font-size: .76rem;
  text-align: center;
}
.primary-nav .nav-dropdown a:hover,
.primary-nav .nav-dropdown a:focus-visible {
  transform: none;
  color: #fff;
  border-color: color-mix(in srgb, var(--nav-neon) 48%, transparent);
  background: color-mix(in srgb, var(--nav-neon) 15%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--nav-neon) 24%, transparent);
  text-shadow: 0 0 9px color-mix(in srgb, var(--nav-neon) 72%, transparent);
}

.section { padding: var(--section-space) 0; }
.section-intro { margin-bottom: 10px; }
.section-intro h2,
.kittycats-copy h2,
.operations-copy h2 { font-size: clamp(2.1rem, 3.5vw, 3.75rem); }

.hero-copy,
.network-card,
.showcase-content,
.kittycats-copy,
.tool-grid > div,
.operations-copy,
.operations-card-copy,
.community-layout,
.community-links a,
.footer-brand,
.footer-column,
.footer-bottom { text-align: center; }
.hero-copy { max-width: 720px; }
.hero-copy .eyebrow,
.hero-actions,
.kittycats-copy .eyebrow,
.operations-copy .eyebrow { justify-content: center; }
.hero-lede,
.section-lede,
.operations-copy > p:not(.eyebrow) { margin-inline: auto; }
.hero-facts strong { justify-content: center; }

.network-card {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  min-height: 148px;
  padding: 12px 16px;
  gap: 7px;
}
.card-icon { width: 40px; height: 40px; }
.card-icon img { width: 30px; height: 30px; }
.card-action { grid-column: 1; }
.network-card h3 { margin: 0 0 3px; }
.network-card p { line-height: 1.4; }

.showcase-image { aspect-ratio: 16 / 6.8; }
.showcase-content { padding: 12px 16px; }
.showcase-content h3 { margin: 4px 0 6px; }
.showcase-content ul {
  justify-items: center;
  margin: 7px 0 10px;
  gap: 4px;
}
.showcase-content li { padding-left: 0; }
.showcase-content li::before {
  position: static;
  display: inline-block;
  margin-right: 8px;
  vertical-align: .08em;
}
.kittycats-grid { gap: clamp(20px, 2.4vw, 32px); }
.kittycats-visual,
.kittycats-visual > img { min-height: 300px; }
.kittycats-visual > img { padding: 14px 14px 56px; }
.section-lede { margin-block: 8px 12px; }
.tool-grid { gap: 6px; }
.tool-grid > div { padding: 9px 12px; }
.kittycats-actions { margin-top: 12px; justify-content: center; }

.operations-grid { gap: clamp(16px, 2vw, 24px); }
.operations-copy > p:not(.eyebrow) { margin-block: 8px 12px; }
.operations-cards .operations-media { aspect-ratio: 16 / 6.8; }
.operations-card-copy { padding: 9px 12px; }
.operations-card-copy { justify-items: center; }

.community-section { padding: 16px 0; }
.community-layout { gap: 16px; }
.community-links a { min-height: 56px; padding: 8px 10px; }
.site-footer { padding: 24px 0 12px; }
.footer-grid { gap: 16px; }
.footer-bottom { margin-top: 12px; padding-top: 12px; }

@media (min-width: 1181px) {
  .hero-section { padding: 18px 0 8px; }
  .hero-image-frame { height: clamp(410px, 24vw, 480px); }
  .hero-copy h1 { font-size: clamp(3.4rem, 5.8vw, 5.6rem); }
  .radio-bar-wrap { margin-top: 10px; }
}

@media (max-width: 980px) {
  .primary-nav { max-height: calc(100vh - var(--header-height) - 18px); overflow-y: auto; }
  .primary-nav.is-open { align-items: start; }
  .nav-menu-item { width: 100%; }
  .nav-menu-item > summary { width: 100%; }
  .nav-dropdown,
  .nav-dropdown-wide {
    position: static;
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
    margin-top: 4px;
    transform: none;
  }
  .nav-menu-item:hover:not([open]) > .nav-dropdown,
  .nav-menu-item:focus-within:not([open]) > .nav-dropdown { display: none; }
  .nav-menu-item[open] > .nav-dropdown { display: grid; }
}

@media (max-width: 720px) {
  :root { --section-space: 18px; }
  .showcase-image,
  .operations-cards .operations-media { aspect-ratio: 16 / 8; }
  .kittycats-visual,
  .kittycats-visual > img { min-height: 270px; }
}

/* Single-menu navigation, individual neon identities, and brighter page art */
.primary-nav { gap: 12px; }
.nav-servers > summary { --nav-neon: #39d9ff; }
.nav-radio > summary { --nav-neon: #ff3eb5; }
.nav-services > summary { --nav-neon: #ffc76b; }
.nav-kittycats > summary { --nav-neon: #b85cff; }
.primary-nav > a:last-child { --nav-neon: #6ddfff; }

.primary-nav > a:hover,
.primary-nav > a:focus-visible {
  color: #fff;
  border-color: color-mix(in srgb, var(--nav-neon) 76%, transparent);
  background: color-mix(in srgb, var(--nav-neon) 22%, transparent);
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--nav-neon) 14%, transparent),
              0 0 11px color-mix(in srgb, var(--nav-neon) 62%, transparent),
              0 0 30px color-mix(in srgb, var(--nav-neon) 40%, transparent);
  text-shadow: 0 0 7px #fff, 0 0 15px var(--nav-neon);
}

body {
  position: relative;
  isolation: isolate;
  background: #050612;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('/assets/webp/backgrounds/flarocity-neon-circuit-background.webp') center top / cover no-repeat;
  filter: brightness(1.34) saturate(1.5) contrast(1.06);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4,5,16,.03), rgba(4,5,16,.15)),
    radial-gradient(ellipse at center, transparent 38%, rgba(4,5,16,.12) 100%);
}
body > .site-header,
body > main,
body > .site-footer {
  position: relative;
  z-index: 1;
}
.site-header { z-index: 1000; }
.hero-section {
  background: linear-gradient(90deg, rgba(28,10,58,.2), rgba(5,8,24,.13) 54%, rgba(11,31,54,.2));
}
.network-section {
  background: linear-gradient(180deg, rgba(8,9,25,.32), rgba(6,7,20,.38));
}
.showcase-section {
  background: linear-gradient(180deg, rgba(5,6,20,.29), rgba(12,8,30,.36));
}
.kittycats-section {
  background: linear-gradient(135deg, rgba(18,9,39,.34), rgba(4,12,29,.36));
}
.operations-section {
  background: linear-gradient(135deg, rgba(4,12,29,.36), rgba(19,8,35,.34));
}
.community-section {
  background: linear-gradient(90deg, rgba(21,10,42,.43), rgba(5,13,31,.44));
}

@media (max-width: 1280px) and (min-width: 981px) {
  .primary-nav { gap: 9px; }
  .primary-nav > a,
  .nav-menu-item > summary { padding-inline: 11px; }
  .nav-menu-item > summary { padding-right: 27px; }
}

@media (max-width: 720px) {
  body::before,
  body::after { position: absolute; }
}

/* Final header layering, hover intent, live equalizer, and vertical rhythm */
body > .site-header { z-index: 1000; }
.primary-nav { gap: 16px; }

:root { --section-space: clamp(16px, 1.25vw, 24px); }
.network-section { padding-top: 12px; }
.network-section .section-intro { margin-bottom: 24px; }
.network-section .section-intro h2 { margin-bottom: 0; }

.radio-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 122px;
  height: 36px;
}
.radio-wave i {
  display: block;
  width: 3px;
  height: var(--bar-height);
  border-radius: 999px;
  background: linear-gradient(180deg, #ff4fbe 0%, #b65cff 46%, #43eaff 100%);
  box-shadow: 0 0 7px rgba(255,62,181,.42);
  opacity: .48;
  animation: none;
  transform: scaleY(.34);
  transform-origin: center;
}
.radio-bar.is-playing .radio-wave i {
  opacity: 1;
  animation: liveEqualizer .62s ease-in-out var(--bar-delay) infinite alternate;
}
@keyframes liveEqualizer {
  0% { transform: scaleY(.2); filter: brightness(.86); }
  45% { transform: scaleY(1); filter: brightness(1.35); }
  100% { transform: scaleY(.48); filter: brightness(1.05); }
}

@media (max-width: 1280px) and (min-width: 981px) {
  .primary-nav { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .radio-bar.is-playing .radio-wave i { animation: none; transform: scaleY(.7); }
}

@media (min-width: 1181px) {
  .radio-bar {
    grid-template-columns: minmax(190px, 220px) 140px minmax(280px, 500px) auto;
    justify-content: center;
    column-gap: clamp(24px, 2.5vw, 48px);
    max-width: 1680px;
    margin-inline: auto;
    padding-inline: clamp(24px, 2.5vw, 48px);
  }
  .radio-copy { text-align: center; }
  .kittycats-visual {
    height: clamp(460px, 28vw, 540px);
    min-height: 0;
  }
  .kittycats-visual > img {
    height: 100%;
    min-height: 0;
    object-fit: contain;
  }
}

/* Restore a small header inset and use the supplied neon Discord artwork. */
.site-header { padding-top: 8px; }
.header-button,
.header-button:hover,
.header-button:focus-visible {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-shadow: none;
}
.header-button:hover,
.header-button:focus-visible {
  transform: translateY(-1px) scale(1.025);
}
.header-discord-art {
  display: block;
  width: 150px;
  height: auto;
  filter: drop-shadow(0 0 9px rgba(93, 87, 255, .34));
}

@media (max-width: 720px) {
  .site-header { padding-top: 4px; }
  .header-discord-art { width: 122px; }
}

/* Compact the lower-page transitions so adjacent blocks read as one system. */
.operations-section { padding-block: 8px; }
.community-section { padding-block: 8px; }
.site-footer { padding: 12px 0 8px; }
.footer-grid { gap: 8px; }
.footer-bottom {
  margin-top: 8px;
  padding-top: 8px;
}

@media (max-width: 720px) {
  .operations-section,
  .community-section { padding-block: 12px; }
  .site-footer { padding: 16px 0 8px; }
}

@media (min-width: 981px) {
  .site-footer { padding: 8px 0 6px; }
  .site-footer .footer-grid,
  .site-footer .footer-bottom {
    width: min(calc(100% - 48px), 1320px);
  }
  .footer-grid {
    grid-template-columns: 1.05fr repeat(3, minmax(140px, .72fr));
    column-gap: 32px;
    row-gap: 4px;
  }
  .footer-brand img { width: 78px; }
  .footer-brand p {
    max-width: 300px;
    margin-top: 4px;
    font-size: .78rem;
    line-height: 1.35;
  }
  .footer-column { gap: 2px; }
  .footer-column h2 { margin-bottom: 3px; }
  .footer-column a { line-height: 1.25; }
  .footer-bottom {
    margin-top: 6px;
    padding-top: 6px;
  }
}

@media (min-width: 981px) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-column {
    justify-self: center;
    width: max-content;
    min-width: 150px;
    justify-items: start;
    text-align: left;
  }
  .footer-column h2,
  .footer-column a {
    width: 100%;
    text-align: left;
  }
}

.online-dot { animation: onlineStatusBlink 1.15s ease-in-out infinite; }
@keyframes onlineStatusBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 6px var(--lime), 0 0 16px var(--lime);
  }
  50% {
    opacity: .28;
    transform: scale(.72);
    box-shadow: 0 0 3px var(--lime);
  }
}

@media (prefers-reduced-motion: reduce) {
  .online-dot { animation: none; }
}

/* Final alignment and spacing corrections from the homepage review. */
.primary-nav > a,
.nav-menu-item > summary,
.nav-dropdown a,
.menu-toggle {
  -webkit-user-select: none;
  user-select: none;
}
.radio-pulse {
  background: #a855f7;
  box-shadow: 0 0 8px #a855f7, 0 0 18px rgba(168, 85, 247, .82);
}
.network-section { padding-bottom: 4px; }
.showcase-section { padding-top: 4px; padding-bottom: 4px; }
.kittycats-section { padding-top: 4px; }

@media (min-width: 981px) {
  .nav-dropdown { top: calc(100% - 1px); }
  .footer-column:last-child { justify-self: end; }
}

@media (min-width: 1181px) {
  .showcase-grid { align-items: stretch; }
  .showcase-card,
  .showcase-card:hover,
  .showcase-card:focus-within {
    display: flex;
    flex-direction: column;
    height: 100%;
    transform: none;
  }
  .showcase-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
  }
  .showcase-content > .eyebrow { justify-content: center; text-align: center; }
  .showcase-content .text-link { margin-top: auto; }
}

@media (max-width: 720px) {
  .network-section { padding-bottom: 8px; }
  .showcase-section { padding-block: 8px; }
  .kittycats-section { padding-top: 8px; }
}

/* Neon color hierarchy: colorful without sacrificing paragraph readability. */
:root {
  --text: #f1ddff;
  --muted: #c8bde4;
  --muted-2: #83cce0;
}

body { color: var(--text); }

.hero-copy h1 {
  color: transparent;
  background: linear-gradient(105deg, #ff7a4b 0%, #ff4dac 42%, #9b70ff 68%, #3cdcff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 22px rgba(177, 102, 255, .16);
}

.section-intro h2,
.showcase-content h3,
.kittycats-copy h2,
.operations-copy h2,
.community-layout h2 {
  color: transparent;
  background: linear-gradient(105deg, #ff7a4b 0%, #ff4dac 42%, #9b70ff 68%, #3cdcff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 13px rgba(205, 93, 255, .13));
}

.hero-lede,
.section-intro > p,
.network-card p,
.showcase-content > p,
.showcase-content ul,
.kittycats-copy > p,
.operations-copy > p,
.footer-brand p,
.footer-bottom,
.legal-links a {
  color: #c9c0e7;
}

.showcase-content li,
.operations-card-copy b,
.community-links small {
  color: #afe9f7;
}

.network-card h3 { color: color-mix(in srgb, var(--accent) 72%, #f7dfff); }
.hero-facts span { color: #8fdff1; }
.hero-facts strong { color: #e8c9ff; }
[data-pst-time] {
  min-width: 8.25em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.primary-nav > a.active { color: #e9c9ff; }
.nav-servers > summary { color: #67e6ff; }
.nav-radio > summary { color: #ff72c9; }
.nav-services > summary { color: #ffc76b; }
.nav-kittycats > summary { color: #c98aff; }
.primary-nav > a:last-child { color: #6ddfff; }

.primary-nav > a:hover,
.primary-nav > a:focus-visible,
.nav-menu-item > summary:hover,
.nav-menu-item > summary:focus-visible,
.nav-menu-item[open] > summary {
  color: var(--nav-neon);
}

.showcase-section .eyebrow { color: #ff78cb; }
.kittycats-section .eyebrow { color: #ca8aff; }
.operations-section .eyebrow { color: #65e6ff; }
.community-section .eyebrow { color: #ffc66d; }

.footer-column:nth-child(2) h2 { color: #62e3ff; }
.footer-column:nth-child(3) h2 { color: #ff72c9; }
.footer-column:nth-child(4) h2 { color: #ffc66d; }
.footer-column a { color: #bcb5df; }

/* Native details state is the source of truth for reliable hover and click menus. */
@media (min-width: 981px) {
  .primary-nav { gap: clamp(12px, 1.05vw, 20px); }
  .nav-menu-item:not([open]):not(:hover):not(:focus-within) > .nav-dropdown { display: none !important; }
  .nav-menu-item:hover > .nav-dropdown,
  .nav-menu-item:focus-within > .nav-dropdown,
  .nav-menu-item[open] > .nav-dropdown { display: grid !important; }
  .nav-menu-item[open] > summary {
    color: #fff1ff;
    text-shadow: 0 0 5px color-mix(in srgb, var(--nav-neon) 52%, transparent);
  }
}

.footer-column {
  justify-items: center;
  text-align: center;
}
.footer-column h2,
.footer-column a {
  width: 100%;
  text-align: center;
}

/* Keep homepage direct links visually identical to the inner-page header. */
.primary-nav > .nav-home,
.primary-nav > .nav-forum {
  --nav-neon: #c26bff !important;
  color: #dcc8ff !important;
}
.primary-nav > .nav-home:hover,
.primary-nav > .nav-home:focus-visible,
.primary-nav > .nav-forum:hover,
.primary-nav > .nav-forum:focus-visible,
.primary-nav > .nav-home.active {
  color: #fff !important;
  background: rgba(190, 95, 255, .14) !important;
  text-shadow: 0 0 10px rgba(202, 112, 255, .72) !important;
  box-shadow: inset 0 0 18px rgba(189, 84, 255, .1) !important;
}

/* Update 26C-4G: extra network cards for Casino and Giant Gamers */
.card-icon.card-icon-wide {
  width: 84px;
  padding-inline: 6px;
}
.card-icon.card-icon-wide img {
  width: 72px;
  height: 44px;
}

@media (max-width: 900px) {
  .card-icon.card-icon-wide {
    width: 76px;
  }
  .card-icon.card-icon-wide img {
    width: 64px;
    height: 40px;
  }
}

@media (max-width: 640px) {
  .card-icon.card-icon-wide {
    width: 68px;
    height: 44px;
  }
  .card-icon.card-icon-wide img {
    width: 58px;
    height: 36px;
  }
}

/* Update 26C-4H: nine unique network-card accents. */
.accent-coral { --accent: #ff6f76; }
.accent-orange { --accent: #ff873d; }
.accent-teal { --accent: #38e8bd; }

/* Update 26C-4H: direct links use the same full neon treatment as dropdown tabs. */
.primary-nav > .nav-home {
  --nav-neon: #b46cff !important;
  color: #dcc8ff !important;
}
.primary-nav > .nav-forum {
  --nav-neon: #6ddfff !important;
  color: #bfefff !important;
}
.primary-nav > .nav-home:hover,
.primary-nav > .nav-home:focus-visible,
.primary-nav > .nav-home.active,
.primary-nav > .nav-forum:hover,
.primary-nav > .nav-forum:focus-visible {
  transform: translateY(-2px) !important;
  color: #fff !important;
  border-color: color-mix(in srgb, var(--nav-neon) 74%, transparent) !important;
  background: color-mix(in srgb, var(--nav-neon) 24%, transparent) !important;
  box-shadow:
    inset 0 0 18px color-mix(in srgb, var(--nav-neon) 14%, transparent),
    0 0 10px color-mix(in srgb, var(--nav-neon) 55%, transparent),
    0 0 28px color-mix(in srgb, var(--nav-neon) 42%, transparent) !important;
  text-shadow: 0 0 7px #fff, 0 0 15px var(--nav-neon) !important;
}
.primary-nav > .nav-home.active::after {
  display: none !important;
}
