:root {
  --bg: #000000;
  --panel: #000000;
  --text: #ffffff;
  --muted: #ffffff;
  --line: rgba(255,255,255,.28);
  --signal: #ffffff;
  --danger: #ffffff;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.noise, .scanlines, .vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.noise {
  z-index: 20;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  animation: noise 180ms steps(2) infinite;
}
.scanlines {
  z-index: 19;
  opacity: .11;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(255,255,255,.035) 4px);
}
.vignette {
  z-index: 18;
  box-shadow: inset 0 0 12vw 3vw rgba(0,0,0,.82);
}
@keyframes noise {
  0% { transform: translate(0,0) scale(1.02); }
  25% { transform: translate(1.5%,-1%) scale(1.02); }
  50% { transform: translate(-1%,1.5%) scale(1.02); }
  75% { transform: translate(.7%,.7%) scale(1.02); }
  100% { transform: translate(0,0) scale(1.02); }
}

.shell {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  z-index: 2;
  padding: 28px clamp(20px, 5vw, 70px);
}
.statusbar, footer {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--text);
  text-align: center;
}
.status { display: flex; align-items: center; gap: 8px; }
.status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(255,255,255,.75);
  animation: pulse 1.4s infinite;
}
@keyframes pulse { 50% { opacity: .2; } }

.hero {
  width: min(980px, 100%);
  margin: auto;
  padding: 10vh 0 8vh;
  text-align: center;
}
.eyebrow {
  margin: 0 0 20px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--text);
  text-transform: uppercase;
  text-align: center;
}
h1 {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(38px, 6.2vw, 88px);
  line-height: .92;
  letter-spacing: -.07em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-align: center;
}
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  color: #fff;
}
.glitch:hover::before {
  opacity: .65;
  transform: translate(3px,-2px);
  clip-path: inset(10% 0 65% 0);
}
.glitch:hover::after {
  opacity: .35;
  transform: translate(-3px,2px);
  clip-path: inset(68% 0 8% 0);
}
.cipher {
  margin: 30px auto 0;
  max-width: 650px;
  color: var(--text);
  font-size: clamp(11px, 1.2vw, 14px);
  letter-spacing: .13em;
  text-align: center;
}

.countdown-wrap {
  margin: clamp(48px, 8vh, 88px) auto 0;
  max-width: 820px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0 20px;
  text-align: center;
}
.countdown-label {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 10px;
  letter-spacing: .13em;
  text-align: center;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}
.countdown > div {
  min-width: 0;
  padding: 0 18px;
  border-right: 1px solid var(--line);
}
.countdown > div:last-child { border-right: 0; }
.countdown strong {
  display: block;
  font-size: clamp(32px, 6vw, 68px);
  line-height: .95;
  letter-spacing: -.07em;
  font-weight: 700;
  color: #fff;
}
.countdown span {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: 9px;
  letter-spacing: .15em;
}

.actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.btn {
  width: min(360px, 100%);
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 20px;
  border: 1px solid #fff;
  background: #000;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: 11px;
  text-align: center;
  transition: .18s ease;
}
.btn span { color: #fff; font-weight: 400; }
.btn-primary, .btn-ghost {
  background: #000;
  color: #fff;
  border-color: #fff;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(255,255,255,.13);
}
.microcopy {
  margin: 14px auto 0;
  color: #fff;
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-align: center;
}
.footer-code {
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  cursor: crosshair;
  letter-spacing: inherit;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.9); backdrop-filter: blur(5px); }
.modal-card {
  position: relative;
  width: min(620px, 100%);
  border: 1px solid rgba(255,255,255,.5);
  background: #000;
  color: #fff;
  padding: clamp(26px, 5vw, 48px);
  box-shadow: 0 30px 100px rgba(0,0,0,.85);
  text-align: center;
}
.modal-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: #fff;
}
.modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}
.modal h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: -.055em;
  color: #fff;
  text-align: center;
}
.modal-copy {
  color: #fff;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}
.email-row {
  display: grid;
  grid-template-columns: 1fr auto;
  margin: 26px auto 0;
  max-width: 500px;
}
.email-row input {
  min-width: 0;
  height: 58px;
  border: 1px solid #fff;
  border-right: 0;
  border-radius: 0;
  outline: 0;
  background: #000;
  color: #fff;
  padding: 0 16px;
  font-size: 11px;
  letter-spacing: .08em;
  text-align: center;
}
.email-row input::placeholder { color: #fff; opacity: .68; }
.email-row input:focus { box-shadow: inset 0 0 0 1px #fff; }
.email-row button {
  height: 58px;
  border: 1px solid #fff;
  background: #000;
  color: #fff;
  padding: 0 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  cursor: pointer;
}
.consent {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  margin: 15px auto 0;
  max-width: 500px;
  color: #fff;
  font-size: 9px;
  line-height: 1.55;
  text-align: left;
}
.consent input { accent-color: #fff; margin-top: 1px; }
.form-status { min-height: 18px; margin: 13px 0 0; color: #fff; font-size: 10px; text-align: center; }
.hidden-field, .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.player-view { text-align: center; }
.player-shell {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin-top: 28px;
  text-align: left;
}
.play-button {
  width: 64px;
  height: 64px;
  border: 1px solid #fff;
  background: #000;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}
.track-meta { min-width: 0; color: #fff; font-size: 9px; letter-spacing: .08em; }
.progress { height: 3px; margin: 13px 0; background: rgba(255,255,255,.2); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: #fff; }

.secret {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: #000;
  color: #fff;
  font-weight: 700;
  font-size: clamp(38px, 8vw, 100px);
  letter-spacing: -.06em;
  opacity: 0;
  visibility: hidden;
  transition: .1s;
}
.secret.show { opacity: 1; visibility: visible; }

@media (max-width: 680px) {
  .shell { padding: 20px; }
  .hero { padding: 8vh 0 6vh; }
  h1 {
    max-width: 94vw;
    font-size: clamp(34px, 10.5vw, 56px);
    line-height: .92;
  }
  .countdown > div { padding: 0 8px; }
  .countdown strong { font-size: clamp(28px, 10vw, 48px); }
  .actions { flex-direction: column; }
  .btn { width: min(390px, 100%); }
  .statusbar { flex-direction: column; gap: 8px; align-items: center; }
  .email-row { grid-template-columns: 1fr; }
  .email-row input { border-right: 1px solid #fff; }
  .email-row button { margin-top: 8px; }
  footer { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* Odblokowany snippet */
.snippet-link {
  display: inline-flex;
  width: auto;
  margin: 18px auto 12px;
}

.snippet-url {
  max-width: 100%;
  margin: 0 auto 18px;
  font-size: 0.72rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-align: center;
  color: #fff;
  opacity: 0.68;
}
