:root{
  --sl-sky:#16a2d8;
  --sl-sky2:#0f84c2;
  --sl-ink:#0a1d33;
  --sl-muted: rgba(10,29,51,.70);

  --sl-surface: rgba(255,255,255,.92);
  --sl-surface2: rgba(255,255,255,.84);
  --sl-line: rgba(10,29,51,.14);

  --sl-red:#ff3b4f;
  --sl-blue:#1979ff;
  --sl-cyan:#20d9ff;
  --sl-yellow:#ffd44f;

  --sl-radius: 18px;
  --sl-radius-lg: 26px;

  --sl-shadow: 0 22px 60px rgba(4,20,40,.18);
  --sl-shadow-sm: 0 14px 36px rgba(4,20,40,.14);

  --sl-container: 1280px;

  /* максимально другой “характер” */
  --sl-font: ui-rounded, "Segoe UI Variable", "Trebuchet MS", system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", sans-serif;
  --sl-head: ui-rounded, "Comic Sans MS", "Arial Black", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

html,body{ height:100%; }
body{
  font-family: var(--sl-font);
  color: var(--sl-ink);
  background:
    radial-gradient(1200px 620px at 10% 0%, rgba(255,255,255,.45), transparent 62%),
    radial-gradient(980px 520px at 92% 10%, rgba(32,217,255,.16), transparent 60%),
    radial-gradient(980px 520px at 55% 110%, rgba(255,212,79,.16), transparent 60%),
    linear-gradient(180deg, #e8f8ff 0%, #cbefff 22%, #dff7ff 100%);
}

/* background bubbles + floating shapes */
.sl-bubbles{
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: 0;
  opacity: .55;
  mix-blend-mode: soft-light;
}
.sl-bubbles::before,
.sl-bubbles::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(10px 10px at 10% 120%, rgba(255,255,255,.55) 45%, transparent 46%),
    radial-gradient(7px 7px at 22% 110%, rgba(255,255,255,.40) 45%, transparent 46%),
    radial-gradient(12px 12px at 40% 130%, rgba(255,255,255,.42) 45%, transparent 46%),
    radial-gradient(8px 8px at 62% 115%, rgba(255,255,255,.34) 45%, transparent 46%),
    radial-gradient(13px 13px at 78% 125%, rgba(255,255,255,.40) 45%, transparent 46%),
    radial-gradient(7px 7px at 92% 118%, rgba(255,255,255,.36) 45%, transparent 46%);
  background-repeat: repeat;
  background-size: 520px 520px;
  animation: sl-bubbles 16s linear infinite;
}
.sl-bubbles::after{
  opacity: .6;
  filter: blur(.4px);
  background-size: 740px 740px;
  animation-duration: 24s;
}
@keyframes sl-bubbles{
  from{ background-position: 0 0; }
  to{ background-position: 0 -980px; }
}

/* small diamonds in header area */
.sl-pattern{
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: 0;
  opacity:.18;
  background:
    radial-gradient(6px 6px at 15% 12%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(6px 6px at 45% 18%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(6px 6px at 78% 10%, rgba(255,255,255,.8), transparent 60%);
}

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

/* app shell */
.sl-app{
  position: relative;
  z-index: 1;
  padding: 12px 0 34px;
}

/* ---------- header ---------- */
.sl-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(22,162,216,.95), rgba(15,132,194,.92));
  border-bottom: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 18px 44px rgba(0,0,0,.12);
}

.sl-header__row{
  height: 64px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}

.sl-left{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 220px;
}

.sl-burger{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.sl-logo{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  color: #fff;
}
.sl-logo__mark{
  width: 30px; height: 30px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.50), transparent 55%),
    linear-gradient(135deg, rgba(255,212,79,.95), rgba(255,59,79,.88));
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.sl-logo__txt{
  font-family: var(--sl-head);
  font-size: 20px;
  letter-spacing: .02em;
  font-weight: 950;
}

.sl-heroTop{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  flex: 1 1 auto;
  color: rgba(255,255,255,.92);
  text-align:center;
}
.sl-heroTop__badge{
  font-weight: 950;
  letter-spacing: .02em;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(0,0,0,.10);
  font-size: 12px;
}

.sl-actions{
  display:flex;
  align-items:center;
  gap: 10px;
  justify-content:flex-end;
  min-width: 240px;
}

.sl-flag{
  width: 22px;
  height: 16px;
  border-radius: 4px;
  overflow:hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.24);
}

.sl-btn{
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration:none;
  font-weight: 950;
  font-size: 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform .14s ease, box-shadow .18s ease, filter .18s ease;
}
.sl-btn:active{ transform: translateY(1px); }

.sl-btn--ghost{
  color:#fff;
  border-color: rgba(255,255,255,.26);
  background: rgba(255,255,255,.08);
}
.sl-btn--ghost:hover{ box-shadow: 0 16px 40px rgba(0,0,0,.16); }

.sl-btn--red{
  color:#fff;
  background: linear-gradient(180deg, var(--sl-red), #e52f44);
  box-shadow: 0 18px 44px rgba(229,47,68,.22);
}
.sl-btn--red:hover{ filter:saturate(1.05); }

/* category bar like screenshot */
.sl-cats{
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(10,29,51,.10);
}
.sl-cats__row{
  display:flex;
  gap: 12px;
  align-items:center;
  overflow:auto;
  padding: 10px 0;
  scrollbar-width: none;
}
.sl-cats__row::-webkit-scrollbar{ display:none; }

.sl-cat{
  min-width: 96px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(10,29,51,.12);
  background: rgba(255,255,255,.86);
  display:grid;
  justify-items:center;
  align-content:center;
  gap: 6px;
  text-decoration:none;
  color: rgba(10,29,51,.88);
  transition: transform .14s ease, box-shadow .18s ease, border-color .18s ease;
}
.sl-cat:hover{
  transform: translateY(-1px);
  border-color: rgba(25,121,255,.22);
  box-shadow: 0 14px 34px rgba(4,20,40,.14);
}
.sl-cat__ico{ font-size: 18px; line-height:1; }
.sl-cat__txt{ font-size: 12px; font-weight: 950; }

/* ---------- offcanvas drawer ---------- */
.sl-drawer{
  position: fixed;
  inset: 0;
  z-index: 80;
  display:none;
}
.sl-drawer.is-open{ display:block; }
.sl-drawer__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.40);
}
.sl-drawer__panel{
  position:absolute;
  top:0; left:0;
  width: min(360px, 88vw);
  height: 100%;
  background: rgba(255,255,255,.96);
  border-right: 1px solid rgba(10,29,51,.12);
  box-shadow: 0 24px 78px rgba(4,20,40,.22);
  transform: translateX(-102%);
  transition: transform .22s ease;
  padding: 14px;
}
.sl-drawer.is-open .sl-drawer__panel{ transform: translateX(0); }
.sl-drawer__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.sl-drawer__close{
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(10,29,51,.12);
  background: rgba(255,255,255,.92);
  cursor:pointer;
}
.sl-drawer__links{
  display:grid;
  gap: 10px;
}
.sl-drawer__links a{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(10,29,51,.12);
  background: rgba(255,255,255,.88);
  text-decoration:none;
  font-weight: 950;
  color: rgba(10,29,51,.90);
}
.sl-drawer__links a span{ font-size: 18px; }

/* ---------- hero slider ---------- */
.sl-hero{
  margin-top: 14px;
  border-radius: var(--sl-radius-lg);
  border: 1px solid rgba(10,29,51,.12);
  background: rgba(255,255,255,.86);
  box-shadow: var(--sl-shadow);
  overflow:hidden;
  position: relative;
}

.sl-carousel{
  position: relative;
  overflow:hidden;
}
.sl-slides{
  display:flex;
  transition: transform .38s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.sl-slide{
  min-width: 100%;
  padding: 18px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 12px;
  align-items:center;

  background:
    radial-gradient(900px 520px at 15% 20%, rgba(32,217,255,.22), transparent 62%),
    radial-gradient(900px 520px at 85% 10%, rgba(255,212,79,.18), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
}
.sl-slide__kicker{
  font-family: var(--sl-head);
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(10,29,51,.62);
  margin-bottom: 8px;
}
.sl-slide__title{
  margin:0 0 10px;
  font-family: var(--sl-head);
  font-size: clamp(26px, 3.0vw, 44px);
  line-height: 1.06;
}
.sl-slide__title b{ color: var(--sl-blue); }
.sl-slide__text{
  margin:0 0 14px;
  color: rgba(10,29,51,.70);
  line-height: 1.65;
  max-width: 62ch;
}
.sl-ctaRow{ display:flex; gap: 10px; flex-wrap:wrap; align-items:center; }

.sl-pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(10,29,51,.12);
  background: rgba(255,255,255,.76);
  color: rgba(10,29,51,.62);
  font-weight: 900;
  font-size: 12px;
}

.sl-art{
  display:flex;
  justify-content:flex-end;
  align-items:flex-end;
  min-height: 220px;
}
.sl-artCard{
  width: min(420px, 100%);
  height: 250px;
  border-radius: 22px;
  border: 1px solid rgba(10,29,51,.12);
  background:
    radial-gradient(240px 160px at 30% 30%, rgba(255,255,255,.72), transparent 62%),
    radial-gradient(260px 180px at 70% 40%, rgba(25,121,255,.16), transparent 72%),
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.68));
  box-shadow: 0 22px 70px rgba(4,20,40,.16);
  position: relative;
  overflow:hidden;
}
.sl-artCard::after{
  content:"🗺️🎰🏝️";
  position:absolute;
  right: 12px;
  bottom: 12px;
  font-size: 30px;
  opacity:.88;
}

.sl-arrow{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(10,29,51,.12);
  background: rgba(255,255,255,.86);
  cursor:pointer;
  display:grid;
  place-items:center;
  color: rgba(10,29,51,.92);
  z-index: 3;
}
.sl-arrow--prev{ left: 10px; }
.sl-arrow--next{ right: 10px; }

.sl-dots{
  position:absolute;
  left: 18px;
  bottom: 14px;
  display:flex;
  gap: 8px;
  z-index: 3;
}
.sl-dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(10,29,51,.25);
  box-shadow: 0 0 0 6px rgba(255,255,255,.45);
}
.sl-dot.is-active{
  background: var(--sl-blue);
  box-shadow: 0 0 0 6px rgba(25,121,255,.14);
}

/* ---------- section heading ---------- */
.sl-sec{
  margin-top: 16px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
.sl-sec__title{
  margin:0;
  font-family: var(--sl-head);
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 13px;
}
.sl-sec__link{
  font-weight: 950;
  font-size: 12px;
  color: rgba(10,29,51,.70);
  text-decoration:none;
}
.sl-sec__link:hover{ text-decoration: underline; text-underline-offset: 3px; }

/* ---------- MASONRY games block ---------- */
.sl-masonryWrap{
  margin-top: 10px;
  border-radius: var(--sl-radius);
  border: 1px solid rgba(10,29,51,.12);
  background: rgba(255,255,255,.86);
  box-shadow: var(--sl-shadow-sm);
  padding: 12px;
}

/* Masonry via columns (reliable, light) */
.sl-masonry{
  column-count: 4;
  column-gap: 12px;
}
@media (max-width: 1100px){ .sl-masonry{ column-count: 3; } }
@media (max-width: 820px){ .sl-masonry{ column-count: 2; } }
@media (max-width: 560px){ .sl-masonry{ column-count: 1; } }

/* tile */
.sl-tile{
  break-inside: avoid;
  margin: 0 0 12px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(10,29,51,.12);
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 40px rgba(4,20,40,.12);
  position: relative;
  transform: translateY(10px);
  opacity: 0;
  animation: sl-rise .55s cubic-bezier(.2,.8,.2,1) forwards;
}

/* “прикольная” анимация со стэком задержек */
.sl-tile:nth-child(1){ animation-delay: .02s; }
.sl-tile:nth-child(2){ animation-delay: .06s; }
.sl-tile:nth-child(3){ animation-delay: .10s; }
.sl-tile:nth-child(4){ animation-delay: .14s; }
.sl-tile:nth-child(5){ animation-delay: .18s; }
.sl-tile:nth-child(6){ animation-delay: .22s; }
.sl-tile:nth-child(7){ animation-delay: .26s; }
.sl-tile:nth-child(8){ animation-delay: .30s; }
.sl-tile:nth-child(9){ animation-delay: .34s; }
.sl-tile:nth-child(10){ animation-delay: .38s; }
.sl-tile:nth-child(11){ animation-delay: .42s; }
.sl-tile:nth-child(12){ animation-delay: .46s; }

@keyframes sl-rise{
  to { transform: translateY(0); opacity: 1; }
}

/* hover “wobble” */
.sl-tile:hover{
  transform: translateY(-4px) rotate(-.2deg);
  box-shadow: 0 26px 70px rgba(4,20,40,.16);
  transition: transform .18s ease, box-shadow .22s ease;
}

/* image */
.sl-tile__media{
  display:block;
  width:100%;
  position: relative;
  background: linear-gradient(135deg, rgba(25,121,255,.14), rgba(32,217,255,.12));
}

/* vary height a bit (masonry vibe even with similar images) */
.sl-tile:nth-child(3n) .sl-tile__media{ aspect-ratio: 16/10; }
.sl-tile:nth-child(3n+1) .sl-tile__media{ aspect-ratio: 16/9; }
.sl-tile:nth-child(3n+2) .sl-tile__media{ aspect-ratio: 4/3; }

.sl-tile__media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
  transition: transform .26s ease, filter .26s ease;
}
.sl-tile:hover .sl-tile__media img{
  transform: scale(1.08);
  filter: saturate(1.10) contrast(1.05);
}

/* hover play overlay */
.sl-ov{
  position:absolute;
  inset:0;
  background:
    radial-gradient(420px 220px at 50% 0%, rgba(255,255,255,.28), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.00), rgba(0,0,0,.34));
  opacity: 0;
  transition: opacity .2s ease;
}
.sl-tile:hover .sl-ov{ opacity: 1; }

.sl-play{
  position:absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 38px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.30);
  background: linear-gradient(180deg, #22ddff 0%, #1a7bff 100%);
  color: #032046;
  transform: translateY(10px);
  opacity: 0;
  transition: transform .2s ease, opacity .2s ease;
}
.sl-tile:hover .sl-play{ transform: translateY(0); opacity: 1; }

/* meta */
.sl-tile__meta{
  padding: 10px 12px 12px;
  display:flex;
  gap: 12px;
  justify-content: space-between;
  align-items:flex-start;
}
.sl-title{
  margin:0;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
}
.sl-sub{
  margin-top: 4px;
  font-size: 12px;
  color: rgba(10,29,51,.62);
}
.sl-chip{
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(10,29,51,.12);
  background: rgba(255,212,79,.22);
  color: rgba(10,29,51,.74);
  font-weight: 900;
  font-size: 11px;
}

/* ---------- FAQ ---------- */
.sl-faq{ margin-top: 16px; }
.sl-faq__title{
  margin: 0 0 10px;
  font-family: var(--sl-head);
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 13px;
}
.sl-faq__list{ display:grid; gap: 10px; }
.sl-faq details{
  border-radius: 18px;
  border: 1px solid rgba(10,29,51,.12);
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 44px rgba(4,20,40,.12);
  overflow:hidden;
}
.sl-faq summary{
  cursor:pointer;
  padding: 12px 14px;
  font-weight: 950;
  list-style:none;
  position: relative;
}
.sl-faq summary::-webkit-details-marker{ display:none; }
.sl-faq summary::after{
  content:"+";
  position:absolute;
  right: 14px;
  top: 10px;
  width: 28px; height: 28px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(10,29,51,.12);
  background: rgba(25,121,255,.10);
}
.sl-faq details[open] summary::after{ content:"–"; }
.sl-faq__a{
  padding: 0 14px 14px;
  color: rgba(10,29,51,.74);
  line-height: 1.7;
  font-size: 13px;
}

/* ---------- SEO ---------- */
.sl-seo{ margin-top: 16px; }
.sl-seo__box{
  border-radius: var(--sl-radius-lg);
  border: 1px solid rgba(10,29,51,.12);
  background: rgba(255,255,255,.82);
  box-shadow: var(--sl-shadow-sm);
  padding: 16px;
}
.sl-seo__box :where(h1,h2){ margin: 6px 0 10px; font-size: 22px; }
.sl-seo__box :where(h3){ margin: 16px 0 8px; font-size: 16px; }
.sl-seo__box :where(p){ margin: 0 0 12px; color: rgba(10,29,51,.76); line-height: 1.75; }
.sl-seo__box :where(ul,ol){ margin: 0 0 12px 18px; color: rgba(10,29,51,.76); line-height: 1.75; }
.sl-seo__box :where(a){ color: rgba(25,121,255,.95); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- footer ---------- */
.sl-footer{
  margin-top: 18px;
  padding: 24px 0 34px;
  border-top: 1px solid rgba(10,29,51,.12);
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(10px);
}
.sl-footer__row{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.sl-footer__brand{
  font-family: var(--sl-head);
  font-size: 14px;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-weight: 950;
}
.sl-footer__muted{
  margin-top: 8px;
  color: rgba(10,29,51,.62);
  font-size: 12px;
  line-height: 1.65;
  max-width: 54ch;
}
.sl-footer__links{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.sl-footer__link{
  display:inline-flex;
  align-items:center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(10,29,51,.12);
  background: rgba(255,255,255,.78);
  text-decoration:none;
  font-weight: 900;
  font-size: 12px;
  color: rgba(10,29,51,.72);
}
.sl-footer__link:hover{ border-color: rgba(25,121,255,.22); color: rgba(10,29,51,.92); }

/* ---------- mobile bottom nav (интересная мобилка) ---------- */
.sl-bottom{
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 70;
  display:none;
}
.sl-bottom__bar{
  height: 58px;
  border-radius: 20px;
  border: 1px solid rgba(10,29,51,.14);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(4,20,40,.16);
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  overflow:hidden;
}
.sl-bottom__a{
  display:grid;
  place-items:center;
  text-decoration:none;
  color: rgba(10,29,51,.82);
  gap: 4px;
  font-weight: 950;
  font-size: 10px;
}
.sl-bottom__a span{ font-size: 18px; line-height:1; }

@media (max-width: 980px){
  .sl-bottom{ display:block; }
  .sl-app{ padding-bottom: 88px; } /* room for bottom bar */
}

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