:root {
  color-scheme: dark;
  --rich-bg-start: #0a0f28;
  --rich-bg-end: #111833;
  --rich-blue: #3b82f6;
  --rich-pink: #ec4899;
  --rich-white: #ffffff;
  --rich-text-soft: #c4d4ff;
  --rich-text-muted: #93a4d8;
  --rich-shadow: 0 24px 80px rgba(5, 12, 35, 0.45);
  --rich-radius: 24px;
  --rich-max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 15% 15%, rgba(59, 130, 246, 0.22), transparent 24%),
    radial-gradient(circle at 85% 20%, rgba(236, 72, 153, 0.16), transparent 22%),
    linear-gradient(180deg, var(--rich-bg-start), var(--rich-bg-end));
  color: var(--rich-white);
  line-height: 1.6;
  min-width: 320px;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.rich-page-shell {
  position: relative;
  overflow: clip;
}

.rich-shell-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 12%, rgba(59, 130, 246, 0.14), transparent 22%),
    radial-gradient(circle at 78% 6%, rgba(236, 72, 153, 0.12), transparent 18%);
  opacity: 0.85;
}

.rich-container {
  width: min(calc(100% - 32px), var(--rich-max));
  margin: 0 auto;
}

.rich-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px);
  background: rgba(10, 15, 40, 0.48);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.rich-header-scrolled {
  background: rgba(10, 15, 40, 0.88);
  border-color: rgba(113, 140, 245, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.rich-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.rich-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.rich-logo img {
  width: 190px;
  height: auto;
  display: block;
}

.rich-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.rich-nav a {
  font-weight: 600;
  color: #9dc2ff;
  transition: color 0.25s ease, transform 0.25s ease;
}

.rich-nav a:hover,
.rich-nav a:focus-visible {
  color: var(--rich-pink);
  transform: translateY(-1px);
}

.rich-nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(130, 163, 255, 0.25);
  border-radius: 14px;
  background: rgba(22, 29, 58, 0.72);
  color: var(--rich-white);
  cursor: pointer;
}

.rich-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
}

.rich-hero {
  position: relative;
  padding: 72px 0 42px;
}

.rich-hero::before,
.rich-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.rich-hero::before {
  width: 420px;
  height: 420px;
  left: -120px;
  top: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.28), transparent 58%),
    repeating-conic-gradient(
      from 0deg,
      rgba(59, 130, 246, 0.24) 0deg 10deg,
      transparent 10deg 20deg,
      rgba(236, 72, 153, 0.2) 20deg 30deg,
      transparent 30deg 40deg
    );
  filter: blur(1px);
  animation: rich-spin-wheel 16s linear infinite;
}

.rich-hero::after {
  right: -160px;
  top: -20px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 2px solid rgba(83, 126, 255, 0.15);
  box-shadow:
    inset 0 0 0 40px rgba(25, 36, 77, 0.3),
    0 0 80px rgba(59, 130, 246, 0.18);
  animation: rich-spin-wheel-reverse 20s linear infinite;
}

.rich-hero-grid {
  position: relative;
  display: grid;
  gap: 28px;
  justify-items: center;
  text-align: center;
  padding: 72px 22px;
  border: 1px solid rgba(116, 149, 255, 0.18);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(14, 22, 52, 0.92), rgba(17, 24, 51, 0.84)),
    radial-gradient(circle at 50% 0%, rgba(236, 72, 153, 0.14), transparent 35%);
  box-shadow: var(--rich-shadow);
  overflow: hidden;
}

.rich-hero-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent),
    radial-gradient(circle at 50% 40%, rgba(59, 130, 246, 0.12), transparent 32%);
  mix-blend-mode: screen;
  animation: rich-gradient-shift 12s linear infinite;
}

.rich-hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(120deg, rgba(255, 255, 255, 0.02), transparent 70%);
  background-size: 24px 24px, cover;
  opacity: 0.18;
  animation: rich-float-grid 18s linear infinite;
}

.rich-hero-wheel {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(60vw, 540px);
  height: min(60vw, 540px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0 18%, transparent 18% 100%),
    repeating-conic-gradient(
      from -4deg,
      rgba(59, 130, 246, 0.22) 0deg 18deg,
      rgba(236, 72, 153, 0.22) 18deg 36deg
    );
  mask: radial-gradient(circle at center, transparent 0 26%, #000 27% 100%);
  opacity: 0.14;
  animation: rich-wheel-center 24s linear infinite;
}

.rich-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(19, 30, 69, 0.74);
  border: 1px solid rgba(114, 148, 255, 0.32);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rich-text-soft);
}

.rich-title {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 860px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.rich-title span {
  display: block;
  background: linear-gradient(90deg, #b9d4ff, #3b82f6 35%, #ec4899 78%, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rich-subline {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  font-size: 1.08rem;
  color: var(--rich-text-soft);
}

.rich-hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.rich-button,
.rich-ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.rich-button {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--rich-blue), #5cb6ff 48%, var(--rich-pink));
  color: var(--rich-white);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.3);
}

.rich-button::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.rich-button:hover,
.rich-button:focus-visible,
.rich-ghost-button:hover,
.rich-ghost-button:focus-visible {
  transform: translateY(-2px) scale(1.01);
}

.rich-button:hover .rich-button-spin,
.rich-button:focus-visible .rich-button-spin {
  animation: rich-spin-wheel 0.8s linear infinite;
}

.rich-button-spin {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.48);
  border-top-color: transparent;
  border-radius: 50%;
}

.rich-ghost-button {
  border: 1px solid rgba(114, 148, 255, 0.34);
  background: rgba(18, 27, 62, 0.64);
  color: #d7e3ff;
}

.rich-trust-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.rich-trust-pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(19, 29, 63, 0.72);
  border: 1px solid rgba(120, 151, 255, 0.2);
  color: var(--rich-text-soft);
  font-size: 0.95rem;
}

.rich-section {
  padding: 42px 0;
}

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

.rich-section-title,
.rich-legal-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

.rich-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.rich-section-copy {
  max-width: 620px;
  margin: 0;
  color: var(--rich-text-soft);
}

.rich-card-grid {
  display: grid;
  gap: 22px;
}

.rich-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--rich-radius);
  background: linear-gradient(180deg, rgba(22, 29, 58, 0.96), rgba(18, 25, 50, 0.96));
  border: 1px solid rgba(107, 147, 255, 0.2);
  box-shadow: var(--rich-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.rich-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(59, 130, 246, 0.9), rgba(59, 130, 246, 0.12), rgba(236, 72, 153, 0.88));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rich-border-spin 6s linear infinite;
}

.rich-card:hover,
.rich-card:focus-within,
.rich-card.rich-card-active {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(143, 172, 255, 0.4);
  box-shadow:
    0 32px 90px rgba(4, 10, 28, 0.5),
    0 0 24px rgba(59, 130, 246, 0.24);
}

.rich-card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.rich-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.16);
  color: #ffd0ec;
  border: 1px solid rgba(236, 72, 153, 0.34);
  font-size: 0.88rem;
  font-weight: 700;
}

.rich-brand-line {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 480px;
}

.rich-logo-wrap {
  width: 140px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  flex-shrink: 0;
}

.rich-logo-wrap img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
}

.rich-brand-copy h3 {
  margin: 0 0 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.65rem;
}

.rich-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffe9a5;
  font-weight: 700;
}

.rich-rating span {
  color: var(--rich-text-soft);
  font-weight: 600;
}

.rich-offer-box {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 220px;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(16, 25, 58, 0.76);
  border: 1px solid rgba(86, 130, 255, 0.2);
}

.rich-offer-label {
  font-size: 0.86rem;
  color: var(--rich-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rich-offer-box strong {
  font-size: 1.06rem;
}

.rich-card-body {
  display: grid;
  gap: 18px;
}

.rich-card-body p {
  margin: 0;
  color: #e6eeff;
}

.rich-keyline {
  color: #a7baf1;
  font-size: 0.95rem;
}

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

.rich-points {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(13, 21, 48, 0.75);
  border: 1px solid rgba(88, 128, 247, 0.18);
}

.rich-points h4 {
  margin: 0 0 10px;
  font-size: 0.98rem;
  color: #d4e3ff;
}

.rich-list {
  margin: 0;
  padding-left: 18px;
  color: var(--rich-text-soft);
}

.rich-list li + li {
  margin-top: 8px;
}

.rich-card-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.rich-card-note {
  max-width: 520px;
  font-size: 0.92rem;
  color: var(--rich-text-muted);
}

.rich-card-bottom .rich-button {
  min-width: 180px;
}

.rich-editorial,
.rich-rg-wrap,
.rich-methodology-card,
.rich-footer-panel,
.rich-legal-panel,
.rich-contact-panel {
  box-shadow: var(--rich-shadow);
}

.rich-editorial {
  padding: 26px;
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(18, 27, 60, 0.96), rgba(16, 22, 47, 0.92));
  border: 1px solid rgba(110, 149, 255, 0.18);
}

.rich-editorial-quote {
  margin: 0 0 18px;
  padding-left: 18px;
  border-left: 3px solid rgba(236, 72, 153, 0.7);
  color: #f8fbff;
  font-size: 1.18rem;
  line-height: 1.55;
}

.rich-editorial p,
.rich-methodology-card p,
.rich-rg-copy p,
.rich-legal-section p,
.rich-contact-card p,
.rich-contact-card li {
  margin: 0 0 16px;
  color: var(--rich-text-soft);
}

.rich-note-stack {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.rich-note {
  border-radius: 20px;
  border: 1px solid rgba(95, 132, 244, 0.24);
  background: rgba(11, 18, 40, 0.7);
  overflow: hidden;
}

.rich-note-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: var(--rich-white);
  cursor: pointer;
  text-align: left;
  font-weight: 700;
}

.rich-note-toggle span:last-child {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.16);
  transition: transform 0.2s ease;
}

.rich-note-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.rich-note-panel-inner {
  padding: 0 18px 18px;
  color: var(--rich-text-soft);
}

.rich-note.rich-note-open .rich-note-toggle span:last-child {
  transform: rotate(45deg);
}

.rich-rg-wrap {
  display: grid;
  gap: 22px;
  padding: 24px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(17, 25, 52, 0.96), rgba(14, 21, 44, 0.94));
  border: 1px solid rgba(97, 131, 244, 0.18);
}

.rich-rg-quote {
  margin: 0;
  padding: 18px 22px;
  border-left: 4px solid var(--rich-blue);
  border-radius: 0 20px 20px 0;
  background: rgba(10, 17, 38, 0.74);
  color: #f6f9ff;
  font-size: 1.04rem;
}

.rich-rg-grid,
.rich-footer-top,
.rich-contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.1fr 0.9fr;
}

.rich-rg-tips,
.rich-rg-links,
.rich-contact-card,
.rich-legal-section {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(12, 19, 41, 0.72);
  border: 1px solid rgba(92, 126, 237, 0.18);
}

.rich-rg-tips h3,
.rich-rg-links h3,
.rich-methodology-card h3,
.rich-contact-card h3,
.rich-footer-panel h3 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
}

.rich-rg-links a,
.rich-footer-inline a,
.rich-inline-link {
  color: #95c5ff;
}

.rich-rg-links a:hover,
.rich-footer-inline a:hover,
.rich-inline-link:hover {
  color: var(--rich-pink);
}

.rich-rg-links p {
  margin: 0 0 10px;
  color: var(--rich-text-soft);
}

.rich-badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 54px;
  padding: 10px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 1.2rem;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.28), rgba(59, 130, 246, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.rich-methodology-wrap {
  display: grid;
  gap: 24px;
}

.rich-methodology-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(17, 24, 51, 0.9);
  box-shadow: var(--rich-shadow);
}

.rich-methodology-table th,
.rich-methodology-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(100, 135, 244, 0.16);
  text-align: left;
}

.rich-methodology-table td:last-child,
.rich-methodology-table th:last-child {
  text-align: right;
}

.rich-methodology-card {
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(170deg, rgba(18, 26, 56, 0.96), rgba(14, 21, 43, 0.92));
  border: 1px solid rgba(101, 136, 244, 0.2);
}

.rich-footer {
  padding: 42px 0 52px;
}

.rich-footer-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(17, 24, 51, 0.98), rgba(12, 18, 38, 0.95));
  border: 1px solid rgba(101, 134, 244, 0.18);
}

.rich-footer-top p,
.rich-footer-panel p,
.rich-legal-lead {
  margin: 0;
  color: var(--rich-text-soft);
}

.rich-trust-badges,
.rich-footer-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.rich-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(20, 29, 61, 0.82);
  border: 1px solid rgba(96, 131, 244, 0.2);
  color: #e2eeff;
}

.rich-footer-fineprint {
  font-size: 0.94rem;
}

.rich-legal-hero {
  padding: 56px 0 18px;
}

.rich-legal-panel,
.rich-contact-panel {
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(18, 26, 56, 0.96), rgba(14, 20, 42, 0.94));
  border: 1px solid rgba(103, 138, 244, 0.18);
}

.rich-legal-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(236, 72, 153, 0.12);
  color: #ffd3ed;
  border: 1px solid rgba(236, 72, 153, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.84rem;
}

.rich-legal-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.rich-legal-layout,
.rich-contact-layout {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

.rich-legal-section h2 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
}

.rich-contact-list {
  margin: 0;
  padding-left: 18px;
}

.rich-contact-box {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(9, 16, 36, 0.66);
  border: 1px solid rgba(92, 126, 237, 0.2);
}

.rich-contact-box strong {
  display: block;
  margin-bottom: 6px;
  color: #f2f7ff;
}

.rich-age-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 9, 23, 0.86);
  backdrop-filter: blur(14px);
}

.rich-age-overlay[hidden] {
  display: none !important;
}

.rich-age-card {
  width: min(100%, 520px);
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(19, 28, 60, 0.98), rgba(13, 19, 39, 0.96));
  border: 1px solid rgba(105, 140, 244, 0.24);
  box-shadow: var(--rich-shadow);
  text-align: center;
}

.rich-age-card h2 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.rich-age-card p {
  margin: 0 0 18px;
  color: var(--rich-text-soft);
}

.rich-age-actions,
.rich-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.rich-age-confirm,
.rich-age-leave,
.rich-cookie-button {
  border: 0;
  cursor: pointer;
}

.rich-cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 110;
  width: min(100% - 32px, 360px);
  padding: 18px;
  border-radius: 24px;
  background: rgba(14, 21, 45, 0.96);
  border: 1px solid rgba(104, 138, 245, 0.22);
  box-shadow: var(--rich-shadow);
}

.rich-cookie-banner[hidden] {
  display: none;
}

.rich-cookie-banner p {
  margin: 0 0 16px;
  color: var(--rich-text-soft);
}

.rich-cookie-button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
}

.rich-cookie-accept {
  background: linear-gradient(90deg, var(--rich-blue), var(--rich-pink));
  color: var(--rich-white);
}

.rich-cookie-decline {
  background: rgba(18, 27, 60, 0.82);
  color: #d8e3ff;
  border: 1px solid rgba(106, 141, 245, 0.24);
}

.rich-top-button {
  position: fixed;
  right: 20px;
  bottom: 104px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--rich-blue), var(--rich-pink));
  color: var(--rich-white);
  box-shadow: 0 16px 34px rgba(59, 130, 246, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.rich-top-button.rich-top-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

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

@keyframes rich-wheel-center {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes rich-spin-wheel-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes rich-gradient-shift {
  0% {
    transform: translateX(-8%);
  }
  50% {
    transform: translateX(8%);
  }
  100% {
    transform: translateX(-8%);
  }
}

@keyframes rich-float-grid {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-12px, 8px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

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

@media (max-width: 900px) {
  .rich-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .rich-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(15, 22, 47, 0.98);
    border: 1px solid rgba(103, 138, 245, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .rich-nav.rich-nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .rich-hero-grid {
    padding: 54px 18px;
  }

  .rich-footer-top,
  .rich-rg-grid,
  .rich-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .rich-brand-line,
  .rich-card-bottom,
  .rich-section-head {
    display: grid;
  }

  .rich-card {
    padding: 22px 18px;
  }

  .rich-offer-box {
    min-width: 0;
  }

  .rich-points-grid {
    grid-template-columns: 1fr;
  }

  .rich-cookie-actions,
  .rich-age-actions {
    flex-direction: column;
  }

  .rich-top-button {
    right: 16px;
    bottom: 96px;
  }
}
