:root{
  --sp-bg: #f6f7ff;
  --sp-surface: #ffffff;
  --sp-ink: #11122a;
  --sp-muted: rgba(17,18,42,.66);
  --sp-line: rgba(28, 24, 70, .12);

  --sp-purple: #4a2a9c;
  --sp-purple-2: #5a33c5;
  --sp-pink: #ff3fb4;
  --sp-cyan: #2de2ff;
  --sp-gold: #ffcc3a;

  --sp-radius: 18px;
  --sp-radius-lg: 24px;

  --sp-shadow: 0 18px 46px rgba(24, 18, 70, .14);
  --sp-shadow-sm: 0 10px 22px rgba(24, 18, 70, .12);

  --sp-container: 1240px;
  --sp-font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

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

html, body{ height:100%; }

body{
  margin:0;
  font-family: var(--sp-font);
  color: var(--sp-ink);
  background:
    radial-gradient(1200px 520px at 18% 8%, rgba(90,51,197,.14), transparent 60%),
    radial-gradient(980px 560px at 90% 20%, rgba(255,63,180,.10), transparent 62%),
    radial-gradient(900px 520px at 55% 110%, rgba(45,226,255,.08), transparent 55%),
    linear-gradient(180deg, #fbfbff 0%, var(--sp-bg) 100%);
}

::selection{
  background: rgba(90,51,197,.22);
  color: var(--sp-ink);
}

.container{
  width: min(var(--sp-container), calc(100% - 40px));
  margin-inline: auto;
}

/* ---------- header (purple bar like screenshot) ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--sp-purple) 0%, var(--sp-purple-2) 45%, #3f2a97 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

/* subtle “texture” so it doesn’t look like a flat template */
.site-header::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.35;
  background:
    radial-gradient(1px 1px at 8% 30%, rgba(255,255,255,.22), transparent 60%),
    radial-gradient(1px 1px at 24% 70%, rgba(255,255,255,.14), transparent 60%),
    radial-gradient(1px 1px at 57% 35%, rgba(255,255,255,.16), transparent 60%),
    radial-gradient(1px 1px at 78% 68%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(1px 1px at 92% 42%, rgba(255,255,255,.12), transparent 60%);
  mix-blend-mode: overlay;
}

.header__inner{
  position: relative;
  height: 58px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
}

/* logo */
.site-branding{ display:flex; align-items:center; gap:10px; }
.custom-logo-link{ display:flex; align-items:center; }
.custom-logo{ max-height: 28px; width:auto; height:auto; }

.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration:none;
}
.logo__mark{
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), transparent 55%),
    linear-gradient(135deg, var(--sp-gold), var(--sp-pink));
  box-shadow: 0 10px 24px rgba(0,0,0,.20);
}
.logo__text{ font-size: 13px; }

/* primary nav if you use wp_nav_menu */
.nav{ display:flex; align-items:center; }
.nav__list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap: 14px;
  align-items:center;
}
.nav__list > li > a{
  color: rgba(255,255,255,.92);
  text-decoration:none;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .06em;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.nav__list > li > a:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
}

.header__actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* buttons (top right) */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor:pointer;
  text-decoration:none;
  font-weight: 950;
  letter-spacing: .04em;
  font-size: 12px;
  user-select:none;
  transition: transform .14s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:active{ transform: translateY(1px); }

.btn--ghost{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  color:#fff;
}
.btn--ghost:hover{ background: rgba(255,255,255,.12); }

.btn--primary{
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
  border-color: rgba(255,255,255,.22);
  color:#fff;
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}
.btn--primary:hover{
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}

/* ---------- HOME layout ---------- */
.sp-home{
  padding: 18px 0 34px;
}

/* Categories block (emoji icons) */
.sp-cats{
  background: rgba(255,255,255,.78);
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-lg);
  box-shadow: var(--sp-shadow-sm);
  padding: 18px 14px;
}

.sp-cats__grid{
  display:grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.sp-cat{
  text-decoration:none;
  color: var(--sp-ink);
  padding: 10px 10px 12px;
  border-radius: 16px;
  border: 1px solid transparent;
  display:grid;
  justify-items:center;
  gap: 10px;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  position: relative;
}

.sp-cat:hover{
  transform: translateY(-2px);
  background: rgba(90,51,197,.06);
  border-color: rgba(90,51,197,.16);
  box-shadow: 0 14px 28px rgba(24,18,70,.10);
}

.sp-cat__emoji{
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display:grid;
  place-items:center;
  font-size: 28px;
  line-height: 1;
  background:
    radial-gradient(18px 18px at 25% 22%, rgba(255,255,255,.85), transparent 60%),
    linear-gradient(135deg, rgba(90,51,197,.18), rgba(255,63,180,.10));
  border: 1px solid rgba(90,51,197,.14);
  box-shadow: 0 18px 32px rgba(24,18,70,.12);
  transform: translateZ(0);
}

.sp-cat:hover .sp-cat__emoji{
  box-shadow: 0 24px 44px rgba(24,18,70,.14);
}

.sp-cat__label{
  font-weight: 950;
  font-size: 13px;
  color: rgba(17,18,42,.88);
  text-align:center;
  line-height: 1.1;
}

/* small “spark” (tiny) – just to add life */
.sp-cat::after{
  content:"";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  position:absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,204,58,.0);
  box-shadow: 0 0 0 0 rgba(255,204,58,.0);
  transition: all .2s ease;
}
.sp-cat:hover::after{
  background: rgba(255,204,58,.95);
  box-shadow: 0 0 0 6px rgba(255,204,58,.14);
}

/* Games grid */
.sp-section{
  margin-top: 18px;
}

.sp-section__title{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 2px 12px;
}
.sp-section__title h2{
  margin:0;
  font-size: 18px;
  letter-spacing: .01em;
}

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

.sp-card{
  border-radius: 22px;
  overflow:hidden;
  background: #fff;
  border: 1px solid rgba(28,24,70,.12);
  box-shadow: 0 14px 34px rgba(24,18,70,.12);
  transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}

.sp-card:hover{
  transform: translateY(-3px);
  border-color: rgba(90,51,197,.22);
  box-shadow: 0 22px 54px rgba(24,18,70,.16);
}

/* glossy highlight that moves on hover */
.sp-card::before{
  content:"";
  position:absolute;
  inset:-40% -20%;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.32) 46%, transparent 62%);
  transform: translateX(-26%) rotate(8deg);
  opacity: .0;
  transition: opacity .2s ease, transform .25s ease;
  pointer-events:none;
}
.sp-card:hover::before{
  opacity: .75;
  transform: translateX(8%) rotate(8deg);
}

.sp-card__media{
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, rgba(90,51,197,.10), rgba(45,226,255,.08));
}
.sp-card__media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.sp-card__meta{
  padding: 10px 12px 12px;
}
.sp-card__title{
  margin:0;
  font-weight: 950;
  font-size: 13px;
  color: rgba(17,18,42,.92);
  line-height: 1.2;

  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.2em * 2);
}

.sp-badge{
  position:absolute;
  top: 12px;
  left: 12px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .06em;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(180deg, rgba(255,63,180,.95), rgba(90,51,197,.95));
  box-shadow: 0 14px 30px rgba(24,18,70,.16);
}

/* Focus visibility (keyboard) */
a:focus-visible, button:focus-visible{
  outline: 3px solid rgba(45,226,255,.55);
  outline-offset: 2px;
  border-radius: 12px;
}

@media (max-width: 1200px){
  .sp-cats__grid{ grid-template-columns: repeat(6, minmax(0,1fr)); }
  .sp-grid{ grid-template-columns: repeat(5, minmax(0,1fr)); }
}
@media (max-width: 980px){
  .sp-cats__grid{ grid-template-columns: repeat(4, minmax(0,1fr)); }
  .sp-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 560px){
  .sp-cats__grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .sp-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; }
}

/* ===== SlotsPalace header extras ===== */

.nav{
  gap: 14px;
}

/* extra nav item (SPIN RALLY) */
.nav__extra{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  margin-left: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  transition: transform .14s ease, background .18s ease, border-color .18s ease;
}
.nav__extra:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
  transform: translateY(-1px);
}

/* NEW pill */
.nav__new{
  height: 18px;
  padding: 0 7px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .10em;
  color: #2a0f4a;
  background: linear-gradient(180deg, #ffdf6a, #ffb800);
  box-shadow: 0 10px 22px rgba(255,184,0,.22);
  border: 1px solid rgba(255,255,255,.30);
}

/* search icon button */
.sp-icon-btn{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform .14s ease, background .18s ease, border-color .18s ease;
}
.sp-icon-btn:hover{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.24);
}
.sp-icon-btn:active{ transform: translateY(1px); }

/* better mobile header behavior */
@media (max-width: 980px){
  .nav{ display:none; } /* later we can add burger */
  .header__inner{ gap: 10px; }
  .logo__text{ line-height: 1; }
}

/* =========================================
   SlotsPalace — category icons polish
   (less “template”, more “crafted”)
   ========================================= */

/* micro-variation palette per tile */
.sp-cat:nth-child(1){ --spg-a: rgba(255,204,58,.38); --spg-b: rgba(255,63,180,.16); --spd: 6.2s; --p: -1px; }
.sp-cat:nth-child(2){ --spg-a: rgba(255,63,180,.22); --spg-b: rgba(90,51,197,.22); --spd: 5.6s; --p: -2px; }
.sp-cat:nth-child(3){ --spg-a: rgba(45,226,255,.18); --spg-b: rgba(90,51,197,.22); --spd: 6.8s; --p: -1px; }
.sp-cat:nth-child(4){ --spg-a: rgba(255,99,132,.18); --spg-b: rgba(255,204,58,.20); --spd: 5.9s; --p: -2px; }
.sp-cat:nth-child(5){ --spg-a: rgba(90,51,197,.20); --spg-b: rgba(45,226,255,.14); --spd: 6.4s; --p: -1px; }
.sp-cat:nth-child(6){ --spg-a: rgba(255,204,58,.28); --spg-b: rgba(90,51,197,.16); --spd: 5.7s; --p: -2px; }
.sp-cat:nth-child(7){ --spg-a: rgba(45,226,255,.16); --spg-b: rgba(255,63,180,.12); --spd: 6.6s; --p: -1px; }
.sp-cat:nth-child(8){ --spg-a: rgba(90,51,197,.18); --spg-b: rgba(255,204,58,.16); --spd: 6.1s; --p: -2px; }
.sp-cat:nth-child(9){ --spg-a: rgba(255,63,180,.16); --spg-b: rgba(45,226,255,.14); --spd: 6.9s; --p: -1px; }

.sp-cat__emoji{
  /* replace earlier gradient with variable one */
  background:
    radial-gradient(18px 18px at 28% 22%, rgba(255,255,255,.92), transparent 62%),
    linear-gradient(135deg, var(--spg-a, rgba(90,51,197,.18)), var(--spg-b, rgba(255,63,180,.10)));
  border-color: rgba(90,51,197,.14);

  /* emoji look: slightly “sticker-like” */
  text-shadow:
    0 1px 0 rgba(255,255,255,.45),
    0 10px 22px rgba(24,18,70,.18);

  /* subtle float (different timing per tile) */
  transform: translateY(var(--p, -1px)) translateZ(0);
  animation: sp-float var(--spd, 6.2s) cubic-bezier(.45,.05,.2,1) infinite;
}

/* shine ring */
.sp-cat__emoji::before{
  content:"";
  position:absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events:none;
  background:
    radial-gradient(14px 14px at 26% 22%, rgba(255,255,255,.70), transparent 62%),
    conic-gradient(from 180deg,
      rgba(255,255,255,.00),
      rgba(255,255,255,.22),
      rgba(255,255,255,.00),
      rgba(255,255,255,.12),
      rgba(255,255,255,.00)
    );
  opacity: .38;
  filter: blur(.2px);
  mix-blend-mode: overlay;
}

/* hover: less “jump”, more “tilt” */
.sp-cat:hover .sp-cat__emoji{
  transform: translateY(-3px) rotate(-1deg);
  animation-play-state: paused; /* hover feels snappy */
}

/* label sharpen */
.sp-cat__label{
  letter-spacing: .01em;
}

/* float keyframes: small amplitude, not “cartoon” */
@keyframes sp-float{
  0%   { transform: translateY(var(--p, -1px)); }
  45%  { transform: translateY(calc(var(--p, -1px) - 3px)); }
  100% { transform: translateY(var(--p, -1px)); }
}

/* add a tiny “press” effect to whole tile */
.sp-cat:active{
  transform: translateY(0);
}

/* =========================================
   SlotsPalace — chat button
   ========================================= */

.sp-chat{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;

  display:inline-flex;
  align-items:center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  text-decoration:none;
  color: #fff;
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .02em;

  background: linear-gradient(135deg, rgba(255,63,180,.92), rgba(90,51,197,.96));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow:
    0 18px 42px rgba(24,18,70,.18),
    0 0 0 6px rgba(255,63,180,.08);
  transition: transform .14s ease, box-shadow .18s ease, filter .18s ease;
}

.sp-chat__ico{
  width: 30px;
  height: 30px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}

.sp-chat:hover{
  transform: translateY(-2px);
  box-shadow:
    0 22px 54px rgba(24,18,70,.22),
    0 0 0 8px rgba(45,226,255,.10);
  filter: saturate(1.03);
}

.sp-chat:active{ transform: translateY(0); }

@media (max-width: 560px){
  .sp-chat__txt{ display:none; } /* как “bubble” на мобиле */
  .sp-chat{ padding: 10px 12px; }
}

/* footer minimal styling */
.sp-footer{
  margin-top: 22px;
  padding: 18px 0 26px;
  color: rgba(17,18,42,.70);
}
.sp-footer__row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(28,24,70,.10);
  padding-top: 14px;
}
.sp-footer__brand{
  font-weight: 950;
  letter-spacing: .02em;
  color: rgba(17,18,42,.86);
}
.sp-footer__sep{ opacity:.45; }
.sp-footer__muted{ opacity:.85; }
.sp-footer__link{
  color: rgba(17,18,42,.66);
  text-decoration:none;
  font-weight: 800;
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 999px;
}
.sp-footer__link:hover{
  background: rgba(90,51,197,.06);
  color: rgba(17,18,42,.84);
}

/* accessibility */
@media (prefers-reduced-motion: reduce){
  .sp-cat__emoji{ animation: none !important; }
  .sp-chat{ transition: none !important; }
}

/* =========================================
   SlotsPalace — promo strip (hero lite)
   ========================================= */

.sp-promo{
  margin: 14px 0 16px;
}

.sp-promo__inner{
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.22);
  background:
    radial-gradient(780px 420px at 18% 22%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(820px 460px at 72% 14%, rgba(45,226,255,.14), transparent 62%),
    radial-gradient(760px 520px at 80% 120%, rgba(255,63,180,.16), transparent 60%),
    linear-gradient(135deg, #3b1f87 0%, #5933c5 46%, #4a2a9c 100%);
  box-shadow:
    0 24px 60px rgba(24,18,70,.18),
    inset 0 1px 0 rgba(255,255,255,.10);
  overflow: hidden;
  position: relative;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 10px;
  padding: 18px;
}

/* thin “noise-ish” texture (no image, just gradients) */
.sp-promo__inner::before{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;
  opacity:.25;
  background:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,.22), transparent 60%),
    radial-gradient(1px 1px at 35% 68%, rgba(255,255,255,.16), transparent 60%),
    radial-gradient(1px 1px at 58% 40%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(1px 1px at 82% 72%, rgba(255,255,255,.14), transparent 60%),
    radial-gradient(1px 1px at 92% 26%, rgba(255,255,255,.12), transparent 60%);
  mix-blend-mode: overlay;
}

/* moving gloss stripe (subtle) */
.sp-promo__inner::after{
  content:"";
  position:absolute;
  inset:-60% -30%;
  background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.18) 52%, transparent 66%);
  transform: translateX(-30%) rotate(10deg);
  opacity:.0;
  transition: opacity .25s ease, transform .35s ease;
  pointer-events:none;
}
.sp-promo__inner:hover::after{
  opacity:.9;
  transform: translateX(6%) rotate(10deg);
}

.sp-promo__content{
  position: relative;
  color: #fff;
  padding: 8px 6px 10px 8px;
}

.sp-promo__kicker{
  display:inline-flex;
  align-items:center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.90);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  margin-bottom: 10px;
}

.sp-promo__title{
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.05;
  letter-spacing: .01em;
}

.sp-promo__text{
  margin: 0 0 14px;
  color: rgba(255,255,255,.84);
  line-height: 1.6;
  max-width: 58ch;
  font-size: 14px;
}

.sp-promo__actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  margin-bottom: 12px;
}

.sp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 950;
  letter-spacing: .04em;
  font-size: 12px;
  text-decoration:none;
  border: 1px solid transparent;
  transition: transform .14s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  user-select:none;
}
.sp-btn:active{ transform: translateY(1px); }

.sp-btn--gold{
  color: #2a0f4a;
  background: linear-gradient(180deg, #ffe07a 0%, #ffb800 100%);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 14px 30px rgba(255,184,0,.22);
}
.sp-btn--gold:hover{ box-shadow: 0 18px 40px rgba(255,184,0,.26); }

.sp-btn--glass{
  color: rgba(255,255,255,.94);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}
.sp-btn--glass:hover{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.24);
}

.sp-promo__meta{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sp-chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
  font-weight: 900;
  font-size: 12px;
}
.sp-chip__ico{
  width: 20px;
  height: 20px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
}

/* right art */
.sp-promo__art{
  position: relative;
  min-height: 180px;
}

.sp-orb{
  position:absolute;
  border-radius: 999px;
  filter: blur(0.2px);
  opacity: .9;
}
.sp-orb--a{
  width: 220px; height: 220px;
  right: -70px; top: -40px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.30), rgba(45,226,255,.14), transparent 70%);
}
.sp-orb--b{
  width: 180px; height: 180px;
  right: 20px; bottom: -70px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), rgba(255,63,180,.16), transparent 70%);
}
.sp-orb--c{
  width: 120px; height: 120px;
  right: 120px; top: 34px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(255,204,58,.18), transparent 70%);
}

/* little floating “stickers” */
.sp-cardlet{
  position:absolute;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display:grid;
  place-items:center;
  font-size: 24px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
}
.sp-cardlet--1{ right: 54px; top: 24px; transform: rotate(8deg); }
.sp-cardlet--2{ right: 146px; top: 86px; transform: rotate(-10deg); }
.sp-cardlet--3{ right: 84px; bottom: 22px; transform: rotate(6deg); }

@media (max-width: 980px){
  .sp-promo__inner{
    grid-template-columns: 1fr;
  }
  .sp-promo__art{
    min-height: 140px;
  }
}

@media (prefers-reduced-motion: reduce){
  .sp-promo__inner::after{ transition: none !important; }
}



/* =========================================
   SlotsPalace — SEO content block
   ========================================= */

.sp-seo{
  margin-top: 18px;
}

.sp-seo__box{
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(28,24,70,.12);
  border-radius: 24px;
  box-shadow: var(--sp-shadow-sm);
  padding: 18px 18px;
  overflow: hidden;
  position: relative;
}

/* very subtle “paper sheen” so it feels less flat */
.sp-seo__box::before{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  background:
    radial-gradient(520px 220px at 12% 0%, rgba(90,51,197,.08), transparent 62%),
    radial-gradient(520px 240px at 90% 10%, rgba(45,226,255,.06), transparent 60%);
  opacity: .9;
}

.sp-seo__box > *{ position: relative; }

/* typography inside SEO block */
.sp-seo__box :where(h1,h2){
  margin: 6px 0 10px;
  font-size: 22px;
  letter-spacing: .01em;
}
.sp-seo__box :where(h3){
  margin: 16px 0 8px;
  font-size: 16px;
}
.sp-seo__box :where(p){
  margin: 0 0 12px;
  color: rgba(17,18,42,.78);
  line-height: 1.75;
}
.sp-seo__box :where(ul,ol){
  margin: 0 0 12px 18px;
  color: rgba(17,18,42,.78);
  line-height: 1.75;
}
.sp-seo__box :where(a){
  color: rgba(90,51,197,.96);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sp-seo__box :where(a:hover){
  color: rgba(255,63,180,.92);
}

/* tables (если будут в SEO) */
.sp-seo__box :where(table){
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 12px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(28,24,70,.12);
  background: rgba(255,255,255,.72);
}

.sp-seo__box :where(th, td){
  padding: 10px 12px;
  border-bottom: 1px solid rgba(28,24,70,.10);
  font-size: 13px;
}
.sp-seo__box :where(th){
  text-align: left;
  color: rgba(17,18,42,.86);
  background: rgba(90,51,197,.06);
}