/* Publiczne strony artysty (showreel, "Gdzie chcesz koncert?") - ciemny, kinowy styl jak klipy i oferta PDF */
@font-face { font-family: "Pirata One"; src: url("/static/fonts/PirataOne-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; src: url("/static/fonts/BarlowCondensed-SemiBold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; src: url("/static/fonts/BarlowCondensed-Bold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 400; src: url("/static/fonts/Barlow-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 500; src: url("/static/fonts/Barlow-Medium.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 600; src: url("/static/fonts/Barlow-SemiBold.ttf") format("truetype"); font-display: swap; }

:root {
  --bg: #07090a; --card: rgb(17 21 23 / .72); --line: rgb(255 255 255 / .09); --white: #f3f5f2; --text: #c9cfcb; --muted: #86918c;
  --ice: #a9c8ee; --green: #a6d67c; --yt: #e5484d; --sp: #1ed760; --r: 14px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif; --body: "Barlow", system-ui, sans-serif; --gothic: "Pirata One", serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--white); }
img { max-width: 100%; }
h1, h2, p { margin: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

#smoke { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; background: radial-gradient(120% 90% at 80% 0%, #1c2733 0%, #0b0f12 55%, var(--bg) 100%); }
.grain { position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .07; background-image: radial-gradient(rgb(255 255 255 / .8) .5px, transparent .6px); background-size: 3px 3px; animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-1.5%, 1%); } 66% { transform: translate(1%, -1.5%); } 100% { transform: translate(0, 0); } }
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }
.pub-nav, main, .pub-foot { position: relative; z-index: 2; }

.kicker { font: 600 12px/1 var(--display); letter-spacing: .28em; text-transform: uppercase; color: var(--ice); }
.muted { color: var(--muted); }
.gothic { font-family: var(--gothic); font-weight: 400; color: var(--white); line-height: .95; letter-spacing: .01em; }
.gothic-sm { font-size: 34px; }

.pub-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 4vw, 48px);
  background: rgb(7 9 10 / .9); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pub-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 14px var(--display); letter-spacing: .24em; text-transform: uppercase; }
.pub-brand img { width: 30px; height: 30px; }
.pub-brand span { display: grid; line-height: 1.05; }
.pub-brand small { font: 600 9px var(--display); letter-spacing: .22em; color: var(--ice); }
.pub-brand:hover span { color: var(--white); }
.pub-agency { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 18px; padding: 14px 22px 14px 16px; border: 1px solid var(--line);
  border-radius: 16px; background: var(--card); text-decoration: none; color: var(--white); text-align: left; transition: border-color .25s, transform .25s; }
.pub-agency:hover { border-color: rgb(169 200 238 / .6); transform: translateY(-2px); }
.pub-agency img { width: 52px; height: auto; }
.pub-agency span { display: grid; gap: 2px; }
.pub-agency small { font: 600 10px var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.pub-agency b { font: 700 20px var(--display); letter-spacing: .06em; text-transform: uppercase; }
.pub-agency em { font-style: normal; font: 600 13px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--ice); }
.cta-agency a { color: var(--ice); }
.pub-nav nav { display: flex; align-items: center; gap: clamp(10px, 2.2vw, 26px); font: 600 14px var(--display); letter-spacing: .14em; text-transform: uppercase; }
.pub-nav nav a { text-decoration: none; color: var(--text); }
.pub-nav nav a:hover { color: var(--white); }
.pub-nav .pub-nav-cta { display: inline-grid; justify-items: center; line-height: 1.05; padding: 6px 16px 7px; border: 1px solid rgb(169 200 238 / .5); border-radius: 999px; color: var(--white); }
.pub-nav .pub-nav-cta small { font: 600 9px var(--display); letter-spacing: .2em; color: var(--ice); }
.btn-labeled { flex-direction: column; gap: 2px; line-height: 1.1; padding-top: 9px; padding-bottom: 10px; }
.btn-labeled small { font: 600 10px var(--display); letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.btn-pub-primary.btn-labeled small { color: #1f2a33; opacity: .75; }
.block-stat { font: 700 clamp(30px, 4.6vw, 52px)/1 var(--display); color: var(--ice); text-transform: uppercase; letter-spacing: .01em; }
.infinity { font-family: var(--body) !important; font-weight: 500 !important; }
@media (max-width: 720px) { .pub-nav nav a:not(.pub-nav-cta) { display: none; } .pub-brand small { display: none; } }

.btn-pub { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / .22); background: rgb(255 255 255 / .04); color: var(--white); text-decoration: none; cursor: pointer;
  font: 600 15px var(--display); letter-spacing: .14em; text-transform: uppercase; transition: transform .15s, background .15s, border-color .15s; }
.btn-pub:hover { transform: translateY(-2px); border-color: var(--ice); background: rgb(169 200 238 / .1); }
.btn-pub-primary { background: var(--white); color: #07090a; border-color: var(--white); }
.btn-pub-primary:hover { background: var(--ice); border-color: var(--ice); }

/* hero */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; align-items: end; padding: 0 clamp(16px, 5vw, 72px) clamp(56px, 9vh, 110px); overflow: hidden; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: min(62vw, 860px); background: var(--hero) center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 42%), linear-gradient(to top, transparent 0%, #000 34%);
  mask-image: linear-gradient(to right, transparent 0%, #000 42%), linear-gradient(to top, transparent 0%, #000 34%);
  -webkit-mask-composite: source-in; mask-composite: intersect; filter: saturate(.85) contrast(1.05); opacity: .95; }
@media (max-width: 820px) { .hero-photo { width: 100%; opacity: .55; } }
.hero-text { position: relative; display: grid; gap: 22px; max-width: 900px; }
.hero h1.gothic { font-size: clamp(76px, 15vw, 210px); text-shadow: 0 10px 60px rgb(0 0 0 / .6); }
.hero-stat { display: grid; gap: 4px; }
.hero-stat b { font: 700 clamp(44px, 7vw, 86px)/.9 var(--display); color: var(--white); letter-spacing: -.01em; }
.hero-stat span { font: 600 14px var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--ice); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 1px solid rgb(255 255 255 / .3); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--white); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 720px) { .scroll-hint { display: none; } }
.hero-fans { min-height: min(78svh, 760px); }
.fans-q { font-size: clamp(64px, 12vw, 170px); text-shadow: 0 10px 60px rgb(0 0 0 / .6); }
.cta-card h2.cta-gothic { font-family: var(--gothic); font-weight: 400; text-transform: none; font-size: clamp(46px, 6vw, 72px); line-height: 1; }

/* bloki */
.block { max-width: 1180px; margin: 0 auto; padding: clamp(56px, 10vh, 120px) clamp(16px, 4vw, 40px); display: grid; gap: 28px; }
.block-h { display: grid; gap: 10px; }
.block-h h2 { font: 700 clamp(38px, 6vw, 68px)/.95 var(--display); color: var(--white); text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* showreel */
.video-frame, .video-soon { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: #000; }
.video-facade { all: unset; position: absolute; inset: 0; cursor: pointer; }
.video-facade img, .video-frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: rgb(243 245 242 / .92);
  box-shadow: 0 0 0 10px rgb(243 245 242 / .12); transition: transform .2s; }
.play::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #07090a; }
.video-facade:hover .play, .clip:hover .play { transform: scale(1.08); }
.video-soon { display: grid; place-content: center; text-align: center; gap: 8px; background: radial-gradient(80% 90% at 50% 40%, rgb(169 200 238 / .12), rgb(0 0 0 / .6)); color: var(--text); padding: 20px; }
.video-soon .gothic { font-size: clamp(56px, 10vw, 110px); }
.pulse { width: 12px; height: 12px; margin: 0 auto; border-radius: 50%; background: var(--yt); box-shadow: 0 0 0 0 rgb(229 72 77 / .6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgb(229 72 77 / 0); } 100% { box-shadow: 0 0 0 0 rgb(229 72 77 / 0); } }
.clip-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.clip { all: unset; position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; cursor: pointer; border: 1px solid var(--line); background: #0d1113; }
.clip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.clip:hover img { transform: scale(1.05); }
.clip .play { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
.clip .play::after { left: 23px; top: 17px; border-width: 12px 0 12px 19px; }
.clip-tt { position: absolute; inset: 0; display: grid; place-content: center; font: 700 30px var(--display); letter-spacing: .1em; color: var(--ice); background: radial-gradient(circle at 30% 20%, rgb(169 200 238 / .2), transparent 60%); }
.clip-meta { position: absolute; left: 0; right: 0; bottom: 0; display: grid; padding: 42px 16px 14px; background: linear-gradient(transparent, rgb(0 0 0 / .85)); }
.clip-meta b { font: 600 18px var(--display); color: var(--white); text-transform: uppercase; letter-spacing: .06em; }
.clip-meta small { color: var(--text); font-size: 13px; }
.clip:focus-visible, .video-facade:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

/* numery */
.songs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.song { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 16px 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.song-n { font: 700 34px var(--display); color: rgb(255 255 255 / .18); }
.song:first-child .song-n { color: var(--ice); }
.song-title { font: 600 20px/1.2 var(--body); color: var(--white); }
.song-title a { text-decoration: none; }
.song-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.song-credit { font-size: 14px; color: var(--muted); margin-top: 2px; }
.badge { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 9px; border: 1px solid var(--green); border-radius: 999px; font: 600 11px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.bar { position: relative; height: 5px; margin-top: 10px; border-radius: 3px; background: rgb(255 255 255 / .07); overflow: hidden; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--yt) 0 var(--yt-split, 50%), var(--sp) var(--yt-split, 50%) 100%); transition: width 1.4s cubic-bezier(.2, .7, .2, 1); }
.song-plays { text-align: right; display: grid; }
.song-plays b { font: 700 clamp(24px, 3.4vw, 34px)/1 var(--display); color: var(--white); }
.song-plays small { font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) { .song { grid-template-columns: 34px minmax(0, 1fr); } .song-n { font-size: 24px; } .song-plays { grid-column: 2; text-align: left; } }

/* na zywo */
.live { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: stretch; }
@media (max-width: 860px) { .live { grid-template-columns: minmax(0, 1fr); } }
.live-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; align-content: start; }
.live-stats p:not(.live-cities) { display: grid; padding: 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.live-stats b { font: 700 58px/1 var(--display); color: var(--white); }
.live-stats span { font: 600 13px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--ice); }
.live-cities { grid-column: 1 / -1; font: 600 18px/1.7 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.pub-map { min-height: 380px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #0b0e10; }
.pub-map .leaflet-tile-pane { filter: invert(1) hue-rotate(185deg) brightness(.72) contrast(.95) saturate(.35); }
.pub-map .leaflet-control-attribution { background: rgb(7 9 10 / .75); color: var(--muted); }
.pub-map .leaflet-control-attribution a { color: var(--text); }
.pub-map .leaflet-bar a { background: #111517; color: var(--white); border-color: var(--line); }
.pub-pin { width: 9px; height: 9px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 3px rgb(169 200 238 / .22), 0 0 14px rgb(169 200 238 / .75); }
.pub-tip { background: #111517; color: var(--white); border: 1px solid var(--line); box-shadow: none; font: 600 13px var(--display); letter-spacing: .08em; text-transform: uppercase; }
.pub-tip::before { display: none; }

/* koncerty */
.gigs-pub { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gigs-pub li { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 18px; padding: 16px 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.gig-date { display: grid; }
.gig-date b { font: 700 36px/1 var(--display); color: var(--white); }
.gig-date small, .gig-place small { color: var(--muted); font-size: 14px; }
.gig-place { display: grid; }
.gig-place b { font: 700 26px/1.05 var(--display); color: var(--white); text-transform: uppercase; letter-spacing: .04em; }

/* booking */
.cta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }
.cta-card { display: grid; gap: 16px; align-content: start; padding: clamp(24px, 4vw, 40px); border-radius: 20px; background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.cta-card h2 { font: 700 clamp(34px, 4.5vw, 52px)/.98 var(--display); color: var(--white); text-transform: uppercase; }
.cta-fans { background: linear-gradient(140deg, rgb(169 200 238 / .14), rgb(17 21 23 / .72) 60%); }

/* fani */
.vote-card { display: grid; gap: 16px; max-width: 720px; padding: clamp(22px, 4vw, 38px); border-radius: 20px; background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.vote-field { display: grid; gap: 6px; }
.vote-field span { font: 600 13px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--ice); }
.vote-field small { letter-spacing: .04em; text-transform: none; color: var(--muted); font-family: var(--body); font-weight: 400; }
.vote-field input { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgb(255 255 255 / .16); background: rgb(0 0 0 / .45); color: var(--white); font: 500 18px var(--body); }
.vote-city input { min-height: 64px; font: 700 28px var(--display); letter-spacing: .04em; }
.vote-field input:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 4px rgb(169 200 238 / .15); }
.vote-consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--muted); }
.vote-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ice); }
.btn-vote { min-height: 60px; font-size: 18px; }
.vote-error { padding: 10px 14px; border-radius: 10px; background: rgb(229 72 77 / .14); color: #ffb3b5; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice-pub { display: grid; gap: 10px; max-width: 720px; padding: 22px 26px; border-radius: 18px; border: 1px solid rgb(166 214 124 / .45); background: rgb(166 214 124 / .08); }
.notice-pub .btn-pub { justify-self: start; }
.notice-err { border-color: rgb(229 72 77 / .45); background: rgb(229 72 77 / .08); }
.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 860px; }
.rank li { display: grid; grid-template-columns: 40px minmax(120px, 240px) minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.rank-n { font: 700 24px var(--display); color: rgb(255 255 255 / .25); }
.rank li:first-child .rank-n { color: var(--ice); }
.rank-city { font: 700 22px var(--display); color: var(--white); text-transform: uppercase; letter-spacing: .04em; }
.rank-bar { position: relative; height: 8px; border-radius: 4px; background: rgb(255 255 255 / .07); overflow: hidden; }
.rank-bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--ice), var(--white)); transition: width 1.2s cubic-bezier(.2, .7, .2, 1); }
.rank-votes { font: 700 26px var(--display); color: var(--white); text-align: right; }
@media (max-width: 560px) { .rank li { grid-template-columns: 30px minmax(0, 1fr); } .rank-bar { grid-column: 2 / -1; grid-row: 2; } }

/* odtwarzacz */
.player { width: min(1100px, calc(100vw - 24px)); padding: 0; border: 1px solid var(--line); border-radius: 16px; background: #000; color: var(--white); overflow: visible; }
.player::backdrop { background: rgb(0 0 0 / .82); backdrop-filter: blur(4px); }
.player-frame { aspect-ratio: 16 / 9; }
.player-frame.is-vertical { aspect-ratio: 9 / 16; max-height: 86vh; margin: 0 auto; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; border-radius: 16px; }
.player-close { position: absolute; right: -8px; top: -44px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .3); background: rgb(0 0 0 / .6); color: #fff; font-size: 22px; cursor: pointer; }

.pub-foot { display: grid; justify-items: center; gap: 8px; padding: 60px 16px 40px; text-align: center; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.pub-socials { display: flex; flex-wrap: wrap; gap: 18px; font: 600 15px var(--display); letter-spacing: .18em; text-transform: uppercase; }
.pub-socials a { text-decoration: none; }
.pub-legal a { color: var(--muted); }

/* socjale artysty na showreelu */
.socials-pub { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.social-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card);
  text-decoration: none; color: var(--white); transition: border-color .25s, transform .25s; }
.social-card:hover { transform: translateY(-3px); border-color: rgb(169 200 238 / .55); }
.social-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .06); flex: none; }
.social-ico svg { width: 22px; height: 22px; }
.social-spotify .social-ico { color: var(--sp); }
.social-youtube .social-ico { color: var(--yt); }
.social-card span:not(.social-ico) { display: grid; line-height: 1.15; }
.social-card small { font: 600 11px var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.social-card b { font: 700 20px var(--display); letter-spacing: .04em; text-transform: uppercase; }
.social-card i { margin-left: auto; font-style: normal; color: var(--ice); }
