/* =========================================================
   Gen Reklam — Çok Yakında
   Logo renkleri: kırmızı #E31E24 + beyaz · Yazı tipi: Jost (geometrik)
   ========================================================= */

:root {
  --bg: #0c0d0f;
  --fg: #ffffff;
  --red: #dc1a22;               /* Gen Reklam logo kırmızısı (logo.png ile birebir) */
  --font: "Jost", "Century Gothic", Futura, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  color-scheme: dark;
}
@media (min-width: 600px)  { :root { --gutter: 24px; } }
@media (min-width: 1000px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.red-fill   { fill: var(--red); }
.red-stroke { stroke: var(--red); }
.rim        { opacity: var(--rim, 0); }   /* ark ışığının vurduğu kenarlar (JS) */

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Ark ışığının ortama yayılması — en üstte, sadece opaklık değişir (GPU) */
.ambient {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 1800px;
  height: 1800px;
  margin: -900px 0 0 -900px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(200, 220, 255, .12), rgba(200, 220, 255, .04) 45%, rgba(200, 220, 255, 0) 100%);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  z-index: 3;
}

/* ---------- Logo ---------- */
.top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 24px var(--gutter) 4px;
}
.brand { display: block; width: clamp(84px, 8.5vw, 120px); }
.brand img { display: block; width: 100%; height: auto; }

/* ---------- Sahne ---------- */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 0 6vh;
}
.stage { width: min(100%, 1180px, calc((100svh - 380px) * 2)); min-width: 300px; }
.stage-box {
  position: relative;
  aspect-ratio: 800 / 400;      /* kaynakci.js VIEW_DESK ile aynı */
  overflow: hidden;
}
.layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.l-wall   { overflow: visible; will-change: transform; }
.l-lamp   { overflow: visible; transform-origin: 29.5% 5.5%; animation: sway 4.2s ease-in-out infinite alternate; }
.l-shadow { opacity: 0; will-change: opacity; }
.l-welder { will-change: transform; }     /* kendi katmanı: sadece usta yeniden çizilir */
.l-vignette {
  background:
    linear-gradient(to right, var(--bg), rgba(12, 13, 15, 0) 8%, rgba(12, 13, 15, 0) 92%, var(--bg)),
    linear-gradient(to bottom, var(--bg), rgba(12, 13, 15, 0) 10%, rgba(12, 13, 15, 0) 84%, var(--bg));
}
@keyframes sway {
  from { transform: rotate(-1.4deg); }
  to   { transform: rotate(1.4deg); }
}

/* ---------- Başlık: logodaki "REKLAM" şeridi gibi ---------- */
.title {
  margin: -.12em var(--gutter) 0;
  text-align: center;
  font-weight: 500;
  font-size: clamp(2.6rem, 6.6vw, 6.25rem);
  line-height: 1;
  letter-spacing: .02em;
  animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) .2s both;
}
.title-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: .14em;
}
.title-line { display: block; white-space: nowrap; }
.title-bar {
  display: flex;
  justify-content: space-between;
  padding: .16em .34em .12em;
  background: #fff;
  color: var(--red);
  font-size: .4em;
  line-height: 1;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 599px) {
  .stage { width: 100%; min-width: 0; }
  .stage-box { aspect-ratio: 500 / 370; }   /* kaynakci.js VIEW_MOB ile aynı */
  .l-vignette {
    background:
      linear-gradient(to right, var(--bg), rgba(12, 13, 15, 0) 4%, rgba(12, 13, 15, 0) 96%, var(--bg)),
      linear-gradient(to bottom, var(--bg), rgba(12, 13, 15, 0) 8%, rgba(12, 13, 15, 0) 84%, var(--bg));
  }
  .title { font-size: 2.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .title, .l-lamp { animation: none; }
}
