:root {
  --bg:       #0d0d14;
  --surface:  #13131f;
  --surface2: #1a1a2a;
  --purple:   #7b2fff;
  --purple2:  #9b4dff;
  --white:    #f0f0fa;
  --muted:    #7070a0;
  --border:   rgba(var(--purple-rgb),0.18);
  --purple-rgb: 123,47,255;
  --purple2-rgb: 155,77,255;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
  opacity: 0.35;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 5vw;
  background: rgba(13,13,20,0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo svg { width: 38px; height: 38px; }
.nav-logo-text { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--white); }
.nav-logo-text span { color: var(--purple2); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-menu-actions { display: none; }  /* tylko w menu mobilnym; na desktopie akcje są w .nav-actions */
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 9px; z-index: 1300; position: relative; overflow: hidden; background: rgba(var(--purple-rgb),0.12); border: 1px solid rgba(var(--purple-rgb),0.35); border-radius: 10px; box-shadow: 0 0 16px rgba(var(--purple-rgb),0.3); }
.nav-burger::before { content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent); transform: skewX(-20deg); animation: burgerShine 3.2s ease-in-out infinite; }
@keyframes burgerShine { 0% { left: -120%; } 55%,100% { left: 160%; } }
.nav-burger span { width: 24px; height: 2.5px; background: var(--white); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; position: relative; z-index: 1; }
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; padding: 0.6rem 1.5rem; background: var(--purple); color: var(--white); border-radius: 4px; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.nav-cta:hover { background: var(--purple2); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(var(--purple-rgb),0.45); }

/* ── PRZYCISK LOGOWANIA (zachęcający) ── */
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-login {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; color: var(--white);
  padding: 0.6rem 1.4rem; border-radius: 4px;
  background: linear-gradient(120deg, rgba(var(--purple-rgb),0.18), rgba(var(--purple2-rgb),0.10));
  border: 1px solid rgba(var(--purple2-rgb),0.5);
  position: relative; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
  box-shadow: 0 0 18px rgba(var(--purple-rgb),0.18);
  animation: loginGlow 3s ease-in-out infinite;
}
.nav-login::before {
  content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg); animation: loginShine 4.5s ease-in-out infinite;
}
.nav-login:hover {
  transform: translateY(-1px);
  border-color: var(--purple2);
  background: linear-gradient(120deg, rgba(var(--purple-rgb),0.32), rgba(var(--purple2-rgb),0.18));
  box-shadow: 0 8px 30px rgba(var(--purple-rgb),0.5);
}
.nav-login-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: #4ade80; box-shadow: 0 0 8px #4ade80;
  animation: loginDot 1.6s ease-in-out infinite;
}
.nav-login-sub { color: var(--purple2); font-weight: 500; }
@keyframes loginGlow {
  0%,100% { box-shadow: 0 0 18px rgba(var(--purple-rgb),0.18); }
  50%     { box-shadow: 0 0 28px rgba(var(--purple-rgb),0.4); }
}
@keyframes loginDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.45; transform: scale(0.7); }
}
@keyframes loginShine {
  0%, 55% { left: -60%; }
  80%, 100% { left: 130%; }
}

/* ── HERO ── */
.hero { min-height: auto; height: -moz-max-content; height: max-content; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; padding: 6rem 5vw 4rem; position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; }
.hero::before { width: 600px; height: 600px; background: radial-gradient(circle, rgba(var(--purple-rgb),0.22) 0%, transparent 70%); top: -100px; left: 50%; transform: translateX(-50%); }
.hero::after { width: 400px; height: 400px; background: radial-gradient(circle, rgba(var(--purple2-rgb),0.12) 0%, transparent 70%); bottom: 0; right: 10%; }
.hero-cosmos { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: auto; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 220px; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(13,13,20,0) 0%, rgba(13,13,20,0.15) 25%, rgba(13,13,20,0.4) 45%, rgba(13,13,20,0.7) 65%, rgba(13,13,20,0.9) 82%, #0d0d14 100%); }
.hero > *:not(.hero-cosmos):not(.hero-fade) { position: relative; z-index: 1; }
.hero::before, .hero::after { z-index: 0; }

.hero-brand { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(3rem, 9vw, 6.5rem); letter-spacing: -0.04em; line-height: 1; margin-bottom: 1rem; opacity: 0; animation: fadeUp 0.9s 0.25s forwards; text-shadow: 0 2px 40px rgba(10,8,18,0.9), 0 0 80px rgba(10,8,18,0.6); }
.hero-brand span { color: var(--purple2); }
.hero-tagline { font-size: 0.72rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--muted); margin-bottom: 2rem; opacity: 0; animation: fadeUp 0.9s 0.4s forwards; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.8rem; max-width: 100%; padding: 0 1rem; text-shadow: 0 1px 12px rgba(10,8,18,0.95); }
.hero-tagline .dot { width: 4px; height: 4px; background: var(--purple); border-radius: 50%; }
.hero-slogan { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(1.9rem, 4.5vw, 3.2rem); letter-spacing: -0.04em; line-height: 1.1; color: var(--white); margin-top: 0; margin-bottom: 1.6rem; opacity: 0; animation: fadeUp 0.9s 0.55s forwards; text-shadow: 0 2px 30px rgba(10,8,18,0.95), 0 0 60px rgba(10,8,18,0.7); }
.hero-slogan span { color: var(--purple2); }
.hero-slogan .hero-slogan-dash { color: var(--muted); font-weight: 300; margin: 0 0.1em; }
.hero-desc { font-size: 0.95rem; line-height: 1.85; color: #b8b4cf; max-width: 520px; margin: 0 auto 1.8rem; opacity: 0; animation: fadeUp 0.9s 0.7s forwards; text-shadow: 0 1px 16px rgba(10,8,18,0.98), 0 0 40px rgba(10,8,18,0.8); }
.hero-shimmer {
  background: linear-gradient(100deg, var(--muted) 0%, var(--muted) 38%, var(--purple2) 47%, #ffffff 50%, var(--purple2) 53%, var(--muted) 62%, var(--muted) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: heroShimmer 8.5s linear infinite;
}
@keyframes heroShimmer {
  0%   { background-position: 100% 0; }
  82%  { background-position: 0% 0; }
  100% { background-position: 0% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-shimmer { animation: none; color: var(--purple2); -webkit-text-fill-color: var(--purple2); }
}
.hero-cta { display: inline-flex; align-items: center; gap: 0.6rem; background: var(--purple); color: var(--white); text-decoration: none; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.06em; padding: 1rem 2.5rem; border-radius: 4px; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; opacity: 0; animation: fadeUp 0.9s 0.85s forwards; }
.hero-cta:hover { background: var(--purple2); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(var(--purple-rgb),0.5); }
.hero-cta .arrow { transition: transform 0.2s; }
.hero-cta:hover .arrow { transform: translateX(4px); }

.logo-pulse-wrap { position: relative; display: flex; align-items: center; justify-content: center; width: 180px; height: 180px; margin: 0 auto 2.5rem; opacity: 0; animation: fadeUp 0.9s 0.1s forwards; }

/* ── SERVICES ── */
.services { padding: 3rem 5vw; position: relative; }
.section-label { text-align: center; font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--purple2); margin-bottom: 0.8rem; }
.section-title { text-align: center; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.03em; margin-bottom: 4rem; }
.section-title em { font-style: normal; color: var(--purple2); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; max-width: 960px; margin: 0 auto; }
.service-card { background: var(--surface); padding: 3rem 2.5rem; transition: background 0.3s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--purple), var(--purple2)); transform: scaleX(0); transition: transform 0.3s; transform-origin: left; }
.service-card:hover { background: var(--surface2); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 52px; height: 52px; background: rgba(var(--purple-rgb),0.12); border: 1px solid rgba(var(--purple-rgb),0.25); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 1.4rem; transition: background 0.3s, border-color 0.3s; }
.service-card:hover .service-icon { background: rgba(var(--purple-rgb),0.22); border-color: var(--purple); }
.service-card h3 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.05rem; margin-bottom: 0.7rem; letter-spacing: -0.01em; }
.service-card p { font-size: 0.82rem; line-height: 1.75; color: var(--muted); }

/* ── ABOUT ── */
.about { padding: 3rem 5vw; max-width: 700px; margin: 0 auto; text-align: center; }
.about-text .section-label { text-align: center; }
.about-text .section-title { text-align: center; margin-bottom: 1.5rem; }
.about-text p { font-size: 0.9rem; line-height: 1.9; color: var(--muted); margin-bottom: 1rem; }

/* ── CONTACT ── */
.contact { padding: 3rem 5vw; text-align: center; position: relative; }
.contact::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(var(--purple-rgb),0.1) 0%, transparent 65%); pointer-events: none; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 4rem 3rem; max-width: 680px; margin: 0 auto; position: relative; overflow: hidden; }
.contact-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--purple), var(--purple2), var(--purple)); }
.contact-card h2 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.03em; margin-bottom: 0.8rem; }
.contact-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.75; margin-bottom: 2.5rem; }
.contact-info { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2.5rem; }
.contact-info a { display: flex; align-items: center; justify-content: center; gap: 0.6rem; color: var(--white); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.contact-info a:hover { color: var(--purple2); }
.contact-soon { display: inline-flex; align-items: center; gap: 0.6rem; justify-content: center; font-size: 0.92rem; font-weight: 600; color: var(--purple2); background: linear-gradient(135deg, rgba(var(--purple-rgb),0.16), rgba(var(--purple-rgb),0.05)); border: 1px solid rgba(var(--purple-rgb),0.4); border-radius: 999px; padding: 0.55rem 1.2rem; box-shadow: 0 0 20px rgba(var(--purple-rgb),0.15); }
.contact-info .icon { width: 32px; height: 32px; background: rgba(var(--purple-rgb),0.12); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.btn-cta { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--purple); color: var(--white); text-decoration: none; font-size: 0.9rem; font-weight: 600; padding: 1rem 2.5rem; border-radius: 6px; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.btn-cta:hover { background: var(--purple2); transform: translateY(-2px); box-shadow: 0 10px 35px rgba(var(--purple-rgb),0.45); }
.btn-cta-soon { cursor: default; background: linear-gradient(135deg, var(--purple), var(--purple2)); box-shadow: 0 8px 30px rgba(var(--purple-rgb),0.3); }

/* ── PRICING ── */
.pricing { padding: 3rem 5vw; position: relative; }
.pricing::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(var(--purple-rgb),0.08) 0%, transparent 65%); pointer-events: none; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1040px; margin: 0 auto; align-items: stretch; }
.pricing-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 2.5rem 2rem; position: relative; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; display: flex; flex-direction: column; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); border-color: rgba(var(--purple-rgb),0.4); }
.pricing-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--purple), var(--purple2)); transform: scaleX(0); transition: transform 0.3s; transform-origin: left; }
.pricing-card:hover::before { transform: scaleX(1); }
.pricing-card.featured { background: linear-gradient(145deg, rgba(var(--purple-rgb),0.14) 0%, var(--surface2) 100%); border-color: rgba(var(--purple-rgb),0.45); transform: scale(1.04); box-shadow: 0 0 0 1px rgba(var(--purple-rgb),0.3), 0 24px 80px rgba(var(--purple-rgb),0.18); }
.pricing-card.featured::before { transform: scaleX(1); }
.pricing-card.featured:hover { transform: scale(1.04) translateY(-6px); box-shadow: 0 0 0 1px rgba(var(--purple-rgb),0.5), 0 32px 90px rgba(var(--purple-rgb),0.28); }
.pricing-badge { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, var(--purple), var(--purple2)); padding: 0.3rem 0.9rem; border-radius: 100px; margin-bottom: 1.5rem; }
.pricing-name { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; margin-bottom: 0.5rem; color: var(--white); }
.pricing-price { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(2.2rem, 4vw, 2.8rem); letter-spacing: -0.04em; color: var(--white); line-height: 1; margin-bottom: 0.3rem; }
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pricing-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.8rem; min-height: 2.8rem; }
.pricing-divider { height: 1px; background: var(--border); margin-bottom: 1.5rem; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.82rem; color: var(--white); line-height: 1.45; }
.pricing-features li .check { flex-shrink: 0; width: 18px; height: 18px; background: rgba(var(--purple-rgb),0.15); border: 1px solid rgba(var(--purple-rgb),0.35); border-radius: 4px; display: flex; align-items: center; justify-content: center; margin-top: 1px; font-size: 0.65rem; color: var(--purple2); }
.pricing-card.featured .pricing-features li .check { background: rgba(var(--purple-rgb),0.25); border-color: var(--purple); color: var(--purple2); }
.pricing-photo-note { display: flex; align-items: center; gap: 0.5rem; background: rgba(var(--purple-rgb),0.1); border: 1px solid rgba(var(--purple-rgb),0.25); border-radius: 8px; padding: 0.75rem 1rem; margin-bottom: 1.5rem; font-size: 0.76rem; color: var(--purple2); line-height: 1.5; }
.pricing-photo-note .cam { font-size: 1rem; flex-shrink: 0; }
.pricing-cta { display: block; text-align: center; width: 100%; padding: 0.9rem 1.5rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-decoration: none; border-radius: 6px; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; margin-top: auto; }
.pricing-cta.outline { background: transparent; border: 1px solid rgba(var(--purple-rgb),0.35); color: var(--white); }
.pricing-cta.outline:hover { background: rgba(var(--purple-rgb),0.12); border-color: var(--purple); transform: translateY(-1px); }
.pricing-cta.solid { background: var(--purple); border: 1px solid transparent; color: #fff; box-shadow: 0 4px 20px rgba(var(--purple-rgb),0.35); }
.pricing-cta.solid:hover { background: var(--purple2); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(var(--purple-rgb),0.55); }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; } .pricing-card.featured { transform: scale(1); } .pricing-card.featured:hover { transform: translateY(-6px); } }

.pricing-installment { font-size: 0.72rem; color: var(--muted); margin-bottom: 1.2rem; letter-spacing: 0.01em; }
.pricing-addon-note { opacity: 0.85; }
.pricing-addon-note .plus { flex-shrink: 0; width: 18px; height: 18px; background: rgba(var(--purple2-rgb),0.08); border: 1px dashed rgba(var(--purple-rgb),0.45); border-radius: 4px; display: flex; align-items: center; justify-content: center; margin-top: 1px; font-size: 0.75rem; color: var(--purple2); }

.addons-block, .subs-block { max-width: 1040px; margin: 4rem auto 0; }
.addons-head { text-align: center; margin-bottom: 2rem; }
.addons-head h3 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.03em; color: var(--white); margin-bottom: 0.6rem; }
.addons-head h3 em { font-style: normal; color: var(--purple2); }
.addons-head p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; max-width: 560px; margin: 0 auto; }
.addons-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.addon-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.6rem 1.4rem; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
.addon-card:hover { transform: translateY(-5px); border-color: rgba(var(--purple-rgb),0.4); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
.addon-icon { font-size: 1.5rem; margin-bottom: 0.8rem; }
.addon-name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--white); margin-bottom: 0.5rem; }
.addon-desc { font-size: 0.76rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; min-height: 3.6rem; }
.addon-price { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--purple2); letter-spacing: -0.02em; }

.subs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 720px; margin: 0 auto; }
.sub-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 2.2rem 2rem; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
.sub-card:hover { transform: translateY(-5px); border-color: rgba(var(--purple-rgb),0.4); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
.sub-name { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--white); margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.sub-price { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.9rem; color: var(--white); letter-spacing: -0.03em; line-height: 1; margin-bottom: 1.5rem; }
.sub-price span { font-size: 0.85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.sub-terms { font-size: 0.68rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--border); opacity: 0.85; }
@media (max-width: 900px) {
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
  .subs-grid { grid-template-columns: 1fr; max-width: 420px; }
  .addon-desc { min-height: 0; }
}
@media (max-width: 480px) { .addons-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; } }

/* ── APLIKACJE ── */
.apps { padding: 0.5rem 5vw 4rem; position: relative; }
.apps-intro { text-align: center; max-width: 580px; margin: -1rem auto 1.5rem; font-size: 0.9rem; line-height: 1.8; color: var(--muted); }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.app-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 2.2rem 1.8rem; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; position: relative; overflow: hidden; }
.app-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--purple), var(--purple2)); transform: scaleX(0); transition: transform 0.3s; transform-origin: left; }
.app-card:hover { transform: translateY(-6px); border-color: rgba(var(--purple-rgb),0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.app-card:hover::before { transform: scaleX(1); }
.app-card.soon { opacity: 0.72; }
.app-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.app-name { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--white); margin-bottom: 0.6rem; letter-spacing: -0.02em; }
.app-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.6rem; flex: 1; }
.app-btn { display: inline-block; padding: 0.7rem 1.8rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; border-radius: 6px; text-decoration: none; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; }
.app-btn.live { background: var(--purple); color: #fff; box-shadow: 0 4px 20px rgba(var(--purple-rgb),0.35); }
.app-btn.live:hover { background: var(--purple2); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(var(--purple-rgb),0.55); }
.app-btn.soon-btn { background: transparent; border: 1px dashed rgba(var(--purple-rgb),0.4); color: var(--muted); cursor: default; }
@media (max-width: 768px) { .apps-grid { grid-template-columns: 1fr; max-width: 380px; } .apps-intro { margin-top: -1.5rem; } }

/* ── ASYSTENT (pływający) ── */
/* DUSZEK nr 1 — statyczny na środku hero, klikalny */
.ghost-hero { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 4.5rem auto 0; cursor: pointer; position: relative; z-index: 3; animation: ghostBob 3s ease-in-out infinite; }
.ghost-hero svg { width: 120px; height: 120px; filter: drop-shadow(0 0 45px rgba(var(--purple-rgb),1)) drop-shadow(0 0 22px rgba(var(--purple2-rgb),0.95)) drop-shadow(0 0 8px rgba(255,255,255,0.4)); transition: transform 0.3s cubic-bezier(.34,1.56,.64,1); }
.ghost-hero:hover svg { transform: scale(1.08); }
.ghost-hero-neon { font-family: 'Space Grotesk', monospace; font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--purple2); background: rgba(var(--purple-rgb),0.12); border: 1px solid rgba(var(--purple-rgb),0.4); padding: 6px 12px; border-radius: 8px; box-shadow: 0 0 14px rgba(var(--purple-rgb),0.4); animation: neonPulse 2.5s ease-in-out infinite; }
.ghost-widget { position: fixed; z-index: 900; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; left: 6px; bottom: 6px; transition: transform 0.85s cubic-bezier(.34,1.4,.5,1), opacity 0.6s ease; pointer-events: none; }
/* po lewej: wjechany zza krawędzi (widoczny) */
.ghost-widget.left { transform: translateX(0); opacity: 1; }
/* schowany: wysunięty za lewą krawędź ekranu */
.ghost-widget.hidden { transform: translateX(-160%); opacity: 0; pointer-events: none !important; }
.ghost-trigger { position: relative; cursor: pointer; display: flex; flex-direction: column; align-items: center; transition: transform 0.4s cubic-bezier(.34,1.56,.64,1); pointer-events: auto; }
.ghost-widget.open .ghost-trigger { transform: translateY(6px); }
.ghost-neon { font-family: 'Space Grotesk', monospace; font-size: 0.58rem; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; line-height: 1.5; color: var(--purple2); background: rgba(var(--purple-rgb),0.12); border: 1px solid rgba(var(--purple-rgb),0.4); padding: 6px 10px; border-radius: 8px; margin-bottom: 44px; box-shadow: 0 0 14px rgba(var(--purple-rgb),0.5); animation: neonPulse 2.5s ease-in-out infinite; pointer-events: none; }
.ghost-widget.open .ghost-neon { display: none; }
#ghostSvg { cursor: pointer; display: block; }
.ghost-bubble { position: absolute; bottom: 80px; left: 4px; transform: scale(0); transform-origin: bottom left; background: #fff; color: #15131f; font-size: 0.74rem; font-weight: 600; padding: 7px 12px; border-radius: 12px; max-width: 60vw; white-space: normal; line-height: 1.35; box-shadow: 0 6px 20px rgba(0,0,0,0.3); transition: transform 0.3s cubic-bezier(.34,1.56,.64,1); z-index: 6; pointer-events: none; }
.ghost-bubble.show { transform: scale(1); }
.ghost-panel { width: 340px; max-width: calc(100vw - 40px); background: var(--surface); border: 1px solid rgba(var(--purple-rgb),0.3); border-radius: 16px; overflow: hidden; transform-origin: bottom left; transform: scale(0.4) translateY(20px); opacity: 0; pointer-events: none; transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), opacity 0.3s ease; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.ghost-widget.open .ghost-panel { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }
@keyframes neonPulse { 0%,100% { box-shadow: 0 0 12px rgba(var(--purple-rgb),0.4); } 50% { box-shadow: 0 0 22px rgba(var(--purple-rgb),0.7); } }
.chat-close { margin-left: 6px; background: transparent; border: none; color: var(--muted); font-size: 0.85rem; cursor: pointer; padding: 2px 4px; transition: color 0.2s; }
.chat-close:hover { color: var(--white); }
.chat-head { background: rgba(var(--purple-rgb),0.12); padding: 12px 16px; border-bottom: 1px solid rgba(var(--purple-rgb),0.2); display: flex; align-items: center; gap: 8px; }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; }
.chat-title { font-size: 0.82rem; font-weight: 600; color: var(--white); }
.chat-status { font-size: 0.68rem; color: var(--muted); margin-left: auto; }
.chat-body { padding: 16px; min-height: 140px; max-height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { font-size: 0.8rem; line-height: 1.5; padding: 10px 14px; max-width: 85%; }
.chat-msg.bot { align-self: flex-start; background: rgba(var(--purple-rgb),0.15); color: #e8e3f5; border-radius: 14px 14px 14px 4px; }
.chat-msg.user { align-self: flex-end; background: var(--purple); color: #fff; border-radius: 14px 14px 4px 14px; }
.chat-link { color: var(--purple2); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.chat-link:hover { color: #fff; }
.chat-q { padding: 12px 16px; border-top: 1px solid rgba(var(--purple-rgb),0.2); display: flex; flex-direction: column; gap: 8px; }
.chat-input-row { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid rgba(var(--purple-rgb),0.2); }
.chat-input { flex: 1; background: rgba(var(--purple-rgb),0.08); border: 1px solid rgba(var(--purple-rgb),0.3); border-radius: 10px; padding: 9px 12px; font-size: 0.78rem; font-family: inherit; color: var(--white); outline: none; transition: border-color 0.2s; }
.chat-input::placeholder { color: var(--muted); }
.chat-input:focus { border-color: var(--purple); }
.chat-send { flex-shrink: 0; width: 38px; border: none; background: var(--purple); color: #fff; border-radius: 10px; font-size: 1rem; cursor: pointer; transition: background 0.2s, transform 0.15s; }
.chat-send:hover { background: var(--purple2); transform: scale(1.05); }
.chat-qbtn { text-align: left; background: transparent; border: 1px solid rgba(var(--purple-rgb),0.35); color: var(--purple2); padding: 8px 12px; border-radius: 10px; font-size: 0.76rem; font-family: inherit; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.chat-qbtn:hover { background: rgba(var(--purple-rgb),0.15); border-color: var(--purple); }
.chat-qbtn.back { color: var(--muted); border-style: dashed; }
@keyframes ghostBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes ghAuraPulse { 0%,100% { opacity: 0.85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes ghBoltZap { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(1.12); } }
@media (max-width: 1100px) { .ghost-widget #ghostSvg { width: 64px; height: 64px; } .ghost-neon { font-size: 0.54rem; } }
@media (max-width: 768px) { .ghost-widget { left: 6px; bottom: 6px; } .ghost-panel { width: calc(100vw - 24px); } .ghost-bubble { max-width: 70vw; } }

/* ── FOOTER ── */
footer { padding: 2rem 5vw; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { display: flex; align-items: center; gap: 0.6rem; }
.footer-logo svg { width: 26px; height: 26px; }
.footer-logo-text { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem; }
.footer-logo-text span { color: var(--purple2); }
footer p { font-size: 0.72rem; color: var(--muted); text-align: center; }
.footer-tagline { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.footer-tagline span { color: var(--purple); }

/* ══════════════════════════════════════════
   PORTFOLIO CAROUSEL
══════════════════════════════════════════ */
.portfolio { padding: 3rem 0 3rem; position: relative; overflow: hidden; }
.portfolio::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(var(--purple-rgb),0.07) 0%, transparent 70%); pointer-events: none; }
.portfolio-header { text-align: center; margin-bottom: 3rem; }

.pf-stage { position: relative; width: 100%; height: clamp(380px, 52vw, 540px); display: flex; align-items: center; justify-content: center; perspective: 1100px; perspective-origin: 50% 50%; user-select: none; }

.pf-card { position: absolute; width: 340px; height: 240px; border-radius: 10px; overflow: hidden; cursor: pointer; backface-visibility: hidden; transform-style: preserve-3d; box-shadow: 0 18px 50px rgba(0,0,0,0.5); transition: transform 0.6s cubic-bezier(.4,0,.2,1), opacity 0.5s ease, filter 0.5s ease; will-change: transform, opacity; }

.pf-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; border-radius: 10px; transform: translateZ(0); transition: transform 0.5s ease; }
.pf-card[data-pos="0"]:hover .pf-img { transform: scale(1.04) translateZ(0); }
.pf-grad { position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(to bottom, transparent 38%, rgba(10,10,20,0.92) 100%); }
.pf-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.4rem 1.5rem 1.6rem; z-index: 2; transform: translateY(4px); transition: transform 0.4s ease; }
.pf-card[data-pos="0"]:hover .pf-info { transform: translateY(0); }
.pf-cat { font-family: 'Space Grotesk', monospace; font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--purple2); margin-bottom: 0.3rem; }
.pf-name { font-family: 'Outfit', sans-serif; font-size: clamp(1rem, 2vw, 1.4rem); font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 0.4rem; }
.pf-tag { font-size: 0.72rem; color: rgba(240,240,250,0.45); }
.pf-tech { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 0.6rem; }
.pf-pill { font-family: 'Space Grotesk', monospace; font-size: 0.52rem; letter-spacing: 0.1em; color: rgba(var(--purple2-rgb),0.7); border: 1px solid rgba(var(--purple-rgb),0.25); background: rgba(var(--purple-rgb),0.08); padding: 2px 7px; border-radius: 2px; }

.pf-card[data-pos="0"]::before { content: ''; position: absolute; inset: -1px; border-radius: 11px; border: 1.5px solid rgba(var(--purple2-rgb),0.65); box-shadow: 0 0 60px rgba(var(--purple-rgb),0.5), 0 0 120px rgba(var(--purple-rgb),0.25), 0 30px 90px rgba(0,0,0,0.8); z-index: 3; pointer-events: none; animation: pfGlowPulse 3s ease-in-out infinite; }
@keyframes pfGlowPulse {
  0%, 100% { box-shadow: 0 0 50px rgba(var(--purple-rgb),0.4), 0 0 110px rgba(var(--purple-rgb),0.2), 0 30px 90px rgba(0,0,0,0.8); }
  50%      { box-shadow: 0 0 75px rgba(var(--purple-rgb),0.6), 0 0 140px rgba(var(--purple-rgb),0.35), 0 30px 90px rgba(0,0,0,0.8); }
}

.pf-view-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.85); z-index: 4; display: flex; align-items: center; gap: 0.4rem; background: var(--purple); color: #fff; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.7rem 1.5rem; border-radius: 100px; text-decoration: none; opacity: 0; transition: opacity 0.25s, transform 0.25s, background 0.2s; white-space: nowrap; }
.pf-card[data-pos="0"]:hover .pf-view-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.pf-view-btn:hover { background: var(--purple2); }

/* ── KARTA "WSZYSTKIE PROJEKTY" ── */
.pf-card.pf-card--all {
  background: var(--surface);
  border: 1px solid rgba(var(--purple-rgb),0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--white);
}
.pf-card.pf-card--all .pf-all-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 1.2rem;
  text-align: center;
}
.pf-card.pf-card--all .pf-all-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  width: 60px;
}
.pf-card.pf-card--all .pf-all-dot {
  width: 17px; height: 17px;
  border-radius: 4px;
  background: rgba(var(--purple-rgb),0.15);
  border: 1px solid rgba(var(--purple-rgb),0.2);
  transition: background 0.3s, border-color 0.3s;
}
.pf-card[data-pos="0"].pf-card--all:hover .pf-all-dot {
  background: rgba(var(--purple-rgb),0.3);
  border-color: rgba(var(--purple-rgb),0.5);
}
.pf-all-dot:nth-child(5) {
  background: rgba(var(--purple-rgb),0.35) !important;
  border-color: var(--purple) !important;
}
.pf-card.pf-card--all .pf-all-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}
.pf-card.pf-card--all .pf-all-sub {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 200px;
}
.pf-card.pf-card--all .pf-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--purple);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
}
.pf-card[data-pos="0"].pf-card--all:hover .pf-all-btn {
  background: var(--purple2);
  transform: translateY(-2px);
}
/* glow ring override for all-card */
.pf-card.pf-card--all[data-pos="0"]::before {
  background: radial-gradient(ellipse at 50% 50%, rgba(var(--purple-rgb),0.08) 0%, transparent 70%);
  border: 1px solid rgba(var(--purple-rgb),0.45);
  box-shadow: 0 0 60px rgba(var(--purple-rgb),0.2), 0 24px 80px rgba(0,0,0,0.7);
}

.pf-num { position: absolute; top: 0.8rem; right: 0.9rem; z-index: 3; font-family: 'Space Grotesk', monospace; font-size: 0.58rem; letter-spacing: 0.2em; color: rgba(var(--purple2-rgb),0.5); background: rgba(13,13,20,0.7); padding: 3px 8px; border-radius: 100px; border: 1px solid rgba(var(--purple-rgb),0.15); }

/* ── CONTROLS ── */
.pf-controls { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2rem; padding: 0 5vw; flex-wrap: wrap; }
.pf-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(var(--purple-rgb),0.25); background: rgba(var(--purple-rgb),0.06); color: var(--muted); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s; flex-shrink: 0; }
.pf-arrow:hover { border-color: var(--purple); background: rgba(var(--purple-rgb),0.15); color: #fff; transform: scale(1.1); }
.pf-arrow.pf-disabled { opacity: 0.2; cursor: not-allowed; pointer-events: none; }
.pf-dots { display: flex; align-items: center; gap: 6px; }
.pf-dot { height: 4px; border-radius: 100px; background: rgba(var(--purple-rgb),0.2); cursor: pointer; transition: width 0.35s ease, background 0.35s; }
.pf-dot.on { background: var(--purple2); }
.pf-counter { font-family: 'Space Grotesk', monospace; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em; }
.pf-counter span { color: var(--purple2); }
.pf-hint { text-align: center; margin-top: 1rem; font-family: 'Space Grotesk', monospace; font-size: 0.56rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(var(--purple2-rgb),0.6); }

@media (max-width: 768px) {
  .pf-stage { height: clamp(280px, 64vw, 360px); perspective: 1000px; transform: scale(0.7); }
}
@media (max-width: 480px) {
  .pf-stage { transform: scale(0.55); }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-group > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-group.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s; }
.reveal-group.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.12s; }
.reveal-group.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.24s; }
.reveal-group.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.36s; }

@media (max-width: 768px) {
  nav { padding: 1.2rem 5vw; justify-content: space-between; }
  .nav-burger { display: flex; margin-left: auto; }
  .nav-actions { display: none; }
  .nav-links { display: flex; position: fixed; top: 0; right: 0; bottom: 0; height: 100vh; width: 80%; max-width: 320px; flex-direction: column; gap: 0; background: linear-gradient(160deg, #1d1630 0%, #14121c 55%, #100d18 100%); padding: 6rem 1.5rem 2rem; transform: translateX(105%); transition: transform 0.4s cubic-bezier(.22,1,.36,1); z-index: 1200; box-shadow: -12px 0 60px rgba(0,0,0,0.7), inset 1px 0 0 rgba(var(--purple-rgb),0.25); border-left: 1px solid rgba(var(--purple-rgb),0.3); overflow-y: auto; }
  .nav-links::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 200px; background: radial-gradient(120% 80% at 80% 0%, rgba(var(--purple-rgb),0.35) 0%, transparent 70%); pointer-events: none; }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; border-bottom: 1px solid rgba(var(--purple-rgb),0.15); list-style: none; opacity: 0; transform: translateX(20px); }
  .nav-links.open li { opacity: 1; transform: translateX(0); transition: opacity 0.4s ease, transform 0.4s ease; }
  .nav-links.open li:nth-child(1) { transition-delay: 0.08s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.14s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.20s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.26s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.34s; }
  .nav-links a { display: block; padding: 1rem 0.8rem; font-size: 1rem; color: var(--white); border-radius: 8px; transition: background 0.25s, padding-left 0.25s, color 0.25s; }
  .nav-links li a:active, .nav-links li a:hover { background: rgba(var(--purple-rgb),0.15); padding-left: 1.3rem; color: var(--purple2); }
  .nav-links .nav-menu-actions { border-bottom: none; margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0.8rem; }
  .nav-links .nav-menu-actions a { text-align: center; padding: 0.9rem; border-radius: 12px; font-weight: 600; transition: transform 0.2s, box-shadow 0.25s; }
  .nav-links .nav-menu-actions a:active { transform: scale(0.97); padding-left: 0.9rem; }
  .nav-links .nav-menu-login { background: rgba(var(--purple-rgb),0.14); border: 1px solid rgba(var(--purple-rgb),0.4); color: var(--white); }
  .nav-links .nav-menu-cta { background: linear-gradient(135deg, var(--purple2), var(--purple)); color: #fff; box-shadow: 0 6px 24px rgba(var(--purple-rgb),0.5); }
  /* przyciemnienie reszty strony gdy menu otwarte */
  .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.15); opacity: 0; pointer-events: none; transition: opacity 0.35s ease; z-index: 1150; }
  .nav-overlay.open { opacity: 1; pointer-events: auto; }
  .nav-login-sub { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-tagline { letter-spacing: 0.18em; font-size: 0.62rem; gap: 0.5rem; }
  footer { flex-direction: column; text-align: center; }
}

/* ── MODAL ── */
.modal-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-backdrop.open { display: flex; }

.modal-box {
  background: #13131f;
  border: 1px solid rgba(var(--purple-rgb),0.3);
  border-radius: 18px;
  width: 100%; max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.3s cubic-bezier(.4,0,.2,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple2));
  border-radius: 18px 18px 0 0;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(13,13,20,0.85);
  border: 1px solid rgba(var(--purple-rgb),0.25);
  color: var(--white); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.modal-close:hover { background: rgba(var(--purple-rgb),0.25); border-color: var(--purple); }

.modal-img {
  width: 100%; height: 220px;
  object-fit: cover; object-position: top center;
  display: block;
  border-radius: 17px 17px 0 0;
}
.modal-body { padding: 1.6rem 1.6rem 2rem; }
.modal-cat {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.58rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--purple2);
  margin-bottom: 0.4rem;
}
.modal-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800; font-size: 1.7rem;
  letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 0.5rem;
}
.modal-loc {
  font-size: 0.78rem; color: var(--muted);
  margin-bottom: 1.1rem;
}
.modal-desc {
  font-size: 0.85rem; line-height: 1.75;
  color: rgba(240,240,250,0.7);
  margin-bottom: 1.3rem;
}
.modal-tech {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.modal-pill {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.62rem; letter-spacing: 0.08em;
  color: rgba(var(--purple2-rgb),0.8);
  border: 1px solid rgba(var(--purple-rgb),0.3);
  background: rgba(var(--purple-rgb),0.1);
  padding: 3px 10px; border-radius: 3px;
}
.modal-actions { display: flex; gap: 0.75rem; }
.modal-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.85rem 1rem;
  border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: background 0.2s, transform 0.15s;
}
.modal-btn.primary {
  background: var(--purple); color: #fff;
}
.modal-btn.primary:hover { background: var(--purple2); transform: translateY(-1px); }
.modal-btn.secondary {
  background: rgba(var(--purple-rgb),0.1);
  border: 1px solid rgba(var(--purple-rgb),0.25);
  color: var(--white);
}
.modal-btn.secondary:hover { background: rgba(var(--purple-rgb),0.18); }

/* === SEKCJA MOTYWY (teaser na stronie głównej) === */
.themes { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem; text-align: center; }
.themes-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
  border: 1px solid var(--border); border-radius: 24px;
  padding: 3.5rem 2.5rem;
}
.themes-card::before {
  content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(var(--purple-rgb),0.18), transparent 70%);
  pointer-events: none;
}
.themes-card > * { position: relative; z-index: 1; }
.themes h2 { font-family: 'Outfit', sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.02em; }
.themes h2 em { color: var(--purple2); font-style: normal; }
.themes-desc { color: var(--muted); font-size: 1.02rem; line-height: 1.7; max-width: 600px; margin: 0 auto 2.5rem; }
.themes-swatches { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.swatch-group { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.swatch-row { display: flex; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.35); transition: transform 0.3s; }
.swatch-group:hover .swatch-row { transform: translateY(-5px) scale(1.04); }
.swatch-dot { width: 38px; height: 56px; }
.swatch-name { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.03em; font-weight: 500; }
.themes-cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  color: #fff; padding: 1rem 2.2rem; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; text-decoration: none;
  box-shadow: 0 10px 30px rgba(var(--purple-rgb),0.35); transition: transform 0.25s, box-shadow 0.25s;
}
.themes-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(var(--purple-rgb),0.5); }
.themes-cta .arrow { transition: transform 0.25s; }
.themes-cta:hover .arrow { transform: translateX(4px); }
@media (max-width: 600px) { .themes { padding: 4rem 1.2rem; } .themes-card { padding: 2.5rem 1.4rem; } .swatch-dot { width: 30px; height: 46px; } }
/* ── WYPRÓBUJ CZCIONKI ── */
.fonts-try { max-width: 1100px; margin: 0 auto; padding: 1rem 2rem 3rem; text-align: center; }
.fonts-try-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
  border: 1px solid var(--border); border-radius: 24px;
  padding: 2.8rem 2.5rem;
}
.fonts-try-card::before {
  content: ''; position: absolute; bottom: -50%; left: -10%; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(var(--purple-rgb),0.16), transparent 70%);
  pointer-events: none;
}
.fonts-try-card > * { position: relative; z-index: 1; }
.fonts-try h2 { font-family: 'Outfit', sans-serif; font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.02em; }
.fonts-try h2 em { color: var(--purple2); font-style: normal; }
.fonts-try-desc { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 560px; margin: 0 auto 2.2rem; }
.fonts-try-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2.2rem; }
.font-try-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  background: var(--bg); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.4rem 0.8rem; cursor: pointer; color: var(--white);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.font-try-btn:hover { transform: translateY(-4px); border-color: var(--purple); box-shadow: 0 12px 30px rgba(var(--purple-rgb),0.25); }
.font-try-btn.active { border-color: var(--purple2); box-shadow: 0 0 0 2px var(--purple2); }
.ft-big { font-size: 2.4rem; line-height: 1; color: var(--purple2); }
.ft-name { font-size: 0.78rem; color: var(--muted); font-family: 'Inter', sans-serif; }
@media (max-width: 600px) {
  .fonts-try { padding: 1rem 1.2rem 3rem; }
  .fonts-try-card { padding: 2.2rem 1.4rem; }
  .fonts-try-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ── FAQ ── */
.faq { max-width: 820px; margin: 0 auto; padding: 4rem 2rem; }
.faq-head { text-align: center; margin-bottom: 2.5rem; }
.faq-head h2 { font-family: 'Outfit', sans-serif; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; margin: 0.5rem 0 0.8rem; letter-spacing: -0.02em; }
.faq-head h2 em { color: var(--purple2); font-style: normal; }
.faq-sub { color: var(--muted); font-size: 1rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color 0.25s; }
.faq-item[open] { border-color: var(--purple); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.2rem 1.5rem; font-weight: 600; font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--white); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--purple2); transition: transform 0.25s; flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.3rem; color: var(--muted); line-height: 1.7; font-size: 0.96rem; }
@media (max-width: 600px) { .faq { padding: 3rem 1.2rem; } .faq-item summary { padding: 1rem 1.2rem; font-size: 0.96rem; } }
/* ── TRYB EDYCJI (ułóż stronę) ── */
.nav-edit-btn { display: inline-flex; align-items: center; gap: 0.4rem; background: linear-gradient(135deg, rgba(var(--purple-rgb),0.2), rgba(var(--purple-rgb),0.08)); border: 1px solid rgba(var(--purple-rgb),0.4); color: var(--white); padding: 0.5rem 0.9rem; border-radius: 999px; font-family: inherit; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.nav-edit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(var(--purple-rgb),0.3); }
.nav-edit-btn.active { background: var(--purple); border-color: var(--purple2); }
.edit-icon { font-size: 0.95rem; }
/* baner trybu edycji */
.edit-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 3000; background: linear-gradient(135deg, var(--purple), var(--purple2)); color: #fff; padding: 0.7rem 1.2rem; display: none; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; font-size: 0.86rem; font-weight: 500; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
body.editing .edit-banner { display: flex; }
.edit-banner b { font-weight: 700; }
.edit-banner button { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4); color: #fff; padding: 0.4rem 1rem; border-radius: 999px; font-family: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.edit-banner button:hover { background: rgba(255,255,255,0.35); }
/* płótno edycji (nakładka na całą stronę) */
/* TRYB EDYCJI: edycja na żywej stronie */
body.editing { padding-top: 56px; }
/* tryb wydajności — mniej kosztowne renderowanie = większa płynność */
body.editing * { animation-play-state: paused !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
body.editing .hero-cosmos { display: none !important; }            /* wyłącz animowane tło-canvas */
body.editing .liveedit { box-shadow: none !important; }            /* lżejsze cienie podczas ruchu */
body.editing.dragging-active { image-rendering: optimizeSpeed; }
/* podczas przeciągania: tnij detale dla maksymalnej płynności */
body.dragging-active .liveedit:not(.le-sel) { box-shadow: none !important; }
body.dragging-active * { transition: none !important; }
body.dragging-active .le-sel { box-shadow: 0 0 0 2px var(--purple2) !important; }
/* element w trybie edycji */
.liveedit { outline: 2px dashed rgba(var(--purple-rgb),0.6); outline-offset: -4px; border-radius: 14px; position: relative; transform-origin: center center; overflow: visible !important; }
.liveedit.le-sel { outline-color: var(--purple2); outline-style: solid; }
/* wnętrza nieklikalne, by nie przeszkadzały (poza UI edycji) */
body.editing .liveedit > *:not(.le-ui) { pointer-events: none; }
.le-ui { position: absolute; inset: 0; z-index: 60; pointer-events: none; display: none; }
.liveedit .le-ui { display: block; }
.le-bar { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.9rem; background: var(--purple); color: #fff; border-radius: 999px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; cursor: grab; pointer-events: auto; box-shadow: 0 4px 14px rgba(0,0,0,0.4); touch-action: none; }
.le-bar:active { cursor: grabbing; }
.le-tools { display: flex; gap: 0.3rem; margin-left: 0.4rem; }
.le-tools button { background: rgba(255,255,255,0.2); border: none; color: #fff; width: 26px; height: 26px; border-radius: 7px; cursor: pointer; font-size: 0.75rem; line-height: 1; display: flex; align-items: center; justify-content: center; }
.le-tools button:active { background: rgba(255,255,255,0.4); }
.le-handle { position: absolute; background: var(--purple2); border: 2.5px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; color: #fff; pointer-events: auto; z-index: 61; touch-action: none; }
.le-resize { width: 34px; height: 34px; right: -17px; bottom: -17px; border-radius: 8px; cursor: nwse-resize; font-size: 1rem; }
.le-rotate { width: 34px; height: 34px; top: -17px; right: -17px; border-radius: 50%; cursor: grab; font-size: 1.1rem; }
@media (max-width: 600px) {
  .nav-edit-btn .edit-text { display: inline; }
  body.editing { padding-top: 64px; }
}
/* odnośnik trybu edycji na górze hero */
.hero-edit-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin: 0 auto 2rem; padding: 0.7rem 1.4rem;
  background: linear-gradient(135deg, rgba(var(--purple-rgb),0.22), rgba(var(--purple-rgb),0.08));
  border: 1px solid rgba(var(--purple-rgb),0.45); border-radius: 999px;
  color: var(--white); font-family: inherit; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; position: relative; overflow: hidden;
  opacity: 0; animation: fadeUp 0.9s 0.05s forwards;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 0 24px rgba(var(--purple-rgb),0.18);
}
.hero-edit-link::before {
  content: ''; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg); animation: burgerShine 3.5s ease-in-out infinite;
}
.hero-edit-link:hover { transform: translateY(-2px); border-color: var(--purple2); box-shadow: 0 8px 28px rgba(var(--purple-rgb),0.4); }
body.editing .hero-edit-link { display: none; }
@media (max-width: 600px) { .hero-edit-link { font-size: 0.82rem; padding: 0.6rem 1.1rem; margin-bottom: 1.5rem; } }
/* ── OKNO POWITALNE ── */
.welcome-overlay { position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: rgba(8,8,14,0.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; animation: welcomeFade 0.5s ease forwards; }
.welcome-overlay.closing { animation: welcomeFadeOut 0.4s ease forwards; }
@keyframes welcomeFade { to { opacity: 1; } }
@keyframes welcomeFadeOut { to { opacity: 0; visibility: hidden; } }
.welcome-card { position: relative; max-width: 480px; width: 100%; background: linear-gradient(160deg, #1d1630 0%, #14121c 60%, #100d18 100%); border: 1px solid rgba(var(--purple-rgb),0.4); border-radius: 24px; padding: 2.6rem 2.2rem 2.2rem; box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(var(--purple-rgb),0.2); transform: translateY(20px) scale(0.96); animation: welcomePop 0.5s cubic-bezier(.22,1,.36,1) 0.1s forwards; overflow: hidden; }
.welcome-card::before { content: ''; position: absolute; top: -40%; right: -20%; width: 280px; height: 280px; background: radial-gradient(circle, rgba(var(--purple-rgb),0.3), transparent 70%); pointer-events: none; }
@keyframes welcomePop { to { transform: translateY(0) scale(1); } }
.welcome-card > * { position: relative; z-index: 1; }
.welcome-close { position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,0.08); border: none; color: var(--muted); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 0.9rem; transition: background 0.2s, color 0.2s; z-index: 2; }
.welcome-close:hover { background: rgba(255,255,255,0.18); color: #fff; }
.welcome-badge { display: inline-block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple2); background: rgba(var(--purple-rgb),0.14); border: 1px solid rgba(var(--purple-rgb),0.35); padding: 0.4rem 1rem; border-radius: 999px; margin-bottom: 1.3rem; }
.welcome-title { font-family: 'Outfit', sans-serif; font-size: clamp(1.5rem, 4vw, 1.9rem); font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.welcome-tagline { font-family: 'Outfit', sans-serif; font-size: 0.98rem; font-weight: 600; color: var(--white); margin-bottom: 1.3rem; }
.welcome-tagline em { color: var(--purple2); font-style: normal; }
.welcome-text { color: var(--muted); font-size: 0.96rem; line-height: 1.7; margin-bottom: 1rem; }
.welcome-text b { color: var(--white); font-weight: 600; }
.welcome-list { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.welcome-list li { color: var(--muted); font-size: 0.94rem; line-height: 1.4; padding: 0.6rem 0.9rem; background: rgba(var(--purple-rgb),0.08); border: 1px solid rgba(var(--purple-rgb),0.2); border-radius: 10px; }
.welcome-list li b { color: var(--white); }
.welcome-hint { font-size: 0.9rem; background: linear-gradient(135deg, rgba(255,210,63,0.12), rgba(var(--purple-rgb),0.06)); border: 1px solid rgba(255,210,63,0.3); border-radius: 12px; padding: 0.8rem 1rem; }
.welcome-hint b { color: #ffd23f; }
.welcome-sign { color: var(--purple2); font-weight: 600; font-style: italic; margin-bottom: 1.8rem; }
.welcome-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: linear-gradient(135deg, var(--purple), var(--purple2)); color: #fff; border: none; font-family: inherit; font-size: 0.96rem; font-weight: 600; padding: 0.9rem 1.8rem; border-radius: 999px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.welcome-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(var(--purple-rgb),0.5); }
@media (max-width: 600px) { .welcome-card { padding: 2.2rem 1.5rem 1.8rem; } }
/* ── GRA: DUSZEK RUNNER ── */
.game-overlay { position: fixed; inset: 0; z-index: 4500; display: none; align-items: center; justify-content: center; padding: 1.2rem; background: rgba(8,8,14,0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.game-overlay.show { display: flex; }
/* gdy gra otwarta — zatrzymaj ciężkie animacje tła (płynność) */
body.playing .hero-cosmos { display: none !important; }
body.playing * { animation-play-state: paused !important; }
.game-card { position: relative; width: 100%; max-width: 680px; background: linear-gradient(160deg, #1a1430, #110d18); border: 1px solid rgba(var(--purple-rgb),0.4); border-radius: 20px; padding: 1.6rem 1.4rem 1.3rem; box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 50px rgba(var(--purple-rgb),0.2); }
.game-close { position: absolute; top: 0.9rem; right: 0.9rem; background: rgba(255,255,255,0.1); border: none; color: var(--muted); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 0.9rem; z-index: 2; transition: background 0.2s, color 0.2s; }
.game-close:hover { background: rgba(255,255,255,0.22); color: #fff; }
.game-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; flex-wrap: wrap; }
.game-title { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.15rem; }
.game-score { font-size: 0.85rem; color: var(--muted); }
.game-score b { color: var(--purple2); }
#gameCanvas { width: 100%; height: auto; display: block; background: linear-gradient(180deg, #0d0b16 0%, #161028 100%); border-radius: 12px; border: 1px solid rgba(var(--purple-rgb),0.25); touch-action: none; cursor: pointer; }
.game-hint { text-align: center; color: var(--muted); font-size: 0.82rem; margin-top: 0.8rem; }
/* easter egg: rakieta */
.rocket-egg { cursor: pointer; transition: transform 0.2s; }
.rocket-egg:hover { transform: scale(1.15) rotate(-12deg); }
.rocket-fly { position: fixed; z-index: 5000; font-size: 2.6rem; pointer-events: none; transform: translate(-50%,-50%) rotate(-45deg); will-change: transform, top; filter: drop-shadow(0 0 12px rgba(255,210,63,0.7)); }
.rocket-spark { position: fixed; z-index: 5000; width: 9px; height: 9px; border-radius: 50%; pointer-events: none; will-change: transform, opacity; box-shadow: 0 0 8px currentColor; }
/* easter egg: duszek */
.ghost-egg { cursor: pointer; transition: transform 0.2s; }
.ghost-egg:hover { transform: scale(1.15) translateY(-3px); }
.ghost-fly { position: fixed; z-index: 5000; font-size: 2.6rem; pointer-events: none; transform: translate(-50%,-50%); will-change: transform, top, left, opacity; filter: drop-shadow(0 0 14px rgba(155,77,255,0.7)); }
/* easter egg: kalendarz na wietrze */
.calendar-egg { cursor: pointer; transition: transform 0.2s; display: inline-block; }
.calendar-egg:hover { transform: rotate(-6deg) scale(1.12); }
.cal-leaf { position: fixed; left: 0; top: 0; z-index: 5000; font-size: 1.6rem; pointer-events: none; will-change: transform, opacity; transform-style: preserve-3d; }
.cal-page { position: fixed; z-index: 4999; width: 34px; height: 42px; background: linear-gradient(165deg,#ffffff,#eceaf2); border-radius: 4px; box-shadow: 0 6px 16px rgba(0,0,0,0.35); pointer-events: none; will-change: transform, opacity; transform-style: preserve-3d; overflow: hidden; display: flex; flex-direction: column; align-items: center; }
.cal-page .cp-top { width: 100%; background: #d23f3f; color: #fff; font-size: 7px; font-weight: 700; text-align: center; letter-spacing: 0.05em; padding: 2px 0; }
.cal-page .cp-num { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: #2a2733; font-family: 'Outfit', sans-serif; }
/* easter egg: impuls energii z logo */
.impulse-flash { position: fixed; z-index: 4998; width: 120px; height: 120px; border-radius: 50%; pointer-events: none; transform: translate(-50%,-50%); background: radial-gradient(circle, #fff 0%, var(--purple2) 35%, rgba(155,77,255,0) 70%); will-change: transform, opacity; }
.impulse-ring { position: fixed; z-index: 4998; border-radius: 50%; pointer-events: none; transform: translate(-50%,-50%); border: 4px solid var(--purple2); box-shadow: 0 0 24px rgba(155,77,255,0.7), inset 0 0 24px rgba(155,77,255,0.5); will-change: width, height, opacity; }
.impulse-bolt { position: fixed; z-index: 4999; font-size: 1.7rem; pointer-events: none; transform: translate(-50%,-50%); will-change: transform, opacity; filter: drop-shadow(0 0 8px rgba(255,210,63,0.9)); }
.matrix-egg { cursor: pointer; transition: transform 0.2s; display: inline-block; }
.matrix-egg:hover { transform: scale(1.12) translateY(-2px); }
/* easter egg: konfetti Starter */
.starter-egg { transition: transform 0.2s; }
.starter-egg:hover { transform: scale(1.06); }
.confetti-bit { position: fixed; z-index: 5000; pointer-events: none; will-change: transform, opacity; border-radius: 2px; }
.starter-msg { position: fixed; z-index: 5001; pointer-events: none; transform: translate(-50%,-50%); font-family: 'Outfit', sans-serif; text-align: center; white-space: nowrap; background: linear-gradient(160deg, rgba(26,20,40,0.94), rgba(15,11,26,0.94)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(var(--purple-rgb),0.5); border-radius: 14px; padding: 0.85rem 1.3rem; box-shadow: 0 16px 50px rgba(0,0,0,0.6), 0 0 36px rgba(var(--purple-rgb),0.3); }
.starter-msg .stm-top { display: block; font-weight: 800; font-size: 1.3rem; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.starter-msg .stm-bot { display: block; font-weight: 700; font-size: 1rem; color: #ffd23f; margin-top: 0.15rem; }
/* easter egg: fajerwerki + bestseller Standard */
.standard-egg { } /* klikalność przez onclick */
.firework-spark { position: fixed; z-index: 5000; width: 7px; height: 7px; border-radius: 50%; pointer-events: none; will-change: transform, opacity; box-shadow: 0 0 8px currentColor; }
.standard-msg { position: fixed; z-index: 5001; pointer-events: none; transform: translate(-50%,-50%); width: min(78vw, 290px); text-align: center; font-family: 'Outfit', sans-serif; background: linear-gradient(160deg, rgba(26,20,40,0.96), rgba(15,11,26,0.96)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(var(--purple-rgb),0.45); border-radius: 18px; padding: 1.5rem 1.4rem 1.3rem; box-shadow: 0 24px 70px rgba(0,0,0,0.6), 0 0 50px rgba(var(--purple-rgb),0.3); }
.standard-msg .sm-spark { display: block; font-size: 1.5rem; color: var(--purple2); margin-bottom: 0.5rem; text-shadow: 0 0 16px rgba(var(--purple-rgb),0.8); }
.standard-msg .sm-title { font-weight: 700; font-size: 1.18rem; line-height: 1.3; color: #fff; }
.standard-msg .sm-sub { font-weight: 800; font-size: 1.18rem; line-height: 1.3; color: #ffd23f; margin-bottom: 0.7rem; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.standard-msg .sm-foot { font-weight: 500; font-size: 0.9rem; color: #d8cef0; }
/* easter egg: dolary + cytat Premium */
.money-bit { position: fixed; z-index: 5000; pointer-events: none; will-change: transform, opacity; }
.premium-quote { position: fixed; z-index: 5001; pointer-events: none; transform: translate(-50%,-50%); max-width: 300px; text-align: center; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.2rem; line-height: 1.45; color: #fff; background: rgba(13,13,20,0.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 1.3rem 1.5rem; border-radius: 16px; border: 1px solid rgba(var(--purple-rgb),0.5); box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(var(--purple-rgb),0.25); }
.premium-quote b { color: #ffd23f; font-weight: 800; }
.premium-quote .pq-mark { color: var(--purple2); font-size: 1.6rem; font-weight: 800; }
/* easter egg: retro sesja foto */
.photo-egg { } /* klikalność całej karty przez onclick; hover dziedziczy z .addon-card */
.photo-ov { position: fixed; inset: 0; z-index: 6000; background: rgba(10,8,16,0.92); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.photo-scene { text-align: center; }
/* stary aparat miechowy (SVG) */
.oldcam { width: 280px; height: auto; margin: 0 auto; display: block; animation: photoSway 2.6s ease-in-out infinite; filter: drop-shadow(0 14px 30px rgba(0,0,0,0.55)); }
.photo-say { margin-top: 1rem; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.3rem; color: #fff; }
.photo-count { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 7rem; color: #fff; text-shadow: 0 0 30px rgba(155,77,255,0.8); pointer-events: none; }
.photo-shutter { position: absolute; left: 0; width: 100%; height: 51%; background: #0a0810; transition: transform 0.16s ease; }
.photo-shutter-top { top: 0; transform: translateY(-100%); }
.photo-shutter-bot { bottom: 0; transform: translateY(100%); }
.photo-polaroid { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) translateY(40px); opacity: 0; background: #fdfdf8; padding: 12px 12px 40px; border-radius: 4px; box-shadow: 0 20px 50px rgba(0,0,0,0.6); transition: transform 0.6s cubic-bezier(.34,1.56,.64,1), opacity 0.6s ease; }
.photo-pol-img { width: 180px; height: 180px; background: linear-gradient(160deg,#6b4ea8,#2a2440); opacity: 0; transition: opacity 1s ease; border-radius: 2px; position: relative; }
.photo-pol-img::after { content: '🧍'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 4rem; filter: grayscale(0.3) sepia(0.4); }
.photo-pol-cap { text-align: center; margin-top: 10px; font-family: 'Outfit', sans-serif; font-weight: 600; color: #3a3550; font-size: 0.95rem; }
@keyframes photoSway { 0%,100%{ transform: rotate(-3deg);} 50%{ transform: rotate(3deg);} }
@keyframes photoCountPop { 0%{ transform: translate(-50%,-50%) scale(0.3); opacity: 0;} 40%{ transform: translate(-50%,-50%) scale(1.1); opacity: 1;} 100%{ transform: translate(-50%,-50%) scale(1); opacity: 0.9;} }
@keyframes photoSayPop { 0%{ transform: scale(0.7) translateY(8px); opacity: 0;} 100%{ transform: scale(1) translateY(0); opacity: 1;} }
/* easter egg: projektowanie logo (galeria w stylu angielskiego gentlemana) */
.paint-ov { position: fixed; inset: 0; z-index: 6000; background: radial-gradient(ellipse at 50% 38%, #2a2114 0%, #1a140d 45%, #0a0805 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.paint-stage { position: relative; width: 320px; height: 360px; transform-origin: 50% 36%; }
.paint-easel { position: absolute; left: 50%; top: 6px; transform: translateX(-50%); }
.paint-canvas { position: relative; width: 206px; height: 206px; background: linear-gradient(160deg,#f3ecd8,#e2d7bc); overflow: hidden;
  border: 14px solid #3a2c14;
  border-image: linear-gradient(145deg, #d9b25a, #8a6a2a 40%, #c9a24e 60%, #6e5220) 1;
  box-shadow: 0 30px 70px rgba(0,0,0,0.7), inset 0 0 0 2px rgba(120,90,40,0.6), 0 0 60px rgba(217,178,90,0.12); }
.paint-canvas::before { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 40px rgba(120,90,40,0.25); pointer-events: none; z-index: 3; }
.paint-strokes { position: absolute; inset: 0; width: 100%; height: 100%; }
.paint-tip { position: absolute; left: 0; top: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: radial-gradient(circle, #fff5dc, #d9b25a); box-shadow: 0 0 16px rgba(217,178,90,0.95); opacity: 0; transition: transform 0.42s cubic-bezier(.45,0,.3,1), opacity 0.4s ease; pointer-events: none; z-index: 2; }
.paint-logo { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 30px; opacity: 0; transition: opacity 0.6s ease; }
.paint-logo-text { display: inline-block; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 1.3rem; letter-spacing: 0.02em; color: #2e2114; white-space: nowrap; }
.paint-logo-text .pl { display: inline-block; opacity: 0; transform: translateY(4px); transition: opacity 0.25s ease, transform 0.25s ease; }
.paint-logo-text .pl.show { opacity: 1; transform: translateY(0); }
.paint-logo-text .pl-d { color: #a87c2e; }
.paint-tripod { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); width: 160px; height: 120px; }
.paint-tripod i { position: absolute; top: -8px; left: 50%; width: 5px; height: 120px; background: linear-gradient(#4a3414,#241803); border-radius: 2px; transform-origin: top center; box-shadow: 1px 0 2px rgba(0,0,0,0.4); }
.paint-tripod i:nth-child(1){ transform: translateX(-50%) rotate(-15deg); }
.paint-tripod i:nth-child(2){ transform: translateX(-50%) rotate(0deg); }
.paint-tripod i:nth-child(3){ transform: translateX(-50%) rotate(15deg); }
.paint-say { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); white-space: nowrap; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; font-size: 1.15rem; letter-spacing: 0.02em; color: #e8d9b0; z-index: 5; }
.paint-say::before, .paint-say::after { content: '—'; color: #b8893f; margin: 0 0.5rem; }
/* easter egg: mapa Google → budynek (w oknie) */
.map-ov { position: fixed; inset: 0; z-index: 6000; background: rgba(8,8,14,0.82); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.map-window { position: relative; width: min(92vw, 720px); height: min(80vh, 600px); background: #1a1d22; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.08); display: flex; flex-direction: column; animation: mapWinPop 0.4s cubic-bezier(.34,1.4,.64,1); }
.map-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 0 0 16px; background: #23272e; border-bottom: 1px solid rgba(255,255,255,0.06); flex-shrink: 0; height: 40px; }
.map-bar-title { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.9rem; color: #cfd4da; }
.map-wbtns { display: flex; height: 100%; }
.map-wbtns i { width: 46px; height: 40px; display: flex; align-items: center; justify-content: center; position: relative; }
.map-wbtns i::before, .map-wbtns i::after { content: ''; position: absolute; background: #cfd4da; }
.wb-min::before { width: 12px; height: 2px; }
.wb-max::before { width: 11px; height: 11px; border: 2px solid #cfd4da; background: transparent; box-sizing: border-box; }
.wb-close { }
.wb-close::before, .wb-close::after { width: 15px; height: 2px; }
.wb-close::before { transform: rotate(45deg); }
.wb-close::after { transform: rotate(-45deg); }
.wb-close:hover { background: #e81123; }
.wb-close:hover::before, .wb-close:hover::after { background: #fff; }
.map-viewport { position: relative; flex: 1; overflow: hidden; background: #e8eef0; }
.map-world { position: absolute; inset: 0; transform-origin: 50% 50%; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-100%); }
.map-pin-head { width: 26px; height: 26px; background: #ea4335; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 4px 10px rgba(0,0,0,0.4); position: relative; }
.map-pin-head::after { content: ''; position: absolute; top: 7px; left: 7px; width: 12px; height: 12px; background: #fff; border-radius: 50%; }
.map-pin-pulse { position: absolute; left: 50%; top: 26px; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(234,67,53,0.3); animation: mapPulse 1.4s ease-out infinite; }
/* SCENA wokół firmy */
.map-scene { position: absolute; inset: 0; z-index: 5; opacity: 0; transition: opacity 0.6s ease; overflow: hidden; }
.map-scene.show { opacity: 1; }
.ms-ground { position: absolute; inset: 0; background: linear-gradient(#e4e8dd 0%,#d8ddcc 55%,#cdd3c0 100%); }
.ms-wh-zone { position: absolute; top: 0; left: 0; right: 0; height: 40%; }
.ms-warehouses { position: absolute; top: 8px; left: 6%; right: 6%; height: 54px; display: flex; gap: 12px; }
.ms-wh { flex: 1; background: linear-gradient(#9aa1a8,#7c838b); border-radius: 3px 3px 0 0; position: relative; box-shadow: inset 0 6px 0 rgba(255,255,255,0.12), 0 4px 10px rgba(0,0,0,0.25); }
.ms-wh::before { content: ''; position: absolute; inset: 10px 8px auto 8px; height: 7px; background: repeating-linear-gradient(90deg,#5c6168 0 6px,#6f757c 6px 12px); }
.ms-wh::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 42%; height: 15px; background: #4a4f55; border-radius: 3px 3px 0 0; }
.ms-wh-road { position: absolute; bottom: 0; left: 0; right: 0; height: 28px; background: linear-gradient(#5a5f66,#474c52); }
.ms-wh-road::after { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); background: repeating-linear-gradient(90deg,#e8d28a 0 14px,transparent 14px 28px); }
.ms-wh-parking { position: absolute; bottom: 30px; right: 8%; display: grid; grid-template-columns: repeat(2,18px); gap: 4px 8px; }
.ms-wh-parking .ms-park-car { width: 18px; height: 11px; }
.ms-truck { position: absolute; bottom: 1px; width: 44px; height: 18px; background: #ecf0f1; border-radius: 2px; box-shadow: 0 2px 4px rgba(0,0,0,0.35); animation: msTruck 9s ease-in-out infinite; }
.ms-truck::before { content: ''; position: absolute; right: -15px; bottom: 0; width: 15px; height: 13px; background: #c0392b; border-radius: 2px; }
@keyframes msTruck { 0%{ left: -70px; } 38%{ left: 30%; } 62%{ left: 30%; } 100%{ left: 110%; } }
.ms-road { position: absolute; left: 0; right: 0; bottom: 12%; height: 44px; background: linear-gradient(#54595f,#3e4248); box-shadow: 0 -2px 6px rgba(0,0,0,0.2); }
.ms-lane { position: absolute; top: 50%; left: 0; right: 0; height: 3px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, #f5d76e 0 22px, transparent 22px 44px); }
.ms-sidewalk { position: absolute; left: 0; right: 0; bottom: calc(12% + 44px); height: 15px; background: repeating-linear-gradient(90deg,#cfd2c8 0 14px,#c2c6ba 14px 16px); }
.ms-path { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(12% + 59px); width: 28px; height: 11%; background: repeating-linear-gradient(0deg,#d8dccf 0 8px,#cacfbf 8px 10px); }
.ms-tree { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 38% 35%, #6fbf73, #3c8a45); box-shadow: 0 4px 8px rgba(0,0,0,0.25); }
.ms-tree::after { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: #6b4f33; }
.ms-parking { position: absolute; right: 7%; top: 42%; display: grid; grid-template-columns: repeat(2, 22px); gap: 5px 9px; padding: 7px; background: rgba(60,64,70,0.3); border-radius: 4px; }
.ms-park-car { width: 22px; height: 13px; border-radius: 3px; background: var(--c); box-shadow: inset 0 -2px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.3); position: relative; }
.ms-park-car::after { content: ''; position: absolute; inset: 3px 3px auto 3px; height: 4px; background: rgba(255,255,255,0.45); border-radius: 1px; }
.map-building { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); width: 182px; z-index: 6; filter: drop-shadow(0 24px 38px rgba(0,0,0,0.5)); }
.map-bld-roof { height: 8px; background: linear-gradient(#26303a,#161c24); border-radius: 4px 4px 0 0; margin: 0 6px; box-shadow: 0 1px 0 rgba(255,255,255,0.12); }
.map-bld-sign { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; background: linear-gradient(135deg,#15121f,#0d0a16); border: 1px solid rgba(155,77,255,0.55); border-radius: 7px; padding: 9px 14px; margin: 6px 4px; box-shadow: 0 0 22px rgba(155,77,255,0.45), inset 0 1px 0 rgba(255,255,255,0.1); }
.map-bld-sign::after { content: ''; position: absolute; inset: 0; border-radius: 7px; background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent 50%); pointer-events: none; }
.map-bld-sign span { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.03em; color: #fff; white-space: nowrap; text-shadow: 0 0 10px rgba(155,77,255,0.6); }
.map-bld-body { position: relative; background: linear-gradient(135deg,#2b3440 0%,#1a2129 100%); border-radius: 0 0 6px 6px; padding: 12px 12px 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; min-height: 108px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); overflow: hidden; }
.map-bld-body::before { content: ''; position: absolute; top: 0; left: -40%; width: 50%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255,255,255,0.14) 50%, transparent); transform: skewX(-18deg); pointer-events: none; }
.map-bld-body i { height: 13px; background: linear-gradient(150deg,#bcd9ee 0%,#7ea8c6 45%,#3f5f78 100%); border-radius: 1px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); opacity: 0.92; }
.map-bld-door { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 36px; height: 26px; background: linear-gradient(#caa15a,#8a6a2a); border-radius: 4px 4px 0 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25), 0 0 12px rgba(202,161,90,0.4); }
.ms-car { position: absolute; bottom: calc(12% + 5px); width: 30px; height: 15px; border-radius: 4px; background: var(--c); box-shadow: inset 0 -3px 4px rgba(0,0,0,0.3), 0 2px 4px rgba(0,0,0,0.35); }
.ms-car::before { content: ''; position: absolute; inset: 3px 5px auto 5px; height: 5px; background: rgba(190,225,245,0.8); border-radius: 2px; }
.ms-car-a { animation: msDriveR 4s linear infinite; }
.ms-car-b { animation: msDriveL 5.2s linear infinite; bottom: calc(12% + 23px); transform: scaleX(-1); }
.ms-car-c { animation: msDriveR 6s linear infinite 1.5s; }
@keyframes msDriveR { from{ left: -40px; } to{ left: 105%; } }
@keyframes msDriveL { from{ left: 105%; } to{ left: -40px; } }
/* ciężarówka na głównej ulicy (jedzie normalnie do przodu) */
.ms-bigtruck { position: absolute; bottom: calc(12% + 4px); width: 52px; height: 17px; background: linear-gradient(#dfe4e8,#c2c8cd); border-radius: 2px; box-shadow: inset 0 -3px 4px rgba(0,0,0,0.2), 0 2px 4px rgba(0,0,0,0.35); animation: msDriveR 7s linear infinite 0.8s; }
.ms-bigtruck::before { content: ''; position: absolute; right: -16px; bottom: 0; width: 16px; height: 15px; background: #2980b9; border-radius: 2px 3px 3px 2px; }
.ms-bigtruck::after { content: ''; position: absolute; right: -13px; top: 2px; width: 8px; height: 5px; background: rgba(190,225,245,0.85); border-radius: 1px; }
.ms-enter { position: absolute; width: 7px; height: 15px; border-radius: 3px 3px 0 0; background: linear-gradient(#5566aa,#33406b); left: 50%; }
.ms-enter::before { content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 6px; height: 6px; border-radius: 50%; background: #e2b58c; }
.ms-enter-a { animation: msEnterFromL 6s ease-in-out infinite; }
.ms-enter-b { background: linear-gradient(#aa7755,#6b4733); animation: msEnterFromL 6s ease-in-out infinite 3s; }
.ms-enter-c { background: linear-gradient(#55aa77,#336b4a); animation: msEnterFromR 6.5s ease-in-out infinite 1.6s; }
.ms-enter-d { background: linear-gradient(#9b6fb0,#5e3f72); animation: msEnterFromR 6.5s ease-in-out infinite 4.5s; }
/* z lewej krawędzi → chodnikiem do środka → w górę do wejścia */
@keyframes msEnterFromL {
  0%{ left: -4%; bottom: 23%; opacity: 0; transform: scale(0.95);} 
  8%{ opacity: 1;} 
  55%{ left: 50%; bottom: 23%; opacity: 1; transform: scale(0.92);}     /* doszedł chodnikiem do wejścia */
  85%{ left: 50%; bottom: 40%; opacity: 1; transform: scale(0.55);}     /* skręca w górę do drzwi */
  94%{ left: 50%; bottom: 42%; opacity: 0; transform: scale(0.45);} 
  100%{ opacity: 0;} 
}
/* z prawej krawędzi → chodnikiem do środka → w górę do wejścia */
@keyframes msEnterFromR {
  0%{ left: 104%; bottom: 23%; opacity: 0; transform: scale(0.95);} 
  8%{ opacity: 1;} 
  55%{ left: 50%; bottom: 23%; opacity: 1; transform: scale(0.92);} 
  85%{ left: 50%; bottom: 40%; opacity: 1; transform: scale(0.55);} 
  94%{ left: 50%; bottom: 42%; opacity: 0; transform: scale(0.45);} 
  100%{ opacity: 0;} 
}
.ms-person { position: absolute; width: 7px; height: 15px; border-radius: 3px 3px 0 0; background: linear-gradient(#55aa77,#336b4a); }
.ms-person::before { content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 6px; height: 6px; border-radius: 50%; background: #e2b58c; }
.ms-person-a { bottom: calc(12% + 45px); animation: msWalkR 7s linear infinite; }
.ms-person-b { bottom: calc(12% + 45px); background: linear-gradient(#aa5566,#6b3340); animation: msWalkL 8.5s linear infinite 1s; }
@keyframes msWalkR { from{ left: -10px; } to{ left: 103%; } }
@keyframes msWalkL { from{ left: 103%; } to{ left: -10px; } }
.map-say { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); white-space: nowrap; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.15rem; color: #fff; z-index: 6; text-shadow: 0 2px 14px rgba(0,0,0,0.7); background: rgba(13,13,20,0.6); padding: 8px 18px; border-radius: 999px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes mapPulse { 0%{ transform: translate(-50%,-50%) scale(0.5); opacity: 0.8;} 100%{ transform: translate(-50%,-50%) scale(2.4); opacity: 0;} }
@keyframes mapWinPop { 0%{ transform: scale(0.85); opacity: 0;} 100%{ transform: scale(1); opacity: 1;} }
/* easter egg: ekspresowe kodowanie (w oknie) */
.expr-ov { position: fixed; inset: 0; z-index: 6000; background: rgba(8,8,14,0.82); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.expr-window { position: relative; width: min(94vw, 760px); height: min(82vh, 620px); background: #0d0a16; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.08); display: flex; flex-direction: column; animation: mapWinPop 0.4s cubic-bezier(.34,1.4,.64,1); }
.expr-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 0 0 16px; background: #1a1626; border-bottom: 1px solid rgba(255,255,255,0.06); flex-shrink: 0; height: 40px; }
.expr-bar-title { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.9rem; color: #cfd4da; }
.expr-viewport { position: relative; flex: 1; overflow: hidden; perspective: 900px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 7%; background: radial-gradient(ellipse at 50% 25%, #1a1330 0%, #0d0a16 75%); }
.expr-bg { position: absolute; inset: 0; overflow: hidden; }
.expr-pulse { position: absolute; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle, rgba(155,77,255,0.5), transparent 70%); transform: translate(-50%,-50%) scale(0.4); animation: exprPulse 0.7s ease-out forwards; pointer-events: none; }
@keyframes exprPulse { to{ transform: translate(-50%,-50%) scale(2.4); opacity: 0; } }
.expr-monitor { position: relative; z-index: 2; width: min(74%, 440px); transform: rotateX(6deg); }
.expr-screen { position: relative; background: #0a0e14; border: 10px solid #1c2128; border-radius: 10px; padding: 18px 20px; min-height: 190px; box-shadow: 0 0 50px rgba(155,77,255,0.25), inset 0 0 40px rgba(0,0,0,0.6); overflow: hidden; }
.expr-code { margin: 0; font-family: 'Courier New', monospace; font-size: 1rem; line-height: 1.55; color: #6ad48f; white-space: pre-wrap; text-shadow: 0 0 6px rgba(106,212,143,0.5); }
.expr-caret { display: inline-block; width: 8px; height: 16px; background: #6ad48f; vertical-align: text-bottom; animation: exprCaret 0.5s steps(1) infinite; box-shadow: 0 0 8px #6ad48f; }
@keyframes exprCaret { 50%{ opacity: 0; } }
.expr-stand { width: 64px; height: 30px; margin: 0 auto; background: linear-gradient(#2a2f37,#1a1d22); clip-path: polygon(30% 0,70% 0,100% 100%,0 100%); }
.expr-keyboard { position: relative; z-index: 5; margin-top: 2px; width: min(78%, 460px); height: 62px; background: linear-gradient(#2c313a,#1d2127); border-radius: 10px; transform: rotateX(50deg); box-shadow: 0 20px 36px rgba(0,0,0,0.55), inset 0 2px 0 rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; }
.expr-keyboard span { flex: 1; height: 64%; background: linear-gradient(#3a4049,#262b32); border-radius: 4px; box-shadow: inset 0 -3px 3px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.06); animation: exprKey 0.2s ease infinite; }
.expr-keyboard span:nth-child(2){ animation-delay: 0.05s; } .expr-keyboard span:nth-child(3){ animation-delay: 0.1s; } .expr-keyboard span:nth-child(4){ animation-delay: 0.03s; } .expr-keyboard span:nth-child(5){ animation-delay: 0.08s; } .expr-keyboard span:nth-child(6){ animation-delay: 0.12s; } .expr-keyboard span:nth-child(7){ animation-delay: 0.06s; } .expr-keyboard span:nth-child(8){ animation-delay: 0.11s; }
@keyframes exprKey { 50%{ transform: translateY(3px); background: linear-gradient(#9b4dff,#6a2eb0); box-shadow: 0 0 12px rgba(155,77,255,0.7); } }
.expr-dev { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); z-index: 6; width: min(92%, 500px); height: auto; filter: drop-shadow(0 -6px 24px rgba(155,77,255,0.25)); }
.expr-dev .expr-arm-l { transform-origin: 96px 130px; animation: exprArmL 0.2s ease-in-out infinite; }
.expr-dev .expr-arm-r { transform-origin: 264px 130px; animation: exprArmR 0.2s ease-in-out infinite 0.1s; }
@keyframes exprArmL { 0%,100%{ transform: translateY(0) rotate(0deg); } 50%{ transform: translateY(16px) rotate(-4deg); } }
@keyframes exprArmR { 0%,100%{ transform: translateY(0) rotate(0deg); } 50%{ transform: translateY(16px) rotate(4deg); } }
.expr-say { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 8; white-space: nowrap; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.05rem; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,0.7); background: rgba(13,13,20,0.6); padding: 8px 18px; border-radius: 999px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.premium-quote .pq-benefit { display: block; margin-top: 0.9rem; font-size: 0.86rem; font-weight: 500; line-height: 1.45; color: #e8e2f5; text-shadow: 0 2px 12px rgba(0,0,0,0.7); }
/* pad kierunkowy (strzałki) */
.game-pad { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; margin-top: 0.9rem; }
.pad-mid { display: flex; gap: 3.2rem; }
.pad-btn { width: 52px; height: 52px; border-radius: 12px; border: 1px solid rgba(var(--purple-rgb),0.4); background: linear-gradient(150deg, rgba(var(--purple-rgb),0.18), rgba(var(--purple-rgb),0.06)); color: var(--white); font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; touch-action: none; user-select: none; -webkit-user-select: none; transition: background 0.12s, transform 0.12s; }
.pad-btn:active { background: var(--purple); transform: scale(0.92); }
/* menu wyboru gier */
.game-menu-head { text-align: center; margin-bottom: 1.4rem; }
.game-menu-head .game-title { display: block; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.3rem; margin-bottom: 0.3rem; }
.game-menu-sub { color: var(--muted); font-size: 0.88rem; }
.game-choices { display: flex; flex-direction: column; gap: 0.9rem; }
.game-choice { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; padding: 1.6rem 1rem; background: linear-gradient(150deg, rgba(var(--purple-rgb),0.14), rgba(var(--purple-rgb),0.05)); border: 1.5px solid rgba(var(--purple-rgb),0.35); border-radius: 16px; cursor: pointer; font-family: inherit; color: var(--white); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.game-choice:hover { transform: translateY(-3px); border-color: var(--purple2); box-shadow: 0 12px 30px rgba(var(--purple-rgb),0.3); }
.gc-emoji { font-size: 2.4rem; line-height: 1; }
.gc-name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.05rem; }
.gc-desc { font-size: 0.8rem; color: var(--muted); }
.game-back { background: rgba(255,255,255,0.1); border: none; color: var(--white); font-family: inherit; font-size: 0.82rem; font-weight: 600; padding: 0.45rem 0.9rem; border-radius: 999px; cursor: pointer; transition: background 0.2s; }
.game-back:hover { background: rgba(255,255,255,0.22); }