/* ============================================================
   KRESTOS CLIENT — MOTYW "SAKURA GLASS ELITE" 🌸
   Glassmorphism · 3D Tilt · Cursor Glow · Interactive ClickGUI
   ============================================================ */

:root {
    --p1: #ffd6e7;
    --p2: #ffa8c9;
    --p3: #f783ac;
    --p4: #e64980;
    --p5: #d6336c;
    --ink:      #3d1c2b;
    --muted:    #82576b;
    --glass:    rgba(255, 255, 255, .66);
    --glass-hi: rgba(255, 255, 255, .86);
    --line:     rgba(255, 255, 255, .92);
    --pinkline: #f5d0e0;
    --shadow:   0 12px 42px rgba(214, 51, 108, .12), 0 2px 8px rgba(74, 37, 54, .04);
    --glow:     0 22px 60px rgba(230, 73, 128, .28), 0 0 0 1px rgba(255, 168, 201, .55);
    --ok:       #0ca678;
    --ok-bg:    #e6fcf5;
    --err:      #e8590c;
    --err-bg:   #fff4e6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }

body {
    font-family: Inter, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink);
    line-height: 1.62;
    overflow-x: hidden;
    background:
        radial-gradient(900px 520px at 12% 8%, rgba(255, 182, 213, .45), transparent 60%),
        radial-gradient(820px 480px at 88% 18%, rgba(247, 131, 172, .28), transparent 60%),
        radial-gradient(980px 560px at 50% 95%, rgba(255, 214, 231, .55), transparent 65%),
        linear-gradient(135deg, #fff6f9, #ffe9f2, #fdf2f7, #ffedf5);
    background-size: 200% 200%;
    background-attachment: fixed;
    animation: bg 20s ease infinite;
    min-height: 100vh;
}
@keyframes bg { 50% { background-position: 100% 100%; } }

::selection { background: var(--p4); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #fff0f6; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--p3), var(--p5)); border-radius: 99px; border: 2px solid #fff0f6; }

h1, h2, h3, .brand, .num, .price { font-family: Poppins, Inter, sans-serif; line-height: 1.18; letter-spacing: -.02em; }
a { color: var(--p5); text-decoration: none; transition: color .2s; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--p3); outline-offset: 3px; }
code {
    background: rgba(255, 240, 246, .9);
    border: 1px solid var(--p1);
    border-radius: 7px; padding: 2px 7px; font-size: .88em;
    color: var(--p5); font-weight: 600; word-break: break-all;
}

/* ---------- pasek postępu scrolla + poświata kursora + ziarno ---------- */
#scrollBar {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 120;
    background: linear-gradient(90deg, var(--p3), var(--p5), #ff85b3);
    box-shadow: 0 0 12px var(--p4);
}
#cursorGlow {
    position: fixed; left: 0; top: 0; width: 420px; height: 420px;
    margin-left: -210px; margin-top: -210px;
    border-radius: 50%; pointer-events: none; z-index: 0;
    background: radial-gradient(circle, rgba(247, 131, 172, .22) 0%, rgba(255, 214, 231, .08) 45%, transparent 70%);
    transition: opacity .3s; opacity: 0;
}
body:hover #cursorGlow { opacity: 1; }
.noise {
    position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .028;
    background-image: radial-gradient(#4a2536 0.75px, transparent 0.75px);
    background-size: 14px 14px;
}

.wrap { width: min(1160px, 100% - 36px); margin: auto; }
section { padding: 72px 0; position: relative; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); text-align: center; }
.sub { text-align: center; color: var(--muted); margin: 10px auto 42px; max-width: 600px; font-size: 1.02rem; }
.eyebrow {
    display: table; margin: 0 auto 10px;
    padding: 4px 14px; border-radius: 99px;
    font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
    color: var(--p5); background: rgba(255, 224, 238, .85);
    border: 1px solid rgba(247, 131, 172, .35);
}
.grad {
    background: linear-gradient(90deg, var(--p5), var(--p3), #ff9ec4, var(--p5));
    background-size: 300%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: 300%; } }

.glass, .card {
    background: var(--glass);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    position: relative;
}
.card { padding: 24px; }

/* efekt spotlight + 3D tilt na kartach */
[data-tilt] {
    transform-style: preserve-3d;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s;
}
[data-tilt]::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    pointer-events: none; opacity: 0; transition: opacity .25s;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .65), transparent 60%);
}
[data-tilt]:hover::after { opacity: 1; }
[data-tilt]:hover { box-shadow: var(--glow); border-color: var(--p2); }

/* ---------- cząsteczki + płatki ---------- */
#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.petals { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.petal {
    position: absolute; top: -6vh;
    width: 13px; height: 13px;
    background: linear-gradient(135deg, #ffd6e7, #ff8fb1);
    border-radius: 100% 12% 100% 12%;
    box-shadow: 0 2px 6px rgba(230, 73, 128, .2);
    opacity: .72;
    animation: petal-fall linear infinite;
}
@keyframes petal-fall {
    0%   { transform: translate3d(0, -8vh, 0) rotate(0deg); }
    50%  { transform: translate3d(4vw, 55vh, 0) rotate(300deg); }
    100% { transform: translate3d(-3vw, 112vh, 0) rotate(640deg); }
}

/* ---------- przyciski (pill + shine + ripple) ---------- */
.btn {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; border-radius: 99px; border: 1px solid var(--line);
    font-weight: 600; font-size: 15px; font-family: inherit;
    background: var(--glass-hi); color: var(--ink);
    box-shadow: var(--shadow);
    transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s, filter .22s;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--glow); text-decoration: none; color: var(--ink); }
.btn:active { transform: translateY(0); }
.btn.primary {
    background: linear-gradient(120deg, var(--p5), var(--p4), var(--p3), var(--p5));
    background-size: 250%; color: #fff; border: 0;
    box-shadow: 0 10px 28px rgba(214, 51, 108, .32);
    animation: shine 8s linear infinite;
}
.btn.primary:hover { color: #fff; box-shadow: 0 16px 38px rgba(214, 51, 108, .45); }
.btn-outline { background: rgba(255, 255, 255, .9); color: var(--p5); border: 1.5px solid var(--p2); box-shadow: none; }
.btn-outline:hover { background: var(--p1); color: var(--p5); }
.btn-ghost { background: transparent; color: var(--p5); box-shadow: none; border-color: transparent; }
.btn-ghost:hover { background: rgba(255, 214, 231, .55); }
.btn-danger { background: linear-gradient(135deg, #ff8787, #e03131); color: #fff; border: 0; }
.btn-danger:hover { color: #fff; }
.btn-sm { padding: 7px 16px; font-size: 13.5px; }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.ripple {
    position: absolute; border-radius: 50%;
    background: rgba(255, 214, 231, .7);
    transform: scale(0); animation: rip .6s ease-out forwards; pointer-events: none;
}
@keyframes rip { to { transform: scale(2.6); opacity: 0; } }

/* ---------- nawigacja ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; }
.bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 14px 10px 22px; border-radius: 99px; transition: .3s;
}
.site-header.scrolled .bar { background: rgba(255, 255, 255, .9); box-shadow: var(--glow); }
.brand {
    font-weight: 800; font-size: 1.15rem; letter-spacing: -.3px;
    display: inline-flex; align-items: center; gap: 10px; color: var(--ink);
}
.brand img { filter: drop-shadow(0 4px 8px rgba(230, 73, 128, .28)); transition: transform .35s; }
.brand:hover img { transform: rotate(24deg) scale(1.08); }
.brand span { color: var(--p5); }
.brand:hover { text-decoration: none; }
.links { display: flex; gap: 22px; align-items: center; font-weight: 500; font-size: .95rem; }
.links > a { position: relative; color: var(--ink); }
.links > a:not(.btn)::after {
    content: ""; position: absolute; left: 0; bottom: -4px;
    width: 100%; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--p5), var(--p3));
    transform: scaleX(0); transform-origin: right; transition: transform .28s ease;
}
.links > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.links > a:not(.btn):hover { color: var(--p5); text-decoration: none; }
.links .inline-form { display: inline; }
.burger { display: none; background: none; border: 0; font-size: 1.5rem; padding: 0 8px; }

main.container {
    max-width: 1160px; margin: 0 auto; padding: 106px 18px 40px;
    position: relative; z-index: 1;
}

/* ---------- komunikaty ---------- */
.flash {
    padding: 13px 18px; border-radius: 16px; margin: 14px 0;
    font-size: 14.5px; font-weight: 600;
    background: var(--glass-hi); backdrop-filter: blur(12px);
    border: 1px solid var(--line); box-shadow: var(--shadow);
}
.flash-ok  { color: #087f5b; border-color: #b2f2bb; background: rgba(230, 252, 245, .88); }
.flash-err { color: #d9480f; border-color: #ffd8a8; background: rgba(255, 244, 230, .9); }

/* ---------- HERO (dwukolumnowy z makietą ClickGUI) ---------- */
.hero {
    min-height: 86vh; display: flex; align-items: center;
    position: relative; padding: 34px 0 28px;
}
.hero-grid {
    display: grid; grid-template-columns: 1.08fr .92fr;
    gap: 36px; align-items: center; width: 100%;
}
.hero-copy { text-align: left; }
.shape {
    position: absolute; border-radius: 35%; z-index: -1;
    background: linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(255, 168, 201, .45));
    box-shadow: var(--shadow); transition: translate .3s ease-out;
}
.shape i {
    display: block; width: 100%; height: 100%; border-radius: inherit;
    border: 1px solid #fff; animation: float 9s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-22px) rotate(14deg); } }

.pill {
    display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 7px 16px; border-radius: 99px; font-size: .86rem; font-weight: 500;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } }

.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); font-weight: 800; margin: 18px 0 14px; letter-spacing: -.035em; animation: pop .7s both; }
.hero .lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--muted); max-width: 540px; animation: pop .7s .1s both; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0; animation: pop .7s .2s both; }
.status {
    display: inline-flex; gap: 14px; align-items: center;
    padding: 12px 20px; font-size: .88rem; text-align: left; animation: pop .7s .3s both;
}
@keyframes pop { from { opacity: 0; scale: .93; } }

/* ---------- MAKIETA CLICKGUI W HERO ---------- */
.gui-mock {
    padding: 18px; border-radius: 26px;
    background: linear-gradient(155deg, rgba(255, 255, 255, .86), rgba(255, 226, 238, .74));
    border: 1.5px solid #fff;
    box-shadow: 0 28px 70px rgba(214, 51, 108, .22), inset 0 1px 0 #fff;
    animation: pop .75s .18s both;
}
.gm-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding-bottom: 12px; border-bottom: 1px solid rgba(230, 73, 128, .15);
    font-size: .84rem;
}
.gm-dots { display: flex; gap: 6px; }
.gm-dots span { width: 11px; height: 11px; border-radius: 50%; background: var(--p2); }
.gm-dots span:nth-child(1) { background: #ff7aa8; }
.gm-dots span:nth-child(2) { background: #ffb3cd; }
.gm-dots span:nth-child(3) { background: #8ce99a; }
.gm-title { font-weight: 600; color: var(--ink); }
.gm-title b { color: var(--p5); }
.gm-bind {
    font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 7px;
    background: rgba(214, 51, 108, .12); color: var(--p5); letter-spacing: .06em;
}
.gm-tabs {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
    margin: 12px 0;
}
.gm-tabs button {
    border: 1px solid rgba(230, 73, 128, .15); background: rgba(255, 255, 255, .65);
    padding: 8px 6px; border-radius: 12px; font-size: .8rem; font-weight: 600;
    color: var(--muted); transition: .2s;
}
.gm-tabs button:hover { color: var(--p5); border-color: var(--p3); }
.gm-tabs button.on {
    background: linear-gradient(120deg, var(--p5), var(--p3));
    color: #fff; border-color: transparent;
    box-shadow: 0 6px 16px rgba(214, 51, 108, .28);
}
.gm-body { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-height: 212px; }
.gm-mod {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 10px 12px; border-radius: 14px;
    background: rgba(255, 255, 255, .72); border: 1px solid rgba(245, 208, 224, .8);
    font-size: .83rem; font-weight: 600; color: var(--ink);
    transition: .2s; text-align: left;
}
.gm-mod small { display: block; font-size: .71rem; font-weight: 500; color: var(--muted); }
.gm-mod .sw {
    width: 34px; height: 20px; border-radius: 99px; flex: none;
    background: #f1d4e0; position: relative; transition: .22s;
}
.gm-mod .sw::after {
    content: ""; position: absolute; top: 3px; left: 3px;
    width: 14px; height: 14px; border-radius: 50%; background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2); transition: .22s;
}
.gm-mod.active {
    background: linear-gradient(135deg, rgba(255, 232, 242, .95), rgba(255, 255, 255, .92));
    border-color: var(--p3);
    box-shadow: 0 6px 18px rgba(230, 73, 128, .15);
}
.gm-mod.active .sw { background: linear-gradient(120deg, var(--p5), var(--p3)); }
.gm-mod.active .sw::after { transform: translateX(14px); }
.gm-foot {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
    margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(230, 73, 128, .15);
    font-size: .76rem; color: var(--muted);
}
.gm-foot b { color: var(--p5); }
.gm-hint { color: var(--p4); font-weight: 600; }

/* ---------- MARQUEE MODUŁÓW ---------- */
.marquee {
    overflow: hidden; padding: 14px 0; margin: 10px 0 6px;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
    display: flex; gap: 14px; width: max-content;
    animation: marquee 32s linear infinite;
}
.marquee-track span {
    padding: 8px 18px; border-radius: 99px;
    background: rgba(255, 255, 255, .72); border: 1px solid var(--line);
    box-shadow: 0 4px 14px rgba(214, 51, 108, .08);
    font-size: .86rem; font-weight: 600; color: var(--ink); white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- LICZNIKI ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stats > div { padding: 26px 14px; font-weight: 500; color: var(--muted); }
.num {
    font-size: clamp(1.8rem, 4.4vw, 2.75rem); font-weight: 800;
    background: linear-gradient(90deg, var(--p5), var(--p3));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.note { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 12px; }

/* ---------- BENTO GRID ---------- */
.bento {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.bento-card {
    padding: 28px; display: flex; flex-direction: column; gap: 10px;
    align-items: flex-start;
}
.bento-card.b-wide {
    grid-column: span 2; flex-direction: row; align-items: center; gap: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .82), rgba(255, 224, 238, .68));
}
.b-ico {
    width: 58px; height: 58px; border-radius: 18px; flex: none;
    display: grid; place-items: center; font-size: 1.65rem;
    background: linear-gradient(135deg, #fff, var(--p1));
    box-shadow: 0 8px 20px rgba(230, 73, 128, .16);
}
.bento-card h3 { font-size: 1.18rem; margin: 4px 0 2px; }
.bento-card p { color: var(--muted); font-size: .93rem; }

/* ---------- FUNKCJE: Legit / Rage ---------- */
.switch {
    display: flex; width: 270px; margin: 0 auto 34px; padding: 5px;
    position: relative; border-radius: 99px;
}
.switch button { flex: 1; border: 0; background: none; padding: 9px; font-weight: 600; z-index: 1; transition: color .3s; color: var(--muted); }
.switch button.on { color: #fff; }
.thumb {
    position: absolute; top: 5px; bottom: 5px; left: 5px;
    width: calc(50% - 5px); border-radius: 99px;
    background: linear-gradient(120deg, var(--p3), var(--p5));
    transition: .4s cubic-bezier(.6, -.2, .3, 1.3); box-shadow: var(--glow);
}
body.rage .thumb { transform: translateX(100%); background: linear-gradient(120deg, var(--p4), #9c1444); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid .card {
    padding: 24px; text-align: left; width: 100%;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    animation: pop .5s both;
}
.grid .card:hover { transform: translateY(-8px); box-shadow: var(--glow); border-color: var(--p2); }
.ico {
    width: 50px; height: 50px; border-radius: 16px;
    display: grid; place-items: center; font-size: 1.45rem;
    background: linear-gradient(135deg, #fff, var(--p1));
    box-shadow: 0 6px 16px rgba(230, 73, 128, .15);
    margin-bottom: 14px; transition: .3s;
}
.grid .card:hover .ico { rotate: -8deg; scale: 1.1; }
.grid .card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.grid .card p { font-size: .9rem; color: var(--muted); }
body.rage .ico { background: linear-gradient(135deg, #fff, #f9a8d4); }

/* ---------- FILM + GALERIE ---------- */
.video-frame {
    aspect-ratio: 16 / 9; background: #2b1220; border-radius: 26px;
    overflow: hidden; box-shadow: var(--glow); border: 1.5px solid #fff;
}
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.media-stage {
    position: relative; overflow: hidden;
    padding: 64px 24px; text-align: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(255, 214, 231, .62));
    border: 1.5px solid #fff;
    display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.ms-glow {
    position: absolute; width: 280px; height: 280px; border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 73, 128, .28), transparent 70%);
    pointer-events: none;
}
.ms-play {
    width: 68px; height: 68px; border-radius: 50%;
    display: grid; place-items: center; font-size: 1.5rem; padding-left: 4px;
    background: linear-gradient(135deg, var(--p5), var(--p3)); color: #fff;
    box-shadow: 0 12px 30px rgba(214, 51, 108, .38);
    animation: halo 2.4s infinite;
}

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.shot-card {
    margin: 0; border-radius: 24px; overflow: hidden;
    border: 1.5px solid #fff; box-shadow: var(--shadow); background: rgba(255, 255, 255, .75);
}
.shot { width: 100%; height: 220px; object-fit: cover; display: block; cursor: zoom-in; transition: transform .35s; }
.shot:hover { transform: scale(1.04); }

.shot-ph {
    padding: 18px 18px 24px; text-align: center;
    display: flex; flex-direction: column; gap: 8px; align-items: center;
    background: linear-gradient(160deg, rgba(255, 255, 255, .82), rgba(255, 226, 238, .6));
}
.sp-top {
    width: 100%; display: flex; align-items: center; gap: 5px;
    padding-bottom: 10px; margin-bottom: 6px;
    border-bottom: 1px dashed rgba(230, 73, 128, .22);
}
.sp-top span { width: 9px; height: 9px; border-radius: 50%; background: var(--p2); }
.sp-top i { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 700; color: var(--p5); letter-spacing: .08em; }
.sp-art {
    width: 64px; height: 64px; border-radius: 20px;
    display: grid; place-items: center; font-size: 1.9rem;
    background: linear-gradient(135deg, #fff, var(--p1));
    box-shadow: 0 8px 22px rgba(230, 73, 128, .18); margin: 6px 0;
}

.lightbox {
    position: fixed; inset: 0; background: rgba(54, 20, 36, .82);
    backdrop-filter: blur(8px);
    display: none; place-items: center; z-index: 100; cursor: zoom-out; padding: 24px;
}
.lightbox.open { display: grid; }
.lightbox img {
    max-width: 94vw; max-height: 92vh; border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5); border: 3px solid var(--p1);
}

/* ---------- OPINIE ---------- */
.track {
    display: flex; gap: 18px; overflow-x: auto;
    scroll-snap-type: x mandatory; padding: 10px 4px 28px;
    scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.review {
    flex: 0 0 calc((100% - 36px) / 3); scroll-snap-align: start;
    padding: 24px; transition: .3s;
}
.review:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.who { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.avatar {
    width: 44px; height: 44px; border-radius: 50%; flex: none;
    background: linear-gradient(135deg, var(--p3), var(--p5));
    display: grid; place-items: center; color: #fff; font-weight: 700;
    box-shadow: 0 4px 12px rgba(214, 51, 108, .28);
}
.stars { color: #f59f00; font-size: .85rem; letter-spacing: 1px; }
.arrows { display: flex; justify-content: center; gap: 12px; }
.arrows .btn { width: 48px; height: 48px; padding: 0; }

/* ---------- CENNIK ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { padding: 36px 28px; text-align: center; position: relative; display: flex; flex-direction: column; }
.plan.best {
    background: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(255, 214, 231, .8));
    border: 2px solid var(--p3); padding-block: 48px; box-shadow: var(--glow);
}
.plan h3 { font-size: 1.25rem; }
.plan-tag {
    position: absolute; top: -14px; left: 50%; translate: -50%; white-space: nowrap;
    background: linear-gradient(90deg, var(--p5), var(--p3)); color: #fff;
    border-radius: 99px; padding: 4px 16px; font-size: .78rem; font-weight: 700;
    box-shadow: 0 6px 16px rgba(230, 73, 128, .35);
}
.plan-tag.soft { background: #fff; color: var(--p5); border: 1px solid var(--p2); box-shadow: var(--shadow); }
.price { font-size: 3rem; font-weight: 800; margin: 12px 0 8px; color: var(--p5); }
.price small { font-size: 1rem; color: var(--muted); font-weight: 700; }
.plan-conv { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.plan-conv span { background: rgba(255, 240, 246, .9); border: 1px solid var(--p1); padding: 3px 11px; border-radius: 99px; font-weight: 600; }
.plan-feat { list-style: none; margin: 16px 0 24px; color: var(--muted); text-align: left; flex-grow: 1; }
.plan-feat li { padding: 6px 0 6px 4px; border-bottom: 1px dashed rgba(245, 208, 224, .6); }
.plan-feat li:last-child { border-bottom: 0; }
.plan-feat li::before { content: "✦ "; color: var(--p4); font-weight: 700; }
.plan .btn { width: 100%; }

/* ---------- KROKI ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.step { padding: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.step h3 { font-size: 1.02rem; color: var(--ink); }
.step b {
    width: 38px; height: 38px; border-radius: 12px;
    background: linear-gradient(135deg, var(--p3), var(--p5));
    color: #fff; display: grid; place-items: center; font-size: 15px;
    box-shadow: 0 6px 14px rgba(214, 51, 108, .28);
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: auto; }
.item { margin-bottom: 12px; overflow: hidden; transition: .3s; }
.item:hover { border-color: var(--p2); }
.q {
    width: 100%; border: 0; background: none;
    display: flex; justify-content: space-between; align-items: center; gap: 14px; text-align: left;
    padding: 20px 24px; font-weight: 600; font-size: 1rem;
}
.q span {
    width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 214, 231, .65); color: var(--p5);
    font-size: 1.25rem; line-height: 1; transition: .3s; flex: none;
}
.a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s, visibility .35s; visibility: hidden; }
.a > div { overflow: hidden; }
.a p { padding: 0 24px 20px; color: var(--muted); }
.item.open .a { grid-template-rows: 1fr; visibility: visible; }
.item.open .q span { rotate: 45deg; background: var(--p5); color: #fff; }

/* ---------- CTA ---------- */
.cta {
    text-align: center; padding: 58px 24px;
    background: linear-gradient(135deg, rgba(255, 214, 231, .7), rgba(255, 255, 255, .82));
    border: 1.5px solid #fff;
}
.cta .btn { margin-top: 24px; }
.discord { animation: shine 8s linear infinite, halo 2.4s infinite !important; }
@keyframes halo { 0% { box-shadow: 0 0 0 0 rgba(230, 73, 128, .55); } 100% { box-shadow: 0 0 0 18px rgba(230, 73, 128, 0); } }

/* ---------- FORMULARZE / AUTH ---------- */
label { display: block; font-size: 14px; font-weight: 600; margin: 13px 0 5px; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
select, textarea {
    width: 100%; padding: 12px 15px; border: 1.5px solid var(--pinkline); border-radius: 14px;
    font: inherit; font-size: 15px; background: rgba(255, 255, 255, .92); color: var(--ink);
    outline: none; transition: border-color .18s, box-shadow .18s;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--p4); box-shadow: 0 0 0 4px rgba(247, 131, 172, .22);
}
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

.auth-wrap { max-width: 470px; margin: 26px auto; }
.auth-card { padding: 34px 30px; border: 1.5px solid #fff; }
.auth-card h1 { margin: 0 0 6px; font-size: 1.75rem; text-align: center; }
.auth-card > p.muted { text-align: center; margin-bottom: 10px; }
.auth-card .btn-block { margin-top: 18px; }
.captcha-row { display: flex; gap: 10px; align-items: center; margin: 6px 0; }
.captcha-row img { border-radius: 12px; border: 1px solid var(--p1); background: #fff0f6; }

/* ---------- PANEL UŻYTKOWNIKA / ADMINA ---------- */
.page-head { padding: 12px 0 8px; }
.page-head h1 { margin: 0 0 4px; font-size: 2rem; letter-spacing: -.5px; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 20px; margin-top: 18px; }
.dash-grid .wide { grid-column: 1 / -1; }
.card-title { margin: 0 0 14px; font-size: 1.18rem; }

.kv { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.kv li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--p1); flex-wrap: wrap; }
.kv li:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.fold { margin-top: 14px; }
.fold summary { cursor: pointer; font-weight: 700; color: var(--p5); padding: 8px 0; font-size: 14.5px; }

.lic-card { border: 1.5px solid var(--p2); background: linear-gradient(160deg, rgba(255, 255, 255, .85), rgba(255, 214, 231, .62)); }
.lic-status { display: flex; align-items: center; gap: 12px; margin: 8px 0 10px; flex-wrap: wrap; }
.lic-big { font-size: 1.75rem; font-weight: 800; color: var(--p5); }
.redeem-form { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--p1); }
.hwid-code { font-size: .95rem; }

.tbl-wrap {
    overflow-x: auto; border: 1px solid var(--line); border-radius: 22px;
    background: rgba(255, 255, 255, .82); box-shadow: var(--shadow); backdrop-filter: blur(14px);
}
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.tbl th {
    background: rgba(255, 236, 244, .95); color: var(--p5); text-align: left;
    padding: 12px 14px; border-bottom: 2px solid var(--p1);
    font-size: 12px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
}
.tbl td { padding: 11px 14px; border-bottom: 1px solid rgba(245, 212, 226, .6); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: rgba(255, 246, 250, .95); }

/* ---------- BADGE ---------- */
.badge { display: inline-block; padding: 3px 11px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge-admin { background: #fff0f6; color: var(--p5); border: 1px solid var(--p2); }
.badge-user  { background: #f1f3f5; color: #495057; border: 1px solid #e9ecef; }
.badge-ok    { background: var(--ok-bg); color: var(--ok); border: 1px solid #b2f2bb; }
.badge-warn  { background: var(--err-bg); color: var(--err); border: 1px solid #ffd8a8; }
.badge-muted { background: #f8f9fa; color: #868e96; border: 1px solid #e9ecef; }

/* ---------- ADMIN ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 18px 0; }
.stat { padding: 18px 22px; }
.stat b { display: block; font-size: 1.85rem; color: var(--p5); line-height: 1.2; }
.stat span { font-size: 13px; color: var(--muted); }
.tabs { display: flex; gap: 8px; margin: 20px 0 18px; flex-wrap: wrap; }
.tabs a {
    padding: 9px 18px; border-radius: 99px; font-weight: 600; font-size: 14px;
    color: var(--muted); border: 1px solid var(--line); background: rgba(255, 255, 255, .78);
}
.tabs a:hover { text-decoration: none; border-color: var(--p2); color: var(--p5); }
.tabs a.active { background: linear-gradient(120deg, var(--p4), var(--p5)); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(214, 51, 108, .28); }
.tabs a.active:hover { color: #fff; }
.filter-row { display: flex; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
.actions { min-width: 150px; }
.row-form { display: flex; gap: 6px; margin: 3px 0; flex-wrap: wrap; align-items: center; }
.row-form select { width: auto; padding: 5px 8px; font-size: 13px; }
.gen-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; align-items: end; max-width: 760px; }
.gen-form .btn { margin-top: 12px; justify-self: start; }
.gen-result textarea {
    font-family: Consolas, monospace; font-size: 14px; letter-spacing: .5px;
    background: rgba(255, 240, 246, .9); border-color: var(--p2); color: var(--p5); font-weight: 700;
}

/* ---------- POMOC + MODAL + TOAST ---------- */
#help { position: fixed; right: 18px; bottom: 18px; z-index: 60; }
#panel {
    position: fixed; right: 18px; bottom: 82px; z-index: 60;
    width: min(295px, calc(100% - 36px)); padding: 22px;
    background: rgba(255, 255, 255, .94);
    opacity: 0; visibility: hidden; translate: 0 12px; transition: .25s;
}
#panel.show { opacity: 1; visibility: visible; translate: 0; }
#panel a { display: block; padding: 6px 0; color: var(--p5); font-weight: 600; font-size: .92rem; }
#panel p { display: flex; gap: 10px; align-items: center; margin: 8px 0 10px; font-size: .88rem; color: var(--muted); }

dialog {
    margin: auto; width: min(500px, calc(100% - 32px)); padding: 30px;
    border: 1.5px solid #fff; border-radius: 26px;
    background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: var(--glow);
}
dialog[open] { animation: pop .28s; }
dialog::backdrop { background: rgba(60, 22, 40, .38); backdrop-filter: blur(8px); }
.m-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.m-head h3 { font-size: 1.35rem; margin-top: 4px; }
.preview {
    width: 68px; height: 68px; border-radius: 20px; flex: none;
    display: grid; place-items: center; font-size: 2.1rem;
    background: radial-gradient(circle, #fff, var(--p1) 60%, var(--p3));
    box-shadow: 0 8px 22px rgba(230, 73, 128, .22);
}
.m-sliders { margin-top: 16px; display: grid; gap: 10px; }
.m-sliders div { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.m-sliders i {
    display: block; height: 8px; border-radius: 99px; background: #fce2ec; overflow: hidden; position: relative;
}
.m-sliders i::after {
    content: ""; position: absolute; inset: 0; width: var(--w, 80%);
    background: linear-gradient(90deg, var(--p3), var(--p5)); border-radius: inherit;
}

#toast {
    position: fixed; left: 50%; bottom: 90px; translate: -50% 20px; z-index: 90;
    background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 14px;
    font-size: .9rem; font-weight: 500; opacity: 0; pointer-events: none; transition: .3s;
    width: max-content; max-width: 90%; box-shadow: 0 12px 30px rgba(61, 28, 43, .3);
}
#toast.show { opacity: 1; translate: -50% 0; }

/* ---------- REVEAL ON SCROLL ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- STOPKA (wielokolumnowa) ---------- */
.site-footer {
    position: relative; z-index: 1;
    margin-top: 60px; padding: 48px 0 34px;
    color: var(--muted); font-size: .9rem;
    border-top: 1px solid var(--p1);
    background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 232, 242, .65));
    backdrop-filter: blur(12px);
}
.f-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px;
    padding-bottom: 28px; border-bottom: 1px dashed var(--p2);
}
.f-col { display: flex; flex-direction: column; gap: 7px; }
.f-col b { color: var(--ink); font-family: Poppins, sans-serif; font-size: .95rem; margin-bottom: 4px; }
.f-col a { color: var(--muted); font-size: .9rem; }
.f-col a:hover { color: var(--p5); text-decoration: none; transform: translateX(3px); }
.f-brand {
    font-family: Poppins, sans-serif; font-weight: 800; font-size: 1.18rem; color: var(--ink);
    display: inline-flex; gap: 9px; align-items: center; margin-bottom: 4px;
}
.f-brand span { color: var(--p5); }
.f-pill {
    display: inline-flex; align-items: center; gap: 8px; width: fit-content;
    margin-top: 6px; padding: 4px 12px; border-radius: 99px;
    background: rgba(255, 255, 255, .8); border: 1px solid var(--p1);
    font-size: .78rem; font-weight: 600; color: var(--ink);
}
.f-bot {
    padding-top: 20px; display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 10px; font-size: .82rem;
}
.small { font-size: .78rem; opacity: .82; }
.muted { color: var(--muted); font-size: 13.5px; }
.center { text-align: center; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-copy { text-align: center; }
    .hero .lead { margin-inline: auto; }
    .hero-cta { justify-content: center; }
    .grid { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .bento { grid-template-columns: 1fr; }
    .bento-card.b-wide { grid-column: span 1; flex-direction: column; align-items: flex-start; }
    .plans { grid-template-columns: 1fr; max-width: 440px; margin: auto; }
    .review { flex-basis: calc((100% - 18px) / 2); }
    .f-grid { grid-template-columns: 1fr 1fr; }
    .burger { display: block; }
    .links {
        display: none; position: absolute; top: 66px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; text-align: center; gap: 8px;
        padding: 18px; background: rgba(255, 255, 255, .97);
        border-radius: 22px; box-shadow: var(--glow);
    }
    .links.show { display: flex; }
    .bar { position: relative; }
    .links .inline-form { display: flex; }
    .links .inline-form button { width: 100%; }
}
@media (max-width: 600px) {
    section { padding: 48px 0; }
    .grid, .stats, .gm-body, .f-grid { grid-template-columns: 1fr; }
    .gm-tabs { grid-template-columns: repeat(2, 1fr); }
    .review { flex-basis: 90%; }
    main.container { padding-top: 96px; }
    .hero { min-height: auto; }
    #cursorGlow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; }
    .petal, #particles, #cursorGlow { display: none; }
}
