/* fezse.media — Stage 1 demo stylesheet (v3)
   - Logo: single line ("fezse" + dot + "media"), keeping v2's bluer media.
   - Beta disclaimer moved to the TOP of the page, italic, slightly redder.
   - Thumbnails: <img> with CSS gradient fallback (no broken-image icon
     while you haven't uploaded your real photos yet). */

:root {
  --fezse-green: #0a4d2e;
  --fezse-blue:  #15407a;
  --dot-brown:   #6b3410;
  --dot-red:     #c1272d;
  --dot-yellow:  #f1c40f;
  --ink:         #1a1a1a;
  --muted:       #6b6b6b;
  --warn-red:    #a01010;
  --bg:          #ffffff;
  --thumb-1:     #b9c9a6;
  --thumb-2:     #c9b9a6;
  --thumb-3:     #a6b6c9;
  --max-col:     460px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Calibri, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: var(--max-col);
  margin: 0 auto;
  padding: 16px 18px 60px;
}

/* TOP BETA DISCLAIMER — italic, dark red, two empty lines before page begins */
.block-disclaimer-top {
  color: var(--warn-red);
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 2.5em;
}

/* TOP ROW: logo (left) + flags (right) */
.block-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 18px;
  gap: 12px;
}

/* BLOCK 1 — logo, single line */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.5px;
  line-height: 1;
}
.logo-fezse { color: var(--fezse-green); }
.logo-media { color: var(--fezse-blue); }
.logo-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 2px;
  border-radius: 50%;
  background: conic-gradient(
    var(--dot-brown)  0deg 120deg,
    var(--dot-red)    120deg 240deg,
    var(--dot-yellow) 240deg 360deg
  );
  flex: 0 0 auto;
  align-self: center;
}

/* BLOCK 2 — language flags, top-right */
.block-flags {
  display: flex;
  gap: 8px;
}
.flag {
  font-size: 22px;
  background: transparent;
  border: none;
  padding: 4px 6px;
  cursor: pointer;
  opacity: 0.45;
  filter: grayscale(0.5);
  transition: opacity 0.15s, filter 0.15s;
  line-height: 1;
}
.flag.is-active, .flag:hover { opacity: 1; filter: none; }

/* BLOCKS 4-5 — video player frame with pay button */
.block-player { padding: 0 0 14px; }
.player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 4px;
  overflow: hidden;
}
.player-poster {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.45), rgba(0,0,0,0.15)),
    linear-gradient(160deg, #2c4a3a 0%, #1d2f4f 100%);
}
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.45);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.12s, background 0.12s;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.06); background: rgba(0,0,0,0.6); }
.pay-label {
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  text-align: center;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* BLOCK 6 — title */
.block-title {
  font-size: 22px;
  font-weight: 700;
  margin: 14px 0 6px;
  color: var(--ink);
}
/* BLOCK 7 — short description */
.block-desc {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--ink);
}
/* BLOCK 8 — editorial info / credits */
.block-credits {
  margin: 0 0 16px;
  font-size: 12.5px;
  color: var(--muted);
}

/* BLOCK 9 — thumbnails: <img> with gradient fallback */
.block-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 0 22px;
}
.thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  overflow: hidden;
}
.thumb-1 { background: linear-gradient(135deg, var(--thumb-1), #7d8c66); }
.thumb-2 { background: linear-gradient(135deg, var(--thumb-2), #8c7d66); }
.thumb-3 { background: linear-gradient(135deg, var(--thumb-3), #667a8c); }
.thumb-4 { background: linear-gradient(135deg, #c9a6c9, #8c6a8c); }
.thumb-5 { background: linear-gradient(135deg, #a6c9c9, #668c8c); }
.thumb-6 { background: linear-gradient(135deg, #c9c9a6, #8c8c66); }
.thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* BLOCK 10 — alphabetical list title */
.block-alpha-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin: 6px 0 10px;
}

/* BLOCK 11 — horizontal scroll film list */
.block-film-list {
  list-style: none;
  margin: 0; padding: 0 0 12px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.film-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
}
.film-item a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  color: inherit;
}
.film-item.is-current {
  background: var(--fezse-green);
  color: #fff;
  border-color: var(--fezse-green);
}

/* FOOTER — just the © line now (disclaimer moved to the top) */
.block-foot {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid #eee;
  color: var(--muted);
  font-size: 12px;
}

/* watch.html specifics */
.watch-wrap { padding: 10px 0 30px; }
.watch-msg {
  text-align: center;
  padding: 40px 20px;
  font-size: 15px;
  color: var(--muted);
}
.player-video {
  width: 100%;
  background: #000;
  border-radius: 4px;
  aspect-ratio: 16 / 9;
}
.watch-help {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
