/* Totem SMP web, v3 (approved design 2026-11): the castle at night behind everything, a violet-to-black veil,
   chunky Monocraft type with a hard shadow, saturated bento cards and white panels with a darker bottom lip.
   Shared by /, /shop/, /pass/, /podminky, /soukromi. Fonts come from /assets/fonts.css. */
:root {
  --ink: #2a1608; --muted: #7a6150; --soft: #e2c9a3; --lilac: #fbe8c8;
  --green: #3fcf6b; --green-d: #23994a;
  --blue: #4c8dff; --blue-d: #2f62c9;
  --orange: #ff9c33; --orange-d: #d06d12;
  --violet: #1fb58a; --violet-d: #138062;
  --pink: #ff6fb5; --pink-d: #c9407f;
  --yellow: #ffd84a; --yellow-d: #c9a521;
  --discord: #5865f2;
  --panel: rgba(32, 17, 6, .66);
  --paper: #fff; --paper-2: #fbf3e4; --paper-lip: #e6d3b3; --paper-line: #f0e4cf;
  /* "dark context" tokens (overridden inside white panels) */
  --text: #fff; --mute: var(--soft); --line: rgba(255, 255, 255, .1);
  --wrap: 1180px; --gut: 16px;
  --spring: cubic-bezier(.3, 1.45, .5, 1);
  --out: cubic-bezier(.2, .8, .2, 1);
  --mc: 'Monocraft', ui-monospace, monospace;
  --ui: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: #170d06; color: var(--text); font: 500 16px/1.6 var(--ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(70, 36, 8, .08) 0%, rgba(48, 24, 6, .34) 40%, rgba(20, 10, 3, .78) 100%), url(/assets/hero-poster.jpg) center 35% / cover;
  background: linear-gradient(180deg, rgba(70, 36, 8, .08) 0%, rgba(48, 24, 6, .34) 40%, rgba(20, 10, 3, .78) 100%), image-set(url(/assets/castle.webp) type('image/webp'), url(/assets/hero-poster.jpg) type('image/jpeg')) center 35% / cover; }
img { display: block; max-width: 100%; }
.px, img.px { image-rendering: pixelated; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
::selection { background: var(--violet); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
code { font: 700 .92em var(--ui); background: rgba(0, 0, 0, .25); padding: 1px 6px; white-space: nowrap; }

/* ---------- type ---------- */
.h { font-family: var(--mc); font-weight: 700; color: #fff; text-shadow: 4px 4px 0 rgba(0, 0, 0, .3); letter-spacing: .5px; line-height: 1.05; text-transform: uppercase; }
.h .y { color: var(--yellow); }
.lead { color: var(--lilac); font-size: 16px; line-height: 1.7; max-width: 56ch; }
.lead b { color: #fff; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; font: 700 16px/1 var(--ui); color: #fff; text-shadow: 2px 2px 0 rgba(0, 0, 0, .3); text-transform: uppercase; white-space: nowrap; cursor: pointer; user-select: none;
  background: var(--bg, var(--green)); box-shadow: inset 0 -6px 0 var(--bg-d, var(--green-d)); padding-bottom: 6px;
  transition: transform .25s var(--spring), filter .2s; }
.btn:active { transform: translateY(2px); box-shadow: inset 0 -3px 0 var(--bg-d, var(--green-d)); padding-bottom: 3px; }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); filter: brightness(1.06); } .btn:active { transform: translateY(2px); } }
.btn.w { --bg: #fff; --bg-d: #e3cfae; color: var(--ink); text-shadow: none; }
.btn.o { --bg: var(--orange); --bg-d: var(--orange-d); }
.btn.v { --bg: var(--violet); --bg-d: var(--violet-d); }
.btn.b { --bg: var(--blue); --bg-d: var(--blue-d); }
.btn.k { --bg: var(--ink); --bg-d: #000; }
.btn.d { --bg: var(--discord); --bg-d: #3c45b5; }
.btn.sm { min-height: 42px; padding: 0 16px 5px; font-size: 14px; box-shadow: inset 0 -5px 0 var(--bg-d, var(--green-d)); }
.btn[disabled] { opacity: .55; cursor: default; transform: none; filter: none; }
.btn svg, .btn img { width: 18px; height: 18px; flex: none; image-rendering: pixelated; }

/* small dark tag chip */
.chip { display: inline-flex; align-items: center; gap: 7px; font: 400 12px/1 var(--ui); color: #fff; background: rgba(0, 0, 0, .22); padding: 6px 9px; white-space: nowrap; }
.chip.dark { background: rgba(24, 12, 4, .55); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08); }
.dot { width: 8px; height: 8px; background: #7dffa6; box-shadow: 0 0 0 2px rgba(125, 255, 166, .25); flex: none; }
.dot.off { background: #ff7a7a; box-shadow: 0 0 0 2px rgba(255, 122, 122, .25); }

/* ---------- top: header bar + page hero over the world ---------- */
.top { position: relative; overflow: hidden; padding: 26px var(--gut) 96px; }
.bar { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.pill { display: flex; align-items: center; gap: 12px; color: #fff; text-align: left; justify-self: start; }
.pill.r { justify-self: end; text-align: right; }
.ib { width: 52px; height: 52px; background: #fff; display: grid; place-items: center; box-shadow: inset 0 -5px 0 #dcc6a2; flex: none; transition: transform .3s var(--spring); }
.ib svg { width: 26px; height: 26px; margin-top: -4px; }
@media (hover: hover) { .pill:hover .ib { transform: translateY(-3px) rotate(-4deg); } .pill.r:hover .ib { transform: translateY(-3px) rotate(4deg); } }
.pill b { display: block; font-size: 17px; line-height: 1.2; text-shadow: 3px 3px 0 rgba(0, 0, 0, .3); }
.pill small { display: block; font-size: 12px; opacity: .85; line-height: 1.4; }
.pill small i { font-style: normal; color: #7dffa6; }
.pill small i.off { color: #ff9a9a; }
.logo { display: block; transition: transform .35s var(--spring); }
.logo img { width: 116px; height: 116px; margin: 0 auto; image-rendering: pixelated; filter: drop-shadow(0 8px 0 rgba(0, 0, 0, .25)); }
@media (hover: hover) { .logo:hover { transform: translateY(-4px) rotate(-3deg); } }
.menu { position: relative; z-index: 2; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 16px auto 0; max-width: var(--wrap); }
.menu a { font: 700 13px/1 var(--ui); text-transform: uppercase; color: #fff; padding: 9px 12px 11px; background: rgba(24, 12, 4, .45); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 255, 255, .07); transition: background .2s, transform .25s var(--spring); }
@media (hover: hover) { .menu a:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); } }
.menu a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: inset 0 -3px 0 #e3cfae; }

/* home hero */
.hero { position: relative; z-index: 2; max-width: var(--wrap); margin: 40px auto 0; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 20px; }
.hero .chip { margin-bottom: 18px; }
.hero h1 { font-size: 64px; }
.hero .lead { margin: 18px 0 26px; max-width: 520px; font-size: 17px; }
.btns { display: flex; gap: 14px; flex-wrap: wrap; }
.ipline { margin-top: 16px; font-size: 13px; color: var(--soft); }
.ipline b { color: #fff; }
.art { position: relative; height: 440px; }
.art img { position: absolute; right: 40px; top: -24px; height: 470px; width: auto; filter: drop-shadow(0 0 40px rgba(255, 216, 74, .35)) drop-shadow(0 14px 0 rgba(0, 0, 0, .18)); animation: bob 4.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* sub-page hero: title left, a render right */
.phero { position: relative; z-index: 2; max-width: var(--wrap); margin: 34px auto 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 20px; min-height: 260px; }
.phero h1 { font-size: 56px; }
.phero .chip { margin-bottom: 16px; }
.phero .lead { margin: 16px 0 0; }
.phero .btns { margin-top: 24px; }
.phero .art { height: 300px; }
.phero .art img { height: 330px; right: 20px; top: -18px; }
.phero.slim { min-height: 0; grid-template-columns: 1fr; }
.phero.slim h1 { font-size: 44px; }

/* the pixel crenellation between the world and the content panel */
.cren { height: 28px; margin-top: -28px; position: relative; z-index: 3;
  background: linear-gradient(var(--panel), var(--panel)) bottom / 100% 14px no-repeat, repeating-linear-gradient(90deg, var(--panel) 0 28px, transparent 28px 56px) top / 100% 14px no-repeat; }
.body { background: var(--panel); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
main.wrap { padding-top: 34px; padding-bottom: 64px; }

/* section heading */
.sec { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 20px; margin: 0 0 22px; }
.sec .h { font-size: 34px; text-shadow: 4px 4px 0 rgba(0, 0, 0, .45); }
.sec small, .sec p { color: var(--soft); font-size: 14px; }
.gap { margin-top: 64px; }

/* ---------- bento cards ---------- */
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.card { --bg: var(--green); --bg-d: var(--green-d); position: relative; overflow: hidden; isolation: isolate; padding: 28px 28px 34px; min-height: 270px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--bg); box-shadow: inset 0 -10px 0 var(--bg-d); grid-column: span 2; transition: transform .35s var(--spring); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 80% 10%, rgba(255, 255, 255, .28), transparent 55%); pointer-events: none; }
.card.wide { grid-column: span 3; }
.card.full { grid-column: 1 / -1; }
.card .h { font-size: 34px; position: relative; z-index: 2; }
.card p { position: relative; z-index: 2; font-size: 14px; line-height: 1.55; max-width: 300px; margin: 10px 0 18px; opacity: .96; text-shadow: 1px 1px 0 rgba(0, 0, 0, .12); }
.card .chip { position: relative; z-index: 2; align-self: flex-start; margin-bottom: 10px; }
.card .go { position: relative; z-index: 2; align-self: flex-start; font: 700 14px/1 var(--ui); text-transform: uppercase; background: #fff; color: var(--ink); padding: 12px 18px 15px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18); transition: transform .25s var(--spring); }
.card .obj { position: absolute; z-index: 1; width: auto; height: auto; filter: drop-shadow(0 12px 0 rgba(0, 0, 0, .12)); transition: transform .45s var(--spring); pointer-events: none; }
.card:not(.wide):not(.full) p { max-width: 220px; }
a.card { cursor: pointer; }
@media (hover: hover) {
  .card:hover, .lift:hover { transform: translateY(-6px); }
  .card:hover .obj { transform: translateY(-6px) rotate(-3deg); }
  .card:hover .go { transform: translateY(-2px); }
}
.c-green { --bg: var(--green); --bg-d: var(--green-d); }
.c-orange { --bg: var(--orange); --bg-d: var(--orange-d); }
.c-blue { --bg: var(--blue); --bg-d: var(--blue-d); }
.c-pink { --bg: var(--pink); --bg-d: var(--pink-d); }
.c-violet { --bg: var(--violet); --bg-d: var(--violet-d); }
.lift { transition: transform .35s var(--spring); }

/* ---------- white panel (dense info) and dark glass tiles ---------- */
.wp { --text: var(--ink); --mute: var(--muted); --line: var(--paper-line); position: relative; background: var(--paper); color: var(--ink); padding: 26px; box-shadow: inset 0 -8px 0 var(--paper-lip); }
.wp .h { color: var(--ink); text-shadow: 3px 3px 0 #eedcbc; }
.wp .sec small, .wp .sec p { color: var(--muted); }
.wp a:not(.btn):not(.go) { color: var(--violet-d); text-decoration: underline; text-underline-offset: 3px; }
.glass { position: relative; background: rgba(255, 255, 255, .07); padding: 20px; color: #fff; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 255, 255, .08); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.st b { font-size: 30px; display: block; line-height: 1.15; text-shadow: 3px 3px 0 rgba(0, 0, 0, .4); }
.st small { color: var(--soft); font-size: 13px; }

/* rank card */
.ranks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.rk { --text: var(--ink); --mute: var(--muted); --line: var(--paper-line); position: relative; background: #fff; color: var(--ink); padding: 22px 20px 26px; box-shadow: inset 0 -8px 0 var(--paper-lip); display: flex; flex-direction: column; }
.rk .tagimg { height: 96px; display: grid; place-items: center; margin: -6px 0 14px; }
.rk .tagimg img { max-width: 100%; max-height: 96px; width: auto; filter: drop-shadow(0 8px 0 rgba(0, 0, 0, .12)); transition: transform .45s var(--spring); }
@media (hover: hover) { .rk:hover .tagimg img { transform: translateY(-5px) rotate(-3deg); } }
.rk .pr { font-size: 26px; font-weight: 700; line-height: 1.2; }
.rk .pr small { font-size: 13px; color: var(--muted); font-weight: 400; }
.rk .alt { font-size: 13px; color: var(--muted); margin-top: 2px; }
.rk .alt b { color: var(--ink); }
.rk ul { list-style: none; margin: 14px 0 18px; font-size: 13px; line-height: 1.5; color: #4a3322; flex: 1; display: grid; gap: 7px; align-content: start; }
.rk li { display: grid; grid-template-columns: 8px 1fr; gap: 10px; }
.rk li::before { content: ""; width: 8px; height: 8px; margin-top: .45em; background: var(--c); }
.rk .buy { --bg: var(--c); --bg-d: color-mix(in srgb, var(--c) 70%, #000); width: 100%; min-height: 46px; font-size: 14px; }
.rk.custom { background: linear-gradient(180deg, #fff7d6, #fff 55%); box-shadow: inset 0 -8px 0 #e8d58a; }
.rk.custom li::before { background: #e2b100; }
.rk.custom .buy { --bg: #2e1f12; --bg-d: #000; box-shadow: inset 0 -5px 0 #000, inset 0 0 0 3px #e2b100; }
.rk.best { outline: 4px solid var(--yellow); outline-offset: -4px; }
.rk.best::after { content: "NEJOBLÍBENĚJŠÍ"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 700; padding: 5px 10px 7px; box-shadow: inset 0 -3px 0 var(--yellow-d); white-space: nowrap; }

/* accordion (rules, faq) */
.acc details { border-top: 2px solid var(--paper-line); }
.acc details:first-child { border-top: 0; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 0; font: 700 16px/1.3 var(--ui); text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .n { width: 34px; height: 34px; flex: none; display: grid; place-items: center; color: #fff; background: var(--c, var(--violet)); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .22); text-shadow: 2px 2px 0 rgba(0, 0, 0, .25); padding-bottom: 3px; }
.acc summary::after { content: "+"; margin-left: auto; font-size: 22px; color: var(--muted); transition: transform .3s var(--spring); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details > *:not(summary) { padding: 0 0 18px 48px; color: #4a3322; font-size: 14px; line-height: 1.75; }
.acc ul { list-style: none; display: grid; gap: 6px; }
.acc li { display: grid; grid-template-columns: 8px 1fr; gap: 10px; }
.acc li::before { content: ""; width: 8px; height: 8px; margin-top: .6em; background: var(--c, var(--violet)); }

/* ---------- footer ---------- */
.foot { border-top: 2px solid rgba(255, 255, 255, .06); padding: 34px var(--gut) 46px; text-align: center; color: #8f84b3; font-size: 12px; }
.foot .fl { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 16px; color: #fff; font-weight: 700; font-size: 15px; text-shadow: 2px 2px 0 rgba(0, 0, 0, .4); }
.foot .fl img { width: 150px; height: auto; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .3)); }
.foot nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 16px; font-size: 13px; }
.foot nav a { color: var(--lilac); }
.foot nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot small { display: block; font-size: 12px; line-height: 1.6; max-width: 70ch; margin: 0 auto; }

/* toast after copying */
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 200; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; background: #fff; color: var(--ink); font: 700 14px/1.3 var(--ui); padding: 14px 18px 18px; box-shadow: inset 0 -5px 0 #e3cfae, 0 18px 40px rgba(0, 0, 0, .45); transition: transform .45s var(--spring), visibility 0s .45s; max-width: calc(100% - 32px); text-align: center; }
.toast.on { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--spring), visibility 0s; }

/* reveal on scroll: a short rise, nothing more */
.js .rv { opacity: 0; transform: translateY(18px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity .6s var(--out), transform .7s var(--spring); transition-delay: calc(var(--i, 0) * 70ms); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .ranks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; }
  .hero h1 { font-size: 52px; }
}
@media (max-width: 820px) {
  :root { --gut: 16px; }
  .top { padding-top: 18px; padding-bottom: 80px; }
  .bar { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .logo { grid-column: 1 / -1; grid-row: 1; }
  .logo img { width: 84px; height: 84px; }
  .pill small { display: none; }
  .pill b { font-size: 15px; }
  .ib { width: 48px; height: 48px; }
  .menu { gap: 6px; margin-top: 14px; }
  .menu a { font-size: 12px; padding: 8px 9px 10px; }
  .hero { grid-template-columns: 1fr; text-align: center; margin-top: 18px; justify-items: center; }
  .hero .lead { margin-inline: auto; }
  .btns { justify-content: center; }
  .hero h1 { font-size: 40px; }
  .hero .art { height: 270px; width: 100%; order: -1; }
  .hero .art img { height: 290px; right: 50%; transform: translateX(50%); top: 0; animation-name: bobc; }
  .phero { grid-template-columns: 1fr; min-height: 0; margin-top: 18px; text-align: center; justify-items: center; }
  .phero .lead { margin-inline: auto; }
  .phero h1, .phero.slim h1 { font-size: 34px; }
  .phero .art { height: 190px; width: 100%; order: -1; }
  .phero .art img { height: 200px; right: 50%; transform: translateX(50%); top: 0; animation-name: bobc; }
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .grid > .card { grid-column: auto; }
  .card { padding: 130px 22px 30px; min-height: 0; }
  .card .obj { width: 150px !important; height: auto !important; right: -12px !important; top: -12px !important; left: auto !important; bottom: auto !important; }
  .card p, .card:not(.wide):not(.full) p { max-width: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .st b { font-size: 24px; }
  .sec { flex-direction: column; align-items: flex-start; gap: 6px; }
  .sec .h { font-size: 28px; }
  .gap { margin-top: 48px; }
  .wp { padding: 20px 18px; }
  .rk .tagimg { height: 64px; } .rk .tagimg img { max-height: 64px; }
  .rk .pr { font-size: 20px; }
  .acc details > *:not(summary) { padding-left: 0; }
}
@media (max-width: 420px) {
  .ranks { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .btn { padding-inline: 18px; }
  .btns .btn { flex: 1 1 100%; }
}
@keyframes bobc { 0%, 100% { transform: translateX(50%); } 50% { transform: translateX(50%) translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
  .art img { animation: none !important; }
  .card, .card .obj, .lift, .btn, .rk .tagimg img, .ib, .logo, .menu a, .toast { transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* ---------- v3.1: clean + easy to follow (owner feedback 2026-11-19) ---------- */
.lead, .card p, .sec small, .sec p { text-shadow: none; }
.btn, .card .go, .menu a { letter-spacing: .3px; }
.pill b { text-shadow: none; font-weight: 800; }
/* the IP as one big obvious button */
.ipbox { display: inline-flex; align-items: center; gap: 14px; background: #fff; color: var(--ink); padding: 10px 10px 14px 18px; box-shadow: inset 0 -6px 0 #e3cfae, 0 14px 40px rgba(0,0,0,.35); cursor: pointer; transition: transform .25s var(--spring); max-width: 100%; }
.ipbox:hover { transform: translateY(-3px); }
.ipbox .ipl { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; line-height: 1.1; }
.ipbox b { font: 700 24px/1 var(--mc); }
.ipbox .ipc { background: var(--green); color: #fff; font-weight: 900; text-transform: uppercase; font-size: 15px; padding: 12px 16px 15px; box-shadow: inset 0 -5px 0 var(--green-d); }
.hero .ipline { margin-top: 14px; }
/* "scroll down" cue at the bottom of the hero */
.scrollcue { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 6px; width: max-content; margin: 18px auto 0; color: #fff; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; opacity: .9; }
.scrollcue i { width: 34px; height: 34px; background: #fff; display: grid; place-items: center; box-shadow: inset 0 -4px 0 #e3cfae; }
.scrollcue i::before { content: ""; width: 10px; height: 10px; border: solid var(--ink); border-width: 0 3px 3px 0; transform: translateY(-2px) rotate(45deg); }
@keyframes cue { 50% { transform: translateY(6px); } }
.scrollcue i { animation: cue 1.6s ease-in-out infinite; }
/* sticky bar after the hero: logo, menu, play button, always visible */
.stick { position: fixed; z-index: 90; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 14px; padding: 8px max(16px, calc((100% - 1180px) / 2)); background: rgba(28, 14, 5, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 10px 30px rgba(0,0,0,.35); transform: translateY(-110%); transition: transform .3s var(--spring); }
.stick.on { transform: none; }
.stick .sl img { width: 40px; height: 40px; }
.stick nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.stick nav::-webkit-scrollbar { display: none; }
.stick nav a { flex: none; color: #d9d0f5; font-weight: 800; font-size: 14px; padding: 8px 11px; }
.stick nav a:hover, .stick nav a.cur { color: #fff; background: rgba(255,255,255,.1); }
.stick .btn { min-height: 40px; padding: 0 14px 4px; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .scrollcue i { animation: none; } .stick { transition: none; } }
@media (max-width: 820px) {
  .menu { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); padding: 0 var(--gut); }
  .menu::-webkit-scrollbar { display: none; }
  .menu a { flex: none; font-size: 13px; }
  .ipbox { width: 100%; justify-content: space-between; padding-left: 14px; }
  .ipbox b { font-size: 19px; }
  .ipbox .ipl { display: none; }
  .stick .btn span { display: none; }
  .stick { gap: 8px; }
  .stick .sl img { width: 34px; height: 34px; }
}
section[id], [id="jak"] { scroll-margin-top: 76px; }
.step > span:not(.n) { font-size: 15px; line-height: 1.55; }
.step .n { font-family: var(--mc); }
.step strong { color: #fff; font-weight: 800; }
.card p { font-size: 15px; }
.rk ul { font-size: 14px; }
@media (max-width: 820px) {
  .hero .art { height: 190px !important; }
  .hero .art img { height: 200px !important; }
  .hero { margin-top: 18px !important; }
  .step { display: grid !important; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: start; padding: 16px !important; }
  .step .n { grid-row: span 2; font-size: 34px !important; line-height: 1 !important; }
  .step b { margin: 0 !important; }
  .join { gap: 10px !important; }
  .join-cta .btn { flex: 1; }
}
body::before { inset: -16px; filter: blur(3px) saturate(.9); }

/* ---------- v3.2: Benj-style home header + rounded everything ---------- */
:root { --r: 18px; --r-sm: 12px; }
.card, .wp, .rk, .glass, .st, .step, .acc, .soon { border-radius: var(--r); }
.card { overflow: hidden; }
.btn, .card .go, .ipbox, .ib, .tile, .tool, .tab, .subtab, .seg, .seg button, .variants, .search input, .x, .rm, .kr-pack, .cos, .price, .modal, .modal input, .toast, .stick .btn { border-radius: var(--r-sm); }
.chip, .tagline, .rk.best::after, .qtag, .rarity, .kr-flag, .kr-bonus { border-radius: 8px; }
.ipbox .ipc { border-radius: 9px; }
.rk .tagimg img { border-radius: 0; }
.menu a { border-radius: 999px; padding: 10px 16px 11px; }
.stick nav a { border-radius: 999px; }
.stick { border-radius: 0 0 var(--r) var(--r); }

/* home header: rays + glow behind a big 3D wordmark, play/discord buttons either side */
.top.home { padding-top: 22px; padding-bottom: 84px; }
.top.home::before { content: ""; position: absolute; inset: -20% -10% 0; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side at 50% 34%, rgba(255, 196, 70, .38), rgba(255, 130, 30, .16) 55%, transparent 80%),
              repeating-conic-gradient(from 0deg at 50% 34%, rgba(255, 220, 140, .09) 0 7deg, transparent 7deg 20deg);
  -webkit-mask: radial-gradient(closest-side at 50% 34%, #000 30%, transparent 100%); mask: radial-gradient(closest-side at 50% 34%, #000 30%, transparent 100%); }
@keyframes spin { to { transform: rotate(360deg); } }
.top.home .menu { margin: 0 auto 26px; }
.top.home .bar { align-items: center; }
.wm img { width: min(540px, 100%); height: auto; filter: drop-shadow(0 10px 0 rgba(0, 0, 0, .25)) drop-shadow(0 0 40px rgba(255, 190, 60, .25)); image-rendering: auto; }
.ib.play, .ib.dc { width: 72px; height: 72px; border-radius: 20px; box-shadow: inset 0 -6px 0 #e3cfae, 0 12px 30px rgba(0, 0, 0, .3); }
.ib.play svg { width: 34px; height: 34px; margin: -4px 0 0 4px; fill: #f5a623; }
.ib.dc svg { width: 36px; height: 36px; fill: #5865f2; margin-top: -4px; }
.top.home .pill b { font: 700 24px/1.1 var(--mc); text-shadow: 3px 3px 0 rgba(0, 0, 0, .35); display: flex; align-items: center; gap: 10px; }
.top.home .pill small { font-size: 14px; font-weight: 700; opacity: .9; }
.pill .cnt { font: 900 14px/1 var(--ui); font-style: normal; background: #fff; color: #f5a623; padding: 5px 8px 6px; border-radius: 8px; text-shadow: none; box-shadow: inset 0 -3px 0 #f1e2c6; }
.pill.r b { justify-content: flex-end; }
.hero2 { position: relative; z-index: 2; max-width: 760px; margin: 30px auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero2 h1 { font: 900 clamp(26px, 3.4vw, 40px)/1.15 var(--ui); color: #fff; margin: 16px 0 24px; text-shadow: 0 3px 0 rgba(0, 0, 0, .3); }
.hero2 h1 .y { color: #ffd84a; }
.hero2 .ipline { margin-top: 12px; }
.hero2 .deco { position: absolute; z-index: -1; pointer-events: none; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); animation: bob 5s ease-in-out infinite; }
.hero2 .deco.l { height: 300px; width: auto; left: -230px; top: -40px; }
.hero2 .deco.r { height: 200px; width: auto; right: -210px; top: 10px; animation-delay: -2.4s; }
@media (max-width: 1100px) { .hero2 .deco { display: none; } }
@media (max-width: 820px) {
  .top.home .bar { grid-template-columns: 1fr 1fr; }
  .top.home .logo { grid-column: 1 / -1; grid-row: 1; }
  .wm img { width: min(320px, 86vw); }
  .ib.play, .ib.dc { width: 56px; height: 56px; border-radius: 16px; }
  .ib.play svg { width: 26px; height: 26px; } .ib.dc svg { width: 28px; height: 28px; }
  .top.home .pill b { font-size: 17px; }
  .top.home .pill small { font-size: 12px; }
  .pill .cnt { font-size: 12px; padding: 4px 6px 5px; }
  .hero2 { margin-top: 18px; }
  .top.home .menu { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hero2 .deco { animation: none; } }
.top.home .pill b { white-space: nowrap; }
.scrollcue i { border-radius: 10px; }
.wm.sub img { width: 260px; } @media (max-width: 820px) { .wm.sub img { width: 210px; } }

/* ---------- TOTEM palette (2026-12): warm gold/brown to match the TOTEM logo, emerald accents from its eyes ---------- */
body { background: radial-gradient(1200px 700px at 50% -10%, #3a1d07 0%, transparent 70%), #170d06; }
.sec .h { color: #ffc93a; text-shadow: 3px 3px 0 #6b2f08, 6px 6px 0 rgba(0, 0, 0, .35); }
.sec .h .y { color: #fff; }
.glass { background: linear-gradient(180deg, rgba(255, 196, 100, .08), rgba(255, 196, 100, .03)); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .35), inset 0 0 0 2px rgba(255, 200, 120, .12); }
.menu a { box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(255, 200, 120, .14); }
.foot { color: #a68c6e; border-top-color: rgba(255, 200, 120, .1); }
::selection { background: #ffb526; color: #2a1608; }
.step .n { color: #ffc93a; text-shadow: 3px 3px 0 #6b2f08; }

/* ---------- phones: wrap the menu instead of a cut-off scroller, ranks two per row ---------- */
@media (max-width: 640px) {
  .menu, .top.home .menu { flex-wrap: wrap; overflow: visible; justify-content: center; margin-left: auto; margin-right: auto; padding: 0; gap: 6px; }
  .menu a { padding: 8px 10px 10px; font-size: 12px; }
  .ranks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .rk { padding: 18px 12px 18px; }
  .rk .tagimg { height: 56px; margin-bottom: 10px; } .rk .tagimg img { max-height: 56px; }
  .rk .pr { font-size: 19px; } .rk .pr small { display: block; font-size: 12px; }
  .rk .buy { min-height: 42px; font-size: 13px; }
  .rk.best::after { font-size: 10px; padding-inline: 8px; }
  .sec .h { font-size: 26px; text-shadow: 2px 2px 0 #6b2f08, 4px 4px 0 rgba(0, 0, 0, .35); }
}
