/* MyVibi /aplikacja — extra polish layer: spotlight cards, aura, kinetic hero, 3D city section */
.aura { position: fixed; left: 0; top: 0; z-index: 1; width: 560px; height: 560px; margin: -280px 0 0 -280px; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(circle, color-mix(in srgb, var(--s) 22%, transparent), color-mix(in srgb, var(--p) 10%, transparent) 40%, transparent 68%); mix-blend-mode: screen; will-change: transform; }
.aura.on { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) { .aura { display: none; } }

/* reveal: rise + unblur */
.reveal { filter: blur(10px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { filter: none; }
.reveal.in > * { animation: wowRise .9s var(--ease) both; }
.reveal.in > *:nth-child(2) { animation-delay: .08s; } .reveal.in > *:nth-child(3) { animation-delay: .16s; } .reveal.in > *:nth-child(4) { animation-delay: .24s; } .reveal.in > *:nth-child(5) { animation-delay: .32s; }
@keyframes wowRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* hero headline: shimmering gradient + soft glow */
.hero h1 { text-shadow: 0 0 60px color-mix(in srgb, var(--p) 25%, transparent); }
.hero h1 .grad { background-size: 220% 100%; background-image: linear-gradient(100deg, var(--p), var(--s), var(--t), var(--s), var(--p)); animation: wowShimmer 7s linear infinite; -webkit-background-clip: text; background-clip: text; }
@keyframes wowShimmer { to { background-position: 220% 0; } }
.hero-copy > * { animation: wowRise 1s var(--ease) both; } .hero-copy > *:nth-child(2) { animation-delay: .12s; } .hero-copy > *:nth-child(3) { animation-delay: .24s; } .hero-copy > *:nth-child(4) { animation-delay: .36s; } .hero-copy > *:nth-child(5) { animation-delay: .48s; }

/* spotlight cards: light follows the pointer, border glows */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--s) 22%, transparent), transparent 55%); }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), var(--s), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* buttons: magnetic + glowing edge on the primary ones */
.btn { will-change: transform; }
.btn-go, .btn.primary, .nav-actions .btn { position: relative; }
.btn-go { display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; border-radius: 999px; font-weight: 700; font-size: 17px; color: #fff; background: var(--grad);
  box-shadow: 0 14px 40px color-mix(in srgb, var(--p) 45%, transparent), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .25s var(--ease), box-shadow .25s; }
.btn-go::after { content: "→"; transition: transform .25s var(--ease); } .btn-go:hover { transform: translateY(-3px); box-shadow: 0 20px 56px color-mix(in srgb, var(--p) 60%, transparent), inset 0 1px 0 rgba(255,255,255,.4); } .btn-go:hover::after { transform: translateX(5px); }

/* city in 3D */
.city { position: relative; max-width: 1240px; margin: 40px auto 80px; min-height: 560px; border-radius: 40px; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 10px; padding: 56px 56px 56px 64px;
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.015)); box-shadow: 0 40px 120px rgba(0,0,0,.4); }
.city-bg { position: absolute; inset: -20%; z-index: 0; pointer-events: none; background:
  radial-gradient(40% 50% at 78% 45%, color-mix(in srgb, var(--p) 40%, transparent), transparent 70%),
  radial-gradient(30% 40% at 90% 90%, color-mix(in srgb, var(--s) 30%, transparent), transparent 70%),
  radial-gradient(30% 40% at 10% 0%, color-mix(in srgb, var(--t) 14%, transparent), transparent 70%); animation: cityDrift 14s ease-in-out infinite alternate; }
@keyframes cityDrift { to { transform: translate3d(-3%, 2%, 0) scale(1.06); } }
.city-copy { position: relative; z-index: 2; max-width: 520px; }
.city-copy .eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--t); margin-bottom: 14px; }
.city-copy h2 { font: 800 clamp(34px, 4.4vw, 58px)/1.04 var(--display); letter-spacing: -.03em; margin-bottom: 18px; }
.city-copy p:not(.eyebrow) { color: var(--mute); font-size: 18px; line-height: 1.6; margin-bottom: 22px; }
.city-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.city-chips span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); font-weight: 600; font-size: 15px; animation: chipFloat 5s ease-in-out infinite; }
.city-chips span:nth-child(2) { animation-delay: -1.2s; } .city-chips span:nth-child(3) { animation-delay: -2.4s; } .city-chips span:nth-child(4) { animation-delay: -3.6s; }
@keyframes chipFloat { 50% { transform: translateY(-6px); } }
.city-rings { position: relative; z-index: 1; height: 460px; min-width: 0; }
.city-rings canvas { filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
@media (max-width: 900px) { .city { grid-template-columns: 1fr; padding: 28px 22px 34px; margin: 20px 14px 60px; border-radius: 30px; } .city-rings { order: -1; height: 280px; } }
@media (prefers-reduced-motion: reduce) { .hero h1 .grad, .city-bg, .city-chips span, .reveal.in > *, .hero-copy > * { animation: none; } .reveal { filter: none; } }
