/* Home page only (phase W3). Shared parts: /site.css, /design/components.css. */

/* ---------- hero: pixel scene behind, content in front, the road and Honza at the bottom ---------- */
.hero { position: relative; display: flex; flex-direction: column; align-items: center; margin-top: calc(-1 * clamp(70px, 9vw, 110px));
        padding-top: clamp(70px, 9vw, 110px); overflow: hidden; }
.hero-scene { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
           gap: clamp(10px, 1.4vw, 16px); padding: clamp(8px, 2vw, 20px) 16px clamp(70px, 10vw, 140px); width: 100%; }   /* room under the buttons: the NEXT sign of the scene stays clear of them */
.kicker { font-family: var(--font-pixel); font-size: clamp(14px, 1.6vw, 22px); color: var(--muted); letter-spacing: 2px; }
.hero-title { font-size: clamp(40px, 9.4vw, 124px); line-height: .95; color: var(--accent); letter-spacing: .04em; overflow-wrap: anywhere; }
/* hard pixel shadow of the title: a static copy behind it would need markup; text-shadow is fine on the web */
.hero-title { text-shadow: .05em .05em 0 #000; }
.tagline { font-size: clamp(18px, 2.2vw, 28px); max-width: 30ch; }
.hero-buttons { justify-content: center; margin-top: 6px; padding: 4px; gap: 18px clamp(24px, 3vw, 40px); }
.hero-buttons .btn { font-size: clamp(15px, 1.5vw, 18px); }
/* the road with Honza stays visible under the buttons (and the NEXT sign is never behind them) */
.hero-road { position: relative; height: max(220px, 27vw); width: 100%; }
/* Tablets and phones: the scene covers only the lower part of the hero; above it the page colour continues. */
@media (max-width: 1000px) {
  .hero-scene { top: auto; bottom: 0; height: 70vw; }
}
@media (max-width: 700px) {
  .hero-buttons .hero-dup { display: none; }   /* phones: Watch live and Vote here are in the bar at the bottom */
  .hero-scene { top: auto; bottom: 0; height: 112vw; }
  .hero-road { height: 270px; }
}

/* live strip (filled in phase W5) */
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px clamp(18px, 3vw, 40px); padding: 14px 16px;
         background: var(--accent); color: var(--button-text); font-size: clamp(13px, 1.4vw, 18px); }
.strip[hidden] { display: none; }
.strip .on-air { display: inline-flex; align-items: center; gap: 10px; }
.strip .live-dot { box-shadow: 0 0 0 3px var(--button-text); }
.strip .ut { font-size: 1.1em; }

/* four points */
.points { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px 28px;
          padding-top: clamp(24px, 4vw, 40px); padding-bottom: 0; margin-top: 0; margin-bottom: 0; font-size: clamp(16px, 1.6vw, 20px); }
.points li { display: flex; gap: 12px; align-items: center; }
.points li::before { content: ""; flex: 0 0 auto; width: 10px; height: 10px; background: var(--accent); }

/* ---------- levels ---------- */
.levels > .grid:first-of-type { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.levels { display: flex; flex-direction: column; gap: clamp(24px, 4vw, 44px); padding-top: clamp(48px, 8vw, 110px); }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 52px); }
.section-head p { font-size: clamp(17px, 1.8vw, 22px); max-width: 40ch; }
.tile { display: flex; flex-direction: column; gap: 12px; color: var(--line); }
.tile-head { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.level { font-size: 15px; color: var(--accent); }
.tile-title { font-size: clamp(20px, 2.2vw, 26px); color: var(--text); }
.tile-text { color: var(--text); font-size: 17px; }
.tile-foot { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.tile-foot .icon { color: var(--accent); }
.wide-tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
a.tile { text-decoration: none; }
.tile-row { flex-direction: row; align-items: center; gap: 20px; flex-wrap: wrap; }
.tile-art { flex: 0 0 auto; width: clamp(96px, 12vw, 132px); height: auto; aspect-ratio: 8 / 5; shape-rendering: crispEdges; }
.tile-row svg[viewBox="0 0 8 8"] { aspect-ratio: 1; width: clamp(64px, 7vw, 84px); }
.tile-col { display: flex; flex-direction: column; gap: 6px; flex: 1 1 200px; }

/* ---------- budget ---------- */
.budget-section { display: flex; flex-direction: column; gap: 16px; padding-top: clamp(48px, 8vw, 96px); }
.budget-section h2 { font-size: clamp(24px, 3.4vw, 40px); }
.budget-section[hidden] { display: none; }

/* ---------- watch live popup ---------- */
.watch-row { display: flex; align-items: center; gap: 16px; padding: 12px 16px; color: var(--line); text-decoration: none; width: calc(100% - 8px); }
.watch-row:hover { background: var(--card-hover); }
.watch-name { flex: 1; display: flex; flex-direction: column; color: var(--text); }
.watch-row .open { color: var(--accent); font-size: 14px; }
.platform.big { width: 44px; height: 44px; }
