/* Template D — "Sunset Pop"
   Fonts: Bricolage Grotesque (display) + Nunito (text). Prefix: sp-
   Signature gradient: orange #FF8A00 -> pink #FF3D7F -> magenta #C21BCB; plum ink #2A1033; sunny CTA #FFD23F. */

:root {
  --sp-orange: #FF8A00;
  --sp-pink: #FF3D7F;
  --sp-magenta: #C21BCB;
  --sp-plum: #2A1033;
  --sp-plum-2: #4A2456;
  --sp-cream: #FFF7F0;
  --sp-cream-2: #FFEBDD;
  --sp-sun: #FFD23F;
  --sp-white: #FFFFFF;
  --sp-grad: linear-gradient(120deg, var(--sp-orange) 0%, var(--sp-pink) 55%, var(--sp-magenta) 100%);
  --sp-hard: 5px 5px 0 var(--sp-plum);
  --sp-hard-lg: 8px 8px 0 var(--sp-plum);
  --sp-r: 28px;
  --sp-display: "Bricolage Grotesque", "Arial Rounded MT Bold", system-ui, sans-serif;
  --sp-text: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sp-side: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sp-text); font-size: 17px; line-height: 1.6; color: var(--sp-plum); background: var(--sp-cream); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--sp-display); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--sp-sun); color: var(--sp-plum); }

:focus-visible { outline: 3px solid var(--sp-plum); outline-offset: 3px; border-radius: 10px; box-shadow: 0 0 0 6px var(--sp-sun); }

.sp-skip { position: absolute; left: 16px; top: -60px; z-index: 300; padding: 10px 18px; border-radius: 999px; background: var(--sp-plum); color: var(--sp-cream); font-weight: 800; text-decoration: none; }
.sp-skip:focus { top: 12px; }
.sp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sp-shell { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-side); }
.sp-sec { padding: 84px 0; overflow-x: clip; }
.sp-sec--tint { background: var(--sp-cream-2); }
.sp-center { text-align: center; }

.sp-h2 { font-size: clamp(32px, 4.6vw, 56px); }
.sp-h2--light { color: var(--sp-white); }
.sp-h2--grad { background: linear-gradient(90deg, #FFB547, var(--sp-pink) 50%, #E86BF2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--sp-pink); }
.sp-note { font-weight: 700; color: var(--sp-plum-2); }
.sp-link { color: var(--sp-white); font-weight: 800; text-decoration: underline wavy var(--sp-sun); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.sp-link:hover { color: var(--sp-sun); }
.sp-link--dark { color: var(--sp-plum); text-decoration-color: var(--sp-pink); }
.sp-link--dark:hover { color: var(--sp-pink); }

/* buttons: chunky sticker pills with hard shadow */
.sp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; cursor: pointer; white-space: nowrap;
  border: 2.5px solid var(--sp-plum); border-radius: 999px; box-shadow: var(--sp-hard); text-decoration: none;
  font-family: var(--sp-display); font-weight: 800; font-size: 16px; letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.sp-btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--sp-plum); }
.sp-btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--sp-plum); }
.sp-btn--sun { background: var(--sp-sun); color: var(--sp-plum); }
.sp-btn--ghost { background: var(--sp-white); color: var(--sp-plum); }

/* stickers */
.sp-stickers { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sp-sticker {
  padding: 6px 14px; border: 2px solid var(--sp-plum); border-radius: 999px; box-shadow: 3px 3px 0 var(--sp-plum);
  font-family: var(--sp-display); font-weight: 700; font-size: 14px; color: var(--sp-plum); background: var(--sp-white);
}
.sp-sticker--a { transform: rotate(-3deg); background: var(--sp-sun); }
.sp-sticker--b { transform: rotate(2deg); }
.sp-sticker--c { transform: rotate(-1.5deg); background: #FFD1E3; }

/* ---------- floating pill header */
.sp-top { position: sticky; top: 12px; z-index: 60; padding-top: 12px; margin-bottom: -84px; }
.sp-pill {
  position: relative; display: flex; align-items: center; gap: 20px; min-height: 64px; padding: 8px 10px 8px 14px;
  border: 2.5px solid var(--sp-plum); border-radius: 999px; background: var(--sp-white); box-shadow: var(--sp-hard);
}
.sp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.sp-brand__mark { width: 42px; height: 42px; }
.sp-brand__name { font-family: var(--sp-display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.sp-nav { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.sp-nav__list { display: flex; gap: 4px; }
.sp-nav__link { display: block; padding: 9px 18px; border-radius: 999px; text-decoration: none; font-family: var(--sp-display); font-weight: 700; font-size: 16px; transition: background-color .15s ease; }
.sp-nav__link:hover { background: var(--sp-cream-2); }
.sp-nav__link[aria-current="page"] { background: var(--sp-plum); color: var(--sp-cream); }
.sp-lang { display: inline-flex; padding: 3px; border: 2px solid var(--sp-plum); border-radius: 999px; }
.sp-lang__opt { padding: 4px 11px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 13px; text-transform: uppercase; }
.sp-lang__opt.is-on { background: var(--sp-grad); color: var(--sp-white); }
.sp-burger { display: none; position: relative; width: 48px; height: 48px; margin-left: auto; border: 2.5px solid var(--sp-plum); border-radius: 50%; background: var(--sp-sun); cursor: pointer; }
.sp-burger span { position: absolute; left: 12px; width: 19px; height: 3px; border-radius: 3px; background: var(--sp-plum); transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.sp-burger span:nth-child(1) { top: 14px; }
.sp-burger span:nth-child(2) { top: 20.5px; }
.sp-burger span:nth-child(3) { top: 27px; }
.sp-burger[aria-expanded="true"] span:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.sp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sp-burger[aria-expanded="true"] span:nth-child(3) { top: 20.5px; transform: rotate(-45deg); }

/* ---------- hero (centred, gradient + blobs) */
.sp-hero, .sp-phero { position: relative; overflow: hidden; color: var(--sp-white); background: var(--sp-grad); }
.sp-hero { overflow: visible; overflow-x: clip; }
.sp-hero__bg { overflow: hidden; }
.sp-hero { padding: 132px 0 0; }
.sp-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.sp-blobs { width: 100%; height: 100%; }
.sp-hero__inner { position: relative; display: grid; justify-items: center; text-align: center; }
.sp-hero__title { max-width: 980px; margin: 26px 0 40px; font-size: clamp(42px, 7.2vw, 96px); line-height: .95; text-shadow: 4px 4px 0 rgba(42, 16, 51, .35); }
.sp-hero__media {
  width: 100%; height: 489px; overflow: hidden; border: 6px solid var(--sp-white); border-radius: 44px; box-shadow: var(--sp-hard-lg);
  transform: rotate(-1.2deg); background: var(--sp-plum);
}
.sp-hero__img { width: 100%; height: 100%; object-fit: cover; }
.sp-hero__card {
  position: relative; z-index: 1; width: calc(100% - 64px); margin: -84px 0 -60px;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: center; padding: 34px 38px; text-align: left;
  color: var(--sp-plum); background: var(--sp-white); border: 2.5px solid var(--sp-plum); border-radius: var(--sp-r); box-shadow: var(--sp-hard-lg);
}
.sp-hero__card p + p { margin-top: 12px; }
.sp-hero__more .sp-link { color: var(--sp-plum); text-decoration-color: var(--sp-pink); }
.sp-hero__side { display: grid; gap: 14px; justify-items: stretch; }
.sp-hero__deco { width: 220px; justify-self: center; }
/* hero sits on gradient; next section pads for the overlapping card */
.sp-hero + .sp-sec { padding-top: 140px; }

/* ---------- about cards (tilted, tinted) */
.sp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 48px; }
.sp-card {
  padding: 30px; border: 2.5px solid var(--sp-plum); border-radius: var(--sp-r); box-shadow: var(--sp-hard);
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.sp-card--1 { background: #FFE2C2; transform: rotate(-2deg); }
.sp-card--2 { background: #FFD1E3; transform: rotate(1.5deg) translateY(14px); }
.sp-card--3 { background: #F3D3F7; transform: rotate(-1deg); }
.sp-card:hover { transform: rotate(0) translateY(-4px); }
.sp-card__icon { display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 20px; border: 2.5px solid var(--sp-plum); border-radius: 50%; background: var(--sp-white); overflow: hidden; }
.sp-card__icon img { width: 100%; height: 100%; object-fit: cover; }
.sp-card__title { font-size: 26px; margin-bottom: 8px; }

/* ---------- shelves (rows left, blob image right) */
.sp-shelf { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sp-shelf__copy { display: grid; gap: 16px; }
.sp-rows { display: grid; gap: 14px; margin-top: 10px; }
.sp-row { display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: center; padding: 14px 22px 14px 14px; border: 2.5px solid var(--sp-plum); border-radius: 999px; background: var(--sp-white); box-shadow: 4px 4px 0 var(--sp-plum); }
.sp-row__icon { width: 58px; height: 58px; object-fit: cover; border-radius: 50%; border: 2px solid var(--sp-plum); }
.sp-row__title { font-size: 20px; }
.sp-row p { font-size: 15px; line-height: 1.4; color: var(--sp-plum-2); }
.sp-shelf__media { position: relative; }
.sp-shelf__media::before { content: ""; position: absolute; inset: -18px -10px 10px 18px; z-index: 0; border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%; background: var(--sp-grad); transform: rotate(6deg); }
.sp-shelf__img { position: relative; width: 100%; aspect-ratio: 1080 / 695; object-fit: cover; border: 3px solid var(--sp-plum); border-radius: 46% 54% 42% 58% / 58% 44% 56% 42%; }

/* ---------- method (plum band with wave) */
.sp-wave { display: block; width: 100%; height: 60px; fill: var(--sp-plum); }
.sp-method { position: relative; margin-top: -1px; background: var(--sp-cream-2); overflow-x: clip; }
.sp-method__body { padding: 40px 0 96px; background: var(--sp-plum); color: var(--sp-cream); }
.sp-method__text { max-width: 860px; margin: 26px auto 0; text-align: center; font-size: 18px; color: rgba(255, 247, 240, .86); }
.sp-axes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.sp-axis-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 2px solid rgba(255, 255, 255, .2); font-family: var(--sp-display); font-weight: 700; }
.sp-axis-pill span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sp-sun); color: var(--sp-plum); font-weight: 800; }
.sp-method__fig { margin-top: 48px; border: 6px solid var(--sp-cream); border-radius: 40px; overflow: hidden; box-shadow: 10px 10px 0 var(--sp-pink); transform: rotate(.8deg); }
.sp-method__img { width: 100%; height: 340px; object-fit: cover; }

/* ---------- tempo tiles (tilted, staggered) */
.sp-tempo__head { display: grid; grid-template-columns: 1fr 180px; gap: 40px; align-items: center; margin-bottom: 48px; }
.sp-tempo__text { margin-top: 16px; max-width: 720px; color: var(--sp-plum-2); }
.sp-tempo__more { margin-top: 12px; font-weight: 700; }
.sp-tempo__badge { width: 180px; border-radius: 50%; border: 3px solid var(--sp-plum); box-shadow: var(--sp-hard); animation: sp-spin 24s linear infinite; }
@keyframes sp-spin { to { transform: rotate(360deg); } }
.sp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
.sp-tiles > li:nth-child(3n + 2) { transform: translateY(28px); }
.sp-tile {
  position: relative; display: block; text-decoration: none; border: 3px solid var(--sp-plum); border-radius: 30px; background: var(--sp-white);
  padding: 10px; box-shadow: var(--sp-hard); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s ease;
}
.sp-tiles > li:nth-child(odd) .sp-tile { transform: rotate(-2.5deg); }
.sp-tiles > li:nth-child(even) .sp-tile { transform: rotate(2deg); }
.sp-tiles > li .sp-tile:hover { transform: rotate(0) scale(1.03); box-shadow: var(--sp-hard-lg); }
.sp-tile__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 21px; }
.sp-tile__name {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%) rotate(-2deg); max-width: calc(100% - 24px);
  padding: 6px 16px; border: 2.5px solid var(--sp-plum); border-radius: 999px; background: var(--sp-sun);
  font-family: var(--sp-display); font-weight: 800; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- contact / hello card */
.sp-hello { padding-top: 120px; }
.sp-hello__card {
  position: relative; display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: end; padding: 0 48px 44px;
  color: var(--sp-white); background: var(--sp-grad); border: 3px solid var(--sp-plum); border-radius: 44px; box-shadow: var(--sp-hard-lg);
}
.sp-hello__img { width: 100%; margin-top: -72px; border: 3px solid var(--sp-plum); border-radius: 32px; box-shadow: var(--sp-hard); transform: rotate(-3deg); }
.sp-hello__copy { display: grid; gap: 16px; justify-items: start; padding-top: 44px; }
.sp-hello__list { display: grid; gap: 10px; width: 100%; }
.sp-hello__list li { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--sp-plum); font-weight: 700; overflow-wrap: anywhere; }
.sp-hello__list a { text-decoration: none; }
.sp-hello__list a:hover { text-decoration: underline; }
.sp-hello__ico { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sp-plum); }
.sp-hello__ico svg { width: 18px; height: 18px; fill: var(--sp-sun); }

/* ---------- page hero (inner pages) */
.sp-phero { padding: 128px 0 76px; }
.sp-phero__inner { position: relative; display: grid; gap: 20px; justify-items: center; text-align: center; }
.sp-phero__inner .sp-stickers { justify-content: center; }
.sp-phero__title { font-size: clamp(40px, 6.4vw, 84px); text-shadow: 4px 4px 0 rgba(42, 16, 51, .3); }
.sp-phero__lead { max-width: 760px; font-size: 19px; color: rgba(255, 255, 255, .94); }
.sp-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-weight: 700; font-size: 14px; }
.sp-crumbs li + li::before { content: "\2022"; margin-right: 6px; opacity: .7; }
.sp-crumbs a { text-decoration: none; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); }
.sp-crumbs a:hover { background: rgba(255, 255, 255, .35); }

/* ---------- about */
.sp-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sp-fact { padding: 28px 30px; border: 2.5px solid var(--sp-plum); border-radius: var(--sp-r); box-shadow: var(--sp-hard); background: var(--sp-white); }
.sp-fact--1 { background: #FFE2C2; }
.sp-fact--2 { background: #FFD1E3; }
.sp-fact--3 { background: #F3D3F7; }
.sp-fact__label { display: inline-block; margin-bottom: 10px; padding: 4px 14px; border-radius: 999px; background: var(--sp-plum); color: var(--sp-cream); font-size: 15px; letter-spacing: .02em; }
.sp-axisgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.sp-axis { position: relative; padding: 48px 22px 24px; border: 2.5px solid var(--sp-plum); border-radius: var(--sp-r); background: var(--sp-white); text-align: center; }
.sp-axis__n { position: absolute; top: -26px; left: 50%; transform: translateX(-50%) rotate(-6deg); display: grid; place-items: center; width: 54px; height: 54px; border: 2.5px solid var(--sp-plum); border-radius: 50%; background: var(--sp-sun); font-family: var(--sp-display); font-weight: 800; font-size: 24px; }
.sp-axis h3 { font-size: 21px; margin-bottom: 6px; }
.sp-axis p { font-size: 15px; color: var(--sp-plum-2); }

/* ---------- catalogue + filter tabs */
.sp-tabs-wrap { display: flex; justify-content: center; margin-bottom: 52px; }
.sp-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 6px; border: 2.5px solid var(--sp-plum); border-radius: 999px; background: var(--sp-white); box-shadow: var(--sp-hard); }
.sp-tab { min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-family: var(--sp-display); font-weight: 700; font-size: 15px; transition: background-color .15s ease; }
.sp-tab:hover { background: var(--sp-cream-2); }
.sp-tab[aria-pressed="true"] { background: var(--sp-grad); color: var(--sp-white); }
.sp-tiles--cat { row-gap: 56px; }
.sp-cat__item[hidden] { display: none; }
.sp-tile__cat { position: absolute; top: 18px; left: 18px; padding: 3px 12px; border-radius: 999px; background: var(--sp-plum); color: var(--sp-cream); font-size: 13px; font-weight: 800; }
.sp-cat__empty { text-align: center; font-weight: 700; }

/* ---------- game page */
.sp-phero--game { text-align: left; }
.sp-game { position: relative; display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: center; }
.sp-game__copy { display: grid; gap: 18px; justify-items: start; }
.sp-game__copy .sp-stickers { justify-content: flex-start; }
.sp-source { padding: 12px 18px; border: 2.5px solid var(--sp-plum); border-radius: 22px; background: rgba(42, 16, 51, .35); font-weight: 600; }
.sp-game__art { position: relative; }
.sp-game__art::before { content: ""; position: absolute; inset: -6%; border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%; background: var(--sp-sun); transform: rotate(-8deg); }
.sp-game__icon { position: relative; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 4px solid var(--sp-plum); border-radius: 40px; box-shadow: var(--sp-hard-lg); transform: rotate(4deg); }
.sp-strat { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.sp-strat__fig { position: relative; padding: 10px; border: 3px solid var(--sp-plum); border-radius: 30px; background: var(--sp-white); box-shadow: var(--sp-hard-lg); transform: rotate(-1.5deg); }
.sp-strat__fig::before { content: ""; position: absolute; top: -16px; left: 50%; width: 120px; height: 30px; transform: translateX(-50%) rotate(-4deg); background: rgba(255, 210, 63, .85); border: 2px solid rgba(42, 16, 51, .2); }
.sp-strat__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; }
.sp-strat__copy { display: grid; gap: 18px; justify-items: start; }

/* ---------- legal */
.sp-legal { max-width: 860px; margin: 0 auto; padding: 44px 48px; border: 2.5px solid var(--sp-plum); border-radius: 36px; background: var(--sp-white); box-shadow: var(--sp-hard-lg); }
.sp-legal__sec + .sp-legal__sec { margin-top: 30px; padding-top: 30px; border-top: 2px dashed rgba(42, 16, 51, .2); }
.sp-legal__h { display: flex; align-items: center; gap: 14px; font-size: 24px; margin-bottom: 12px; }
.sp-legal__n { flex-shrink: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sp-grad); color: var(--sp-white); font-size: 17px; }
.sp-legal__p { color: var(--sp-plum-2); }
.sp-legal__p + .sp-legal__p { margin-top: 10px; }
.sp-legal__p a { color: var(--sp-pink); font-weight: 700; }
.sp-table-wrap { overflow-x: auto; margin: 6px 0 14px; border: 2px solid var(--sp-plum); border-radius: 20px; }
.sp-table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 15px; }
.sp-table th, .sp-table td { padding: 12px 14px; text-align: left; vertical-align: top; }
.sp-table th { background: var(--sp-cream-2); font-family: var(--sp-display); }
.sp-table tr + tr td { border-top: 2px dashed rgba(42, 16, 51, .15); }
.sp-table td:first-child { font-weight: 800; }

/* ---------- footer (wave edge, plum) */
.sp-foot { margin-top: 40px; color: var(--sp-cream); }
.sp-foot .sp-wave { margin-bottom: -1px; }
.sp-foot__inner { display: grid; justify-items: center; gap: 22px; padding-top: 30px; padding-bottom: 36px; text-align: center; background: var(--sp-plum); max-width: none; }
.sp-brand--foot .sp-brand__name { font-size: 30px; }
.sp-foot__tag { max-width: 520px; color: rgba(255, 247, 240, .8); }
.sp-foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sp-foot__links a, .sp-foot__links button {
  display: inline-block; padding: 7px 16px; border: 2px solid rgba(255, 247, 240, .3); border-radius: 999px; background: none; cursor: pointer;
  text-decoration: none; font-weight: 700; font-size: 15px; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.sp-foot__links a:hover, .sp-foot__links button:hover { background: var(--sp-sun); border-color: var(--sp-sun); color: var(--sp-plum); }
.sp-foot__social { display: flex; gap: 12px; }
.sp-foot__social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sp-sun); border: 2px solid var(--sp-sun); transition: transform .2s ease; }
.sp-foot__social a:hover { transform: rotate(-10deg) scale(1.08); }
.sp-foot__social img { width: 20px; height: 20px; }
.sp-foot__contact a { font-weight: 700; overflow-wrap: anywhere; }
.sp-foot__copy { font-size: 14px; color: rgba(255, 247, 240, .7); }

/* ---------- cookie: corner card */
.sp-cookie {
  position: fixed; right: 24px; bottom: 24px; z-index: 120; width: min(360px, calc(100vw - 32px)); padding: 30px 24px 22px;
  border: 2.5px solid var(--sp-plum); border-radius: 28px; background: var(--sp-white); box-shadow: var(--sp-hard-lg);
  transform: rotate(-1deg); animation: sp-pop .45s cubic-bezier(.3, 1.6, .5, 1);
}
.sp-cookie[hidden] { display: none; }
.sp-cookie__icon { position: absolute; top: -30px; left: 20px; width: 60px; height: 60px; transform: rotate(-14deg); }
.sp-cookie__title { font-size: 22px; margin-bottom: 6px; }
.sp-cookie__text { font-size: 15px; line-height: 1.5; color: var(--sp-plum-2); }
.sp-cookie__text a { color: var(--sp-pink); font-weight: 800; }
.sp-cookie__actions { display: grid; gap: 10px; margin-top: 16px; }
.sp-cookie__actions .sp-btn { min-height: 44px; font-size: 15px; }
@keyframes sp-pop { from { opacity: 0; transform: translateY(30px) rotate(4deg) scale(.9); } to { opacity: 1; transform: rotate(-1deg); } }

/* ---------- responsive */
@media (max-width: 1024px) {
  .sp-hero__media { height: 360px; }
  .sp-hero__card { grid-template-columns: 1fr; gap: 22px; width: calc(100% - 32px); }
  .sp-hero__side { grid-template-columns: 1fr 1fr; }
  .sp-hero__deco { display: none; }
  .sp-shelf, .sp-strat { grid-template-columns: 1fr; gap: 48px; }
  .sp-shelf__media { max-width: 640px; }
  .sp-axisgrid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .sp-game { grid-template-columns: 1fr 260px; gap: 40px; }
  .sp-hello__card { grid-template-columns: 240px 1fr; padding: 0 32px 36px; }
}

@media (max-width: 768px) {
  .sp-sec { padding: 60px 0; }
  .sp-top { margin-bottom: -80px; }
  .sp-burger { display: block; }
  .sp-nav {
    position: absolute; top: calc(100% + 12px); left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 14px; padding: 16px;
    border: 2.5px solid var(--sp-plum); border-radius: 28px; background: var(--sp-white); box-shadow: var(--sp-hard);
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .sp-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
  .sp-nav__list { flex-direction: column; }
  .sp-nav__link { padding: 12px 18px; font-size: 20px; }
  .sp-lang { align-self: flex-start; }
  .sp-hero { padding-top: 120px; }
  .sp-hero__media { border-radius: 32px; }
  .sp-hero + .sp-sec { padding-top: 110px; }
  .sp-cards { grid-template-columns: 1fr; gap: 26px; }
  .sp-card--2 { transform: rotate(1.5deg); }
  .sp-tiles { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .sp-tiles > li:nth-child(3n + 2) { transform: none; }
  .sp-tiles > li:nth-child(even) { transform: translateY(22px); }
  .sp-tempo__head { grid-template-columns: 1fr 120px; }
  .sp-tempo__badge { width: 120px; }
  .sp-hello { padding-top: 100px; }
  .sp-hello__card { grid-template-columns: 1fr; gap: 8px; padding: 0 24px 30px; }
  .sp-hello__img { max-width: 200px; }
  .sp-hello__copy { padding-top: 12px; }
  .sp-facts { grid-template-columns: 1fr; }
  .sp-game { grid-template-columns: 1fr; }
  .sp-game__art { max-width: 240px; margin: 12px 0 0 12px; }
  .sp-legal { padding: 28px 22px; border-radius: 28px; }
  .sp-method__img { height: 240px; }
}

@media (max-width: 480px) {
  :root { --sp-side: 16px; }
  body { font-size: 16px; }
  .sp-pill { min-height: 58px; gap: 10px; }
  .sp-brand__mark { width: 36px; height: 36px; }
  .sp-brand__name { font-size: 19px; }
  .sp-burger { width: 44px; height: 44px; }
  .sp-burger span { left: 10.5px; }
  .sp-burger span:nth-child(1) { top: 12px; }
  .sp-burger span:nth-child(2), .sp-burger[aria-expanded="true"] span:nth-child(1), .sp-burger[aria-expanded="true"] span:nth-child(3) { top: 18.5px; }
  .sp-burger span:nth-child(3) { top: 25px; }
  .sp-hero__media { height: 260px; border-width: 4px; }
  .sp-hero__card { width: 100%; padding: 24px 20px; margin-bottom: -50px; }
  .sp-hero__side { grid-template-columns: 1fr; }
  .sp-sticker { font-size: 13px; }
  .sp-row { border-radius: 26px; grid-template-columns: 48px 1fr; padding: 12px 16px 12px 12px; }
  .sp-row__icon { width: 48px; height: 48px; }
  .sp-tiles { gap: 30px 16px; }
  .sp-tile { padding: 6px; border-radius: 22px; }
  .sp-tile__img { border-radius: 16px; }
  .sp-tile__name { font-size: 13px; padding: 4px 10px; }
  .sp-tile__cat { top: 12px; left: 12px; font-size: 11px; }
  .sp-tempo__head { grid-template-columns: 1fr; }
  .sp-tempo__badge { display: none; }
  .sp-axisgrid { grid-template-columns: 1fr; }
  .sp-tabs { border-radius: 26px; }
  .sp-cookie { right: 16px; bottom: 16px; }
  .sp-method__img { height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .sp-tempo__badge { animation: none; }
}
