/* Rocket Social Online Casino — retro-future space, 1960s atomic-age optimism.
   Naming convention: rk-* blocks, is-* states, rk-*--mod modifiers. */

:root {
  --rk-indigo: #1A1038;
  --rk-indigo-deep: #110A26;
  --rk-indigo-soft: #271A4D;
  --rk-chrome: #C9D1E8;
  --rk-chrome-dim: #8E97B8;
  --rk-flame: #FF7A2F;
  --rk-flame-hot: #FF9A5C;
  --rk-mint: #3BFFC8;
  --rk-mint-dim: rgba(59, 255, 200, 0.35);
  --rk-display: "Audiowide", "Barlow", sans-serif;
  --rk-body: "Barlow", system-ui, sans-serif;
  --rk-radius: 18px;
  --rk-section-pad: clamp(6rem, 12vw, 10rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--rk-body);
  background: var(--rk-indigo);
  color: var(--rk-chrome);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

img { max-width: 100%; display: block; }

a { color: var(--rk-mint); }

/* ---------- ambient starfield (pure CSS, no assets needed) ---------- */

.rk-stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(201, 209, 232, 0.9), transparent 55%),
    radial-gradient(1.5px 1.5px at 31% 64%, rgba(201, 209, 232, 0.7), transparent 55%),
    radial-gradient(1px 1px at 47% 32%, rgba(59, 255, 200, 0.8), transparent 55%),
    radial-gradient(2px 2px at 63% 76%, rgba(201, 209, 232, 0.55), transparent 55%),
    radial-gradient(1px 1px at 71% 11%, rgba(201, 209, 232, 0.85), transparent 55%),
    radial-gradient(1.5px 1.5px at 84% 49%, rgba(255, 122, 47, 0.65), transparent 55%),
    radial-gradient(1px 1px at 92% 83%, rgba(201, 209, 232, 0.7), transparent 55%),
    radial-gradient(1px 1px at 7% 88%, rgba(59, 255, 200, 0.6), transparent 55%),
    radial-gradient(1.5px 1.5px at 55% 92%, rgba(201, 209, 232, 0.5), transparent 55%),
    radial-gradient(1px 1px at 23% 41%, rgba(201, 209, 232, 0.75), transparent 55%);
  animation: rk-twinkle 7s ease-in-out infinite alternate;
}

@keyframes rk-twinkle {
  from { opacity: 0.55; }
  to   { opacity: 1; }
}

.rk-page { position: relative; z-index: 1; }

/* ---------- floating pill nav ---------- */

.rk-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(17, 10, 38, 0.78);
  border: 1px solid rgba(201, 209, 232, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  max-width: calc(100vw - 20px);
}

.rk-nav-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--rk-chrome);
}

.rk-nav-brand svg { width: 32px; height: 32px; flex: none; }

.rk-nav-brand b {
  font-family: var(--rk-display);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #fff;
}

.rk-nav-brand small {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rk-chrome-dim);
}

.rk-nav-links { display: flex; align-items: center; gap: 4px; }

.rk-nav-links a {
  color: var(--rk-chrome);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease;
}

.rk-nav-links a:hover { background: rgba(59, 255, 200, 0.12); color: var(--rk-mint); }

.rk-coinchip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(59, 255, 200, 0.1);
  border: 1px solid var(--rk-mint-dim);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--rk-mint);
}

.rk-coinchip::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--rk-flame-hot), var(--rk-flame) 65%);
  box-shadow: inset 0 0 0 2px rgba(26, 16, 56, 0.35);
}

.rk-adult {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--rk-flame);
  color: var(--rk-flame);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

/* ---------- buttons ---------- */

.rk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--rk-display);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2), box-shadow 0.35s ease, background 0.35s ease;
}

.rk-btn--flare {
  background: linear-gradient(180deg, var(--rk-flame-hot), var(--rk-flame));
  color: var(--rk-indigo-deep);
  box-shadow: 0 8px 30px rgba(255, 122, 47, 0.35);
}

.rk-btn--flare:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 44px rgba(255, 122, 47, 0.5); }

.rk-btn--ghost {
  background: transparent;
  color: var(--rk-mint);
  border: 2px solid var(--rk-mint-dim);
}

.rk-btn--ghost:hover { background: rgba(59, 255, 200, 0.1); border-color: var(--rk-mint); transform: translateY(-2px); }

.rk-btn--xl { padding: 18px 42px; font-size: 1.02rem; }
.rk-btn--md { padding: 12px 26px; font-size: 0.86rem; }
.rk-btn--sm { padding: 9px 20px; font-size: 0.74rem; }

.rk-btn:disabled { opacity: 0.45; cursor: default; transform: none; box-shadow: none; }

/* ---------- layout primitives ---------- */

.rk-shell { width: min(1180px, 92vw); margin: 0 auto; }

.rk-section { padding: var(--rk-section-pad) 0; position: relative; }

.rk-kicker {
  font-family: var(--rk-display);
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--rk-mint);
  margin-bottom: 18px;
}

.rk-h2 {
  font-family: var(--rk-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  color: #fff;
  line-height: 1.12;
  max-width: 56rem;
}

/* scroll reveal (IntersectionObserver adds is-in; safe without JS) */

[data-rk-reveal] {
  opacity: 0;
  transform: translateY(34px) scale(0.97);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 0.84, 0.3, 1);
}

[data-rk-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-rk-reveal] { opacity: 1; transform: none; transition: none; }
  .rk-stars, .rk-hero-mascot, .rk-orbit-ring, .rk-marquee-track { animation: none !important; }
}

.no-js [data-rk-reveal] { opacity: 1; transform: none; }

/* ---------- hero: cinematic center ---------- */

.rk-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 0 110px;
  overflow: hidden;
}

.rk-hero-art {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}

.rk-hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 60% at 50% 42%, rgba(39, 26, 77, 0.25), rgba(26, 16, 56, 0.88) 78%),
    linear-gradient(180deg, rgba(17, 10, 38, 0.35), rgba(26, 16, 56, 0.95));
}

.rk-hero-core { position: relative; z-index: 2; width: min(64rem, 92vw); margin: 0 auto; }

.rk-h1 {
  font-family: var(--rk-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  line-height: 1.06;
  color: #fff;
  text-shadow: 0 0 60px rgba(59, 255, 200, 0.25);
}

.rk-h1 em {
  font-style: normal;
  color: var(--rk-flame);
  text-shadow: 0 0 50px rgba(255, 122, 47, 0.45);
}

.rk-hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--rk-chrome);
  max-width: 44rem;
  margin: 26px auto 0;
}

.rk-hero-sub strong { color: var(--rk-mint); }

.rk-hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.rk-finesse {
  margin-top: 34px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--rk-chrome-dim);
}

.rk-hero-mascot {
  position: absolute;
  z-index: 1;
  right: clamp(-40px, 2vw, 70px);
  bottom: -28px;
  width: clamp(180px, 23vw, 330px);
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.55));
  animation: rk-drift 6.5s ease-in-out infinite alternate;
}

@keyframes rk-drift {
  from { transform: translateY(0) rotate(-2deg); }
  to   { transform: translateY(-22px) rotate(2deg); }
}

.rk-orbit-ring {
  position: absolute;
  z-index: 0;
  width: clamp(340px, 46vw, 640px);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  border: 1px dashed rgba(59, 255, 200, 0.22);
  border-radius: 50%;
  animation: rk-orbit 60s linear infinite;
}

.rk-orbit-ring::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rk-mint);
  box-shadow: 0 0 18px var(--rk-mint);
}

@keyframes rk-orbit { to { rotate: 360deg; } }

/* ---------- lobby: asymmetric gapless grid ---------- */

.rk-lobby {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 22px;
  margin-top: 56px;
}

.rk-pod {
  grid-column: span 1;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--rk-radius);
  overflow: hidden;
  background: linear-gradient(180deg, var(--rk-indigo-soft), var(--rk-indigo-deep));
  border: 1px solid rgba(201, 209, 232, 0.14);
  text-decoration: none;
  color: var(--rk-chrome);
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.1), border-color 0.5s ease, box-shadow 0.5s ease;
}

.rk-pod:hover {
  transform: translateY(-6px);
  border-color: var(--rk-mint-dim);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(59, 255, 200, 0.18);
}

.rk-pod--prime { grid-column: span 2; }

.rk-pod-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--rk-indigo-soft);
  overflow: hidden;
}

.rk-pod--prime .rk-pod-visual { aspect-ratio: 21 / 10; }

.rk-pod-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(17, 10, 38, 0.85));
  transition: opacity 0.5s ease;
}

.rk-pod:hover .rk-pod-visual { transform: scale(1.04); transition: transform 0.7s ease-out; }

.rk-pod-deck {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px 20px;
}

.rk-pod-deck h3 {
  font-family: var(--rk-display);
  font-weight: 400;
  font-size: 1.18rem;
  color: #fff;
  letter-spacing: 0.03em;
}

.rk-pod-deck p { font-size: 0.85rem; color: var(--rk-chrome-dim); margin-top: 4px; }

.rk-pod-deck .rk-btn { flex: none; }

/* ---------- features: gapless bento ---------- */

.rk-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 22px;
  margin-top: 56px;
}

.rk-cellblock {
  border-radius: var(--rk-radius);
  border: 1px solid rgba(201, 209, 232, 0.14);
  background: linear-gradient(160deg, var(--rk-indigo-soft), var(--rk-indigo-deep));
  padding: 34px 32px;
  position: relative;
  overflow: hidden;
}

.rk-cellblock--wide { grid-column: span 2; }

.rk-cellblock h3 {
  font-family: var(--rk-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: #fff;
  margin: 18px 0 10px;
}

.rk-cellblock p { color: var(--rk-chrome-dim); font-size: 0.98rem; max-width: 38rem; }

.rk-cellblock p strong { color: var(--rk-mint); }

.rk-glyph {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(59, 255, 200, 0.1);
  border: 1px solid var(--rk-mint-dim);
}

.rk-glyph svg { width: 24px; height: 24px; }

.rk-cellblock-art {
  position: absolute;
  right: -14px;
  bottom: -18px;
  width: 150px;
  opacity: 0.9;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

/* ---------- compliance marquee ---------- */

.rk-marquee {
  overflow: hidden;
  border-top: 1px solid rgba(201, 209, 232, 0.12);
  border-bottom: 1px solid rgba(201, 209, 232, 0.12);
  background: var(--rk-indigo-deep);
  padding: 16px 0;
}

.rk-marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: rk-glide 36s linear infinite;
}

.rk-marquee-track span {
  font-family: var(--rk-display);
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rk-chrome-dim);
  padding: 0 28px;
  white-space: nowrap;
}

.rk-marquee-track span::after { content: "\2726"; color: var(--rk-flame); margin-left: 56px; }

@keyframes rk-glide { to { transform: translateX(-50%); } }

/* ---------- daily drop ---------- */

.rk-drop {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  border-radius: 28px;
  border: 1px solid rgba(59, 255, 200, 0.2);
  background:
    radial-gradient(ellipse 90% 120% at 12% 50%, rgba(59, 255, 200, 0.07), transparent 60%),
    linear-gradient(160deg, var(--rk-indigo-soft), var(--rk-indigo-deep));
  padding: clamp(30px, 5vw, 64px);
}

.rk-drop-capsule { position: relative; }

.rk-drop-capsule img {
  animation: rk-drift 8s ease-in-out infinite alternate;
  filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.55));
}

.rk-drop h2 {
  font-family: var(--rk-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  color: #fff;
  line-height: 1.15;
}

.rk-drop h2 em { font-style: normal; color: var(--rk-mint); }

.rk-drop p { margin: 16px 0 28px; color: var(--rk-chrome-dim); max-width: 36rem; }

.rk-drop-state { margin-top: 16px; font-size: 0.9rem; color: var(--rk-mint); min-height: 1.4em; }

/* ---------- final CTA ---------- */

.rk-launchpad { text-align: center; }

.rk-launchpad .rk-h2 { margin: 0 auto 18px; }

.rk-launchpad p { color: var(--rk-chrome-dim); max-width: 40rem; margin: 0 auto 36px; }

/* ---------- compliance footer ---------- */

.rk-ground {
  border-top: 1px solid rgba(201, 209, 232, 0.12);
  background: var(--rk-indigo-deep);
  padding: 64px 0 40px;
  margin-top: var(--rk-section-pad);
}

.rk-ground-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 122, 47, 0.4);
  background: rgba(255, 122, 47, 0.07);
  color: var(--rk-chrome);
  font-size: 0.94rem;
  margin-bottom: 44px;
}

.rk-ground-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}

.rk-ground-grid h3 {
  font-family: var(--rk-display);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}

.rk-ground-grid p { font-size: 0.88rem; color: var(--rk-chrome-dim); }

.rk-ground-grid ul { list-style: none; }

.rk-ground-grid li { margin-bottom: 10px; }

.rk-ground-grid li a {
  color: var(--rk-chrome);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 4px 0;
  display: inline-block;
}

.rk-ground-grid li a:hover { color: var(--rk-mint); }

.rk-ground-tail {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(201, 209, 232, 0.1);
  font-size: 0.8rem;
  color: var(--rk-chrome-dim);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.rk-ground-tail a { color: var(--rk-chrome-dim); }

/* ---------- slot machine ---------- */

.rk-cockpit { padding: 140px 0 0; }

.rk-cockpit-head {
  display: flex;
  align-items: baseline;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.rk-cockpit-head h1 {
  font-family: var(--rk-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  color: #fff;
}

.rk-backlink {
  color: var(--rk-mint);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.rk-backlink:hover { text-decoration: underline; }

.rk-machine {
  border-radius: 26px;
  border: 1px solid rgba(59, 255, 200, 0.22);
  background:
    radial-gradient(ellipse 120% 90% at 50% -10%, rgba(59, 255, 200, 0.08), transparent 55%),
    linear-gradient(180deg, var(--rk-indigo-soft), var(--rk-indigo-deep));
  padding: clamp(18px, 3.4vw, 40px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.rk-reelbay {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(6px, 1.2vw, 14px);
}

.rk-reel {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: clamp(6px, 1.2vw, 14px);
}

.rk-cell {
  aspect-ratio: 1;
  border-radius: 14px;
  background: rgba(17, 10, 38, 0.85);
  border: 1px solid rgba(201, 209, 232, 0.12);
  display: grid;
  place-items: center;
  padding: 9%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.rk-cell img { width: 100%; height: 100%; object-fit: contain; }

.rk-reel.is-blur .rk-cell img {
  filter: blur(3px) brightness(1.15);
  animation: rk-shudder 0.12s linear infinite;
}

@keyframes rk-shudder {
  0%   { transform: translateY(-7%); }
  50%  { transform: translateY(7%); }
  100% { transform: translateY(-7%); }
}

.rk-reel.is-landed .rk-cell img { animation: rk-land 0.34s cubic-bezier(0.2, 1.4, 0.4, 1); }

@keyframes rk-land {
  0%   { transform: translateY(-26%); }
  60%  { transform: translateY(7%); }
  100% { transform: translateY(0); }
}

.rk-cell.is-hit {
  border-color: var(--rk-mint);
  box-shadow: 0 0 0 2px rgba(59, 255, 200, 0.5), 0 0 28px rgba(59, 255, 200, 0.35);
  animation: rk-hitpulse 0.9s ease-in-out 2;
}

@keyframes rk-hitpulse {
  50% { box-shadow: 0 0 0 4px rgba(59, 255, 200, 0.8), 0 0 44px rgba(59, 255, 200, 0.6); }
}

.rk-console {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.rk-betdial {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(201, 209, 232, 0.2);
  border-radius: 999px;
  padding: 6px;
  background: rgba(17, 10, 38, 0.7);
}

.rk-betdial .rk-betlabel {
  font-family: var(--rk-display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rk-chrome-dim);
  padding: 0 8px 0 14px;
}

.rk-betdial button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--rk-mint-dim);
  background: rgba(59, 255, 200, 0.08);
  color: var(--rk-mint);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease;
}

.rk-betdial button:hover { background: rgba(59, 255, 200, 0.2); }

.rk-betdial output {
  min-width: 78px;
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}

.rk-result {
  flex: 1;
  text-align: center;
  font-family: var(--rk-display);
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  letter-spacing: 0.08em;
  color: var(--rk-mint);
  min-height: 1.5em;
}

.rk-result.is-flash { animation: rk-resultpop 0.5s cubic-bezier(0.2, 1.6, 0.4, 1); }

@keyframes rk-resultpop {
  0%  { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ---------- paytable ---------- */

.rk-paytable { margin-top: 64px; }

.rk-paytable h2 {
  font-family: var(--rk-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 26px;
}

.rk-payrows { display: grid; gap: 12px; }

.rk-payrow {
  display: grid;
  grid-template-columns: 64px 1fr repeat(3, minmax(64px, 110px));
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(201, 209, 232, 0.12);
  background: rgba(17, 10, 38, 0.6);
}

.rk-payrow img { width: 52px; height: 52px; object-fit: contain; }

.rk-payrow .rk-payname { font-weight: 700; color: #fff; }

.rk-payrow .rk-payname small { display: block; font-weight: 600; color: var(--rk-flame); font-size: 0.76rem; }

.rk-payrow data {
  text-align: center;
  font-weight: 700;
  color: var(--rk-mint);
  font-size: 0.96rem;
}

.rk-payrow data::after {
  content: attr(data-of);
  display: block;
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rk-chrome-dim);
}

.rk-paynote { margin-top: 22px; font-size: 0.85rem; color: var(--rk-chrome-dim); max-width: 52rem; }

/* ---------- legal pages ---------- */

.rk-legal { padding: 150px 0 60px; max-width: 50rem; }

.rk-legal h1 {
  font-family: var(--rk-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3rem);
  color: #fff;
  margin-bottom: 8px;
}

.rk-legal .rk-stamp { color: var(--rk-chrome-dim); font-size: 0.86rem; margin-bottom: 36px; }

.rk-legal h2 {
  font-family: var(--rk-display);
  font-weight: 400;
  font-size: 1.18rem;
  color: var(--rk-mint);
  margin: 34px 0 12px;
}

.rk-legal p, .rk-legal li { color: var(--rk-chrome); font-size: 0.98rem; }

.rk-legal ul { padding-left: 22px; margin: 10px 0; }

.rk-legal li { margin-bottom: 8px; }

/* ---------- toast ---------- */

.rk-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 140%);
  z-index: 80;
  background: var(--rk-indigo-deep);
  border: 1px solid var(--rk-mint);
  color: var(--rk-mint);
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6), 0 0 24px rgba(59, 255, 200, 0.2);
  transition: transform 0.45s cubic-bezier(0.2, 1.2, 0.35, 1);
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
}

.rk-toast.is-live { transform: translate(-50%, 0); }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .rk-nav-links a { padding: 8px 9px; font-size: 0.8rem; }
  .rk-ground-grid { grid-template-columns: 1fr 1fr; }
  .rk-ground-grid > div:first-child { grid-column: span 2; }
}

@media (max-width: 760px) {
  .rk-nav { gap: 10px; padding: 8px 14px; }
  .rk-nav-brand small { display: none; }
  .rk-nav-links a[data-rk-secondary] { display: none; }
  .rk-lobby { grid-template-columns: 1fr; }
  .rk-pod--prime { grid-column: span 1; }
  .rk-bento { grid-template-columns: 1fr; }
  .rk-cellblock--wide { grid-column: span 1; }
  .rk-drop { grid-template-columns: 1fr; }
  .rk-drop-capsule { max-width: 240px; margin: 0 auto; }
  .rk-hero-mascot { width: 170px; right: -22px; bottom: -14px; opacity: 0.9; }
  .rk-payrow { grid-template-columns: 44px 1fr repeat(3, minmax(46px, 70px)); gap: 8px; padding: 10px 12px; }
  .rk-payrow img { width: 38px; height: 38px; }
  .rk-console { justify-content: center; }
  .rk-result { flex-basis: 100%; order: 3; }
}

/* language switcher (injected) */
.lang-switch { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; font-weight: 800; font-size: 0.8rem; letter-spacing: 1px; }
.lang-switch a, .lang-switch .current { display: inline-block; padding: 8px 10px; color: inherit; opacity: 0.65; text-decoration: none; }
.lang-switch a:hover { opacity: 1; }
.lang-switch .current { opacity: 1; font-weight: 900; border-bottom: 2px solid currentColor; }
