/* ============================================================================
 * SMASH BURGER — redesign.css
 * Shared design system. Refines the existing brand (SMASH orange + ink + cream
 * + gold), adds depth, a coherent type scale, spacing rhythm, buttons, cards,
 * header/nav, hero, sections, motion. Mobile-first. Self-contained — no
 * render-blocking external font import (uses the fonts each page already loads,
 * with a full system-stack fallback).
 *
 * Grounded in: img/brand/_BRAND-COLORS.json + the inline tokens already in
 * index.html / menu.html / games/index.html / play.html.
 *
 * Two surface modes:
 *   - LIGHT (default): cream + ink, for home / menu / about / visit
 *   - DARK  (.surface-dark / [data-surface="dark"]): ink + gold, for games / play
 *
 * Bilingual: supports all three existing MK/EN mechanisms unchanged
 *   - [data-lang-mk] / [data-lang-en]   (home)
 *   - .lang-mk-only / .lang-en-only      (menu)
 *   - [data-i18n]                        (games — JS-driven, untouched)
 *
 * Usage: <link rel="stylesheet" href="/assets/redesign.css"> — load AFTER the
 * page's own <style> so it can layer on top, OR adopt it as the base. This file
 * does NOT restyle existing pages on its own; pages opt in via its class names.
 * ========================================================================== */

/* ---------------------------------------------------------------------------
 * 1. DESIGN TOKENS
 * ------------------------------------------------------------------------- */
:root {
  /* --- Brand core (spec, unchanged from existing build) --- */
  --smash-orange: #d9480f;
  --smash-orange-hover: #e8590c;
  --smash-orange-deep: #b73a08; /* pressed / dark-surface variant */
  --smash-orange-tint: #fbe6db; /* faint orange wash on cream */

  --smash-ink: #1a1411; /* primary dark / headings on light */
  --smash-ink-2: #241a16; /* raised dark panel */
  --smash-ink-3: #0f0a08; /* deepest dark / footer */
  --smash-charcoal: #212529;

  --smash-cream: #fbf5ec; /* page bg (light) */
  --smash-cream-2: #f5efe6; /* raised card on cream */
  --smash-cream-3: #fffdf9; /* white-ish card */
  --smash-white: #ffffff;

  --smash-gold: #c9a24a; /* editorial accent (light surfaces) */
  --smash-gold-2: #b88f3c;
  --smash-gold-bright: #d4af37; /* games / dark surface accent */
  --smash-gold-soft: #e8c76a;
  --smash-gold-deep: #a88421;

  --smash-green: #2f9e44; /* "open now" / lenten / success */

  /* --- Text --- */
  --smash-text: #3b342f; /* body on light */
  --smash-text-strong: var(--smash-ink);
  --smash-muted: #8a7f76; /* secondary on light */
  --smash-text-on-dark: #f3ece1;
  --smash-muted-on-dark: rgba(255, 255, 255, 0.62);
  --smash-muted-on-dark-2: rgba(255, 255, 255, 0.42);

  /* --- Lines / borders --- */
  --smash-border: #efe2d7;
  --smash-border-2: #e8dfd0;
  --smash-hairline: rgba(26, 20, 17, 0.08);
  --smash-line-on-dark: rgba(255, 255, 255, 0.1);

  /* --- Elevation (depth — this is the "add depth" goal) --- */
  --smash-shadow-xs: 0 1px 2px rgba(26, 20, 17, 0.05);
  --smash-shadow-sm: 0 2px 8px rgba(26, 20, 17, 0.06);
  --smash-shadow-md: 0 8px 24px rgba(26, 20, 17, 0.08);
  --smash-shadow-lg: 0 16px 40px rgba(26, 20, 17, 0.12);
  --smash-shadow-orange: 0 10px 30px rgba(217, 72, 15, 0.35);
  --smash-shadow-orange-lift: 0 14px 38px rgba(217, 72, 15, 0.45);
  --smash-shadow-gold: 0 24px 60px -28px rgba(212, 175, 55, 0.45);

  /* --- Type families (page already loads Anton + Inter + Cormorant) --- */
  --smash-font-display: "Anton", Impact, "Haettenschweiler",
    "Arial Narrow Bold", sans-serif;
  --smash-font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --smash-font-editorial: "Cormorant Garamond", Georgia, "Times New Roman",
    serif;

  /* --- Type scale (fluid, mobile-first) --- */
  --smash-fs-eyebrow: 12px;
  --smash-fs-small: 13px;
  --smash-fs-body: 16px;
  --smash-fs-lead: clamp(16px, 1.4vw, 18px);
  --smash-fs-h4: clamp(18px, 2vw, 20px);
  --smash-fs-h3: clamp(22px, 3vw, 28px);
  --smash-fs-h2: clamp(34px, 6vw, 64px);
  --smash-fs-h1: clamp(44px, 9vw, 84px);
  --smash-fs-hero: clamp(64px, 15vw, 180px);

  /* --- Spacing rhythm (4px base) --- */
  --smash-space-1: 4px;
  --smash-space-2: 8px;
  --smash-space-3: 12px;
  --smash-space-4: 16px;
  --smash-space-5: 24px;
  --smash-space-6: 32px;
  --smash-space-7: 48px;
  --smash-space-8: 64px;
  --smash-space-9: 88px;
  --smash-space-10: 120px;

  /* --- Radii --- */
  --smash-radius-xs: 4px;
  --smash-radius-sm: 8px;
  --smash-radius-md: 12px;
  --smash-radius-lg: 16px;
  --smash-radius-pill: 999px;

  /* --- Layout --- */
  --smash-maxw: 1200px;
  --smash-maxw-wide: 1400px;
  --smash-maxw-prose: 720px;
  --smash-gutter: 24px;

  /* --- Motion --- */
  --smash-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --smash-dur-fast: 0.15s;
  --smash-dur: 0.2s;
  --smash-dur-slow: 0.4s;
}

/* ---------------------------------------------------------------------------
 * 2. RESET / BASE  (scoped to opt-in via .smash-rd on <body> to be safe)
 *    Pages adopt the system by adding class="smash-rd" to <body>.
 * ------------------------------------------------------------------------- */
.smash-rd *,
.smash-rd *::before,
.smash-rd *::after {
  box-sizing: border-box;
}
.smash-rd {
  margin: 0;
  background: var(--smash-cream);
  color: var(--smash-text);
  font-family: var(--smash-font-body);
  font-size: var(--smash-fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
.smash-rd img {
  display: block;
  max-width: 100%;
  height: auto;
}
.smash-rd a {
  color: inherit;
  text-decoration: none;
}
.smash-rd button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

/* Dark surface mode */
.surface-dark,
[data-surface="dark"] {
  background: var(--smash-ink);
  color: var(--smash-text-on-dark);
}

/* ---------------------------------------------------------------------------
 * 3. LAYOUT PRIMITIVES
 * ------------------------------------------------------------------------- */
.rd-wrap {
  max-width: var(--smash-maxw);
  margin: 0 auto;
  padding: 0 var(--smash-gutter);
}
.rd-wrap--wide {
  max-width: var(--smash-maxw-wide);
}
@media (min-width: 900px) {
  .rd-wrap {
    padding: 0 64px;
  }
}
@media (min-width: 1280px) {
  .rd-wrap {
    padding: 0 120px;
  }
}

.rd-section {
  position: relative;
  padding: var(--smash-space-9) 0;
}
@media (min-width: 900px) {
  .rd-section {
    padding: var(--smash-space-10) 0;
  }
}
.rd-section--tight {
  padding: var(--smash-space-7) 0;
}

.rd-sec-head {
  margin-bottom: var(--smash-space-7);
  max-width: 760px;
}

/* Section surface helpers */
.rd-on-cream {
  background: var(--smash-cream);
}
.rd-on-cream-2 {
  background: var(--smash-cream-2);
}
.rd-on-ink {
  background: var(--smash-ink);
  color: var(--smash-white);
}
.rd-on-orange {
  background: var(--smash-orange);
  color: var(--smash-white);
}

/* ---------------------------------------------------------------------------
 * 4. TYPE PRIMITIVES
 * ------------------------------------------------------------------------- */
.rd-eyebrow {
  font-family: var(--smash-font-body);
  font-weight: 800;
  font-size: var(--smash-fs-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smash-orange);
  line-height: 1.2;
  margin: 0 0 var(--smash-space-5) 0;
}
.rd-eyebrow.on-dark {
  color: #f5b08a;
}
.rd-eyebrow.on-gold {
  color: var(--smash-gold-soft);
}

.rd-h1 {
  font-family: var(--smash-font-display);
  font-weight: 400;
  font-size: var(--smash-fs-h1);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--smash-ink);
  margin: 0;
}
.rd-h2 {
  font-family: var(--smash-font-display);
  font-weight: 400;
  font-size: var(--smash-fs-h2);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--smash-ink);
  margin: 0;
}
.rd-h3 {
  font-family: var(--smash-font-display);
  font-weight: 400;
  font-size: var(--smash-fs-h3);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--smash-ink);
  margin: 0;
}
.rd-h4 {
  font-family: var(--smash-font-display);
  font-weight: 400;
  font-size: var(--smash-fs-h4);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--smash-ink);
  margin: 0;
}
/* On dark surfaces headings flip to white */
.surface-dark .rd-h1,
.surface-dark .rd-h2,
.surface-dark .rd-h3,
.surface-dark .rd-h4,
.rd-on-ink .rd-h1,
.rd-on-ink .rd-h2,
.rd-on-ink .rd-h3,
.rd-on-ink .rd-h4,
.rd-on-orange .rd-h1,
.rd-on-orange .rd-h2 {
  color: var(--smash-white);
}

.rd-quote {
  font-family: var(--smash-font-editorial);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.25;
  color: var(--smash-text);
  margin: 0;
}
.rd-lead {
  font-size: var(--smash-fs-lead);
  line-height: 1.6;
  color: var(--smash-text);
  margin: 0;
}
.rd-on-ink .rd-lead,
.surface-dark .rd-lead {
  color: var(--smash-muted-on-dark);
}
.rd-small {
  font-size: var(--smash-fs-small);
  line-height: 1.45;
  color: var(--smash-muted);
}
.rd-accent-gold {
  color: var(--smash-gold);
}
.rd-accent-orange {
  color: var(--smash-orange);
}

/* ---------------------------------------------------------------------------
 * 5. BUTTONS
 * ------------------------------------------------------------------------- */
.rd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--smash-space-2);
  font-family: var(--smash-font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 28px;
  min-height: 52px;
  border-radius: var(--smash-radius-pill);
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--smash-dur) var(--smash-ease),
    border-color var(--smash-dur) var(--smash-ease),
    color var(--smash-dur) var(--smash-ease),
    transform var(--smash-dur-fast) var(--smash-ease),
    box-shadow var(--smash-dur) var(--smash-ease);
}
.rd-btn:focus-visible {
  outline: 3px solid var(--smash-orange);
  outline-offset: 2px;
}

.rd-btn--primary {
  background: var(--smash-orange);
  color: #fff;
  box-shadow: var(--smash-shadow-sm);
}
.rd-btn--primary:hover {
  background: var(--smash-orange-hover);
  transform: translateY(-1px);
  box-shadow: var(--smash-shadow-orange);
}
.rd-btn--gold {
  background: transparent;
  color: var(--smash-gold);
  border-color: var(--smash-gold);
}
.rd-btn--gold:hover {
  background: var(--smash-gold);
  color: #fff;
}
.rd-btn--dark {
  background: var(--smash-ink);
  color: #fff;
}
.rd-btn--dark:hover {
  background: #000;
  transform: translateY(-1px);
}
.rd-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.rd-btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.rd-btn--ghost-ink {
  background: transparent;
  color: var(--smash-ink);
  border-color: var(--smash-ink);
}
.rd-btn--ghost-ink:hover {
  background: var(--smash-ink);
  color: #fff;
}
.rd-btn--block {
  width: 100%;
}
.rd-btn--lg {
  padding: 20px 36px;
  min-height: 60px;
  font-size: 15px;
  letter-spacing: 0.1em;
}
.rd-btn--lg.rd-btn--primary {
  box-shadow: var(--smash-shadow-orange),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.rd-btn--lg.rd-btn--primary:hover {
  box-shadow: var(--smash-shadow-orange-lift),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transform: translateY(-2px);
}
.rd-btn--arrow::after {
  content: "\2192";
  margin-left: 6px;
  transition: transform var(--smash-dur) var(--smash-ease);
}
.rd-btn--arrow:hover::after {
  transform: translateX(3px);
}
.rd-btn[disabled],
.rd-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Text link with hairline underline */
.rd-link {
  font-family: var(--smash-font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smash-ink);
  border-bottom: 1px solid var(--smash-border);
  transition: border-color var(--smash-dur-fast) var(--smash-ease),
    color var(--smash-dur-fast) var(--smash-ease);
}
.rd-link:hover {
  border-color: var(--smash-ink);
}
.rd-link--orange {
  color: var(--smash-orange);
  border-color: var(--smash-orange-tint);
}
.rd-link--orange:hover {
  border-color: var(--smash-orange);
}

/* ---------------------------------------------------------------------------
 * 6. HEADER + NAV  (sticky, glass)
 * ------------------------------------------------------------------------- */
.rd-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 20, 17, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.rd-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
@media (min-width: 900px) {
  .rd-header__row {
    height: 80px;
  }
}

.rd-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.rd-logo__disc {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--smash-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(217, 72, 15, 0.4);
}
.rd-logo__disc img {
  width: 30px;
  height: auto;
  filter: invert(1) brightness(1.1);
}
.rd-logo__disc--letter {
  font-family: var(--smash-font-display);
  font-size: 18px;
  color: #fff;
}
.rd-logo__text {
  font-family: var(--smash-font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
}
@media (max-width: 560px) {
  .rd-logo__text {
    display: none;
  }
}

.rd-nav {
  display: none;
}
@media (min-width: 900px) {
  .rd-nav {
    display: flex;
    gap: 32px;
    align-items: center;
  }
  .rd-nav a {
    font-family: var(--smash-font-body);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    transition: color var(--smash-dur-fast) var(--smash-ease);
  }
  .rd-nav a:hover {
    color: #fff;
  }
}

.rd-header__right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* Language toggle (generic — works with all 3 page mechanisms via JS) */
.rd-lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--smash-radius-pill);
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.rd-lang button {
  font-family: var(--smash-font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  transition: background var(--smash-dur-fast) var(--smash-ease),
    color var(--smash-dur-fast) var(--smash-ease);
}
.rd-lang button.is-active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.rd-lang button:hover {
  color: #fff;
}

/* ---------------------------------------------------------------------------
 * 7. HERO  (flashy, app-style)
 * ------------------------------------------------------------------------- */
.rd-hero {
  position: relative;
  background: var(--smash-ink);
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  padding: 80px 0 40px;
}
.rd-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0f0b09;
  overflow: hidden;
}
.rd-hero__bg img,
.rd-hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.38;
  filter: saturate(0.9) contrast(1.05);
  transform-origin: center;
  animation: rd-kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes rd-kenburns {
  0% {
    transform: scale(1.05) translate(0, 0);
  }
  100% {
    transform: scale(1.18) translate(-1.5%, 1%);
  }
}
.rd-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
      ellipse at 70% 30%,
      rgba(217, 72, 15, 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 20% 80%,
      rgba(201, 162, 74, 0.1) 0%,
      transparent 60%
    );
}
.rd-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
      180deg,
      rgba(26, 20, 17, 0.3) 0%,
      rgba(15, 11, 9, 0.55) 50%,
      rgba(15, 11, 9, 0.92) 100%
    ),
    radial-gradient(
      ellipse at center,
      transparent 30%,
      rgba(15, 11, 9, 0.55) 100%
    );
}
.rd-hero__inner {
  position: relative;
  z-index: 4;
  width: 100%;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--smash-space-5);
  padding: 0 8px;
}
.rd-hero__mark {
  font-family: var(--smash-font-display);
  font-weight: 400;
  font-size: var(--smash-fs-hero);
  line-height: 0.88;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.55);
}
.rd-hero__mark .acc {
  color: var(--smash-orange);
}
.rd-hero__mark .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--smash-orange);
  text-shadow: 0 4px 28px rgba(217, 72, 15, 0.35);
}
.rd-hero__tagline {
  font-family: var(--smash-font-display);
  font-weight: 400;
  font-size: clamp(15px, 2.2vw, 22px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
}
.rd-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}
@media (max-width: 560px) {
  .rd-hero__ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
  }
  .rd-hero__ctas .rd-btn {
    width: 100%;
  }
}

/* Live status pill */
.rd-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: var(--smash-radius-pill);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--smash-font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}
.rd-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--smash-green);
  box-shadow: 0 0 0 4px rgba(47, 158, 68, 0.22);
  animation: rd-pulse-dot 1.8s ease-in-out infinite;
}
.rd-pill[data-state="closed"] .rd-pill__dot {
  background: #a0908a;
  box-shadow: none;
  animation: none;
}
@keyframes rd-pulse-dot {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 4px rgba(47, 158, 68, 0.22);
  }
  50% {
    opacity: 0.55;
    box-shadow: 0 0 0 7px rgba(47, 158, 68, 0.1);
  }
}

/* Entrance animations (opt-in via .rd-anim-*) */
.rd-anim-down {
  opacity: 0;
  transform: translateY(-8px);
  animation: rd-fade-down 0.9s var(--smash-ease) 0.15s forwards;
}
.rd-anim-mark {
  opacity: 0;
  transform: scale(0.94);
  animation: rd-mark-in 1.1s var(--smash-ease) 0.25s forwards;
}
.rd-anim-up {
  opacity: 0;
  transform: translateY(10px);
  animation: rd-fade-up 0.9s var(--smash-ease) forwards;
}
.rd-anim-up.d1 {
  animation-delay: 0.85s;
}
.rd-anim-up.d2 {
  animation-delay: 1.15s;
}
@keyframes rd-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes rd-fade-down {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes rd-mark-in {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(8px);
    filter: blur(6px);
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

/* Scroll hint */
.rd-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 5;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--smash-font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.rd-scroll-hint:hover {
  color: #fff;
}
.rd-scroll-hint svg {
  width: 18px;
  height: 18px;
  animation: rd-chev 1.8s ease-in-out infinite;
}
@keyframes rd-chev {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(4px);
    opacity: 1;
  }
}

/* ---------------------------------------------------------------------------
 * 8. CARDS
 * ------------------------------------------------------------------------- */

/* Generic grid */
.rd-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .rd-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .rd-grid--3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
@media (min-width: 1040px) {
  .rd-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.rd-grid--auto {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Menu / product card (light) */
.rd-card {
  display: flex;
  flex-direction: column;
  background: var(--smash-cream-3);
  border: 1px solid var(--smash-border);
  border-radius: var(--smash-radius-lg);
  overflow: hidden;
  transition: transform var(--smash-dur) var(--smash-ease),
    box-shadow var(--smash-dur) var(--smash-ease),
    border-color var(--smash-dur) var(--smash-ease);
}
.rd-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--smash-shadow-md);
  border-color: #d8c9bb;
}
.rd-card:focus-visible {
  outline: 3px solid var(--smash-orange);
  outline-offset: 2px;
}
.rd-card__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #2a1f18, var(--smash-ink));
  overflow: hidden;
}
.rd-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--smash-dur-slow) var(--smash-ease);
}
.rd-card:hover .rd-card__photo img {
  transform: scale(1.04);
}
.rd-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.rd-card__name {
  font-family: var(--smash-font-display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--smash-ink);
  margin: 0;
}
.rd-card__name-alt {
  font-family: var(--smash-font-editorial);
  font-style: italic;
  font-weight: 300;
  font-size: 13.5px;
  color: var(--smash-muted);
}
.rd-card__desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--smash-text);
  flex: 1;
}
.rd-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--smash-hairline);
}
.rd-price {
  font-family: var(--smash-font-display);
  font-size: 22px;
  line-height: 1;
  color: var(--smash-orange);
}
.rd-price .ccy {
  font-family: var(--smash-font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--smash-muted);
  margin-left: 4px;
  letter-spacing: 0.04em;
}

/* Badges */
.rd-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--smash-font-body);
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--smash-radius-pill);
}
.rd-badge--new {
  background: var(--smash-orange);
  color: #fff;
}
.rd-badge--lenten {
  background: var(--smash-green);
  color: #fff;
}
.rd-badge--wolt {
  background: #009de0;
  color: #fff;
  border-radius: var(--smash-radius-xs);
}
.rd-badge--soon {
  background: #e8e1d6;
  color: #6b5f54;
}
.rd-badge--live {
  background: var(--smash-orange);
  color: #fff;
}
.rd-badge--live .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
  animation: rd-livepulse 1.5s ease-in-out infinite;
}
@keyframes rd-livepulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}
.rd-badge-row {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

/* Game card (dark + gold) */
.rd-game-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(
      180deg,
      rgba(212, 175, 55, 0.06),
      rgba(217, 72, 15, 0.04)
    ),
    var(--smash-ink-3);
  border: 1.5px solid var(--smash-gold-bright);
  border-radius: var(--smash-radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.12), var(--smash-shadow-gold);
  transition: transform var(--smash-dur) var(--smash-ease),
    border-color var(--smash-dur) var(--smash-ease),
    box-shadow var(--smash-dur) var(--smash-ease);
}
.rd-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.3),
    0 30px 70px -28px rgba(212, 175, 55, 0.7);
}
.rd-game-card__photo {
  aspect-ratio: 16 / 10;
  background: #0a0605;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--smash-font-display);
  font-size: 72px;
  color: rgba(212, 175, 55, 0.45);
  overflow: hidden;
}
.rd-game-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}
.rd-game-card__name {
  font-family: var(--smash-font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--smash-white);
}
.rd-game-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: #e0d3bb;
  flex: 1;
}
.rd-game-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--smash-orange);
  color: #fff;
  padding: 14px 18px;
  font-family: var(--smash-font-display);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
  box-shadow: 0 8px 22px -8px rgba(217, 72, 15, 0.55);
  transition: background var(--smash-dur) var(--smash-ease),
    transform var(--smash-dur) var(--smash-ease);
}
.rd-game-card:hover .rd-game-card__cta {
  background: var(--smash-orange-deep);
}

/* ---------------------------------------------------------------------------
 * 9. CHIPS / CATEGORY NAV (menu)
 * ------------------------------------------------------------------------- */
.rd-chipbar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.rd-chipbar::-webkit-scrollbar {
  height: 4px;
}
.rd-chipbar::-webkit-scrollbar-thumb {
  background: rgba(217, 72, 15, 0.3);
  border-radius: 4px;
}
.rd-chip {
  flex-shrink: 0;
  font-family: var(--smash-font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--smash-text);
  padding: 8px 14px;
  border-radius: var(--smash-radius-pill);
  background: var(--smash-white);
  border: 1px solid var(--smash-border);
  white-space: nowrap;
  transition: border-color var(--smash-dur-fast) var(--smash-ease),
    color var(--smash-dur-fast) var(--smash-ease),
    background var(--smash-dur-fast) var(--smash-ease);
}
.rd-chip:hover {
  border-color: var(--smash-orange);
  color: var(--smash-orange);
}
.rd-chip.is-active {
  background: var(--smash-ink);
  color: var(--smash-white);
  border-color: var(--smash-ink);
}

/* ---------------------------------------------------------------------------
 * 10. ORDER BAND (orange CTA section)
 * ------------------------------------------------------------------------- */
.rd-band {
  background: var(--smash-orange);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
@media (min-width: 900px) {
  .rd-band {
    padding: 104px 0;
  }
}
.rd-band h2 {
  font-family: var(--smash-font-display);
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: #fff;
}
.rd-band p {
  margin: 0 0 32px;
  color: #fff;
  opacity: 0.92;
  font-size: 16px;
}
.rd-band__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------------------------------------------------------------------------
 * 11. FOOTER
 * ------------------------------------------------------------------------- */
.rd-footer {
  background: var(--smash-ink-3);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 24px 32px;
  font-family: var(--smash-font-body);
}
.rd-footer__grid {
  max-width: var(--smash-maxw);
  margin: 0 auto;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .rd-footer__grid {
    grid-template-columns: 1.4fr 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
  }
}
.rd-footer__brand {
  font-family: var(--smash-font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}
.rd-footer__brand-line {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0;
}
.rd-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}
.rd-footer__links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.04em;
  transition: color var(--smash-dur-fast) var(--smash-ease);
}
.rd-footer__links a:hover {
  color: #fff;
}
.rd-footer__meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}
.rd-footer__meta p {
  margin: 0 0 4px;
}
.rd-footer__meta a {
  color: rgba(255, 255, 255, 0.82);
}
.rd-footer__meta a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------------------------------------------------------------------------
 * 12. UTILITIES
 * ------------------------------------------------------------------------- */
.rd-center {
  text-align: center;
}
.rd-mt-4 {
  margin-top: var(--smash-space-4);
}
.rd-mt-6 {
  margin-top: var(--smash-space-6);
}
.rd-mt-7 {
  margin-top: var(--smash-space-7);
}
.rd-stack-2 > * + * {
  margin-top: var(--smash-space-2);
}
.rd-stack-4 > * + * {
  margin-top: var(--smash-space-4);
}
.rd-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.rd-row--center {
  justify-content: center;
  align-items: center;
}
.rd-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.rd-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--smash-orange);
  color: #fff;
  padding: 10px 14px;
  font-family: var(--smash-font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--smash-radius-xs);
  z-index: 100;
}
.rd-skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------------------------------------------------------------------------
 * 13. BILINGUAL HOOKS  (support all 3 existing mechanisms unchanged)
 * ------------------------------------------------------------------------- */
/* Mechanism A — home: [data-lang-mk] / [data-lang-en] driven by html[lang] */
[data-lang-mk],
[data-lang-en] {
  display: none;
}
html[lang="mk"] [data-lang-mk] {
  display: inline;
}
html[lang="mk"] [data-lang-mk].block {
  display: block;
}
html[lang="en"] [data-lang-en] {
  display: inline;
}
html[lang="en"] [data-lang-en].block {
  display: block;
}
html[lang="mk"] [data-lang-en],
html[lang="en"] [data-lang-mk] {
  display: none !important;
}
/* Mechanism B — menu: body[data-lang] + .lang-mk-only / .lang-en-only */
body[data-lang="mk"] .lang-en-only {
  display: none !important;
}
body[data-lang="en"] .lang-mk-only {
  display: none !important;
}
/* Mechanism C — games: [data-i18n] (text swapped by page JS; no CSS needed) */

/* ---------------------------------------------------------------------------
 * 14. MOTION SAFETY
 * ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .smash-rd *,
  .smash-rd *::before,
  .smash-rd *::after {
    transition: none !important;
    animation: none !important;
  }
  .smash-rd {
    scroll-behavior: auto;
  }
  .rd-anim-down,
  .rd-anim-mark,
  .rd-anim-up {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .rd-hero__bg img,
  .rd-hero__bg video {
    transform: scale(1.05) !important;
  }
}
/* Lighten motion on small screens (battery + jank) */
@media (max-width: 560px) {
  .rd-hero__bg img,
  .rd-hero__bg video {
    animation-duration: 30s;
  }
}

/* ---------------------------------------------------------------------------
 * 15. FOCUS DEFAULT (a11y)
 * ------------------------------------------------------------------------- */
.smash-rd :focus-visible {
  outline: 3px solid var(--smash-orange);
  outline-offset: 2px;
  border-radius: 2px;
}
.surface-dark :focus-visible,
[data-surface="dark"] :focus-visible {
  outline-color: var(--smash-gold-bright);
}

/* ---------------------------------------------------------------------------
 * 16. FOUR-BUTTON LANGUAGE SWITCHER — tighten on small screens
 *   The .rd-lang pill now carries 4 buttons (MK/SQ/TR/EN). Keep it compact on
 *   phones so it never crowds the order CTA.
 * ------------------------------------------------------------------------- */
.rd-lang--4 button {
  padding: 7px 9px;
  letter-spacing: 0.06em;
}
@media (max-width: 560px) {
  .rd-lang--4 button {
    padding: 7px 7px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }
}
@media (max-width: 360px) {
  .rd-lang--4 button {
    padding: 6px 6px;
  }
}

/* ---------------------------------------------------------------------------
 * 17. POWERED BY SERVARI — customer co-brand mark (footer + inline)
 *   "powered by Servari" is a WANTED co-brand. The word "Servari" links to the
 *   public Servari story page. Tasteful, low-key, consistent across pages.
 * ------------------------------------------------------------------------- */
.rd-powered {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--smash-font-body);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--smash-muted);
  margin-top: 14px;
}
.rd-on-ink .rd-powered,
.rd-footer .rd-powered,
.surface-dark .rd-powered {
  color: rgba(255, 255, 255, 0.55);
}
.rd-powered__by {
  text-transform: lowercase;
  opacity: 0.85;
}
.rd-powered a {
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--smash-orange);
  border-bottom: 1px solid transparent;
  transition: border-color var(--smash-dur-fast) var(--smash-ease),
    color var(--smash-dur-fast) var(--smash-ease);
}
.rd-footer .rd-powered a,
.rd-on-ink .rd-powered a,
.surface-dark .rd-powered a {
  color: var(--smash-gold-soft, #e8c76a);
}
.rd-powered a:hover {
  border-bottom-color: currentColor;
}

/* ---------------------------------------------------------------------------
 * 18. COMBO CARDS — featured menu bundles (index + menu)
 *   Built only from real menu items. Appetite-forward, depth, MK/SQ/TR/EN
 *   names, DOM-safe (pure CSS).
 * ------------------------------------------------------------------------- */
.rd-combo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--smash-space-5, 24px);
}
@media (min-width: 640px) {
  .rd-combo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1040px) {
  .rd-combo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rd-combo {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--smash-cream-3, #fffdf9);
  border: 1px solid var(--smash-border, #efe2d7);
  border-radius: var(--smash-radius-lg, 16px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--smash-shadow-sm);
  transition: transform var(--smash-dur) var(--smash-ease),
    box-shadow var(--smash-dur) var(--smash-ease),
    border-color var(--smash-dur) var(--smash-ease);
}
.rd-combo:hover {
  transform: translateY(-4px);
  box-shadow: var(--smash-shadow-md);
  border-color: #e7c9b6;
}
.rd-combo__photo {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #2e2520 0%, #1a1411 100%);
  overflow: hidden;
}
.rd-combo__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--smash-ease);
}
.rd-combo:hover .rd-combo__photo img {
  transform: scale(1.05);
}
.rd-combo__save {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--smash-font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--smash-orange);
  padding: 6px 11px;
  border-radius: var(--smash-radius-pill);
  box-shadow: var(--smash-shadow-orange);
}
.rd-combo__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px 20px;
  flex: 1;
}
.rd-combo__name {
  margin: 0;
  font-family: var(--smash-font-display);
  font-weight: 400;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--smash-ink);
}
/* MK/SQ/TR ride the Cyrillic-capable display stack (engine sets
   --smash-font-display = Oswald under data-css-lang="mk"); bump weight for it. */
html[data-css-lang="mk"] .rd-combo__name {
  font-weight: 600;
}
.rd-combo__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--smash-text);
}
.rd-combo__foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--smash-hairline);
}
.rd-combo__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.rd-combo__now {
  font-family: var(--smash-font-display);
  font-size: clamp(26px, 4vw, 32px);
  line-height: 1;
  color: var(--smash-orange);
}
.rd-combo__now .ccy {
  font-family: var(--smash-font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-left: 3px;
  color: var(--smash-orange);
}
.rd-combo__was {
  font-family: var(--smash-font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--smash-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(138, 127, 118, 0.6);
}
.rd-combo__order {
  font-family: var(--smash-font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smash-ink);
  white-space: nowrap;
}
.rd-combo__order::after {
  content: " \2192";
}
.rd-combo__items {
  font-family: var(--smash-font-body);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--smash-muted);
  margin: 0;
}
/* Dark-surface combo variant (for any future dark band reuse) */
.rd-on-ink .rd-combo,
.surface-dark .rd-combo {
  background: var(--smash-ink-2, #241a16);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--smash-text-on-dark, #f3ece1);
}
.rd-on-ink .rd-combo__name,
.surface-dark .rd-combo__name {
  color: #fff;
}
.rd-on-ink .rd-combo__desc,
.surface-dark .rd-combo__desc {
  color: var(--smash-muted-on-dark, rgba(255, 255, 255, 0.62));
}
