/* ------------------------------------------------------------------
   Zapowiedź — pełnoekranowa scena
   Paleta: granat #0A1220, atrament #101C33, złoto #E4C574.
   Wszystkie klasy mają prefiks wk-, aby nie kolidowały z resztą serwisu.
   ------------------------------------------------------------------ */

body.wk-page {
  --wk-ink: #0a1220;
  --wk-ink-2: #101c33;
  --wk-ink-3: #162542;
  --wk-gold: #e4c574;
  --wk-gold-2: #b8934e;
  --wk-cream: #f6f1e6;
  --wk-muted: #aab8cc;
  --wk-line: rgba(228, 197, 116, 0.24);
  --wk-glass: rgba(10, 18, 32, 0.56);
  --wk-glass-2: rgba(22, 37, 66, 0.48);
  --wk-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--wk-ink);
  color: var(--wk-cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.wk-page *,
body.wk-page *::before,
body.wk-page *::after {
  box-sizing: border-box;
}

.wk-page a {
  color: inherit;
}

.wk-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 8%, rgba(50, 87, 143, 0.28), transparent 34%),
    radial-gradient(circle at 12% 85%, rgba(184, 147, 78, 0.12), transparent 38%),
    linear-gradient(160deg, #0a1220 0%, #0d1930 52%, #08101d 100%);
}

.wk-aurora {
  position: absolute;
  width: 62vw;
  height: 62vw;
  min-width: 520px;
  min-height: 520px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.42;
  mix-blend-mode: screen;
  animation: wk-aurora 22s ease-in-out infinite alternate;
}

.wk-aurora-a {
  top: -28vw;
  right: -16vw;
  background: radial-gradient(circle, rgba(66, 112, 184, 0.56), transparent 66%);
}

.wk-aurora-b {
  bottom: -34vw;
  left: -22vw;
  background: radial-gradient(circle, rgba(228, 197, 116, 0.3), transparent 66%);
  animation-delay: -7s;
  animation-duration: 27s;
}

.wk-aurora-c {
  top: 38%;
  left: 34%;
  width: 34vw;
  height: 34vw;
  min-width: 280px;
  min-height: 280px;
  background: radial-gradient(circle, rgba(99, 74, 158, 0.28), transparent 68%);
  animation-delay: -13s;
  animation-duration: 31s;
}

.wk-orbits {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1100px, 92vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: 0.55;
}

.wk-orbits span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(228, 197, 116, 0.12);
  border-radius: 50%;
  transform: rotate(-18deg) scaleY(0.48);
  animation: wk-orbit 38s linear infinite;
}

.wk-orbits span:nth-child(2) {
  inset: 12%;
  border-color: rgba(109, 149, 207, 0.14);
  transform: rotate(24deg) scaleY(0.6);
  animation-direction: reverse;
  animation-duration: 49s;
}

.wk-orbits span:nth-child(3) {
  inset: 25%;
  border-color: rgba(228, 197, 116, 0.09);
  transform: rotate(76deg) scaleY(0.72);
  animation-duration: 61s;
}

.wk-particles {
  position: absolute;
  inset: 0;
}

.wk-particles i {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(246, 241, 230, 0.8);
  box-shadow: 0 0 10px rgba(228, 197, 116, 0.8);
  animation: wk-drift var(--wk-duration, 12s) linear var(--wk-delay, 0s) infinite;
}

.wk-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, transparent 35%, rgba(4, 9, 17, 0.5) 100%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.42), transparent 26%, transparent 70%, rgba(10, 18, 32, 0.72));
}

.wk-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(18px, 5vw, 64px);
  background: linear-gradient(180deg, rgba(6, 12, 23, 0.82), rgba(6, 12, 23, 0.16));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.wk-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.wk-brand img {
  width: 38px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
}

.wk-brand strong {
  display: block;
  color: var(--wk-cream);
  font: 600 15px/1.1 var(--serif);
  letter-spacing: 0.01em;
}

.wk-brand small {
  display: block;
  margin-top: 4px;
  color: var(--wk-gold);
  font: 700 8px var(--ui);
  letter-spacing: 0.28em;
}

.wk-top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.wk-home-link {
  color: var(--wk-muted);
  font: 700 9px var(--ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.wk-home-link:hover {
  color: var(--wk-gold);
}

.wk-langs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.wk-langs a {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 24px;
  border-radius: 999px;
  color: var(--wk-muted);
  font: 700 8px var(--ui);
  letter-spacing: 0.08em;
  transition: 0.2s;
}

.wk-langs a:hover,
.wk-langs a.is-on {
  background: var(--wk-gold);
  color: var(--wk-ink);
}

.wk-icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--wk-cream);
  cursor: pointer;
  font-size: 18px;
  transition: 0.2s;
}

.wk-icon-btn:hover {
  border-color: var(--wk-gold);
  color: var(--wk-gold);
  transform: rotate(12deg);
}

.wk-main {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

.wk-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: 132px clamp(20px, 6vw, 86px) 86px;
  overflow: hidden;
  isolation: isolate;
}

.wk-hero-media {
  position: absolute;
  inset: -5%;
  z-index: -3;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.35s ease-out;
}

.wk-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  filter: saturate(0.62) contrast(1.12) brightness(0.42);
  transform: scale(1.04);
}

.wk-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 12, 23, 0.92) 0%, rgba(6, 12, 23, 0.7) 42%, rgba(6, 12, 23, 0.18) 100%),
    linear-gradient(0deg, rgba(6, 12, 23, 0.96) 0%, transparent 46%, rgba(6, 12, 23, 0.36) 100%);
}

.wk-hero-frame {
  position: absolute;
  inset: clamp(12px, 2.4vw, 30px);
  z-index: -1;
  border: 1px solid rgba(228, 197, 116, 0.2);
  pointer-events: none;
}

.wk-hero-frame::before,
.wk-hero-frame::after {
  content: "";
  position: absolute;
  width: 74px;
  height: 74px;
  border-color: rgba(228, 197, 116, 0.55);
  border-style: solid;
}

.wk-hero-frame::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.wk-hero-frame::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}

.wk-content {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.wk-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--wk-gold);
  font: 800 9px var(--ui);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: wk-fade-up 0.9s 0.1s both;
}

.wk-eyebrow-line {
  display: inline-block;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wk-gold));
}

.wk-title {
  max-width: 980px;
  margin: 0;
  color: var(--wk-cream);
  font: 600 clamp(54px, 9.4vw, 126px)/0.92 var(--serif);
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.42);
}

.wk-title > span {
  display: inline-block;
}

.wk-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.42em) rotateX(-55deg);
  filter: blur(8px);
  transform-origin: 50% 100%;
}

.wk-title.is-split .char {
  animation: wk-char 0.95s cubic-bezier(0.16, 0.8, 0.2, 1) forwards;
  animation-delay: calc(0.18s + (var(--i, 0) * 28ms));
}

.wk-title .char.is-space {
  width: 0.28em;
}

.wk-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #c8d4e4;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.7;
  animation: wk-fade-up 1s 0.25s both;
}

.wk-start-line {
  margin: 24px 0 0;
  color: #d9e2ee;
  font: 700 10px var(--ui);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  animation: wk-fade-up 1s 0.32s both;
}

.wk-start-line span {
  display: inline-block;
  margin-right: 8px;
  padding: 5px 9px;
  border: 1px solid var(--wk-line);
  border-radius: 999px;
  color: var(--wk-gold);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.wk-countdown {
  display: flex;
  align-items: flex-start;
  gap: clamp(4px, 0.7vw, 10px);
  margin-top: 30px;
  animation: wk-fade-up 1s 0.4s both;
}

.wk-unit {
  min-width: clamp(64px, 8vw, 106px);
  padding: 14px 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.wk-flip {
  display: block;
  color: var(--wk-gold);
  font: 700 clamp(32px, 4.6vw, 58px)/1 var(--ui);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.05em;
  text-shadow: 0 0 30px rgba(228, 197, 116, 0.22);
}

.wk-flip.is-flipping {
  animation: wk-flip 0.34s ease;
}

.wk-unit small {
  display: block;
  margin-top: 7px;
  color: var(--wk-muted);
  font: 700 8px var(--ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wk-sep {
  align-self: center;
  color: var(--wk-gold);
  font: 300 clamp(20px, 2.6vw, 34px)/1 var(--ui);
  opacity: 0.44;
  transform: translateY(-4px);
}

.wk-countdown.is-final .wk-unit {
  border-color: rgba(228, 197, 116, 0.75);
  animation: wk-pulse 0.9s ease-in-out infinite;
}

.wk-countdown.is-final .wk-flip {
  color: #fff5d6;
}

.wk-progress {
  width: min(520px, 100%);
  height: 3px;
  margin: 22px 0 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.wk-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8f7138, var(--wk-gold), #fff0bf);
  box-shadow: 0 0 18px rgba(228, 197, 116, 0.5);
  transition: width 1s linear;
}

.wk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  animation: wk-fade-up 1s 0.5s both;
}

.wk-primary,
.wk-secondary {
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  font: 800 9px var(--ui);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.wk-primary {
  border: 1px solid rgba(255, 240, 191, 0.72);
  background: linear-gradient(135deg, #f0d693, var(--wk-gold), #b8934e);
  color: #10131a;
  box-shadow: 0 14px 32px rgba(228, 197, 116, 0.18);
}

.wk-secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
  color: var(--wk-cream);
  backdrop-filter: blur(12px);
}

.wk-primary:hover,
.wk-secondary:hover {
  transform: translateY(-2px);
}

.wk-primary:hover {
  box-shadow: 0 18px 40px rgba(228, 197, 116, 0.3);
}

.wk-secondary:hover {
  border-color: var(--wk-gold);
  color: var(--wk-gold);
}

.wk-hints {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1060px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.wk-hint {
  position: relative;
  min-height: 126px;
  padding: 18px 18px 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(15, 29, 51, 0.6), rgba(7, 14, 26, 0.34));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  transform-style: preserve-3d;
  opacity: 0;
  animation: wk-card-in 0.8s cubic-bezier(0.16, 0.8, 0.2, 1) forwards;
  animation-delay: calc(0.62s + var(--wk-delay, 0ms));
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.wk-hint::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--wk-gold), transparent);
}

.wk-hint:hover {
  border-color: rgba(228, 197, 116, 0.36);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.wk-hint-index {
  display: block;
  color: var(--wk-gold);
  font: 800 8px var(--ui);
  letter-spacing: 0.18em;
}

.wk-hint strong {
  display: block;
  margin: 9px 0 6px;
  color: var(--wk-cream);
  font: 600 clamp(18px, 1.6vw, 22px)/1.15 var(--serif);
}

.wk-hint small {
  display: block;
  max-width: 250px;
  color: var(--wk-muted);
  font-size: 11px;
  line-height: 1.55;
}

.wk-flash {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 246, 214, 0.95), rgba(228, 197, 116, 0.5) 26%, transparent 62%);
  mix-blend-mode: screen;
}

.wk-hero.is-launched .wk-flash {
  animation: wk-flash 1.5s ease-out forwards;
}

.wk-noscript {
  margin-top: 18px;
  color: var(--wk-gold);
  font-size: 12px;
}

.wk-page .cookie-banner {
  background: rgba(8, 15, 27, 0.94);
  border-color: rgba(228, 197, 116, 0.22);
  color: var(--wk-cream);
}

.wk-page .cookie-copy p,
.wk-page .cookie-copy a {
  color: var(--wk-muted);
}

/* Modale ustawień i cookies zachowują jasny panel z reszty serwisu. */
.wk-page .modal-card {
  color: #14283f;
}

.wk-page .modal-card h2,
.wk-page .modal-card h3,
.wk-page .modal-card strong,
.wk-page .modal-card .setting-row b,
.wk-page .modal-card .lang-card {
  color: #14283f;
}

.wk-page .modal-card p,
.wk-page .modal-card .modal-lead,
.wk-page .modal-card .setting-hint,
.wk-page .modal-card .setting-row p {
  color: #5c6b7e;
}

.wk-page .modal-card .lang-card span {
  color: #5f6b7a;
}

.wk-page :focus-visible {
  outline: 2px solid var(--wk-gold);
  outline-offset: 3px;
}

@keyframes wk-aurora {
  from { transform: translate3d(-2%, -1%, 0) scale(0.96); }
  to { transform: translate3d(3%, 4%, 0) scale(1.08); }
}

@keyframes wk-orbit {
  to { transform: rotate(342deg) scaleY(0.48); }
}

@keyframes wk-drift {
  0% { transform: translate3d(0, 24px, 0); opacity: 0; }
  12% { opacity: 0.75; }
  88% { opacity: 0.55; }
  100% { transform: translate3d(0, -80px, 0); opacity: 0; }
}

@keyframes wk-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes wk-char {
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes wk-card-in {
  from { opacity: 0; transform: translateY(22px) rotateX(-8deg); }
  to { opacity: 1; transform: none; }
}

@keyframes wk-flip {
  0% { transform: translateY(0); opacity: 1; }
  45% { transform: translateY(-0.18em); opacity: 0.35; }
  55% { transform: translateY(0.18em); opacity: 0.35; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes wk-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(228, 197, 116, 0.0); }
  50% { box-shadow: 0 0 0 6px rgba(228, 197, 116, 0.08); }
}

@keyframes wk-flash {
  0% { opacity: 0; }
  18% { opacity: 1; }
  100% { opacity: 0; }
}

@media (max-width: 900px) {
  .wk-topbar {
    padding: 16px 18px;
  }

  .wk-home-link {
    display: none;
  }

  .wk-hero {
    padding: 112px 22px 64px;
  }

  .wk-title {
    font-size: clamp(48px, 12vw, 86px);
  }

  .wk-hints {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .wk-hint {
    min-height: 0;
  }

  .wk-hint small {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .wk-brand strong {
    font-size: 13px;
  }

  .wk-brand img {
    width: 32px;
    height: 38px;
  }

  .wk-top-actions {
    gap: 8px;
  }

  .wk-langs {
    padding: 2px;
  }

  .wk-langs a {
    min-width: 24px;
    height: 22px;
  }

  .wk-icon-btn {
    width: 32px;
    height: 32px;
  }

  .wk-hero {
    min-height: 100svh;
    padding: 102px 16px 52px;
  }

  .wk-hero-frame {
    inset: 9px;
  }

  .wk-hero-frame::before,
  .wk-hero-frame::after {
    width: 42px;
    height: 42px;
  }

  .wk-lead {
    font-size: 14px;
  }

  .wk-countdown {
    gap: 3px;
  }

  .wk-unit {
    min-width: 58px;
    padding: 10px 7px 9px;
    border-radius: 12px;
  }

  .wk-flip {
    font-size: 30px;
  }

  .wk-unit small {
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .wk-sep {
    font-size: 18px;
  }

  .wk-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .wk-primary,
  .wk-secondary {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wk-page *,
  .wk-page *::before,
  .wk-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .wk-title .char,
  .wk-hint {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .wk-hero-media {
    transform: none !important;
  }
}

html.a11y-reduce-motion .wk-page *,
html.a11y-reduce-motion .wk-page *::before,
html.a11y-reduce-motion .wk-page *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

html.a11y-reduce-motion .wk-title .char,
html.a11y-reduce-motion .wk-hint {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

html.a11y-reduce-motion .wk-hero-media {
  transform: none !important;
}

html.a11y-hide-images .wk-hero-media {
  display: none;
}

html.a11y-hide-images .wk-hero {
  background: radial-gradient(circle at 70% 20%, #162542, #0a1220 62%);
}
