/* WHITECOAT: web ve stylu tajného spisu (barvy a písma jako karty zbraní a nabídky hry). */

@font-face { font-family: "Stardos Stencil"; src: url("../fonts/StardosStencil-Bold.1ee87921.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/Oswald-Medium.69924e66.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("../fonts/Oswald-SemiBold.d37d4adb.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Special Elite"; src: url("../fonts/SpecialElite-Regular.88ece26e.woff2") format("woff2"); font-display: swap; }

:root {
  --ink: #0d0b09;
  --paper: #d9caa3;
  --cream: #ece2c4;
  --red: #b3241d;
  --red-dark: #8d1a14;
  --grey: #8a8172;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: "Oswald", sans-serif; font-weight: 500; }
a { color: inherit; }

/* Horní lišta: hlavička spisu. */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: linear-gradient(rgba(13, 11, 9, 0.92), rgba(13, 11, 9, 0));
  letter-spacing: 0.22em; text-transform: uppercase; font-size: 13px;
}
.bar-mark { text-decoration: none; opacity: 0.85; }
.bar-nav { display: flex; gap: clamp(12px, 2.5vw, 32px); align-items: center; }
.bar-nav a { text-decoration: none; opacity: 0.8; }
.bar-nav a:hover { opacity: 1; }
.bar-nav .bar-cta { opacity: 1; padding: 7px 14px; background: var(--red); }

/* Úvod: key art přes celou obrazovku. */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--ink) url("../img/hero.cf5385a8.webp") center 40% / cover no-repeat;
  overflow: hidden;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(13, 11, 9, 0.15) 0%, rgba(13, 11, 9, 0.75) 70%),
    linear-gradient(rgba(13, 11, 9, 0) 55%, var(--ink) 100%);
}
.hero-body { position: relative; padding: 96px 16px 48px; max-width: 980px; }
.hero-logo { margin: 0; }
.hero-logo img { width: min(760px, 88vw); height: auto; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.8)); }
.hero-line { margin: 4px 0 6px; font-family: "Special Elite", monospace; font-size: clamp(18px, 2.4vw, 26px); color: var(--cream); text-shadow: 0 2px 8px #000; }
.hero-sub { margin: 0 0 28px; font-size: clamp(14px, 1.6vw, 17px); letter-spacing: 0.28em; text-transform: uppercase; color: var(--paper); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-status { margin: 28px 0 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper); }

.button {
  display: inline-block; padding: 14px 26px; min-width: 220px;
  font-weight: 600; font-size: 16px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.button-red { background: var(--red); color: var(--cream); }
.button-red:hover { background: var(--red-dark); }
.button-line { border: 2px solid var(--paper); color: var(--paper); }
.button-line:hover { background: var(--paper); color: var(--ink); }

/* Razítko jako na kartách zbraní. */
.stamp {
  display: inline-block; margin-right: 10px; padding: 2px 10px;
  border: 2px solid var(--red); color: var(--red); background: rgba(13, 11, 9, 0.5);
  font-weight: 600; transform: rotate(-4deg);
}

@media (max-width: 720px) {
  .bar-mark { display: none; }
  .bar { justify-content: center; font-size: 12px; }
  .hero { background-image: url("../img/hero-mobile.b8c65917.webp"); background-position: center; }
  .hero-shade { background: radial-gradient(ellipse at center, rgba(13, 11, 9, 0.45) 0%, rgba(13, 11, 9, 0.85) 75%), linear-gradient(rgba(13, 11, 9, 0) 55%, var(--ink) 100%); }
  .button { min-width: 0; width: 100%; }
  .hero-actions { flex-direction: column; }
}

/* Briefing: list spisu jako karty zbraní (papír, psací stroj, razítko). */
.file { padding: clamp(48px, 8vw, 110px) clamp(12px, 4vw, 48px); }
.file-sheet {
  position: relative; max-width: 1080px; margin: 0 auto;
  padding: clamp(28px, 5vw, 64px);
  background: radial-gradient(ellipse at 50% 40%, #e3d5b0 0%, var(--paper) 60%, #c4b28a 100%);
  color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.file-head {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 12px; border-bottom: 3px solid var(--ink);
  font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase;
}
.file-title { margin: 28px 0 10px; font-family: "Stardos Stencil", serif; font-size: clamp(40px, 6vw, 76px); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; }
.file-lead { max-width: 760px; margin: 0 0 36px; font-family: "Special Elite", monospace; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.55; }
.entries { display: grid; gap: 30px; }
.entry { display: grid; grid-template-columns: minmax(0, 280px) 1fr; gap: 26px; align-items: center; padding-top: 26px; border-top: 1px solid rgba(13, 11, 9, 0.35); }
.entry h3 { margin: 0 0 8px; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: 0.08em; text-transform: uppercase; }
.entry p { margin: 0; font-family: "Special Elite", monospace; font-size: 16px; line-height: 1.55; }
.entry-photo {
  width: 100%; height: auto; display: block;
  border: 10px solid #eee7d4; border-bottom-width: 26px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35); transform: rotate(-1.2deg);
}
.entry:nth-child(even) .entry-photo { transform: rotate(1.2deg); }
.file-stamp {
  position: absolute; top: clamp(70px, 9vw, 110px); right: clamp(20px, 5vw, 64px);
  padding: 6px 18px; border: 5px double var(--red); color: var(--red);
  font-weight: 600; font-size: clamp(18px, 2.6vw, 30px); letter-spacing: 0.18em; text-transform: uppercase;
  transform: rotate(-9deg); opacity: 0.85;
}

/* Tmavé sekce. */
.block { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 48px); }
.block-title { margin: 0 0 8px; font-family: "Stardos Stencil", serif; font-size: clamp(34px, 5vw, 60px); letter-spacing: 0.04em; text-transform: uppercase; color: var(--cream); }
.block-title::after { content: ""; display: block; width: 120px; height: 5px; margin-top: 12px; background: var(--red); }
.block-lead { margin: 14px 0 32px; font-family: "Special Elite", monospace; font-size: 18px; color: var(--paper); }
.block-more { margin: 36px 0 0; text-align: center; }

.reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.reel { margin: 0; }
.reel video { width: 100%; aspect-ratio: 9 / 16; display: block; background: #000; }
.reel figcaption { margin-top: 8px; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper); }

.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 28px; }
.shots a { display: block; overflow: hidden; }
.shots img { width: 100%; height: auto; display: block; transition: transform 0.3s; }
.shots a:hover img { transform: scale(1.04); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.card img { width: 100%; height: auto; display: block; transition: transform 0.2s; }
.card:hover img { transform: translateY(-6px) rotate(-1deg); }

/* Patička. */
.foot { padding: 56px 16px 40px; text-align: center; border-top: 1px solid #2a241c; }
.foot-logo { width: min(320px, 70vw); height: auto; }
.foot-line { margin: 10px 0 18px; letter-spacing: 0.2em; text-transform: uppercase; font-size: 13px; color: var(--paper); }
.foot-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; letter-spacing: 0.2em; text-transform: uppercase; }
.foot-links a:hover { color: var(--red); }
.foot-small { margin: 26px 0 0; font-size: 12px; letter-spacing: 0.12em; color: var(--grey); }

@media (max-width: 720px) {
  .entry { grid-template-columns: 1fr; }
  .file-stamp { top: 18px; font-size: 16px; }
}

/* Stránka 404. */
.missing { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 12px; }
.missing-sheet { width: 100%; max-width: 760px; }

/* Trailer: náhled s tlačítkem, YouTube se načte až po kliknutí (js/trailer.4d8818f1.js). */
.trailer { margin: 0 0 40px; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.trailer-poster { position: relative; display: block; width: 100%; height: 100%; }
.trailer-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trailer-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 16px 30px 16px 58px; background: var(--red); color: var(--cream);
  font-weight: 600; font-size: 18px; letter-spacing: 0.2em; text-transform: uppercase;
}
.trailer-play::before {
  content: ""; position: absolute; left: 26px; top: 50%; transform: translateY(-50%);
  border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--cream);
}
.trailer-poster:hover .trailer-play { background: var(--red-dark); }
.trailer-frame { width: 100%; height: 100%; border: 0; display: block; }
