@font-face { font-family: Inter; src: url(/fonts/inter-medium.ttf) format('truetype'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/inter-semibold.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/inter-bold.ttf) format('truetype'); font-weight: 700 900; font-display: swap; }

:root {
  --bg: #000;
  --text: #f4f4f5;
  --muted: #8b8b93;
  --dim: #5c5c63;
  --line: rgba(255, 255, 255, .09);
  --line-hi: rgba(255, 255, 255, .2);
  --glass: rgba(255, 255, 255, .035);
  --glass-hi: rgba(255, 255, 255, .06);
  --r: 22px;
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--bg); color: var(--text); font: 500 16px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 8px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.hidden { display: none !important; }

/* tło: poświata + delikatna smuga jak w launcherze */
.glow { position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(60vw 40vw at 50% -10%, rgba(255,255,255,.09), transparent 70%),
    radial-gradient(40vw 30vw at 100% 40%, rgba(255,255,255,.04), transparent 70%),
    linear-gradient(115deg, transparent 46%, rgba(255,255,255,.035) 50%, transparent 54%); }

/* ------------------------------------------------ nawigacja */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(var(--max), calc(100% - 28px));
  display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(10, 10, 12, .62); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background .3s, border-color .3s; }
.nav.scrolled { background: rgba(10, 10, 12, .85); border-color: var(--line-hi); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 14.5px; transition: color .2s, background .2s; }
.links a:hover, .links a.on { color: var(--text); background: var(--glass-hi); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s; }
.menu-btn span:first-child { top: 16px } .menu-btn span:last-child { top: 22px }
.menu-btn[aria-expanded=true] span:first-child { transform: translateY(3px) rotate(45deg) }
.menu-btn[aria-expanded=true] span:last-child { transform: translateY(-3px) rotate(-45deg) }

/* ------------------------------------------------ przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15.5px; white-space: nowrap;
  transition: transform .2s, background .2s, box-shadow .25s, border-color .2s; }
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-light { background: #f4f4f5; color: #09090b; box-shadow: 0 10px 40px -12px rgba(255,255,255,.35); }
.btn-light:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 14px 50px -10px rgba(255,255,255,.45); }
.btn-ghost { border: 1px solid var(--line-hi); background: var(--glass); }
.btn-ghost:hover { background: var(--glass-hi); border-color: rgba(255,255,255,.35); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16.5px; }

/* ------------------------------------------------ typografia */
.h-xl, .h-lg { font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.h-xl { font-size: clamp(46px, 8.4vw, 112px); }
.h-lg { font-size: clamp(36px, 5.4vw, 68px); }
.h-xl span, .h-lg span { display: block; }
.grey { color: #6f6f76; }
.lead { color: #b4b4bb; font-size: clamp(16px, 1.6vw, 19px); max-width: 620px; margin: 22px auto 0; }
.lead.left { margin-left: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.kicker::before { content: ''; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, #fff); }

/* ------------------------------------------------ hero */
.hero { min-height: 100vh; padding: 120px 20px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-logo { position: relative; width: 330px; height: 170px; display: grid; place-items: center; margin-bottom: 8px; animation: rise 1s cubic-bezier(.2,.8,.2,1) both; }
.hero-logo img { width: 150px; filter: drop-shadow(0 0 40px rgba(255,255,255,.18)); animation: float 6s ease-in-out infinite; }
.orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit ellipse { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1; }
.orbit circle { fill: #fff; filter: drop-shadow(0 0 6px #fff); }
.pill-tag { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: #c8c8ce; font-size: 13.5px; font-weight: 600; margin-bottom: 26px; animation: rise 1s .1s both; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 10px #3ddc84; }
.hero .h-xl { animation: rise 1s .18s both; }
.hero .lead { animation: rise 1s .26s both; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 34px 0 14px; }
.hero .cta-row { animation: rise 1s .34s both; }
.hero > .small { animation: rise 1s .4s both; }

/* przewodnik po launcherze */
.tour { width: 100%; max-width: 1080px; margin-top: 64px; }
.tour-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); margin-bottom: 22px; flex-wrap: wrap; justify-content: center; }
.tour-tabs button { padding: 9px 18px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 14.5px; transition: background .25s, color .25s; }
.tour-tabs button:hover { color: var(--text); }
.tour-tabs button.on { background: #f4f4f5; color: #09090b; }
.tour-frame { position: relative; border-radius: 26px; padding: 10px; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.02)); border: 1px solid var(--line-hi);
  box-shadow: 0 60px 120px -40px rgba(255,255,255,.14), 0 30px 80px rgba(0,0,0,.8); transform: perspective(1800px) rotateX(8deg); transform-origin: 50% 100%; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.tour.in .tour-frame { transform: perspective(1800px) rotateX(0); }
.tour-frame img { border-radius: 18px; transition: opacity .35s; }
.tour-frame img.swap { opacity: 0; }
.tour-count { margin-top: 16px; color: var(--dim); font-size: 13px; letter-spacing: .04em; }
.tour-count b { color: var(--text); }

/* ------------------------------------------------ statystyki */
.stats { max-width: var(--max); margin: 40px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stats div { padding: 26px 22px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); }
.stats b { display: block; font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.stats span { color: var(--muted); font-size: 14px; }

/* ------------------------------------------------ sekcje */
.section { max-width: var(--max); margin: 0 auto; padding: 130px 20px 0; }
.head { margin-bottom: 48px; }
.card { border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); transition: border-color .3s, background .3s, transform .3s; }
.card:hover { border-color: var(--line-hi); background: var(--glass-hi); }

.grid.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feat { padding: 28px; }
.feat.big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.08), transparent 60%), var(--glass); }
.feat.big h3 { font-size: 30px; }
.feat.big p { font-size: 17px; max-width: 520px; }
.ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid var(--line); margin-bottom: 20px; }
.ico svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.feat p { color: var(--muted); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-hi); font-size: 13.5px; font-weight: 600; color: #d4d4d8; }

.versions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ver { padding: 26px 24px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.ver b { font-size: 34px; font-weight: 800; letter-spacing: -.04em; }
.ver span { color: var(--muted); }
.ver.soon b { color: #77777e; }
.badge { position: absolute; top: 20px; right: 20px; font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: #f4f4f5; color: #09090b; }
.badge.ghost { background: rgba(255,255,255,.07); color: var(--muted); }

/* skiny */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.lookup { display: flex; gap: 10px; margin: 30px 0 12px; max-width: 520px; }
.lookup input { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-hi); background: rgba(255,255,255,.04); color: var(--text); font: inherit; outline: none; transition: border-color .2s, background .2s; }
.lookup input:focus { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.07); }
.lookup .btn { height: 52px; }
.skin-card { padding: 34px 20px 26px; text-align: center; background: radial-gradient(80% 60% at 50% 30%, rgba(255,255,255,.08), transparent 70%), var(--glass); }
.skin-card canvas { width: 160px; height: 320px; margin: 0 auto; image-rendering: pixelated; filter: drop-shadow(0 24px 30px rgba(0,0,0,.7)); transition: transform .4s; }
.skin-card canvas.pop { transform: scale(.94); }
.skin-name { font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin-top: 18px; }
.capes { display: flex; gap: 12px; margin-top: 50px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.capes figure { flex: 0 0 auto; width: 96px; padding: 12px 10px 10px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); text-align: center; transition: transform .25s, border-color .25s; }
.capes figure:hover { transform: translateY(-4px); border-color: var(--line-hi); }
.capes canvas { width: 50px; height: 80px; margin: 0 auto 8px; image-rendering: pixelated; border-radius: 4px; }
.capes figcaption { font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* aktualizacje */
.changes { display: grid; gap: 12px; }
.change { padding: 24px 26px; display: grid; grid-template-columns: 170px 1fr; gap: 24px; }
.change.empty { display: block; }
.change .v { font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.change .d { color: var(--dim); font-size: 13.5px; }
.change ul { list-style: none; display: grid; gap: 6px; color: #c4c4ca; }
.change li { position: relative; padding-left: 18px; }
.change li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .5; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { padding: 0 26px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 17px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-hi); position: relative; transition: transform .3s, background .3s; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; background: #fff; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq details[open] summary i { background: #f4f4f5; }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #09090b; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { color: var(--muted); padding: 0 0 24px; max-width: 700px; }

/* cta + stopka */
.final { max-width: var(--max); margin: 150px auto 0; padding: 80px 20px; text-align: center; border-radius: 32px; display: flex; flex-direction: column; align-items: center;
  background: radial-gradient(70% 90% at 50% 0%, rgba(255,255,255,.1), transparent 70%); border-top: 1px solid var(--line); }
.final img { width: 96px; margin-bottom: 26px; filter: drop-shadow(0 0 30px rgba(255,255,255,.2)); }
.foot { max-width: var(--max); margin: 60px auto 0; padding: 30px 20px 40px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot p { flex: 1; min-width: 260px; }
.social { display: flex; gap: 8px; }
.social a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.social a:hover { color: var(--text); border-color: var(--line-hi); }

/* ------------------------------------------------ animacje */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .tour-frame { transform: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------ telefon / tablet */
@media (max-width: 960px) {
  .grid.feats { grid-template-columns: 1fr 1fr; }
  .feat.big { grid-column: span 2; grid-row: auto; min-height: 0; }
  .versions, .stats { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .change { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 760px) {
  .links { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; padding: 8px; border-radius: 22px; background: rgba(10,10,12,.95); border: 1px solid var(--line-hi);
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .25s, transform .25s; }
  .links.open { opacity: 1; pointer-events: auto; transform: none; }
  .links a { padding: 12px 16px; }
  .menu-btn { display: block; }
  .nav > .btn { margin-left: auto; }
  .grid.feats { grid-template-columns: 1fr; }
  .feat.big { grid-column: auto; }
  .lookup { flex-direction: column; }
  .section { padding-top: 100px; }
}
@media (max-width: 440px) { .versions, .stats { grid-template-columns: 1fr; } .tour-tabs button { padding: 8px 12px; font-size: 13.5px; } }
@media (min-width: 961px) { .grid.feats .feat:last-child { grid-column: span 3; } }
.capes { flex-wrap: wrap; justify-content: center; overflow: visible; }
.feat.big { background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(8,8,10,.92) 62%), url(/img/menu-game.webp) center 18% / cover no-repeat; }

/* ------------------------------------------------ wesprzyj / darowizny */
.donate { display: flex; gap: 32px; align-items: center; padding: 40px; background: radial-gradient(90% 120% at 0% 0%, rgba(255,90,120,.14), transparent 60%), var(--glass); }
.donate-heart { flex: 0 0 auto; width: 92px; height: 92px; border-radius: 24px; display: grid; place-items: center; background: rgba(255,90,120,.12); border: 1px solid rgba(255,90,120,.3); }
.donate-heart svg { width: 46px; height: 46px; fill: #ff5a78; filter: drop-shadow(0 0 16px rgba(255,90,120,.5)); animation: beat 1.8s ease-in-out infinite; }
.donate-body { flex: 1; min-width: 0; }
.donate .btn svg { width: 18px; height: 18px; fill: #e23b5a; stroke: none; }
@keyframes beat { 0%,100% { transform: scale(1); } 15% { transform: scale(1.14); } 30% { transform: scale(1); } 45% { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .donate-heart svg { animation: none; } }
@media (max-width: 680px) { .donate { flex-direction: column; text-align: center; padding: 30px 22px; } .donate .cta-row { justify-content: center !important; } }
