/* Ana sayfa: video, diğer sayfalardaki dosya/poster çerçevesine alınır */
body[data-page="home"] .hero.editorial-hero.rebel-opening {
  padding: clamp(10px, 2vw, 28px) clamp(14px, 4.5vw, 72px) clamp(14px, 2.4vw, 32px);
}
body[data-page="home"] .rebel-opening .opening-screen {
  position: relative;
  border: 1px solid #e2ddd62e;
  background: #050505;
}

/* tarama çizgisi + gren + kenar karartması */
body[data-page="home"] .rebel-opening .opening-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, #0000 0 2px, #00000038 2px 3px),
    radial-gradient(ellipse 75% 70% at 50% 50%, #0000 55%, #000000b3 100%),
    linear-gradient(180deg, #000000a0, #0000 22%, #0000 62%, #000000d0);
}
.ops-grain {
  position: absolute;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: ops-grain 1s steps(6) infinite;
}
@keyframes ops-grain {
  0% { translate: 0 0; } 20% { translate: -4% 3%; } 40% { translate: 3% -5%; }
  60% { translate: -2% 4%; } 80% { translate: 5% 1%; } 100% { translate: 0 0; }
}

/* köşe nişanları */
.ops-corner { position: absolute; z-index: 2; width: 26px; height: 26px; border: 0 solid var(--red, #dc4742); pointer-events: none; }
.ops-corner.tl { top: 12px; left: 12px; border-top-width: 2px; border-left-width: 2px; }
.ops-corner.tr { top: 12px; right: 12px; border-top-width: 2px; border-right-width: 2px; }
.ops-corner.bl { bottom: 12px; left: 12px; border-bottom-width: 2px; border-left-width: 2px; }
.ops-corner.br { bottom: 12px; right: 12px; border-bottom-width: 2px; border-right-width: 2px; }

.ops-hud {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  padding: clamp(24px, 3vw, 44px) clamp(26px, 3.4vw, 52px);
  color: #e9e6e1;
  font-family: var(--mono, ui-monospace, monospace);
  pointer-events: none;
}
.ops-hud a { pointer-events: auto; }
.ops-brand { display: flex; align-items: center; gap: 14px; margin: 0; }
.ops-brand .rebel-wordmark { font: 700 28px/1 "Rebel Wordmark", Oswald, sans-serif; color: #fff; }
.ops-brand > span:last-child {
  padding-left: 14px;
  border-left: 1px solid #e2ddd655;
  font-size: 10.5px;
  line-height: 1.45;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #b9b4ae;
}
.ops-file { display: grid; justify-items: end; gap: 4px; margin: 0; text-align: right; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }
.ops-file > span:first-child { font-weight: 700; color: #fff; }
.ops-file > span:nth-child(2) { color: #b9b4ae; }
.ops-barcode {
  width: 110px;
  height: 20px;
  margin-top: 6px;
  background: repeating-linear-gradient(90deg, #e9e6e1 0 2px, #0000 2px 4px, #e9e6e1 4px 5px, #0000 5px 8px, #e9e6e1 8px 11px, #0000 11px 13px);
}
.ops-rec {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.ops-rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--red, #dc4742); animation: ops-rec 1.4s steps(2, jump-none) infinite; }
@keyframes ops-rec { 50% { opacity: .15; } }

.ops-bottom {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.ops-motto {
  margin: 0;
  font: 700 clamp(26px, 4.2vw, 64px)/.95 var(--display, Oswald, sans-serif);
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #f1eee9;
}
.ops-motto span { display: block; }
.ops-motto span:nth-child(2) { color: var(--red, #dc4742); }
.ops-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.ops-actions a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #e2ddd677;
  background: #000000a6;
  color: #f1eee9;
  font: 600 14px/1 var(--display, Oswald, sans-serif);
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .18s ease-out, border-color .18s ease-out;
}
.ops-actions a:hover { border-color: #fff; background: #000; }
.ops-actions a.primary { border-color: var(--red, #dc4742); background: var(--red, #dc4742); color: #000; }
.ops-actions a.primary:hover { background: #fff; border-color: #fff; }
.ops-actions a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 760px) {
  body[data-page="home"] .hero.editorial-hero.rebel-opening { grid-template-rows: minmax(78svh, auto); }
  .ops-hud { grid-template-columns: 1fr; padding: 24px 22px; }
  .ops-file { display: none; }
  .ops-brand { grid-column: 1; grid-row: 1; }
  .ops-rec { grid-column: 1; grid-row: 1; justify-self: end; align-self: center; margin: 0; }
  .ops-bottom { flex-direction: column; align-items: stretch; }
  .ops-motto { font-size: clamp(34px, 11vw, 52px); }
  .ops-actions { justify-content: stretch; }
  .ops-actions a { flex: 1; justify-content: space-between; }
  .ops-corner { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .ops-grain, .ops-rec i { animation: none; }
}

.ops-brand > span:last-child { border-left: 2px solid var(--red, #dc4742); }

/* üst menü ve alt satır, video çerçevesinin kenarlarına hizalı */
body[data-page="home"] .navigation,
body[data-page="home"] .rebel-footer {
  width: auto;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(14px, 4.5vw, 72px);
}
