body{margin:0}img{max-width:100%}[hidden]{display:none!important}

/* Layout: tryb ciemny Talent Days. Logo u góry, scena (klucz i kubek) po lewej, wróżba w karcie po prawej, niżej czarna karta z ofertą w gradiencie marki. */
  @font-face { font-family: "Proxima Nova"; src: url("fonts/Proxima_Nova_Regular.woff2?v=c1aee91334") format("woff2"); font-weight: 400; font-display: swap; }
  @font-face { font-family: "Proxima Nova"; src: url("fonts/Proxima_Nova_Bold.woff2?v=04b1b4699c") format("woff2"); font-weight: 700; font-display: swap; }
  @font-face { font-family: "Proxima Nova"; src: url("fonts/Proxima_Nova_Black.woff2?v=57c106f083") format("woff2"); font-weight: 900; font-display: swap; }
  :root {
    color-scheme: dark;
    --bg: #000000;
    --surface: #161616;
    --line: #3a3a3a;
    --fg: #ffffff;
    --muted: #aeaeae;
    --ink: #111111;
    --red: #ff4259;
    --orange: #f0960a;
    --yellow: #ffdc46;
    --gradient: linear-gradient(90deg, #ff2956 0%, #ff5a3c 45%, #ff9116 72%, #ffdc46 100%);
    --gradient-v: linear-gradient(180deg, #ffdc46 0%, #ff832d 50%, #ff2956 100%);
    --r-card: 24px;
    --sans: "Proxima Nova", system-ui, -apple-system, "Segoe UI", sans-serif;
  }
  html, body { min-height: 100%; }
  body {
    background: var(--bg); color: var(--fg);
    font-family: var(--sans); font-size: 17px; line-height: 1.55;
    overflow-x: hidden;
  }
  .gutter {
    max-width: 1000px; margin: 0 auto;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  header.gutter { padding-block: 8px 0; }
  .logo { display: block; height: 84px; width: auto; margin-left: -20px; }
  .wrap {
    display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    gap: 24px 56px; align-items: center; padding-block: 8px 56px;
  }
  .stage { display: flex; flex-direction: column; gap: 16px; }
  canvas { width: 100%; max-width: 380px; aspect-ratio: 380 / 430; display: block; margin: 0 auto; }
  .panel { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
  .eyebrow {
    margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--red);
  }
  h1, h2, .big {
    margin: 0; font-weight: 900; text-transform: uppercase;
    line-height: 0.95; letter-spacing: -0.01em; text-wrap: balance;
  }
  h1 { font-size: clamp(44px, 7.5vw, 84px); }
  h2 { font-size: clamp(36px, 6vw, 60px); padding-bottom: 0.08em; }
  .grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
  p { margin: 0; max-width: 46ch; }
  .lead { font-size: 20px; }
  .small { color: var(--muted); font-size: 15px; }
  .fortune { font-size: 22px; line-height: 1.45; white-space: pre-line; }
  .odds { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
  .odds b { color: var(--fg); font-weight: 700; }

  .btn {
    font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; color: var(--ink);
    border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
    padding: 16px 28px; min-height: 54px; box-sizing: border-box;
    display: inline-flex; align-items: center; justify-content: center; text-align: center;
    transition: transform 0.15s;
  }
  .btn:active { transform: scale(0.97); }
  .btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
  .btn-white { background: var(--fg); }
  .btn-grad { background: var(--gradient); }
  .btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 2px var(--line); }
  .btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--muted); }
  #pour {
    position: relative; overflow: hidden; width: 100%; background: var(--gradient); font-size: 17px; font-weight: 800;
    touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  }
  #pour .fill { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.45); transform-origin: left center; transform: scaleX(0); }
  #pour .label { position: relative; }
  .actions { display: flex; flex-wrap: wrap; gap: 12px; }
  #mine, .shared-note { display: none; }
  .shared #mine { display: inline-flex; }
  .shared .shared-note { display: block; }
  .shared #linkedin, .shared #again, .shared #img { display: none; }
  #result { animation: rise 0.3s ease-out both; }
  /* Wróżba w karcie jak cytaty z karuzeli Talent Days */
  .res-card { position: relative; background: var(--surface); border-radius: var(--r-card); padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
  .res-card .quote { font-size: 96px; font-weight: 900; line-height: 0.6; height: 40px; display: block; }
  .res-card .fortune { font-size: 21px; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { #result { animation: none; } .btn { transition: none; } }

  /* Karta z ofertą: czarna karta, akcenty w gradiencie marki, zdjęcie z wydarzenia, liczba w gradientowym bloku. */
  .pitch { padding-bottom: 72px; }
  .card { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); background: var(--surface); color: var(--fg); border-radius: var(--r-card); position: relative; overflow: hidden; }
  .card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--gradient); z-index: 1; }
  .foot { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; padding: 44px 64px 48px 48px; }
  .tag { margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 66, 89, 0.14); color: #ff6b7e; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
  .tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gradient); flex: none; }
  .big { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; text-transform: none; line-height: 1.12; letter-spacing: -0.01em; }
  .big span { display: block; }
  #pitchB { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .card .small { color: var(--muted); font-size: 16px; }
  .btn-cta { background: var(--gradient); color: var(--ink); font-weight: 800; font-size: 17px; gap: 10px; margin-top: 8px; }
  .shot { position: relative; min-height: 380px; }
  .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; clip-path: polygon(64px 0, 100% 0, 100% 100%, 0 100%); }
  .num { position: absolute; left: -36px; bottom: 36px; max-width: 240px; padding: 18px 24px 20px; border-radius: 16px; background: var(--gradient); color: var(--ink); }
  .num b { display: block; font-size: 60px; font-weight: 900; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .num span { display: block; margin-top: 8px; font-size: 13px; font-weight: 800; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; }

  @media (max-width: 760px) {
    .wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 0 40px; }
    .panel { order: -1; }
    .logo { height: 68px; margin-left: -16px; }
    .pitch { padding-bottom: 48px; }
    .card { grid-template-columns: minmax(0, 1fr); }
    .shot { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
    .shot img { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
    .res-card { padding: 22px 20px 24px; }
    .num { left: 20px; bottom: -40px; padding: 14px 20px 16px; }
    .num b { font-size: 46px; }
    .foot { padding: 28px 24px 32px; gap: 16px; }
    /* Telefon: tytuł, kubek i przycisk mieszczą się na pierwszym ekranie */
    header.gutter { padding-block: 4px 0; }
    .logo { height: 52px; margin-left: -12px; }
    .wrap { gap: 12px; }
    h1 { font-size: clamp(32px, 9.4vw, 44px); }
    .lead { font-size: 15px; line-height: 1.45; }
    .stage { gap: 10px; }
    canvas { width: auto; height: min(390px, 44svh); max-width: 100%; }
    #pour { min-height: 54px; }
    .small { font-size: 12px; }
  }
