/* DJ DD – djdd.cz. Tmavý vzhled s modrou; písma Unbounded (nadpisy) a Inter (text), hostovaná u nás (/css/fonts.css). */
:root {
  --bg: #04060c;
  --bg2: #070b16;
  --panel: #0b1120;
  --panel2: #0f1830;
  --line: #1a2644;
  --text: #e9effc;
  --muted: #8f9cbd;
  --blue: #2f7bff;
  --blue2: #1b55d9;
  --cyan: #39d5ff;
  --ok: #2fd28a;
  --danger: #ff6b7d;
  --r: 20px;
  --wrap: 1180px;
  --head: Unbounded, Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue2)); color: #fff; box-shadow: 0 10px 34px -10px rgba(47, 123, 255, .85); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(47, 123, 255, 1); }
.btn-ghost { border-color: #2a3a63; color: var(--text); background: rgba(11, 17, 32, .5); }
.btn-ghost:hover { border-color: var(--cyan); transform: translateY(-2px); }
.btn svg { flex: none; width: 18px; height: 18px; }

/* ---------- hlavička ---------- */
.head { position: fixed; inset: 0 0 auto; z-index: 30; transition: background .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.head.stuck { background: rgba(4, 6, 12, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 1.15rem/1 var(--head); letter-spacing: .02em; }
.logo img { flex: none; width: 36px; height: 36px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .96rem; transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: .92rem; color: #fff; }
@media (max-width: 820px) {
  .nav a:not(.btn) { display: none; }
  .head-in { height: 64px; }
}

/* ---------- úvod: pohled z režie na stage (fotka + smyčka videa + světla) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 130px 0 clamp(70px, 11vh, 120px); isolation: isolate; overflow: hidden; background: #03050a; }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.hero-img { animation: dech 16s ease-in-out infinite alternate; transform-origin: 80% 45%; }
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.hraje { opacity: 1; }
@keyframes dech { from { transform: scale(1); } to { transform: scale(1.06); } }
/* ztmavení: vlevo pod textem, dole do barvy stránky, nahoře pod hlavičkou */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 5, 10, .9) 0%, rgba(3, 5, 10, .62) 28%, rgba(3, 5, 10, .12) 58%, rgba(3, 5, 10, 0) 100%),
    linear-gradient(180deg, rgba(3, 5, 10, .7) 0%, rgba(3, 5, 10, 0) 22%, rgba(3, 5, 10, 0) 80%, rgba(4, 6, 12, .6) 93%, #04060c 100%);
}
/* pohyblivé kužely světel přes fotku (než naběhne video a při omezeném pohybu) */
.hero-beams { position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none; }
.hero-beams i { position: absolute; top: -12%; left: 76%; width: 26vmax; height: 130%; transform-origin: 50% 0; background: linear-gradient(180deg, rgba(120, 190, 255, .34), rgba(47, 123, 255, .1) 55%, transparent 80%); clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); filter: blur(10px); animation: kuzel 9s ease-in-out infinite alternate; }
.hero-beams i:nth-child(2) { left: 60%; animation-duration: 12s; animation-delay: -4s; opacity: .7; }
.hero-beams i:nth-child(3) { left: 88%; animation-duration: 7.500s; animation-delay: -2s; opacity: .6; }
@keyframes kuzel { from { transform: rotate(-24deg); } to { transform: rotate(22deg); } }
.hero-in { position: relative; }
.hero-text { max-width: 44rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--cyan); font: 600 .82rem/1 var(--body); text-transform: uppercase; letter-spacing: .2em; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: linear-gradient(90deg, var(--cyan), transparent); }
.hero h1 { margin: 20px 0 20px; font-weight: 900; font-size: clamp(4.200rem, 13vw, 11.500rem); line-height: .86; letter-spacing: -.045em; }
.hero h1 span { display: inline-block; background: linear-gradient(120deg, #fff 10%, #a9c9ff 50%, #4f93ff 90%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.lead { max-width: 33rem; color: #cdd8f2; font-size: clamp(1.050rem, 1.500vw, 1.250rem); text-shadow: 0 2px 20px rgba(3, 5, 10, .9); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .btn-ghost { background: rgba(6, 10, 22, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.scroll { position: absolute; right: max(20px, calc((100vw - var(--wrap)) / 2)); bottom: 30px; color: #b9c5e2; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; }

@media (max-width: 760px) {
  /* na mobilu je fotka v horní části (stage i hlavy a ruce v popředí), text pod ní přes spodní okraj davu */
  .hero { padding: 0 0 48px; min-height: 100svh; display: block; }
  .hero-bg { position: relative; inset: auto; height: 66svh; min-height: 420px; z-index: 0; }
  .hero-img, .hero-video { object-position: 79% 100%; }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(3, 5, 10, .6) 0%, rgba(3, 5, 10, 0) 22%, rgba(3, 5, 10, 0) 70%, rgba(4, 6, 12, .75) 90%, #03050a 100%);
  }
  .hero-beams i { width: 60vmax; }
  .hero-in { margin-top: -84px; z-index: 1; }
  .hero h1 { margin: 14px 0 16px; }
  .scroll { display: none; }
}

/* ---------- běžící pás ---------- */
.strip { border-block: 1px solid var(--line); background: var(--bg2); overflow: hidden; padding: 20px 0; }
.strip-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.strip ul { display: flex; flex: none; gap: 48px; margin: 0; padding: 0 24px; list-style: none; font: 700 clamp(1rem, 2vw, 1.35rem)/1 var(--head); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; color: #c9d5f3; }
.strip li { display: flex; align-items: center; gap: 48px; }
.strip li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 14px var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sekce ---------- */
.sec { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.sec-head { max-width: 44rem; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head h2 { font-weight: 800; font-size: clamp(1.9rem, 4.6vw, 3.4rem); margin-top: 18px; }
.sec-head p { color: var(--muted); margin-top: 18px; font-size: 1.08rem; }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card {
  position: relative; padding: 28px 24px 30px; border-radius: var(--r); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel2), var(--panel)); overflow: hidden; transition: transform .3s ease, border-color .3s ease;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--blue), transparent); opacity: 0; transition: opacity .3s; }
.card:hover { transform: translateY(-6px); border-color: #2c4380; }
.card:hover::before { opacity: 1; }
.ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(47, 123, 255, .14); color: var(--cyan); margin-bottom: 22px; }
.ico svg { width: 26px; height: 26px; }
.card h3 { font-weight: 700; font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- jak to probíhá ---------- */
.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; counter-reset: krok; }
.step { position: relative; padding-top: 26px; border-top: 1px solid var(--line); counter-increment: krok; }
.step::before { content: "0" counter(krok); display: block; font: 800 3.2rem/1 var(--head); color: transparent; -webkit-text-stroke: 1px #36508f; margin-bottom: 18px; }
.step::after { content: ""; position: absolute; top: -1px; left: 0; width: 64px; height: 2px; background: var(--blue); box-shadow: 0 0 16px var(--blue); }
.step h3 { font-weight: 700; font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- na přání ---------- */
.wish {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 70px); align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: 32px; border: 1px solid #22356a; position: relative; overflow: hidden;
  background: radial-gradient(700px 420px at 100% 0%, rgba(47, 123, 255, .32), transparent 60%), linear-gradient(160deg, #0d1730, #080d1b);
}
.wish h2 { font-weight: 800; font-size: clamp(1.8rem, 4.2vw, 3rem); margin: 18px 0; }
.wish p { color: #b9c5e2; font-size: 1.06rem; max-width: 32rem; }
.wish ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; color: #cfd9f3; }
.wish li { display: flex; gap: 12px; align-items: flex-start; }
.wish li svg { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--cyan); }
.wish .cta { margin-top: 30px; }
.phone { justify-self: center; width: min(100%, 320px); padding: 14px; border-radius: 40px; background: #03050a; border: 1px solid #263865; box-shadow: 0 40px 80px -30px #000, 0 0 0 6px rgba(47, 123, 255, .08); }
.phone-in { border-radius: 28px; background: var(--bg2); padding: 20px 14px 18px; display: grid; gap: 9px; }
.phone-top { display: flex; align-items: center; gap: 8px; font: 700 .78rem/1 var(--head); margin-bottom: 4px; }
.phone-top img { flex: none; width: 22px; height: 22px; }
.phone-field { height: 38px; border-radius: 12px; border: 1px solid #2a3c6b; display: flex; align-items: center; padding: 0 12px; color: #6f7ea6; font-size: .78rem; }
.phone-row { position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 10px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); overflow: hidden; }
.phone-row i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, rgba(47, 123, 255, .34), rgba(47, 123, 255, .04)); }
.phone-row b { position: relative; flex: 1; height: 8px; border-radius: 4px; background: #33466f; }
.phone-row b::after { content: ""; display: block; width: 55%; height: 5px; margin-top: 13px; border-radius: 3px; background: #1f2d50; }
.phone-row span { position: relative; font: 800 .86rem/1 var(--head); color: var(--cyan); min-width: 22px; text-align: right; }
.phone-row em { position: relative; flex: none; width: 26px; height: 26px; border-radius: 9px; border: 1px solid #33466f; display: grid; place-items: center; }
.phone-row em::before { content: ""; border: solid transparent; border-width: 0 6px 8px; border-bottom-color: #6f7ea6; }
.phone-row.on em { background: var(--blue); border-color: var(--blue); }
.phone-row.on em::before { border-bottom-color: #fff; }
@media (max-width: 860px) { .wish { grid-template-columns: 1fr; } .phone { width: min(100%, 280px); } }

/* ---------- kontakt ---------- */
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-card { padding: 28px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.contact-card small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 12px; }
.contact-card p { font: 700 clamp(.95rem, 1.35vw, 1.2rem)/1.3 var(--head); overflow-wrap: anywhere; }
.contact-card a { text-decoration-color: var(--blue); text-underline-offset: 5px; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }

.foot { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--muted); font-size: .92rem; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }

/* ---------- nájezd při rolování ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img, .hero-beams i, .strip-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.lost h1 { font-weight: 900; font-size: clamp(5rem, 22vw, 12rem); color: transparent; -webkit-text-stroke: 2px var(--blue); }
.lost p { color: var(--muted); margin: 10px 0 30px; }
