:root {
  color-scheme: dark;
  --ink: #0a0b0d;
  --paper: #f2f0e9;
  --muted: #a8a89f;
  --line: rgba(255, 255, 255, 0.14);
  --acid: #d8ff3e;
  --orange: #ff6d3a;
  --mint: #42dfb0;
  --violet: #a875ff;
  --blue: #78a7ff;
  --yellow: #ffcf45;
  --display: "Bahnschrift", "Arial Narrow", sans-serif;
  --body: "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.noise {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.app-shell {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 0 34px;
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.brand-mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 32px;
  height: 32px;
  padding: 6px;
  border-radius: 9px;
  background: var(--acid);
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
  transform: rotate(6deg);
}

.brand-mark i {
  border-radius: 2px;
  background: var(--ink);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font: 700 17px/1 var(--display);
  letter-spacing: 0.08em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.desktop-nav a {
  display: block;
  padding: 10px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #c5c5bd;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  background: var(--paper);
  color: var(--ink);
}

.header-actions,
.admin-header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 13px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 5px 10px 5px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--acid);
}

.theme-toggle-icon {
  display: grid;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  place-items: center;
}

.theme-toggle-icon svg {
  width: 14px;
  height: 14px;
}

.theme-toggle-label {
  font-size: 10px;
  letter-spacing: 0.04em;
}

html[data-theme="dark"] .theme-moon,
html[data-theme="light"] .theme-sun {
  display: none;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  color: #d2d2cb;
  font-size: 13px;
  transition: color 0.2s ease;
}

.admin-link:hover {
  color: var(--acid);
}

.admin-link svg {
  font-size: 18px;
}

.page {
  display: none;
}

.page.is-active {
  display: block;
  animation: page-in 0.45s ease both;
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 96px);
  min-height: 675px;
  padding: 65px 0 55px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: clamp(0px, 4vw, 58px);
}

.eyebrow {
  margin: 0 0 21px;
  color: #aaa9a0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy > .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 38px;
}

.hero-copy > .eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 16px var(--acid);
}

.hero h1,
.category-hero h1,
.admin-intro h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(66px, 7.8vw, 126px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.hero h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1.5px var(--paper);
}

.hero-lead {
  max-width: 530px;
  margin: 36px 0 34px;
  color: #b8b8b0;
  font-size: 17px;
  line-height: 1.65;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 15px 19px 15px 22px;
  border: 1px solid rgba(216, 255, 62, 0.45);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  font-size: 13px;
  cursor: pointer;
  transition: 0.25s ease;
}

.primary-action svg {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
}

.primary-action:hover {
  background: var(--acid);
  color: var(--ink);
}

.hero-stage {
  position: relative;
  min-height: 545px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 48% 48% 8% 8% / 40% 40% 8% 8%;
  background:
    radial-gradient(circle at 50% 50%, rgba(216, 255, 62, 0.13), transparent 27%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 45%);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.hero-stage::before {
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
  transition: border-color 0.35s ease, opacity 0.35s ease;
  animation: stage-spin 35s linear infinite;
}

.hero-stage::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--acid) 24%, transparent), transparent 38%);
  opacity: 0;
  pointer-events: none;
  content: "";
  transition: opacity 0.35s ease;
}

.stage-orbit {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-14deg);
  transition: border-color 0.45s ease, filter 0.45s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.orbit-one {
  width: 88%;
  height: 42%;
}

.orbit-two {
  width: 54%;
  height: 92%;
  transform: translate(-50%, -50%) rotate(38deg);
}

.stage-core {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 184px;
  height: 184px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 0 80px rgba(216, 255, 62, 0.13);
  transform: translate(-50%, -50%) rotate(-7deg);
  cursor: pointer;
  isolation: isolate;
  transition: background 0.5s ease, color 0.5s ease, box-shadow 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  animation: core-glow 5s ease-in-out infinite;
}

.stage-core::before,
.stage-core::after {
  position: absolute;
  z-index: -1;
  inset: -14px;
  border: 1px solid color-mix(in srgb, var(--acid) 65%, transparent);
  border-radius: inherit;
  opacity: 0;
  content: "";
  transition: inset 0.35s ease, opacity 0.35s ease;
}

.stage-core::after {
  inset: -28px;
  border-style: dashed;
}

.stage-core span {
  font-size: 12px;
  letter-spacing: 0.25em;
}

.stage-core strong {
  font: 800 31px/1 var(--display);
  letter-spacing: -0.05em;
  transition: letter-spacing 0.35s ease, transform 0.35s ease;
}

.stage-core small {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: max-height 0.35s ease, margin 0.35s ease, opacity 0.35s ease;
}

.stage-core:hover,
.stage-core:focus-visible,
.stage-core:focus,
.hero-stage.is-core-hovered .stage-core {
  background: var(--paper);
  color: var(--ink);
  transform: translate(-50%, -50%) rotate(2deg) scale(1.1);
}

.stage-core:hover::before,
.stage-core:hover::after,
.stage-core:focus-visible::before,
.stage-core:focus-visible::after,
.stage-core:focus::before,
.stage-core:focus::after,
.hero-stage.is-core-hovered .stage-core::before,
.hero-stage.is-core-hovered .stage-core::after {
  inset: -23px;
  opacity: 1;
}

.stage-core:hover::after,
.stage-core:focus-visible::after,
.stage-core:focus::after,
.hero-stage.is-core-hovered .stage-core::after {
  inset: -42px;
}

.stage-core:hover strong,
.stage-core:focus-visible strong,
.stage-core:focus strong,
.hero-stage.is-core-hovered .stage-core strong {
  letter-spacing: 0.02em;
  transform: translateY(-2px);
}

.stage-core:hover small,
.stage-core:focus-visible small,
.stage-core:focus small,
.hero-stage.is-core-hovered .stage-core small {
  max-height: 18px;
  margin-top: 8px;
  opacity: 1;
}

.hero-stage.is-core-hovered {
  border-color: color-mix(in srgb, var(--acid) 48%, var(--line));
  box-shadow: inset 0 0 80px color-mix(in srgb, var(--acid) 9%, transparent);
}

.hero-stage.is-core-hovered::before {
  border-color: color-mix(in srgb, var(--acid) 55%, transparent);
  opacity: 0.82;
}

.hero-stage.is-core-hovered::after {
  opacity: 1;
}

.hero-stage.is-core-hovered .stage-orbit {
  border-color: color-mix(in srgb, var(--acid) 48%, transparent);
  filter: drop-shadow(0 0 9px color-mix(in srgb, var(--acid) 18%, transparent));
}

.hero-stage.is-core-hovered .orbit-one {
  transform: translate(-50%, -50%) rotate(-6deg) scale(1.05);
}

.hero-stage.is-core-hovered .orbit-two {
  transform: translate(-50%, -50%) rotate(46deg) scale(0.96);
}

.floating-word {
  --word-color: var(--acid);
  --react-x: 0px;
  --react-y: 0px;
  position: absolute;
  z-index: 2;
  padding: 10px 16px;
  border: 1px solid var(--word-color);
  border-radius: 999px;
  background: rgba(10, 11, 13, 0.88);
  color: var(--word-color);
  font: 700 17px/1 var(--display);
  letter-spacing: -0.02em;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  animation: word-float 5s ease-in-out infinite;
}

.floating-word:hover,
.floating-word:focus-visible {
  background: var(--word-color);
  color: var(--ink);
  box-shadow: 0 0 28px color-mix(in srgb, var(--word-color) 34%, transparent);
  transform: scale(1.08) rotate(-2deg);
}

.hero-stage.is-core-hovered .floating-word {
  background: var(--word-color);
  color: var(--ink);
  box-shadow: 0 0 30px color-mix(in srgb, var(--word-color) 32%, transparent);
  transform: translate(var(--react-x), var(--react-y)) scale(1.07);
  animation-play-state: paused;
}

.word-loans { top: 19%; left: 12%; color: var(--orange); animation-delay: -1s; }
.word-deposits { top: 12%; right: 11%; color: var(--mint); animation-delay: -2.4s; }
.word-games { bottom: 18%; left: 10%; color: var(--violet); animation-delay: -3.2s; }
.word-jobs { right: 10%; bottom: 23%; color: var(--blue); animation-delay: -4s; }
.word-promos { right: 25%; bottom: 7%; color: var(--yellow); animation-delay: -1.8s; }

@keyframes stage-spin {
  to { transform: rotate(360deg); }
}

@keyframes core-glow {
  0%, 100% { box-shadow: 0 0 60px rgba(216, 255, 62, 0.12); }
  50% { box-shadow: 0 0 110px rgba(216, 255, 62, 0.26); }
}

@keyframes word-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes word-float-safe-right {
  0%, 100% { translate: 0 0; }
  50% { translate: -6px 5px; }
}

.ticker {
  width: calc(100% + 68px);
  margin-left: -34px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  padding: 16px 0;
  animation: ticker-move 26s linear infinite;
}

.ticker span {
  font: 800 14px/1 var(--display);
  letter-spacing: 0.12em;
}

.ticker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

@keyframes ticker-move {
  to { transform: translateX(-50%); }
}

.categories-section,
.featured-section {
  padding: 115px 0 30px;
}

.featured-section {
  padding-bottom: 130px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

.section-heading .eyebrow {
  margin-bottom: 13px;
}

.section-heading h2,
.offer-form h2,
.manage-heading h2 {
  margin: 0;
  font: 700 clamp(36px, 5vw, 66px)/0.95 var(--display);
  letter-spacing: -0.055em;
}

.section-heading > p {
  max-width: 310px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

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

.category-tile {
  --tile-color: var(--acid);
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 188px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #111316;
  text-align: left;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.5s ease, background-color 0.3s ease, color 0.3s ease;
}

.category-tile::before {
  position: absolute;
  width: 260px;
  height: 260px;
  top: -190px;
  right: -80px;
  border-radius: 50%;
  background: var(--tile-color);
  filter: blur(1px);
  opacity: 0.95;
  content: "";
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-tile:hover {
  border-color: var(--tile-color);
  transform: translateY(-3px);
}

.category-tile:hover::before {
  transform: translate(-30px, 45px) scale(1.15);
}

.tile-loans { --tile-color: var(--orange); }
.tile-deposits { --tile-color: var(--mint); }
.tile-games { --tile-color: var(--violet); }
.tile-jobs { --tile-color: var(--blue); }
.tile-promos { --tile-color: var(--yellow); }

.category-tile.wide {
  grid-column: 1 / -1;
  min-height: 188px;
}

.category-tile.wide::before {
  width: 400px;
  height: 400px;
  top: -340px;
}

.tile-number {
  position: absolute;
  top: 24px;
  left: 28px;
  color: #75766f;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.tile-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  margin-right: 24px;
  border-radius: 50%;
  background: var(--tile-color);
  color: var(--ink);
  place-items: center;
}

.tile-icon svg {
  width: 25px;
  height: 25px;
}

.custom-category-icon {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
}

.tile-icon .custom-category-icon {
  width: 30px;
  height: 30px;
}

.tile-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.tile-copy strong {
  font: 700 clamp(28px, 3.5vw, 48px)/1 var(--display);
  letter-spacing: -0.04em;
}

.tile-copy small {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.tile-arrow {
  position: relative;
  z-index: 1;
  align-self: center;
}

.tile-arrow svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

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

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

.offer-card {
  --offer-accent: var(--acid);
  position: relative;
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 385px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #111316;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.5s ease, background-color 0.3s ease, color 0.3s ease;
}

.offer-card:hover {
  border-color: color-mix(in srgb, var(--offer-accent) 60%, transparent);
  transform: translateY(-5px);
}

.offer-media {
  position: relative;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  background: var(--offer-accent);
  color: var(--ink);
  place-items: center;
}

.offer-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, transparent 45%, rgba(0, 0, 0, 0.18));
  content: "";
}

.offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-media.has-brand-logo::before {
  position: absolute;
  z-index: 1;
  width: 76%;
  height: 46%;
  border: 1px solid rgba(10, 11, 13, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(10, 11, 13, 0.16);
  content: "";
  transform: rotate(-3deg);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.offer-card:hover .offer-media.has-brand-logo::before {
  transform: rotate(1deg) scale(1.03);
}

.offer-media.has-brand-logo::after {
  display: none;
}

.offer-media.has-brand-logo img {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 76%;
  height: 46%;
  padding: 14px 24px;
  object-fit: contain;
  transform: translate(-50%, -50%) rotate(-3deg);
  filter: drop-shadow(0 4px 8px rgba(10, 11, 13, 0.08));
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.offer-card:hover .offer-media.has-brand-logo img {
  transform: translate(-50%, -50%) rotate(1deg) scale(1.03);
}

.offer-monogram {
  position: relative;
  z-index: 2;
  font: 800 clamp(58px, 8vw, 100px)/1 var(--display);
  letter-spacing: -0.09em;
}

.offer-shape {
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid rgba(10, 11, 13, 0.3);
  border-radius: 50%;
  animation: stage-spin 18s linear infinite;
}

.offer-shape::before,
.offer-shape::after {
  position: absolute;
  border: 1px solid rgba(10, 11, 13, 0.24);
  border-radius: 50%;
  content: "";
}

.offer-shape::before { inset: 18%; }
.offer-shape::after { inset: 38%; background: rgba(255, 255, 255, 0.18); }

.offer-content {
  display: flex;
  flex-direction: column;
  padding: 27px;
}

.offer-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 38px;
}

.offer-topline span {
  display: inline-block;
  padding: 7px 9px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--offer-accent) 15%, transparent);
  color: var(--offer-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-topline small {
  color: #72736d;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.offer-content h3 {
  margin: 0 0 12px;
  font: 700 clamp(25px, 2.4vw, 38px)/1 var(--display);
  letter-spacing: -0.045em;
}

.offer-content > p {
  margin: 0;
  color: #a9aaa3;
  font-size: 13px;
  line-height: 1.5;
}

.offer-content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.offer-content li {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d4d4cd;
  font-size: 10px;
}

.offer-content > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding: 13px 14px 13px 17px;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.offer-content > a:hover {
  background: var(--offer-accent);
}

.offer-content > a b {
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  place-items: center;
}

.offer-content > a b svg {
  width: 15px;
  height: 15px;
}

.featured-grid .offer-card {
  display: flex;
  flex-direction: column;
  min-height: 475px;
}

.featured-grid .offer-media {
  flex: 0 0 220px;
  width: 100%;
  height: 220px;
  min-height: 220px;
}

.featured-grid .offer-content {
  flex: 1;
}

.featured-grid .offer-topline {
  margin-bottom: 24px;
}

.category-page {
  min-height: 75vh;
  padding: 92px 0 130px;
}

.category-page[data-category="loans"] { --page-color: var(--orange); }
.category-page[data-category="deposits"] { --page-color: var(--mint); }
.category-page[data-category="games"] { --page-color: var(--violet); }
.category-page[data-category="jobs"] { --page-color: var(--blue); }
.category-page[data-category="promos"] { --page-color: var(--yellow); }

.category-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.38fr);
  align-items: end;
  min-height: 280px;
  margin-bottom: 50px;
  padding: 38px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--page-color);
  color: var(--ink);
}

.category-hero::after {
  position: absolute;
  right: -70px;
  bottom: -220px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(10, 11, 13, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(10, 11, 13, 0.05), 0 0 0 90px rgba(10, 11, 13, 0.04);
  content: "";
}

.category-hero .eyebrow {
  position: absolute;
  top: 34px;
  left: 39px;
  color: rgba(10, 11, 13, 0.6);
}

.category-back {
  position: absolute;
  z-index: 2;
  top: 30px;
  right: 34px;
  padding: 9px 13px;
  border: 1px solid rgba(10, 11, 13, 0.3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.category-back:hover {
  background: var(--ink);
  color: var(--paper);
}

.category-hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(70px, 10vw, 142px);
}

.category-hero > p:last-child {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 0 0 5px;
  font-size: 15px;
  line-height: 1.55;
}

.notice {
  margin: -30px 0 50px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--page-color);
  color: #a6a69f;
  font-size: 12px;
  line-height: 1.5;
}

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

.empty-state {
  grid-column: 1 / -1;
  padding: 80px 25px;
  border: 1px dashed var(--line);
  text-align: center;
}

.empty-state span {
  color: var(--page-color, var(--acid));
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.empty-state h3 {
  margin: 14px 0 9px;
  font: 700 30px/1 var(--display);
}

.empty-state p {
  color: var(--muted);
}

.empty-state a {
  display: inline-block;
  margin-top: 12px;
  color: var(--acid);
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: end;
  gap: 25px;
  padding: 45px 0;
  border-top: 1px solid var(--line);
  color: #767770;
  font-size: 11px;
}

.footer-brand {
  color: var(--paper);
  font: 700 18px/1 var(--display);
  letter-spacing: 0.08em;
}

.site-footer p {
  max-width: 470px;
  margin: 0;
  line-height: 1.5;
  text-align: center;
}

.site-footer > span {
  justify-self: end;
}

.mobile-nav {
  display: none;
}

/* Admin */
.admin-auth {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: 36px;
  background:
    radial-gradient(circle at 82% 14%, rgba(216, 255, 62, 0.16), transparent 25%),
    #090a0c;
  color: var(--paper);
  place-items: center;
}

.admin-auth[hidden],
.admin-shell[hidden],
.admin-auth-form[hidden] {
  display: none !important;
}

.admin-auth-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(120deg, black, transparent 74%);
}

.admin-auth-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas:
    "brand form"
    "copy form"
    "back message";
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  width: min(1080px, 100%);
  min-height: 640px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(14, 15, 17, 0.92);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.admin-auth-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 46%;
  width: 1px;
  background: rgba(255, 255, 255, 0.13);
  content: "";
}

.admin-auth-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  align-self: start;
  gap: 13px;
  padding: 42px 48px;
}

.admin-auth-brand > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-auth-brand strong {
  font: 700 17px/1 var(--display);
  letter-spacing: 0.08em;
}

.admin-auth-brand small {
  color: #888981;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-auth-copy {
  position: absolute;
  top: 50%;
  left: 0;
  width: 46%;
  padding: 30px 48px;
  transform: translateY(-50%);
}

.admin-auth-copy h1 {
  margin: 0;
  font: 700 clamp(54px, 6vw, 82px)/0.86 var(--display);
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.admin-auth-copy h1 em {
  color: var(--acid);
  font-style: normal;
}

.admin-auth-copy > p:last-child {
  max-width: 350px;
  margin: 30px 0 0;
  color: #aaa9a1;
  font-size: 13px;
  line-height: 1.65;
}

.admin-auth-form {
  grid-area: form;
  display: flex;
  flex-direction: column;
  align-self: center;
  gap: 18px;
  padding: 70px 58px;
}

.admin-auth-form label {
  display: grid;
  gap: 9px;
}

.admin-auth-form label > span {
  color: #a6a69e;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-auth-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.035);
  color: var(--paper);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.admin-auth-form input:focus {
  border-color: var(--acid);
  background: rgba(216, 255, 62, 0.05);
}

.admin-auth-form button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  margin-top: 8px;
  padding: 5px 6px 5px 20px;
  border: 0;
  background: var(--acid);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.admin-auth-form button b {
  position: relative;
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  overflow: hidden;
  background: var(--ink);
  color: var(--acid);
  place-items: center;
  transform: translateZ(0);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.admin-auth-form button b::after {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(216, 255, 62, 0.2);
  opacity: 0;
  content: "";
  transform: scale(0.78);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.admin-auth-form button b svg {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.9;
}

.admin-auth-form button:hover b,
.admin-auth-form button:focus-visible b {
  background: #111315;
  box-shadow: inset 0 0 0 1px rgba(216, 255, 62, 0.22);
}

.admin-auth-form button:hover b::after,
.admin-auth-form button:focus-visible b::after {
  opacity: 1;
  transform: scale(1);
}

.admin-auth-form button:hover b svg,
.admin-auth-form button:focus-visible b svg {
  animation: admin-auth-arrow-flight 0.52s cubic-bezier(0.22, 0.75, 0.25, 1);
}

.admin-auth-form button:disabled {
  cursor: wait;
  opacity: 0.55;
}

@keyframes admin-auth-arrow-flight {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }
  42% {
    opacity: 0;
    transform: translate(13px, -13px);
  }
  43% {
    opacity: 0;
    transform: translate(-13px, 13px);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-auth-form button:hover b svg,
  .admin-auth-form button:focus-visible b svg {
    animation: none;
    transform: translate(2px, -2px);
  }
}

.admin-setup-note {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 4px;
  padding: 14px 15px;
  border-left: 3px solid var(--acid);
  background: rgba(216, 255, 62, 0.07);
}

.admin-setup-note strong {
  font: 700 15px/1 var(--display);
  text-transform: uppercase;
}

.admin-setup-note span {
  color: #a6a69e;
  font-size: 11px;
  line-height: 1.45;
}

.admin-auth-message {
  grid-area: message;
  min-height: 18px;
  margin: 0;
  padding: 0 58px 38px;
  color: #ff8b69;
  font-size: 12px;
  line-height: 1.5;
}

.admin-auth-message.is-neutral {
  color: #a6a69e;
}

.admin-auth-back {
  grid-area: back;
  align-self: end;
  width: fit-content;
  margin: 0 48px 38px;
  color: #a6a69e;
  font-size: 12px;
  transition: color 0.2s ease;
}

.admin-auth-back:hover {
  color: var(--acid);
}

.admin-body {
  color-scheme: light;
  background:
    radial-gradient(circle at 88% 2%, color-mix(in srgb, var(--acid) 24%, transparent), transparent 26%),
    radial-gradient(circle at 4% 96%, color-mix(in srgb, var(--acid) 12%, transparent), transparent 30%),
    linear-gradient(170deg, #f4f2eb 0%, #eae8e0 55%, #e6e4db 100%);
  background-attachment: fixed;
  color: var(--ink);
}

.admin-body .noise {
  opacity: 0.04;
}

.admin-shell {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 0 34px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid rgba(10, 11, 13, 0.15);
}

.admin-body .brand-copy small,
.admin-body .eyebrow {
  color: #66665f;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.back-link span {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  place-items: center;
}

.back-link span svg {
  width: 16px;
  height: 16px;
}

.admin-logout {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(10, 11, 13, 0.2);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 11px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.admin-logout:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.admin-main {
  display: grid;
  grid-template-columns: 32% 68%;
  gap: 0;
}

.admin-intro {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: calc(100vh - 92px);
  padding: 76px 55px 50px 5px;
  border-right: 1px solid rgba(10, 11, 13, 0.15);
}

.admin-intro h1 {
  font-size: clamp(48px, 5.5vw, 80px);
  line-height: 0.88;
}

.admin-intro > p:not(.eyebrow) {
  max-width: 340px;
  margin: 34px 0 0;
  color: #62625d;
  font-size: 14px;
  line-height: 1.6;
}

.admin-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 68px;
}

.admin-stat strong {
  display: grid;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--acid);
  font: 700 36px/1 var(--display);
  place-items: center;
}

.admin-stat span {
  color: #64645f;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-workspace {
  padding: 76px 0 100px 55px;
}

.offer-form,
.manage-section {
  padding-bottom: 78px;
  border-bottom: 1px solid rgba(10, 11, 13, 0.15);
}

.form-title-row,
.manage-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
}

.offer-form h2,
.manage-heading h2 {
  font-size: clamp(36px, 4vw, 58px);
}

.offer-form .eyebrow,
.manage-heading .eyebrow {
  margin-bottom: 12px;
}

.ghost-button {
  padding: 10px 14px;
  border: 1px solid rgba(10, 11, 13, 0.2);
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  cursor: pointer;
}

.ghost-button.danger {
  color: #a13c2c;
}

.ghost-button.is-hidden {
  display: none;
}

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

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-grid label > span:first-child {
  color: #64645f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.form-grid .full-width {
  grid-column: 1 / -1;
}

.form-grid input:not([type="color"]):not([type="file"]),
.form-grid textarea,
.form-grid select {
  width: 100%;
  min-height: 49px;
  padding: 13px 14px;
  border: 1px solid rgba(10, 11, 13, 0.22);
  border-radius: 3px;
  outline: 0;
  background: rgba(255, 255, 255, 0.34);
  color: var(--ink);
  font-size: 13px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-grid textarea {
  min-height: 92px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.65);
}

.form-grid input[type="color"] {
  width: 100%;
  height: 49px;
  padding: 5px;
  border: 1px solid rgba(10, 11, 13, 0.22);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
}

.color-field {
  display: flex;
  align-items: center;
  gap: 12px;
}

.color-field input[type="color"] {
  flex: 0 0 58px;
  width: 58px;
  height: 50px;
  margin: 0;
  padding: 4px;
}

.color-swatches {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.color-swatch {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--swatch);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.color-swatch:hover {
  transform: scale(1.12);
}

.color-swatch.is-active {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(10, 11, 13, 0.55);
}

.upload-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 15px 18px;
  border: 1px dashed rgba(10, 11, 13, 0.3);
  cursor: pointer;
  transition: background 0.2s ease;
}

.upload-box:hover {
  background: rgba(216, 255, 62, 0.25);
}

.upload-box b {
  font-size: 13px;
}

.upload-box small {
  color: #6f6f69;
  font-size: 10px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.admin-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 265px;
  padding: 8px 9px 8px 18px;
  border: 0;
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  cursor: pointer;
}

.admin-submit b {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 2px;
  background: var(--acid);
  color: var(--ink);
  place-items: center;
}

.admin-submit b svg {
  width: 17px;
  height: 17px;
}

#form-message {
  margin: 0;
  color: #397343;
  font-size: 12px;
}

#form-message.is-error {
  color: #b54130;
}

.manage-section {
  padding-top: 76px;
  border-bottom: 0;
}

.admin-offers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-offer {
  --offer-accent: var(--acid);
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 116px;
  padding: 18px 18px 18px 0;
  border: 1px solid rgba(10, 11, 13, 0.15);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
}

.admin-offer-color {
  align-self: stretch;
  background: var(--offer-accent);
}

.admin-offer-copy span {
  color: #6a6a64;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-offer-copy h3 {
  margin: 7px 0 5px;
  font: 700 21px/1 var(--display);
  letter-spacing: -0.03em;
}

.admin-offer-copy p {
  margin: 0;
  color: #696963;
  font-size: 11px;
}

.admin-offer-actions {
  display: flex;
  gap: 7px;
}

.admin-offer-actions button,
.admin-offer-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 11px;
  border: 1px solid rgba(10, 11, 13, 0.2);
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  font-size: 10px;
  cursor: pointer;
}

.admin-offer-actions button:last-child {
  color: #a13c2c;
}

.admin-empty {
  padding: 60px 20px;
  border: 1px dashed rgba(10, 11, 13, 0.25);
  color: #66665f;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .hero-stage {
    min-height: 500px;
  }

  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-grid .offer-card:last-child {
    grid-column: 1 / -1;
  }

  .admin-main {
    grid-template-columns: 29% 71%;
  }

  .admin-intro {
    padding-right: 30px;
  }

  .admin-workspace {
    padding-left: 35px;
  }
}

@media (max-width: 820px), (max-width: 980px) and (hover: none) and (pointer: coarse) {
  .admin-auth {
    display: block;
    min-height: 100dvh;
    overflow: visible;
    padding: 0;
    overscroll-behavior-y: none;
  }

  .admin-auth-grid {
    position: fixed;
  }

  .admin-auth-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100dvh;
    border: 0;
    background: #0d0e10;
    box-shadow: none;
    backdrop-filter: none;
  }

  .admin-auth-card::before {
    top: 72px;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
  }

  .admin-auth-brand {
    position: relative;
    z-index: 4;
    flex: 0 0 auto;
    min-height: 72px;
    padding: 18px 20px;
    background: #0d0e10;
  }

  .admin-auth-copy {
    position: static;
    width: auto;
    flex: 0 0 auto;
    padding: 34px 20px 14px;
    transform: none;
  }

  .admin-auth-copy h1 {
    font-size: clamp(45px, 14vw, 64px);
    line-height: 0.88;
  }

  .admin-auth-copy > p:last-child {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.55;
  }

  .admin-auth-form {
    position: relative;
    z-index: 3;
    flex: 0 0 auto;
    width: 100%;
    gap: 14px;
    padding: 22px 20px 18px;
    background: #0d0e10;
  }

  .admin-auth-form input {
    min-height: 54px;
    font-size: 16px;
  }

  .admin-auth-form button {
    min-height: 56px;
    margin-top: 4px;
    padding-left: 18px;
  }

  .admin-auth-form button b {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .admin-setup-note {
    margin-bottom: 2px;
  }

  .admin-auth-message {
    position: relative;
    z-index: 3;
    margin-top: auto;
    padding: 8px 20px 14px;
    background: #0d0e10;
  }

  .admin-auth-back {
    position: relative;
    z-index: 3;
    margin: 6px 20px max(28px, env(safe-area-inset-bottom));
  }

  .admin-auth-card.is-keyboard-mode .admin-auth-brand {
    min-height: 58px;
    padding-top: 11px;
    padding-bottom: 11px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .admin-auth-card.is-keyboard-mode .brand-mark {
    width: 30px;
    height: 30px;
  }

  .admin-auth-card.is-keyboard-mode .admin-auth-copy,
  .admin-auth-card.is-keyboard-mode .admin-auth-back {
    display: none;
  }

  .admin-auth-card.is-keyboard-mode .admin-auth-form {
    padding-top: 18px;
  }

  .admin-auth-card.is-keyboard-mode .admin-auth-message {
    margin-top: 0;
  }

  body:not(.admin-body) {
    padding-bottom: 78px;
  }

  .app-shell,
  .admin-shell {
    padding: 0 18px;
  }

  .site-header,
  .admin-header {
    min-height: 74px;
  }

  .admin-header-actions {
    gap: 7px;
  }

  .admin-header .back-link {
    display: none;
  }

  .admin-link span {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 62px 0 35px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero h1 {
    font-size: clamp(57px, 16vw, 100px);
  }

  .hero-lead {
    margin: 28px 0;
    font-size: 15px;
  }

  .hero-stage {
    min-height: 470px;
    margin-top: 60px;
  }

  .ticker {
    width: calc(100% + 36px);
    margin-left: -18px;
  }

  .categories-section,
  .featured-section {
    padding-top: 85px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-grid,
  .offers-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .category-tile.wide,
  .featured-grid .offer-card:last-child {
    grid-column: auto;
  }

  .category-tile.wide {
    min-height: 245px;
  }

  .category-tile.wide::before {
    width: 260px;
    height: 260px;
    top: -190px;
  }

  .offer-card {
    min-height: 360px;
  }

  .category-page {
    padding-top: 55px;
  }

  .category-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 300px;
    padding: 28px;
  }

  .category-hero .eyebrow {
    top: 28px;
    left: 29px;
  }

  .category-hero > p:last-child {
    margin-top: 25px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    padding-bottom: 25px;
  }

  .site-footer p {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    z-index: 90;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    min-height: 68px;
    padding: 5px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(17, 19, 22, 0.92);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(18px);
  }

  .mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    padding: 5px 2px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #777a76;
    cursor: pointer;
  }

  .mobile-nav a.is-active {
    background: var(--acid);
    color: var(--ink);
  }

  .mobile-nav span,
  .mobile-nav svg {
    width: 20px;
    height: 20px;
  }

  .mobile-nav .custom-category-icon {
    width: 20px;
    height: 20px;
  }

  .mobile-nav small {
    max-width: 100%;
    overflow: hidden;
    font-size: 8px;
    text-overflow: ellipsis;
  }

  .admin-main {
    display: block;
  }

  .admin-intro {
    position: relative;
    min-height: auto;
    padding: 65px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(10, 11, 13, 0.15);
  }

  .admin-workspace {
    padding: 65px 0 80px;
  }
}

@media (max-width: 560px) {
  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .hero-stage {
    min-height: 400px;
    border-radius: 45% 45% 5% 5% / 35% 35% 5% 5%;
  }

  .stage-core {
    width: 132px;
    height: 132px;
  }

  .stage-core strong {
    font-size: 23px;
  }

  .floating-word {
    padding: 8px 11px;
    font-size: 13px;
  }

  .word-loans { left: 6%; }
  .word-deposits { right: 5%; }
  .word-games { left: 5%; }
  .word-jobs { right: 5%; }
  .word-promos { right: 18%; }

  .category-tile {
    min-height: 210px;
    padding: 22px;
  }

  .tile-number {
    top: 20px;
    left: 22px;
  }

  .tile-icon {
    width: 44px;
    height: 44px;
    margin-right: 14px;
  }

  .tile-copy strong {
    font-size: 31px;
  }

  .offer-card,
  .featured-grid .offer-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .offer-media,
  .featured-grid .offer-media {
    min-height: 210px;
  }

  .offer-content {
    min-height: 300px;
    padding: 23px;
  }

  .category-hero h1 {
    font-size: clamp(58px, 19vw, 90px);
  }

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

  .form-grid .full-width {
    grid-column: auto;
  }

  .form-actions,
  .manage-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-submit {
    width: 100%;
  }

  .admin-offer {
    grid-template-columns: 7px 1fr;
  }

  .admin-offer-actions {
    grid-column: 2;
  }

  .mobile-nav {
    overflow-x: auto;
    grid-template-columns: repeat(6, minmax(54px, 1fr));
  }
}

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

/* Dynamic catalog and complete admin */
.desktop-nav {
  max-width: min(760px, 58vw);
  overflow-x: auto;
  scrollbar-width: none;
}

.desktop-nav::-webkit-scrollbar {
  display: none;
}

#floating-categories {
  position: absolute;
  inset: 0;
}

.word-slot-1 { --react-x: -12px; --react-y: -8px; top: 19%; left: 12%; animation-delay: -1s; }
.word-slot-2 { --react-x: 10px; --react-y: -5px; top: 16%; right: 16%; animation-name: word-float-safe-right; animation-delay: -2.4s; }
.word-slot-3 { --react-x: -12px; --react-y: 8px; bottom: 18%; left: 10%; animation-delay: -3.2s; }
.word-slot-4 { --react-x: 12px; --react-y: 8px; right: 10%; bottom: 23%; animation-delay: -4s; }
.word-slot-5 { --react-x: 4px; --react-y: 12px; right: 25%; bottom: 7%; animation-delay: -1.8s; }

.featured-section.is-empty {
  display: none;
}

.admin-tabs {
  position: sticky;
  z-index: 20;
  top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: -22px 0 48px;
  padding: 5px;
  border: 1px solid rgba(10, 11, 13, 0.16);
  border-radius: 999px;
  background: rgba(232, 230, 223, 0.9);
  backdrop-filter: blur(16px);
}

.admin-tabs button {
  min-height: 42px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #61615b;
  font-size: 12px;
  cursor: pointer;
}

.admin-tabs button.is-active {
  background: var(--ink);
  color: var(--paper);
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
  animation: page-in 0.3s ease both;
}

.global-message {
  position: fixed;
  z-index: 110;
  right: 24px;
  bottom: 24px;
  max-width: 390px;
  margin: 0;
  padding: 13px 17px;
  border-radius: 4px;
  background: #d9f4cb;
  color: #245e2d;
  box-shadow: 0 14px 40px rgba(10, 11, 13, 0.18);
  font-size: 12px;
  pointer-events: none;
}

.global-message:empty {
  display: none;
}

.global-message.is-error {
  background: #f7d5cf;
  color: #8d3023;
}

.admin-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 58px;
}

.admin-stats .admin-stat {
  margin-top: 0;
}

.admin-stat.secondary strong {
  background: var(--ink);
  color: var(--paper);
}

.admin-stat span {
  max-width: 70px;
}

.admin-backup {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 38px;
}

.admin-backup button,
.admin-backup label {
  padding: 10px 12px;
  border: 1px solid rgba(10, 11, 13, 0.2);
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  font-size: 10px;
  cursor: pointer;
}

.admin-backup input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.inline-fields,
.check-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.form-grid .check-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(10, 11, 13, 0.18);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.form-grid .check-field input[type="checkbox"] {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 2px solid rgba(10, 11, 13, 0.42);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.form-grid .check-field input[type="checkbox"]:checked {
  border-color: var(--acid);
  background: var(--acid);
}

.form-grid .check-field input[type="checkbox"]:checked::after {
  position: absolute;
  left: 7px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #0a0b0d;
  border-width: 0 2.5px 2.5px 0;
  content: "";
  transform: rotate(45deg);
}

.form-grid .check-field input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.form-grid .check-field > span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.form-grid input[readonly] {
  background: rgba(10, 11, 13, 0.07) !important;
  color: #74746e;
  cursor: not-allowed;
}

.danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 58px;
  padding: 30px;
  border: 1px solid rgba(161, 60, 44, 0.28);
  border-radius: 4px;
}

.danger-zone .eyebrow {
  margin-bottom: 10px;
  color: #a13c2c;
}

.danger-zone h3 {
  margin: 0;
  font: 700 25px/1 var(--display);
}

.danger-zone p:last-child {
  margin: 9px 0 0;
  color: #696963;
  font-size: 11px;
}

.manage-heading select {
  min-width: 180px;
  padding: 10px 12px;
  border: 1px solid rgba(10, 11, 13, 0.2);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
  color: var(--ink);
  font-size: 11px;
}

.category-admin-card {
  grid-template-columns: 10px 48px 1fr auto;
}

.category-admin-icon {
  display: grid;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--offer-accent);
  color: var(--ink);
  place-items: center;
}

.category-admin-icon svg {
  width: 22px;
  height: 22px;
}

.category-admin-icon .custom-category-icon {
  width: 30px;
  height: 30px;
}

.asset-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  padding: 9px 10px 9px 15px;
  border: 1px solid rgba(10, 11, 13, 0.14);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
}

.asset-status > span {
  color: #66665f;
  font-size: 11px;
}

.asset-status .ghost-button {
  flex: 0 0 auto;
}

.admin-offer.is-muted {
  opacity: 0.55;
  background: rgba(255, 255, 255, 0.08);
}

.admin-offer-actions button:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.category-actions {
  max-width: 280px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 820px) {
  .admin-tabs {
    top: 8px;
    margin-top: 0;
  }

  .admin-stats {
    margin-top: 40px;
  }

  .category-admin-card {
    grid-template-columns: 7px 42px 1fr;
  }

  .category-admin-card .admin-offer-actions {
    grid-column: 2 / -1;
  }

  .mobile-nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mobile-nav a {
    flex: 1 0 64px;
  }
}

/* Shared light and dark themes */
html[data-theme="dark"] {
  --line: rgba(255, 255, 255, 0.14);
  --muted: #a8a89f;
}

html[data-theme="light"] {
  --line: rgba(10, 11, 13, 0.14);
  --muted: #666760;
}

body,
.admin-body,
.admin-tabs,
.form-grid input,
.form-grid textarea,
.form-grid select {
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

html[data-theme="light"] body:not(.admin-body) {
  background:
    radial-gradient(circle at 82% 8%, rgba(216, 255, 62, 0.13), transparent 25%),
    linear-gradient(180deg, #f7f5ef 0%, #f0eee7 100%);
  color: #0a0b0d;
}

html[data-theme="light"] body:not(.admin-body) .noise {
  opacity: 0.035;
}

html[data-theme="light"] body:not(.admin-body) .brand-copy small,
html[data-theme="light"] body:not(.admin-body) .eyebrow,
html[data-theme="light"] body:not(.admin-body) .hero-lead,
html[data-theme="light"] body:not(.admin-body) .offer-content > p,
html[data-theme="light"] body:not(.admin-body) .notice,
html[data-theme="light"] body:not(.admin-body) .site-footer {
  color: #63645e;
}

html[data-theme="light"] body:not(.admin-body) .hero h1 em {
  -webkit-text-stroke-color: #0a0b0d;
}

html[data-theme="light"] body:not(.admin-body) .primary-action {
  border-color: rgba(10, 11, 13, 0.3);
  background: rgba(255, 255, 255, 0.62);
  color: #0a0b0d;
  box-shadow: 0 8px 24px rgba(10, 11, 13, 0.05);
}

html[data-theme="light"] body:not(.admin-body) .primary-action:hover {
  border-color: var(--acid);
  background: var(--acid);
}

html[data-theme="light"] body:not(.admin-body) .hero-stage {
  background:
    radial-gradient(circle at 50% 50%, rgba(216, 255, 62, 0.3), transparent 29%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.75), rgba(10, 11, 13, 0.025));
}

html[data-theme="light"] body:not(.admin-body) .hero-stage::before,
html[data-theme="light"] body:not(.admin-body) .stage-orbit {
  border-color: rgba(10, 11, 13, 0.15);
}

html[data-theme="light"] body:not(.admin-body) .floating-word {
  border-color: color-mix(in srgb, var(--word-color) 72%, #6b6c65);
  background: color-mix(in srgb, var(--word-color) 10%, rgba(255, 255, 255, 0.92));
  color: color-mix(in srgb, var(--word-color) 68%, #20211d);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--word-color) 11%, transparent);
}

html[data-theme="light"] body:not(.admin-body) .floating-word:hover,
html[data-theme="light"] body:not(.admin-body) .floating-word:focus-visible {
  background: var(--word-color);
  color: #171814;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--word-color) 27%, transparent);
}

html[data-theme="light"] body:not(.admin-body) .hero-stage.is-core-hovered .stage-core {
  background: #fffdf8;
  box-shadow: 0 0 0 12px color-mix(in srgb, var(--acid) 30%, transparent), 0 0 95px color-mix(in srgb, var(--acid) 45%, transparent);
}

html[data-theme="light"] body:not(.admin-body) .hero-stage.is-core-hovered .floating-word {
  background: color-mix(in srgb, var(--word-color) 82%, #ffffff);
  color: #171814;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--word-color) 25%, transparent);
}

html[data-theme="light"] body:not(.admin-body) .desktop-nav {
  border-color: rgba(10, 11, 13, 0.12);
  background: rgba(255, 255, 255, 0.44);
  box-shadow: 0 7px 24px rgba(10, 11, 13, 0.035);
}

html[data-theme="light"] body:not(.admin-body) .desktop-nav a {
  color: #555650;
}

html[data-theme="light"] body:not(.admin-body) .desktop-nav a:hover,
html[data-theme="light"] body:not(.admin-body) .desktop-nav a.is-active {
  background: color-mix(in srgb, var(--acid) 76%, #ffffff);
  color: #20211d;
  box-shadow: 0 5px 16px color-mix(in srgb, var(--acid) 20%, transparent);
}

html[data-theme="light"] body:not(.admin-body) .admin-link {
  color: #41423e;
}

html[data-theme="light"] body:not(.admin-body) .category-tile,
html[data-theme="light"] body:not(.admin-body) .offer-card {
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 12px 35px rgba(10, 11, 13, 0.05);
}

html[data-theme="light"] body:not(.admin-body) .tile-number,
html[data-theme="light"] body:not(.admin-body) .offer-topline small {
  color: #6b6c65;
}

html[data-theme="light"] body:not(.admin-body) .offer-topline span {
  color: color-mix(in srgb, var(--offer-accent) 64%, #0a0b0d);
}

html[data-theme="light"] body:not(.admin-body) .offer-content li {
  color: #4f504a;
}

html[data-theme="light"] body:not(.admin-body) .offer-content > a {
  border: 1px solid color-mix(in srgb, var(--offer-accent) 32%, rgba(10, 11, 13, 0.12));
  background: color-mix(in srgb, var(--offer-accent) 15%, #fffdf8);
  color: #24251f;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--offer-accent) 9%, transparent);
}

html[data-theme="light"] body:not(.admin-body) .offer-content > a b {
  background: var(--offer-accent);
  color: #0a0b0d;
}

html[data-theme="light"] body:not(.admin-body) .offer-content > a:hover {
  background: color-mix(in srgb, var(--offer-accent) 76%, #ffffff);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--offer-accent) 18%, transparent);
}

html[data-theme="light"] body:not(.admin-body) .notice strong,
html[data-theme="light"] body:not(.admin-body) .footer-brand {
  color: #0a0b0d;
}

html[data-theme="light"] body:not(.admin-body) .ticker {
  border-color: rgba(10, 11, 13, 0.1);
  background: color-mix(in srgb, var(--acid) 16%, #fffdf8);
  color: #34352f;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.7), 0 10px 28px rgba(10, 11, 13, 0.035);
}

html[data-theme="dark"] .admin-body {
  color-scheme: dark;
  background: #0a0b0d;
  color: #f2f0e9;
}

html[data-theme="dark"] .admin-body .admin-header,
html[data-theme="dark"] .admin-body .admin-intro,
html[data-theme="dark"] .admin-body .offer-form,
html[data-theme="dark"] .admin-body .manage-section {
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .admin-body .brand-copy small,
html[data-theme="dark"] .admin-body .eyebrow,
html[data-theme="dark"] .admin-body .admin-intro > p:not(.eyebrow),
html[data-theme="dark"] .admin-body .admin-stat span,
html[data-theme="dark"] .admin-body .form-grid label > span:first-child,
html[data-theme="dark"] .admin-body .upload-box small,
html[data-theme="dark"] .admin-body .admin-offer-copy span,
html[data-theme="dark"] .admin-body .admin-offer-copy p,
html[data-theme="dark"] .admin-body .asset-status > span,
html[data-theme="dark"] .admin-body .danger-zone p:last-child {
  color: #a8a89f;
}

html[data-theme="dark"] .admin-body .back-link span,
html[data-theme="dark"] .admin-body .admin-stat.secondary strong {
  background: #f2f0e9;
  color: #0a0b0d;
}

html[data-theme="dark"] .admin-body .admin-stat strong {
  color: #0a0b0d;
}

html[data-theme="dark"] .admin-body .admin-tabs {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(17, 19, 22, 0.9);
}

html[data-theme="dark"] .admin-body .admin-tabs button {
  color: #aaa9a0;
}

html[data-theme="dark"] .admin-body .admin-tabs button.is-active {
  background: #f2f0e9;
  color: #0a0b0d;
}

html[data-theme="dark"] .admin-body .ghost-button,
html[data-theme="dark"] .admin-body .admin-backup button,
html[data-theme="dark"] .admin-body .admin-backup label,
html[data-theme="dark"] .admin-body .admin-offer-actions button,
html[data-theme="dark"] .admin-body .admin-offer-actions a,
html[data-theme="dark"] .admin-body .admin-logout {
  border-color: rgba(255, 255, 255, 0.2);
  color: #f2f0e9;
}

html[data-theme="dark"] .admin-body .admin-logout:hover {
  border-color: #f2f0e9;
  background: #f2f0e9;
  color: #0a0b0d;
}

html[data-theme="dark"] .admin-body .form-grid input:not([type="color"]):not([type="file"]),
html[data-theme="dark"] .admin-body .form-grid textarea,
html[data-theme="dark"] .admin-body .form-grid select,
html[data-theme="dark"] .admin-body .manage-heading select {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.055);
  color: #f2f0e9;
}

html[data-theme="dark"] .admin-body .form-grid input:focus,
html[data-theme="dark"] .admin-body .form-grid textarea:focus,
html[data-theme="dark"] .admin-body .form-grid select:focus {
  border-color: var(--acid);
  background: rgba(255, 255, 255, 0.09);
}

html[data-theme="dark"] .admin-body .form-grid input[type="color"],
html[data-theme="dark"] .admin-body .upload-box,
html[data-theme="dark"] .admin-body .form-grid .check-field,
html[data-theme="dark"] .admin-body .asset-status,
html[data-theme="dark"] .admin-body .admin-offer,
html[data-theme="dark"] .admin-body .danger-zone {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

html[data-theme="dark"] .admin-body .form-grid .check-field > span {
  color: #f2f0e9;
}

html[data-theme="dark"] .admin-body .admin-submit {
  background: var(--acid);
  color: #0a0b0d;
}

html[data-theme="dark"] .admin-body .admin-submit b {
  background: #0a0b0d;
  color: var(--acid);
}

html[data-theme="dark"] .admin-body .form-grid .check-field input[type="checkbox"] {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.07);
}

html[data-theme="dark"] .admin-body .form-grid .check-field input[type="checkbox"]:checked {
  border-color: var(--acid);
  background: var(--acid);
}

html[data-theme="dark"] .admin-body .form-grid .check-field input[type="checkbox"]:focus-visible {
  outline-color: var(--acid);
}

html[data-theme="dark"] .admin-body .admin-empty {
  border-color: rgba(255, 255, 255, 0.24);
  color: #a8a89f;
}

html[data-theme="dark"] .admin-body option {
  background: #111316;
  color: #f2f0e9;
}

html[data-theme="dark"] .admin-body .color-swatch.is-active {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

@media (max-width: 820px) {
  .theme-toggle-label {
    display: none;
  }

  .theme-toggle {
    padding-right: 6px;
  }

  .category-back {
    top: 22px;
    right: 22px;
  }

  html[data-theme="light"] body:not(.admin-body) .mobile-nav {
    border-color: rgba(10, 11, 13, 0.14);
    background: rgba(242, 240, 233, 0.94);
    box-shadow: 0 15px 45px rgba(10, 11, 13, 0.16);
  }

  html[data-theme="light"] body:not(.admin-body) .mobile-nav a {
    color: #686962;
  }

  html[data-theme="light"] body:not(.admin-body) .mobile-nav a.is-active {
    background: color-mix(in srgb, var(--acid) 78%, #ffffff);
    color: #20211d;
  }
}

@media (max-width: 560px) {
  .admin-header .back-link {
    gap: 0;
    font-size: 0;
  }

  .admin-header .back-link span {
    font-size: 13px;
  }

  .word-slot-1 { left: 5%; }
  .word-slot-2 { top: 15%; right: 9%; }
  .word-slot-3 { left: 4%; }
  .word-slot-4 { right: 4%; }
  .word-slot-5 { right: 16%; }

  .admin-tabs button {
    padding-inline: 6px;
    font-size: 10px;
  }

  .check-row,
  .inline-fields {
    grid-template-columns: 1fr;
  }

  .danger-zone {
    align-items: stretch;
    flex-direction: column;
  }

  .asset-status {
    align-items: stretch;
    flex-direction: column;
  }

  .manage-heading select {
    width: 100%;
  }
}
