/* ═══════════════════════════════════════════════════════════════
   ROBLOX STYLE — SLOT CSS
   Шрифты подключены локально через @font-face.
   Файлы должны лежать рядом со скриптами (в той же папке).
   ═══════════════════════════════════════════════════════════════ */

/* ─── Локальные шрифты ───────────────────────────────────────── */
@font-face {
  font-family: 'FredokaOne';
  src: url('FredokaOne-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito';
  src: url('Nunito-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito';
  src: url('Nunito-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito';
  src: url('Nunito-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ─── Roblox Variables ───────────────────────────────────────────── */
:root {
  --rb-bg:           #1a1a1a;
  --rb-surface:      #2b2b2b;
  --rb-surface2:     #383838;
  --rb-border:       #555555;
  --rb-outline-dark: #111111;

  --rb-red:          #e8412a;
  --rb-red-dark:     #a82e1c;
  --rb-red-light:    #ff5c43;

  --rb-green:        #00a560;
  --rb-green-dark:   #006e3f;
  --rb-green-light:  #00cc76;

  --rb-gold:         #ffc800;
  --rb-gold-dark:    #a88400;

  --rb-white:        #ffffff;
  --rb-text-dim:     #b0b0b0;
  --rb-text-muted:   #666666;

  --rb-radius:       12px;
  --rb-radius-sm:    8px;
  --rb-radius-lg:    16px;

  /* Стек шрифтов */
  --font-display: 'FredokaOne', 'Arial Rounded MT Bold', 'Arial Black', sans-serif;
  --font-ui:      'Nunito', 'Arial Rounded MT Bold', 'Arial Black', sans-serif;
}

/* ─── Slot Wrapper ───────────────────────────────────────────────── */
.slot-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
  font-family: var(--font-ui);
  position: relative;
}

/* ─── Info Bar ───────────────────────────────────────────────────── */
.slot-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 6px;
}

.slot-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--rb-surface);
  border: 2px solid var(--rb-border);
  border-radius: var(--rb-radius-sm);
  padding: 6px 10px;
  min-width: 70px;
  flex: 1;
  box-shadow: 0 3px 0 rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
}

/* Красная полоска-акцент сверху карточки */
.slot-info-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rb-red);
}

.slot-info-label {
  font-family: var(--font-ui);
  font-size: 9px;
  color: var(--rb-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 800;
  margin-top: 2px;
}

.slot-info-value {
  font-family: var(--font-display);  /* FredokaOne для цифр */
  font-size: 20px;
  font-weight: 400;
  color: var(--rb-gold);
  line-height: 1.2;
  text-shadow: 0 2px 0 var(--rb-gold-dark);
  letter-spacing: 0.5px;
}

.slot-info-value.freespins-active {
  color: var(--rb-green-light);
  text-shadow: 0 2px 0 var(--rb-green-dark);
  animation: pulse 0.8s infinite;
}

.slot-info-value.multiplier-active {
  color: var(--rb-red-light);
  animation: pulse 0.6s infinite;
}

/* ─── Help Button ────────────────────────────────────────────────── */
.slot-help-row {
  width: 100%;
  display: flex;
  justify-content: center;
}

.slot-help-btn {
  width: 100%;
  padding: 9px 16px;
  background: var(--rb-surface);
  border: 2px solid var(--rb-border);
  border-radius: var(--rb-radius-sm);
  color: var(--rb-text-dim);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.12s;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 3px 0 rgba(0,0,0,0.4);
}

.slot-help-btn:active {
  background: var(--rb-surface2);
  color: var(--rb-white);
  border-color: var(--rb-text-dim);
  transform: translateY(2px);
  box-shadow: none;
}

.slot-help-btn .help-btn-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rb-border);
  border: 2px solid #444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1;
  color: var(--rb-text-dim);
  transition: all 0.12s;
}

.slot-help-btn:active .help-btn-icon {
  background: var(--rb-red);
  border-color: var(--rb-red-dark);
  color: #fff;
}

/* ─── Help Modal Overlay ─────────────────────────────────────────── */
.slot-help-overlay {
  position: fixed;
  top: calc(var(--header-height) + var(--tg-safe-top) + var(--tg-content-top));
  left: 0;
  right: 0;
  bottom: calc(var(--nav-height) + var(--tg-safe-bottom));
  z-index: 9998;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.slot-help-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.slot-help-modal {
  background: var(--rb-surface);
  border-top: 3px solid var(--rb-border);
  border-left: 3px solid var(--rb-border);
  border-right: 3px solid var(--rb-border);
  border-radius: var(--rb-radius-lg) var(--rb-radius-lg) 0 0;
  width: 100%;
  max-width: 500px;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.5);
}

.slot-help-overlay.visible .slot-help-modal {
  transform: translateY(0);
}

/* ─── Help Modal Header ──────────────────────────────────────────── */
.slot-help-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 14px;
  border-bottom: 2px solid var(--rb-border);
  flex-shrink: 0;
  position: relative;
  background: #222222;
}

.slot-help-header::before {
  content: '';
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 4px;
  border-radius: 2px;
  background: var(--rb-border);
}

.slot-help-header h3 {
  font-family: var(--font-display);   /* FredokaOne для заголовка */
  font-size: 18px;
  font-weight: 400;
  color: var(--rb-white);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.slot-help-close {
  width: 32px;
  height: 32px;
  border-radius: var(--rb-radius-sm);
  background: var(--rb-red);
  border: 2px solid var(--rb-red-dark);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s;
  line-height: 1;
  box-shadow: 0 3px 0 var(--rb-red-dark);
}

.slot-help-close:active {
  transform: translateY(2px);
  box-shadow: none;
}

/* ─── Help Modal Body ────────────────────────────────────────────── */
.slot-help-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 16px 28px;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.slot-help-body::-webkit-scrollbar { width: 4px; }
.slot-help-body::-webkit-scrollbar-track { background: var(--rb-bg); }
.slot-help-body::-webkit-scrollbar-thumb { background: var(--rb-border); border-radius: 2px; }

/* ─── Help Sections ──────────────────────────────────────────────── */
.help-section { margin-bottom: 14px; }
.help-section:last-child { margin-bottom: 0; }

.help-section-title {
  font-family: var(--font-display);   /* FredokaOne для заголовков секций */
  font-size: 14px;
  font-weight: 400;
  color: var(--rb-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.help-section-title .help-icon { font-size: 14px; }

.help-text {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--rb-text-dim);
  line-height: 1.6;
  margin-bottom: 6px;
}

/* ─── Paytable ───────────────────────────────────────────────────── */
.paytable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 3px;
  margin-top: 4px;
}

.paytable th {
  font-family: var(--font-ui);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--rb-text-muted);
  text-align: left;
  padding: 4px 8px;
  font-weight: 800;
  border-bottom: 2px solid var(--rb-border);
}

.paytable td {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 8px;
  color: var(--rb-text-dim);
  vertical-align: middle;
  background: var(--rb-surface2);
}

.paytable td:first-child { border-radius: var(--rb-radius-sm) 0 0 var(--rb-radius-sm); }
.paytable td:last-child  { border-radius: 0 var(--rb-radius-sm) var(--rb-radius-sm) 0; }

.paytable .sym-cell { display: flex; align-items: center; gap: 6px; }
.paytable .sym-emoji { font-size: 18px; line-height: 1; }
.paytable .sym-name { font-size: 11px; color: var(--rb-text-muted); font-weight: 800; }
.paytable .payout-val { color: var(--rb-gold); font-weight: 900; }

/* ─── Feature Rows ───────────────────────────────────────────────── */
.feature-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: var(--rb-surface2);
  border: 2px solid var(--rb-border);
  border-radius: var(--rb-radius-sm);
  margin-bottom: 5px;
}

.feature-row:last-child { margin-bottom: 0; }
.feature-emoji { font-size: 17px; flex-shrink: 0; min-width: 40px; text-align: center; }

.feature-desc {
  flex: 1;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--rb-text-dim);
  line-height: 1.4;
}

.feature-desc strong { color: var(--rb-white); font-weight: 900; }
.feature-desc .highlight-gold  { color: var(--rb-gold); font-weight: 900; }
.feature-desc .highlight-green { color: var(--rb-green-light); font-weight: 900; }

/* ─── Help Divider ───────────────────────────────────────────────── */
.help-divider {
  height: 2px;
  background: var(--rb-border);
  margin: 12px 0;
  border: none;
  border-radius: 1px;
}

/* ─── Slot Grid Container ────────────────────────────────────────── */
.slot-grid-container {
  position: relative;
  width: 100%;
  background: #141414;
  border: 3px solid var(--rb-border);
  border-radius: var(--rb-radius-lg);
  padding: 10px;
  overflow: hidden;
  box-shadow:
    0 6px 0 var(--rb-outline-dark),
    0 8px 20px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255,255,255,0.025);
}

/* Красная полоска сверху — фирменный Roblox-акцент */
.slot-grid-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--rb-red);
  z-index: 3;
  border-radius: var(--rb-radius-lg) var(--rb-radius-lg) 0 0;
}

.slot-grid-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: calc(var(--rb-radius-lg) - 2px);
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(255,255,255,0.012) 0%,
    transparent 70%
  );
  z-index: 1;
}

/* ─── Slot Grid ──────────────────────────────────────────────────── */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
  aspect-ratio: 5 / 3;
  position: relative;
  z-index: 2;
}

/* ─── Slot Cell ──────────────────────────────────────────────────── */
.slot-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rb-surface);
  border-radius: var(--rb-radius-sm);
  border: 2px solid var(--rb-border);
  overflow: hidden;
  transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s;
  box-shadow:
    0 3px 0 rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.slot-cell::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
  border-radius: 6px 6px 0 0;
}

.slot-cell .symbol {
  font-size: clamp(22px, 7.5vw, 40px);
  line-height: 1;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.65));
  transition: transform 0.2s ease;
  z-index: 2;
  position: relative;
}

/* ─── Spinning ───────────────────────────────────────────────────── */
.slot-cell.spinning {
  background: #1e1e1e;
  border-color: #444;
}

.slot-cell.spinning .symbol {
  animation: symbolSpin 0.12s linear infinite;
}

@keyframes symbolSpin {
  0%   { transform: translateY(-100%); opacity: 0; }
  20%  { opacity: 0.6; }
  80%  { opacity: 0.6; }
  100% { transform: translateY(100%); opacity: 0; }
}

.slot-cell.landing .symbol {
  animation: symbolLand 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes symbolLand {
  0%   { transform: translateY(-60%) scale(0.8); opacity: 0; }
  65%  { transform: translateY(6%) scale(1.08); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* ─── Win Highlight ──────────────────────────────────────────────── */
.slot-cell.win-highlight {
  border-color: var(--rb-gold) !important;
  background: #2a2000 !important;
  box-shadow:
    0 0 18px rgba(255, 200, 0, 0.5),
    0 3px 0 rgba(0,0,0,0.4),
    inset 0 0 10px rgba(255, 200, 0, 0.1);
  animation: winPulse 0.5s ease 3;
  z-index: 5;
}

@keyframes winPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(255,200,0,0.4), 0 3px 0 rgba(0,0,0,0.4); }
  50%       { box-shadow: 0 0 30px rgba(255,200,0,0.75), 0 3px 0 rgba(0,0,0,0.4); }
}

.slot-cell.win-highlight .symbol {
  animation: winSymbol 0.5s ease 3;
  filter: drop-shadow(0 0 7px rgba(255,200,0,0.8)) drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

@keyframes winSymbol {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.22); }
}

/* ─── Scatter Highlight ──────────────────────────────────────────── */
.slot-cell.scatter-highlight {
  border-color: var(--rb-green-light) !important;
  background: #002014 !important;
  box-shadow:
    0 0 18px rgba(0, 204, 118, 0.5),
    0 3px 0 rgba(0,0,0,0.4),
    inset 0 0 10px rgba(0, 204, 118, 0.1);
  animation: scatterPulse 0.4s ease 4;
}

@keyframes scatterPulse {
  0%, 100% { box-shadow: 0 0 14px rgba(0,204,118,0.4), 0 3px 0 rgba(0,0,0,0.4); }
  50%       { box-shadow: 0 0 34px rgba(0,204,118,0.7), 0 3px 0 rgba(0,0,0,0.4); }
}

/* ─── Cascade ────────────────────────────────────────────────────── */
.slot-cell.cascade-remove .symbol {
  animation: cascadeOut 0.28s ease forwards;
}

@keyframes cascadeOut {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.3) rotate(180deg); opacity: 0; }
}

.slot-cell.cascade-drop .symbol {
  animation: cascadeDrop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes cascadeDrop {
  0%   { transform: translateY(-150%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ─── Multiplier Flash ───────────────────────────────────────────── */
.slot-multiplier-flash {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.78);
  z-index: 10;
  border-radius: calc(var(--rb-radius-lg) - 2px);
  pointer-events: none;
}

.slot-multiplier-flash .multiplier-text {
  font-family: var(--font-display);   /* FredokaOne для множителя */
  font-size: 60px;
  font-weight: 400;
  color: var(--rb-gold);
  text-shadow:
    0 5px 0 var(--rb-gold-dark),
    0 0 25px rgba(255, 200, 0, 0.6);
  -webkit-text-stroke: 3px var(--rb-gold-dark);
  animation: multiplierPop 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  letter-spacing: -2px;
}

@keyframes multiplierPop {
  0%   { transform: scale(0) rotate(-8deg); opacity: 0; }
  55%  { transform: scale(1.3) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* ─── Freespin Banner ────────────────────────────────────────────── */
.freespin-banner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: rgba(0, 0, 0, 0.82);
  z-index: 10;
  border-radius: calc(var(--rb-radius-lg) - 2px);
  pointer-events: none;
}

.freespin-banner .fs-text {
  font-family: var(--font-display);   /* FredokaOne */
  font-size: 22px;
  font-weight: 400;
  color: var(--rb-green-light);
  text-shadow: 0 3px 0 var(--rb-green-dark);
  -webkit-text-stroke: 2px var(--rb-green-dark);
  text-transform: uppercase;
  letter-spacing: 4px;
  animation: multiplierPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.freespin-banner .fs-count {
  font-family: var(--font-display);   /* FredokaOne */
  font-size: 68px;
  font-weight: 400;
  color: var(--rb-gold);
  text-shadow: 0 5px 0 var(--rb-gold-dark);
  -webkit-text-stroke: 3px var(--rb-gold-dark);
  animation: multiplierPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.14s forwards;
  opacity: 0;
  line-height: 1;
}

/* ─── Particles ──────────────────────────────────────────────────── */
.particle-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 20;
  border-radius: calc(var(--rb-radius-lg) - 2px);
}

.particle {
  position: absolute;
  border-radius: 2px;
  pointer-events: none;
}

@keyframes particleFly {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(0) rotate(180deg); opacity: 0; }
}

/* ─── Controls ───────────────────────────────────────────────────── */
.slot-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.slot-bet-section {
  display: flex;
  align-items: center;
  gap: 5px;
}

.slot-bet-label {
  font-family: var(--font-ui);
  font-size: 9px;
  color: var(--rb-text-muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ─── Bet Buttons ────────────────────────────────────────────────── */
.slot-bet-btn {
  padding: 0 12px;
  background: var(--rb-surface);
  border: 2px solid var(--rb-border);
  border-radius: var(--rb-radius-sm);
  color: var(--rb-text-dim);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.12s;
  min-height: 40px;
  min-width: 46px;
  box-shadow: 0 3px 0 rgba(0,0,0,0.5);
}

.slot-bet-btn.active {
  background: #2a2000;
  border-color: var(--rb-gold);
  color: var(--rb-gold);
  box-shadow: 0 3px 0 var(--rb-gold-dark);
}

.slot-bet-btn:active:not(.active) {
  transform: translateY(2px);
  box-shadow: none;
}

.slot-bet-btn.active:active {
  transform: translateY(2px);
  box-shadow: none;
}

/* ─── Spin Button ────────────────────────────────────────────────── */
.slot-spin-btn {
  flex: 1;
  padding: 0 14px;
  background: var(--rb-red);
  border: 2px solid var(--rb-red-dark);
  border-radius: var(--rb-radius);
  color: #fff;
  font-family: var(--font-display);   /* FredokaOne для SPIN */
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.12s;
  text-transform: uppercase;
  letter-spacing: 3px;
  min-height: 52px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 5px 0 var(--rb-red-dark),
    0 7px 14px rgba(0,0,0,0.4);
}

.slot-spin-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, transparent 100%);
  border-radius: var(--rb-radius) var(--rb-radius) 0 0;
  pointer-events: none;
}

.slot-spin-btn:active:not(:disabled) {
  transform: translateY(4px);
  box-shadow:
    0 1px 0 var(--rb-red-dark),
    0 2px 6px rgba(0,0,0,0.3);
}

.slot-spin-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.slot-spin-btn.freespin-mode {
  background: var(--rb-green);
  border-color: var(--rb-green-dark);
  font-size: 14px;
  letter-spacing: 1.5px;
  box-shadow:
    0 5px 0 var(--rb-green-dark),
    0 7px 14px rgba(0,0,0,0.4);
}

.slot-spin-btn.freespin-mode:active:not(:disabled) {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--rb-green-dark);
}

/* ─── Auto Spin Button ───────────────────────────────────────────── */
.slot-auto-btn {
  padding: 0 14px;
  background: var(--rb-surface);
  border: 2px solid var(--rb-border);
  border-radius: var(--rb-radius);
  color: var(--rb-text-dim);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
  min-height: 52px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.12s;
  box-shadow: 0 4px 0 rgba(0,0,0,0.45);
  white-space: nowrap;
}

.slot-auto-btn.active {
  background: #2a2000;
  border-color: var(--rb-gold);
  color: var(--rb-gold);
  box-shadow: 0 4px 0 var(--rb-gold-dark);
}

.slot-auto-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.3);
}

.slot-auto-btn.active:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--rb-gold-dark);
}

/* ─── Win Display ────────────────────────────────────────────────── */
.slot-win-display {
  text-align: center;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.slot-win-amount {
  font-family: var(--font-display);   /* FredokaOne для суммы выигрыша */
  font-size: 28px;
  font-weight: 400;
  color: var(--rb-gold);
  text-shadow: 0 3px 0 var(--rb-gold-dark);
  -webkit-text-stroke: 1.5px var(--rb-gold-dark);
  animation: winAmountPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.5px;
}

@keyframes winAmountPop {
  0%   { transform: scale(0.5) rotate(-4deg); opacity: 0; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

.slot-win-label {
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--rb-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
}

/* ─── Pulse ──────────────────────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.55; }
}