/* FStv – Satirische Berichterstattung */

:root {
  --fstv-red: #F44336;
  --fstv-red-hover: #FF5544;
  --fstv-white: #ffffff;
  --fstv-black: #000000;
  --fstv-yellow: #FFC107;
  --fstv-gray-light: #f0f0f0;
  --fstv-gray-footer: #e8e8e8;
  --section-padding: 5rem 1.5rem;
  --fstv-card-bg: rgba(0, 0, 0, 0.42);
  --fstv-image-frame-bg: rgba(0, 0, 0, 0.42);
  --fstv-whois-frame-bg: rgba(255, 255, 255, 0.88);
  --fstv-section-panel-bg: rgba(0, 0, 0, 0.16);
  --fstv-section-panel-border: rgba(255, 255, 255, 0.3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--fstv-red);
  color: var(--fstv-white);
  font-size: 1.1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

::selection {
  background-color: var(--fstv-yellow);
  color: var(--fstv-black);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--fstv-yellow);
  color: var(--fstv-black);
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-weight: bold;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Sections */
section {
  min-height: 100vh;
  padding: var(--section-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ========== LANDING ========== */
#landing {
  position: relative;
  background-color: var(--fstv-red);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
}

#landing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(244, 67, 54, 0.35);
  z-index: 0;
}

.landing-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
}

.landing-logo {
  margin-top: 8vh;
  margin-bottom: 2rem;
  transition: transform 0.4s ease;
}

.landing-logo:hover {
  transform: scale(1.12);
}

.landing-logo img {
  max-width: min(420px, 80vw);
  margin: 0 auto;
  border-radius: 8px;
}

.landing-credit {
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 1.15rem;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 193, 7, 0.45);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  color: var(--fstv-white);
  font-family: inherit;
  cursor: pointer;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
  transition: color 0.25s ease, transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.landing-credit:hover {
  color: var(--fstv-yellow);
  background: rgba(0, 0, 0, 0.62);
  border-color: var(--fstv-yellow);
  text-decoration: underline;
  transform: scale(1.03);
}

.scroll-down-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--fstv-red);
  color: var(--fstv-white);
  font-size: 1.4rem;
  border: 2px solid var(--fstv-white);
  margin-bottom: 2.5rem;
  transition: background-color 0.3s, transform 0.3s;
  opacity: 1;
}

.scroll-down-btn:hover {
  background-color: var(--fstv-red-hover);
  transform: translateY(4px);
}

/* ========== FSTV BUTTONS ========== */
.fstv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  background-color: var(--fstv-red);
  color: var(--fstv-white);
  font-size: 1.15rem;
  font-weight: 600;
  border: 2px solid var(--fstv-white);
  cursor: pointer;
  transition: background-color 0.35s ease, color 0.35s ease;
  position: relative;
  overflow: hidden;
  min-width: 280px;
  text-align: center;
}

.fstv-btn .btn-icon {
  font-size: 1.5rem;
  transition: color 0.35s ease;
}

.fstv-btn .btn-text-wrap {
  position: relative;
  display: grid;
  place-items: center;
  height: 1.35em;
  line-height: 1.35;
  overflow: hidden;
  min-width: 12ch;
}

.fstv-btn .btn-text,
.fstv-btn .btn-text-hover {
  grid-area: 1 / 1;
  width: 100%;
  text-align: center;
  line-height: 1.35;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.fstv-btn .btn-text-hover {
  transform: translateY(100%);
  opacity: 0;
}

.fstv-btn:hover .btn-text {
  transform: translateY(-100%);
  opacity: 0;
}

.fstv-btn:hover .btn-text-hover {
  transform: translateY(0);
  opacity: 1;
}

.fstv-btn:hover {
  background-color: var(--fstv-red-hover);
  color: var(--fstv-black);
}

.fstv-btn:hover .btn-icon {
  color: var(--fstv-black);
}

.fstv-btn.no-link {
  cursor: default;
}

.fstv-btn--secondary {
  background: rgba(0, 0, 0, 0.22);
}

.fstv-btn--secondary:hover {
  background: var(--fstv-yellow);
  color: var(--fstv-black);
}

.fstv-btn--subscribe {
  background: var(--fstv-yellow);
  color: var(--fstv-black);
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.fstv-btn--subscribe:hover {
  background: var(--fstv-white);
  color: var(--fstv-red);
  border: none;
}

.fstv-btn--subscribe .btn-icon {
  color: inherit;
}

.fstv-btn--subscribe:hover .btn-icon {
  color: inherit;
}

.fstv-btn--compact {
  min-width: auto;
  padding: 0.6rem 1.35rem;
  font-size: 0.95rem;
  gap: 0.5rem;
}

.fstv-btn--compact .btn-icon {
  font-size: 1.25rem;
}

.fstv-btn--compact .btn-text-wrap {
  min-width: 10ch;
}

/* ========== VIDEOS ========== */
#videos {
  background-color: var(--fstv-red);
  min-height: 100vh;
  min-height: 100dvh;
  padding: 3rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}

#videos h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  flex-shrink: 0;
}

#videos > .fstv-btn {
  flex-shrink: 0;
  margin-top: 0;
}

.videos-spacer {
  flex: 1 1 auto;
  min-height: 1rem;
  width: 100%;
}

.video-consent-stage {
  position: relative;
  width: 100%;
  max-width: 1100px;
  flex-shrink: 0;
}

.video-preview-area {
  position: relative;
  pointer-events: none;
  user-select: none;
}

.video-preview-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  z-index: 1;
  pointer-events: none;
}

.video-preview-area .video-grid,
.video-preview-area .video-nav--preview {
  filter: brightness(0.78) saturate(0.85);
}

.video-card--preview {
  pointer-events: none;
  opacity: 0.82;
}

.video-card--preview:hover {
  transform: none;
  box-shadow: none;
}

.video-card--preview .video-thumb {
  background: #000;
  cursor: default;
}

.video-card--preview .video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.video-card--preview .video-info {
  opacity: 0.72;
}

.video-nav--preview {
  position: relative;
  z-index: 0;
  opacity: 0.7;
}

#consent-box {
  flex-shrink: 0;
  width: 100%;
  max-width: 560px;
}

.consent-box {
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  margin-bottom: 0;
}

.consent-box--overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: calc(100% - 2rem);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.consent-box p {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  font-size: 1.05rem;
}

.consent-box a {
  color: var(--fstv-yellow);
  text-decoration: underline;
}

.consent-box a:hover {
  text-decoration: none;
}

.consent-btn {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  background: var(--fstv-yellow);
  color: var(--fstv-black);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.consent-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.video-area {
  width: 100%;
  max-width: 1100px;
  flex-shrink: 0;
}

.video-area.hidden {
  display: none;
}

.hidden {
  display: none !important;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  width: 100%;
}

.video-card--placeholder {
  visibility: hidden;
  pointer-events: none;
  border-color: transparent;
  background: transparent;
}

.video-card--placeholder .video-thumb {
  background: transparent;
}

.video-card {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  background: #222;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumb .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s;
}

.video-thumb:hover .play-overlay {
  opacity: 1;
}

.play-overlay i {
  font-size: 2.5rem;
  color: var(--fstv-red);
  background: var(--fstv-white);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-info {
  padding: 0.75rem 1rem;
}

.video-info h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.video-info .duration {
  font-size: 0.88rem;
  opacity: 0.8;
}

.video-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  width: 100%;
}

.video-nav-start {
  justify-self: start;
}

.video-nav-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  grid-column: 2;
}

.video-nav-end {
  grid-column: 3;
}

.video-nav button {
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  background: var(--fstv-white);
  color: var(--fstv-red);
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.video-nav button:hover:not(:disabled) {
  background: var(--fstv-yellow);
  transform: scale(1.05);
}

.video-nav button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.video-nav .page-info {
  font-weight: 600;
  min-width: 80px;
  text-align: center;
}

/* ========== ABOUT FSTV ========== */
#about-fstv {
  background-color: var(--fstv-red);
  min-height: 100vh;
  min-height: 100dvh;
  padding: 5.5rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}

#about-fstv h2 {
  font-size: 2.2rem;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  text-align: center;
  flex-shrink: 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  max-width: 1040px;
  width: 100%;
  flex-shrink: 0;
  align-items: center;
  background: var(--fstv-section-panel-bg);
  border: 1px solid var(--fstv-section-panel-border);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.14);
}

.about-layout--text-only {
  grid-template-columns: 1fr;
  max-width: 720px;
  align-items: start;
  margin-bottom: 3.5rem;
}

.about-story-card {
  background: var(--fstv-card-bg);
  border-left: 5px solid var(--fstv-yellow);
  border-radius: 0 16px 16px 0;
  padding: 2rem 1.75rem 2rem 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  width: 100%;
}

.about-text {
  width: 100%;
  text-align: left;
  font-size: 1.18rem;
  line-height: 1.8;
}

.about-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: center;
  width: 100%;
  height: 100%;
  gap: 1.25rem;
}

.about-image-frame {
  cursor: pointer;
  max-width: 340px;
  width: 100%;
  margin: 0;
  background: var(--fstv-image-frame-bg);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid var(--fstv-yellow);
  border-radius: 12px;
  padding: 0.65rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image-frame:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.about-image-frame img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

.about-image-caption {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  font-style: italic;
}

.about-text p + p {
  margin-top: 1.25rem;
}

#videos > .fstv-btn,
#about-fstv > .fstv-btn {
  flex-shrink: 0;
}

#videos > .fstv-btn {
  margin-top: 0;
}

#about-fstv > .fstv-btn {
  margin-top: auto;
}

/* ========== ABOUT LEUNAM RED ========== */
#about-leunam {
  background-color: var(--fstv-red);
  min-height: 100vh;
  min-height: 100dvh;
  padding: 5.5rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

#about-leunam::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.14);
  top: -80px;
  right: -60px;
  pointer-events: none;
}

#about-leunam h2 {
  font-size: 2.2rem;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  text-align: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.leunam-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem 2.5rem;
  max-width: 1040px;
  width: 100%;
  flex-shrink: 0;
  align-items: start;
  position: relative;
  z-index: 1;
  background: var(--fstv-section-panel-bg);
  border: 1px solid var(--fstv-section-panel-border);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 0;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.14);
}

.leunam-actions {
  display: contents;
}

.leunam-story-card {
  grid-column: 1;
  grid-row: 1;
  background: var(--fstv-card-bg);
  border-left: 5px solid var(--fstv-yellow);
  border-radius: 0 16px 16px 0;
  padding: 2rem 2rem 2rem 1.75rem;
  display: block;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.leunam-btn-more {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
}

.leunam-btn-mail {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
}

.leunam-text {
  text-align: left;
  width: 100%;
  font-size: 1.18rem;
  line-height: 1.85;
  margin: 0;
}

.leunam-visual {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.whois-frame {
  cursor: default;
  max-width: 300px;
  width: 100%;
  background: var(--fstv-whois-frame-bg);
  padding: 0.85rem 0.85rem 2rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.2);
  transform: rotate(2deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.whois-frame:hover:not(.wiggle) {
  transform: rotate(0deg) scale(1.02);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.5),
    0 6px 16px rgba(0, 0, 0, 0.25);
}

.whois-frame img {
  width: 100%;
  display: block;
  border-radius: 12px;
  cursor: default;
}

.whois-caption {
  display: block;
  margin-top: 0.65rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.72);
  font-style: italic;
}

.whois-frame.wiggle {
  animation: whois-wiggle 0.9s ease-in-out 1;
  animation-fill-mode: both;
  transition: none;
}

@keyframes whois-wiggle {
  0%, 100% { transform: rotate(2deg); }
  15% { transform: rotate(0deg) translateX(-4px); }
  30% { transform: rotate(3deg) translateX(4px); }
  45% { transform: rotate(0.5deg) translateX(-3px); }
  60% { transform: rotate(2.8deg) translateX(3px); }
  75% { transform: rotate(1.2deg) translateX(-2px); }
  90% { transform: rotate(2.2deg) translateX(1px); }
}

/* ========== MODAL ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.modal-box {
  position: relative;
  z-index: 1;
  background: var(--fstv-white);
  color: var(--fstv-black);
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  border: 3px solid var(--fstv-red);
}

.modal-box--wide {
  max-width: 900px;
}

.modal-box--image-fit {
  position: relative;
  max-height: min(90vh, 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-confetti {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 5;
}

.confetti-piece {
  position: absolute;
  top: 0;
  opacity: 1;
  will-change: transform, opacity;
  animation: confetti-fall linear forwards;
}

.confetti-piece--emoji {
  font-size: 1.45rem;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.confetti-piece--shape {
  display: block;
  border-radius: 2px;
}

@keyframes confetti-fall {
  0% {
    opacity: 1;
    transform: translate3d(0, -20px, 0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift, 0px), var(--fall, 520px), 0) rotate(720deg);
  }
}

.modal-title-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-bottom: 1rem;
  padding-right: 2rem;
}

.modal-title-row .modal-title {
  margin-bottom: 0;
  padding-right: 0;
}

.whois-miao-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--fstv-red);
  background: var(--fstv-yellow);
  color: var(--fstv-red);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.whois-miao-btn:hover {
  transform: scale(1.08) rotate(-10deg);
  background: var(--fstv-red);
  color: var(--fstv-white);
}

.whois-miao-btn.is-popping {
  animation: whois-miao-pop 0.45s ease;
}

@keyframes whois-miao-pop {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.2) rotate(12deg); }
}

.modal-box--image-fit .modal-title {
  flex-shrink: 0;
}

.modal-box--image-fit .modal-figure {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.modal-box--image-fit .modal-figure img {
  width: auto;
  max-width: 100%;
  max-height: min(68vh, calc(90vh - 11rem));
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.modal-box--image-fit .modal-text {
  flex-shrink: 0;
  margin: 0;
}

.modal-box--image-fit .modal-text:empty {
  display: none;
}

.modal-box--video {
  max-width: 960px;
  background: var(--fstv-red);
  color: var(--fstv-white);
  border: 2px solid var(--fstv-white);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.modal-box--video .modal-close {
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  background: var(--fstv-white);
  color: var(--fstv-red);
}

.modal-box--video .modal-close:hover {
  background: var(--fstv-yellow);
  color: var(--fstv-black);
}

.modal-box--video .modal-title {
  color: var(--fstv-white);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.25rem;
  padding: 0;
}

.video-modal-info {
  padding: 0.75rem 1rem 0.85rem;
}

.video-modal-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #222;
  border-radius: 0;
  overflow: hidden;
  border: none;
}

.video-modal-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-modal-meta {
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--fstv-white);
  opacity: 0.8;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--fstv-red);
  color: var(--fstv-white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.modal-close:hover {
  background: var(--fstv-red-hover);
  transform: scale(1.1);
}

.modal-title {
  font-size: 1.4rem;
  color: var(--fstv-red);
  margin-bottom: 1rem;
  padding-right: 2rem;
}

.modal-figure {
  margin: 0 0 1.25rem;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--fstv-gray-light);
}

.modal-figure img {
  width: 100%;
  display: block;
}

.modal-text {
  font-size: 1.1rem;
  line-height: 1.75;
  text-align: left;
}

.modal-text mark {
  background: var(--fstv-yellow);
  padding: 0 0.15em;
}

/* ========== FOOTER ========== */
footer {
  background-color: var(--fstv-gray-footer);
  color: var(--fstv-black);
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: underline;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--fstv-red);
}

.footer-copy {
  font-size: 1rem;
  opacity: 0.85;
}

/* ========== LEGAL PAGES ========== */
.legal-page {
  background-color: var(--fstv-gray-light);
  color: var(--fstv-black);
  min-height: 100vh;
  padding: 3rem 1.5rem 4rem;
}

.legal-page .container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--fstv-red);
}

.legal-page h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.legal-page ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page a {
  color: var(--fstv-red);
  text-decoration: underline;
}

.legal-page .back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-weight: 600;
}

.legal-page .legal-note {
  font-size: 0.95rem;
  opacity: 0.85;
}

.legal-page code {
  font-size: 0.9em;
  background: rgba(0, 0, 0, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.legal-page mark {
  background-color: var(--fstv-yellow);
  padding: 0 0.2em;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #videos h2 {
    margin-bottom: 1rem;
  }

  .video-consent-stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .consent-box--overlay {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    order: 1;
    width: 100%;
    max-width: none;
    margin-bottom: 1.25rem;
  }

  .video-preview-area {
    order: 2;
    max-height: 40vh;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, black 72%, transparent 100%);
  }

  .video-nav--preview {
    display: none;
  }

  .about-layout,
  .leunam-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
  }

  .about-layout {
    margin-bottom: 2rem;
  }

  .about-story-card,
  .leunam-story-card {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0 1.1rem;
    border-right: none;
    border-left: 5px solid var(--fstv-yellow);
  }

  .leunam-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .leunam-actions {
    display: contents;
  }

  .leunam-story-card {
    order: 1;
    width: 100%;
    grid-column: auto;
    grid-row: auto;
  }

  .leunam-btn-more {
    order: 2;
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
  }

  .leunam-visual {
    order: 3;
    width: 100%;
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
  }

  .leunam-btn-mail {
    order: 4;
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
  }

  .whois-frame {
    transform: rotate(0deg);
  }
}

@media (max-width: 560px) {
  .video-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .video-preview-area {
    max-height: 34vh;
  }

  .consent-box {
    padding: 1.1rem 1.15rem;
  }

  .consent-box p {
    font-size: 1rem;
  }

  .video-nav {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .video-nav-start {
    justify-self: stretch;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .video-nav-pages {
    grid-column: 1;
  }

  .video-nav-end {
    display: none;
  }

  .video-nav .fstv-btn--compact {
    width: 100%;
    max-width: 320px;
  }

  .fstv-btn {
    min-width: auto;
    width: 100%;
    max-width: 320px;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }

  section {
    padding: 3rem 1rem;
  }

  #about-fstv,
  #about-leunam {
    padding-top: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .landing-logo {
    margin-top: 5vh;
  }
}
