/* ============================================================
   YG EXTRAS — Beta'dan eklenen ayarlar paneli özellikleri
   ============================================================
   İçindekiler:
   - V22 ek Horror Mode: Far Cry, Assassin's Creed: Black Flag
   - V71 Erişilebilirlik (reduce-motion, high-contrast on body)
   - V44 Genişletilmiş Renkler (buton stilleri)
   - V45 Görsel Efektler (reading mode, compact, trail particles)
   - V92 Otomatik Gece Modu (status text)
   - V93 Ajans Paneli (modal)
   - V96 Canlı Destek / AI Chat widget
   - V98 Hero WebGL Partikül canvas
   - V199/V200 Erişilebilirlik & Görünüm grubu
   - V159/V160/V183 html.high-contrast / .large-text / .snap-on
   - Ayarlar Section Badge (v71, v92, v93, v98 etiketleri)
   ============================================================ */


/* ════════════════════════════════════════════════════════════
   SECTION BADGE (örn. "v71" rozeti)
   ════════════════════════════════════════════════════════════ */
.settings-section-badge {
  font-size: 0.45rem;
  background: var(--gold);
  color: #111;
  padding: 2px 6px;
  letter-spacing: 0.08em;
  border-radius: 1px;
  vertical-align: middle;
  margin-left: 6px;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 600;
}


/* ════════════════════════════════════════════════════════════
   V71 — ERİŞİLEBİLİRLİK (body class'ları)
   ════════════════════════════════════════════════════════════ */
body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}
body.high-contrast {
  --gold: #FFD700 !important;
  --gold-light: #FFE566 !important;
}
body.high-contrast .hero-name,
body.high-contrast .hero-tag {
  text-shadow: 0 0 2px rgba(0,0,0,1);
}


/* ════════════════════════════════════════════════════════════
   V45 — OKUMA MODU (yg-reading-mode)
   ════════════════════════════════════════════════════════════ */
body.yg-reading-mode {
  background: #1a1614 !important;
}
body.yg-reading-mode .hero,
body.yg-reading-mode #heroCanvas,
body.yg-reading-mode video,
body.yg-reading-mode .startv-section,
body.yg-reading-mode .gallery-grid,
body.yg-reading-mode .partner-card,
body.yg-reading-mode #aiChatTrigger,
body.yg-reading-mode #aiChatWidget {
  filter: grayscale(0.5) brightness(0.85);
}
body.yg-reading-mode p,
body.yg-reading-mode .reading-text,
body.yg-reading-mode article {
  max-width: 65ch;
  line-height: 1.85;
  font-size: 1.05em;
}


/* ════════════════════════════════════════════════════════════
   V45 — KOMPAKT MOD (yg-compact-mode)
   ════════════════════════════════════════════════════════════ */
body.yg-compact-mode section {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}
body.yg-compact-mode .hero {
  min-height: 80vh !important;
}
body.yg-compact-mode .project-card,
body.yg-compact-mode .partner-card,
body.yg-compact-mode .press-card {
  padding: 0.8rem !important;
}


/* ════════════════════════════════════════════════════════════
   V44 — GENİŞLETİLMİŞ RENK BUTONLARI
   ════════════════════════════════════════════════════════════ */
.yg-extra-theme-btn {
  padding: 7px 4px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.5rem;
  color: #111;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 0.04em;
  transition: all 0.2s;
  font-weight: 600;
}
.yg-extra-theme-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}


/* ════════════════════════════════════════════════════════════
   V92 — OTOMATİK GECE MODU STATUS METNİ
   ════════════════════════════════════════════════════════════ */
#nightModeStatus {
  font-size: 0.52rem;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
  letter-spacing: 0.06em;
  font-family: 'Josefin Sans', sans-serif;
}


/* ════════════════════════════════════════════════════════════
   V93 — AJANS PANELİ MODAL
   ════════════════════════════════════════════════════════════ */
#agencyModal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
#agencyModal.active { opacity: 1; visibility: visible; }
.agency-box {
  width: 100%;
  max-width: 400px;
  margin: 2rem;
  border: 1px solid rgba(201,168,76,0.25);
  padding: 3rem;
  position: relative;
  background: rgba(8,8,8,0.85);
}
.agency-label {
  font-size: 0.5rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  font-family: 'Josefin Sans', sans-serif;
  margin-bottom: 0.4rem;
}
.agency-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 2rem;
  line-height: 1.1;
}
.agency-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201,168,76,0.4);
  color: #fff;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  padding: 10px 0;
  outline: none;
  text-align: center;
  margin-bottom: 1.5rem;
}
.agency-input::placeholder { color: rgba(255,255,255,0.2); }
.agency-submit {
  width: 100%;
  background: var(--gold);
  border: none;
  color: #111;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.agency-submit:hover { background: var(--gold-light, #e4c87a); }
.agency-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  color: rgba(255,255,255,0.3);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s;
}
.agency-close:hover { color: var(--gold); }
.agency-error {
  font-size: 0.55rem;
  color: #ff6b6b;
  letter-spacing: 0.08em;
  text-align: center;
  margin-top: 0.75rem;
  display: none;
  font-family: 'Josefin Sans', sans-serif;
}
#agencyContent { display: none; }
#agencyContent.visible { display: block; }
.agency-content-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--gold-light, #e4c87a);
  margin-bottom: 1.5rem;
  font-style: italic;
}
#agencyContent p {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
  margin-bottom: 0.75rem;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 0.04em;
}
.agency-doc-btn {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 24px;
  text-decoration: none;
  transition: all 0.2s;
  margin-top: 1rem;
  cursor: pointer;
  background: none;
}
.agency-doc-btn:hover { background: var(--gold); color: #111; }


/* ════════════════════════════════════════════════════════════
   V96 — CANLI DESTEK (AI Chat) — sol-alt köşede ikon
   ════════════════════════════════════════════════════════════ */
#aiChatTrigger {
  position: fixed;
  bottom: 2rem;
  left: 5.5rem;     /* settings-btn (left:2rem) yanında */
  width: 46px; height: 46px;
  background: rgba(10,10,10,0.92);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 502;
  transition: all 0.3s;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
#aiChatTrigger:hover {
  background: var(--gold);
  transform: translateY(-2px);
}
#aiChatTrigger:hover svg { stroke: #111; }
#aiChatTrigger svg {
  width: 18px; height: 18px;
  stroke: var(--gold);
  transition: stroke 0.2s;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#aiChatWidget {
  position: fixed;
  bottom: 5.5rem;
  left: 5.5rem;
  width: 320px;
  background: rgba(8,8,8,0.97);
  border: 1px solid rgba(201,168,76,0.25);
  z-index: 650;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.97);
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  max-height: 460px;
  border-radius: 4px;
}
#aiChatWidget.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.aic-header {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(201,168,76,0.1);
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.aic-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-family: 'Cormorant Garamond', serif;
  color: #111;
  font-weight: 700;
}
.aic-info { flex: 1; }
.aic-name {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: #ddd;
  font-family: 'Josefin Sans', sans-serif;
  text-transform: uppercase;
  display: block;
}
.aic-status {
  font-size: 0.48rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  display: block;
  margin-top: 1px;
}
.aic-close-btn {
  background: none; border: none;
  color: rgba(255,255,255,0.3);
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  padding: 4px 6px;
}
.aic-close-btn:hover { color: var(--gold); }
.aic-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  max-height: 320px;
}
.aic-msg {
  max-width: 88%;
  font-size: 0.62rem;
  line-height: 1.65;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 0.03em;
}
.aic-msg.bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.82);
  padding: 8px 11px;
  border-radius: 0 6px 6px 6px;
}
.aic-msg.user {
  align-self: flex-end;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--gold-light, #e4c87a);
  padding: 8px 11px;
  border-radius: 6px 6px 0 6px;
}
.aic-typing {
  display: none;
  align-self: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 10px 14px;
  border-radius: 0 6px 6px 6px;
  gap: 4px;
  align-items: center;
}
.aic-typing.visible { display: flex; }
.aic-typing span {
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  animation: aicDot 1.2s infinite;
}
.aic-typing span:nth-child(2) { animation-delay: 0.2s; }
.aic-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes aicDot {
  0%, 60%, 100% { opacity: 0.2; transform: scale(0.8); }
  30% { opacity: 1; transform: scale(1.3); }
}
.aic-footer {
  padding: 10px 12px;
  border-top: 1px solid rgba(201,168,76,0.08);
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.aic-input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.03em;
  padding: 8px 10px;
  outline: none;
  border-radius: 2px;
  transition: border-color 0.2s;
}
.aic-input:focus { border-color: rgba(201,168,76,0.4); }
.aic-send {
  background: var(--gold);
  border: none;
  color: #111;
  padding: 8px 13px;
  cursor: pointer;
  border-radius: 2px;
  font-size: 0.75rem;
  transition: background 0.2s;
  line-height: 1;
  font-weight: 700;
}
.aic-send:hover { background: var(--gold-light, #e4c87a); }

@media (max-width: 640px) {
  #aiChatTrigger { bottom: 1.5rem; left: 5rem; }
  #aiChatWidget  { left: 1rem; width: calc(100vw - 2rem); }
}


/* ════════════════════════════════════════════════════════════
   V98 — HERO WEBGL PARTİKÜL CANVAS
   ════════════════════════════════════════════════════════════ */
#heroCanvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.7;
  mix-blend-mode: screen;
}
.hero { position: relative; }


/* ════════════════════════════════════════════════════════════
   V199/V200 — ERİŞİLEBİLİRLİK & GÖRÜNÜM GRUBU (settings içi)
   ════════════════════════════════════════════════════════════ */
.yg-v200-settings {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.yg-v200-settings h4 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin: 0 0 0.6rem 0;
}
.yg-v200-settings button {
  display: block;
  width: 100%;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.18);
  color: #F0EDE8;
  padding: 0.55rem 0.8rem;
  margin-bottom: 0.4rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.18s ease;
  border-radius: 2px;
  text-align: left;
}
.yg-v200-settings button:hover {
  background: rgba(201,168,76,0.08);
  border-color: var(--gold);
}
.yg-v200-settings button.active {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
  color: var(--gold);
}


/* ════════════════════════════════════════════════════════════
   V159/V160/V183 — html.high-contrast / .large-text / .snap-on
   ════════════════════════════════════════════════════════════ */
.high-contrast {
  --gold: #FFD700;
  --gold-light: #FFEC8A;
}
.high-contrast img { filter: contrast(1.15); }
.high-contrast a:focus, .high-contrast button:focus {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.large-text { font-size: 112.5%; }
.large-text h1, .large-text h2, .large-text h3 { letter-spacing: 0.02em; }

.snap-on { scroll-snap-type: y proximity; }
.snap-on section {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}
@media (max-width: 768px) { .snap-on { scroll-snap-type: none; } }


/* ════════════════════════════════════════════════════════════
   V22 — EK HORROR MOD: Far Cry & Assassin's Creed: Black Flag
   (Mevcut horror-twd/dl/re sistemini genişletir)
   ════════════════════════════════════════════════════════════ */
body.horror-fc::before,
body.horror-acbf::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* ---- 4) FAR CRY — tropikal turuncu/kızıl ---- */
body.horror-fc {
  --gold: #FF6B1A;
  --gold-light: #FF9248;
  --fc-jungle: #2E5A2A;
  --fc-blood: #B8200E;
  cursor:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><circle cx='14' cy='14' r='11' fill='none' stroke='%23FF6B1A' stroke-width='1.6'/><circle cx='14' cy='14' r='5' fill='none' stroke='%23FF6B1A' stroke-width='1.2'/><line x1='14' y1='1' x2='14' y2='7' stroke='%23FF6B1A' stroke-width='1.6'/><line x1='14' y1='21' x2='14' y2='27' stroke='%23FF6B1A' stroke-width='1.6'/><line x1='1' y1='14' x2='7' y2='14' stroke='%23FF6B1A' stroke-width='1.6'/><line x1='21' y1='14' x2='27' y2='14' stroke='%23FF6B1A' stroke-width='1.6'/><circle cx='14' cy='14' r='1.4' fill='%23B8200E'/></svg>") 14 14,
    crosshair;
}
body.horror-fc::before {
  background:
    radial-gradient(ellipse at center, transparent 50%, rgba(40, 20, 5, 0.6) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(46, 90, 42, 0.15) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 107, 26, 0.08) 0%, transparent 50%),
    repeating-linear-gradient(60deg, rgba(46, 90, 42, 0.025) 0, rgba(46, 90, 42, 0.025) 1px, transparent 1px, transparent 6px);
}
body.horror-fc img:not(.amb-icon):not(.no-horror-filter):not(.ig-verified-icon) {
  filter: saturate(1.18) contrast(1.08) brightness(1.02) hue-rotate(-4deg);
}
body.horror-fc .hero-name,
body.horror-fc .startv-shorts-title,
body.horror-fc h1, body.horror-fc h2 {
  font-family: "Bebas Neue", "Oswald", "Josefin Sans", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(255, 107, 26, 0.45),
    2px 2px 0 #1a0a00,
    0 1px 0 rgba(0,0,0,0.7);
}
body.horror-fc a:hover, body.horror-fc a:focus { color: var(--fc-blood); }
body.horror-fc .yt-tab-btn.active,
body.horror-fc .ambient-track-btn.active {
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(255, 107, 26, 0.45);
}

/* ---- 5) ASSASSIN'S CREED BLACK FLAG — Karayip mavisi ---- */
body.horror-acbf {
  --gold: #00B4D8;
  --gold-light: #48CAE4;
  --acbf-gold: #E8C547;
  --acbf-deep: #023E5A;
  --acbf-foam: #CAF0F8;
  cursor:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='30' viewBox='0 0 26 30'><path d='M13 2 C8 6 3 11 3 17 C3 22 8 26 13 28 C18 26 23 22 23 17 C23 11 18 6 13 2z M13 8 L17 14 L13 20 L9 14z' fill='%23E8C547' stroke='%23023E5A' stroke-width='1.2'/><circle cx='13' cy='14' r='1.6' fill='%23023E5A'/></svg>") 13 28,
    crosshair;
}
body.horror-acbf::before {
  background:
    radial-gradient(ellipse at top, rgba(202, 240, 248, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at center, transparent 55%, rgba(2, 30, 50, 0.6) 100%),
    repeating-linear-gradient(90deg, rgba(0, 180, 216, 0.02) 0, rgba(0, 180, 216, 0.02) 2px, transparent 2px, transparent 14px);
}
body.horror-acbf img:not(.amb-icon):not(.no-horror-filter):not(.ig-verified-icon) {
  filter: saturate(1.25) contrast(1.12) brightness(1.04) hue-rotate(-2deg);
}
body.horror-acbf .hero-name,
body.horror-acbf .startv-shorts-title,
body.horror-acbf h1, body.horror-acbf h2 {
  font-family: "Cormorant Garamond", "DM Serif Display", Georgia, serif;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--acbf-gold);
  text-shadow:
    0 0 10px rgba(232, 197, 71, 0.4),
    0 0 24px rgba(0, 180, 216, 0.25),
    1px 1px 0 #001a2a;
}
body.horror-acbf a:hover, body.horror-acbf a:focus { color: var(--acbf-foam); }
body.horror-acbf .yt-tab-btn.active,
body.horror-acbf .ambient-track-btn.active {
  border-color: var(--acbf-gold);
  box-shadow: 0 0 16px rgba(232, 197, 71, 0.4), inset 0 0 8px rgba(0, 180, 216, 0.2);
}
body.horror-acbf::after {
  content: "";
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 60px;
  z-index: 9997;
  pointer-events: none;
  background: linear-gradient(to top, rgba(2, 62, 90, 0.35), transparent 100%);
  animation: acbfWave 8s ease-in-out infinite;
}
@keyframes acbfWave {
  0%, 100% { opacity: 0.7; transform: translateY(0); }
  50%      { opacity: 1.0; transform: translateY(-3px); }
}


/* ---- 6) NEED FOR SPEED: MOST WANTED — Blacklist sokak yarışı ---- */
body.horror-nfs::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  mix-blend-mode: multiply;
}
body.horror-nfs {
  --gold: #1E90FF;
  --gold-light: #4FB3FF;
  --nfs-orange: #FF6A00;
  --nfs-red: #E11D2E;
  --nfs-cool: #0a1828;
  cursor:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><rect x='2' y='12' width='8' height='4' fill='%23FF6A00'/><rect x='18' y='12' width='8' height='4' fill='%23FF6A00'/><rect x='12' y='2' width='4' height='8' fill='%23FF6A00'/><rect x='12' y='18' width='4' height='8' fill='%23FF6A00'/><circle cx='14' cy='14' r='3' fill='none' stroke='%231E90FF' stroke-width='2'/><circle cx='14' cy='14' r='1' fill='%23FF6A00'/></svg>") 14 14,
    crosshair;
}
body.horror-nfs::before {
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(5, 10, 25, 0.65) 100%),
    linear-gradient(180deg, rgba(30, 144, 255, 0.06) 0%, transparent 30%, transparent 70%, rgba(255, 106, 0, 0.05) 100%),
    repeating-linear-gradient(90deg, rgba(30, 144, 255, 0.025) 0, rgba(30, 144, 255, 0.025) 1px, transparent 1px, transparent 8px);
}
body.horror-nfs img:not(.amb-icon):not(.no-horror-filter):not(.ig-verified-icon) {
  filter: contrast(1.18) saturate(1.1) brightness(0.96);
}
body.horror-nfs .hero-name,
body.horror-nfs .startv-shorts-title,
body.horror-nfs h1, body.horror-nfs h2 {
  font-family: "Saira Condensed", "Bowlby One", "Oswald", "Bebas Neue", sans-serif;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: linear-gradient(180deg,
    #f5f5f5 0%,
    #ffffff 35%,
    #c8d4e0 55%,
    #6b7c93 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow:
    0 0 14px rgba(30, 144, 255, 0.5),
    0 0 28px rgba(255, 106, 0, 0.25),
    3px 3px 0 #000,
    0 0 1px #000;
  -webkit-text-stroke: 0.5px rgba(255, 106, 0, 0.7);
  filter: drop-shadow(0 2px 0 #000) drop-shadow(0 0 18px rgba(30, 144, 255, 0.35));
}
body.horror-nfs h3,
body.horror-nfs .section-subtitle,
body.horror-nfs .marquee-item {
  font-family: "Permanent Marker", "Saira Condensed", "Oswald", cursive;
  letter-spacing: 0.04em;
  color: var(--nfs-orange);
  text-shadow:
    0 0 8px rgba(255, 106, 0, 0.55),
    2px 2px 0 #000;
  transform: rotate(-1.2deg);
}
body.horror-nfs a:hover, body.horror-nfs a:focus { color: var(--nfs-orange); }
body.horror-nfs .yt-tab-btn.active,
body.horror-nfs .ambient-track-btn.active {
  border-color: var(--nfs-orange);
  box-shadow:
    0 0 12px rgba(255, 106, 0, 0.5),
    inset 0 0 6px rgba(30, 144, 255, 0.25);
}
body.horror-nfs::after {
  content: "";
  position: fixed;
  left: 0; right: 0; top: 0;
  height: 3px;
  z-index: 9999;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(30, 144, 255, 0.7) 20%,
      rgba(255, 106, 0, 0.85) 50%,
      rgba(30, 144, 255, 0.7) 80%,
      transparent 100%);
  animation: nfsRun 3s linear infinite;
}
@keyframes nfsRun {
  0%   { transform: translateX(-30%); opacity: 0.6; }
  50%  { opacity: 1.0; }
  100% { transform: translateX(30%); opacity: 0.6; }
}


/* ════════════════════════════════════════════════════════════
   V69 — ARAMA MODALI (Cmd/Ctrl+K)
   ════════════════════════════════════════════════════════════ */
.search-trigger-btn {
  background: transparent;
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--text-dim, rgba(255,255,255,0.55));
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.55rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 0;
}
.search-trigger-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.search-trigger-btn svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
body.light-mode .search-trigger-btn {
  border-color: rgba(139,115,85,0.3);
  color: rgba(0,0,0,0.55);
}
body.light-mode .search-trigger-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}
@media (max-width: 768px) {
  .search-trigger-btn { font-size: 0.5rem; padding: 0.35rem 0.6rem; }
}

#searchModal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
#searchModal.active { opacity: 1; visibility: visible; }
.search-box {
  width: 100%;
  max-width: 580px;
  margin: 0 1.5rem;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 0 1.2rem;
  gap: 14px;
  border-radius: 2px;
}
#searchInput {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 1rem 0;
}
#searchInput::placeholder { color: rgba(255,255,255,0.25); }
.search-close-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}
.search-close-btn:hover { color: var(--gold); }
#searchResults {
  margin-top: 6px;
  background: rgba(12,12,12,0.98);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 2px;
  max-height: 360px;
  overflow-y: auto;
}
.search-result-item {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background 0.2s;
  color: #e0e0e0;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(201,168,76,0.07); }
.search-result-item svg { opacity: 0.4; flex-shrink: 0; stroke: currentColor; }
.search-result-title {
  font-size: 0.72rem;
  color: #e0e0e0;
  letter-spacing: 0.04em;
  font-family: 'Josefin Sans', sans-serif;
}
.search-result-section {
  font-size: 0.5rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}
.search-hint {
  font-size: 0.5rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
  text-align: center;
  margin-top: 14px;
  font-family: 'Josefin Sans', sans-serif;
}
.search-empty {
  padding: 2rem;
  text-align: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.65rem;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 0.08em;
}


/* ════════════════════════════════════════════════════════════
   YG TOAST (basit — V44 ve diğerleri için)
   ════════════════════════════════════════════════════════════ */
.yg-extras-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translate(-50%, 30px);
  background: rgba(10,10,10,0.95);
  border: 1px solid rgba(201,168,76,0.3);
  color: #F0EDE8;
  padding: 0.75rem 1.4rem;
  border-radius: 2px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  z-index: 100001;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.2,0.8,0.2,1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  pointer-events: none;
}
.yg-extras-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}


/* ════════════════════════════════════════════════════════════
   LIGHT MODE ÇAKIŞMALARI — ajans modal & AI chat
   ════════════════════════════════════════════════════════════ */
body.light-mode .agency-box   { background: rgba(245,242,237,0.95); }
body.light-mode .agency-title { color: #1a1614; }
body.light-mode .agency-input { color: #1a1614; }
body.light-mode #aiChatWidget {
  background: rgba(245,242,237,0.97);
  border-color: rgba(139,115,85,0.2);
}
body.light-mode .aic-msg.bot {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.78);
}
body.light-mode .aic-input { color: #1a1614; background: rgba(0,0,0,0.04); }
body.light-mode .aic-name  { color: #1a1614; }

/* ═══════════════════════════════════════════════════════════════
   v16 PERFORMANCE — Hover kasması düzeltmesi
   Büyük resim hover'larında transform GPU'ya taşınır
   ═══════════════════════════════════════════════════════════════ */
.gallery-item, .gallery-item img,
.project-card, .project-card img,
.partner-card, .partner-card img,
.press-card, .press-card img,
.editor-pick-card, .editor-pick-image,
.project-image {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
/* v26: CSS containment — layout/paint isolation ile kasma azaltma */
.gallery-item, .project-card, .partner-card, .press-card, .editor-pick-card {
  contain: layout style paint;
  content-visibility: auto;
  contain-intrinsic-size: 1px 400px;
}

/* v27: Image yüklenmediğinde placeholder (404 spam yerine zarif fallback) */
.yg-img-failed {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
  position: relative;
}
.yg-img-failed::after {
  content: 'Y.G.';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: serif;
  font-size: 2rem;
  color: rgba(201, 168, 76, 0.3);
  font-weight: 600;
  letter-spacing: 0.2em;
  pointer-events: none;
}
/* Hover sırasında GPU acceleration */
.gallery-item:hover img,
.project-card:hover img,
.partner-card:hover img,
.press-card:hover img {
  will-change: transform;
}
/* Daha kısa, yumuşak geçiş */
.gallery-item img,
.project-card img,
.partner-card img,
.press-card img,
.editor-pick-image,
.project-image {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Reduce motion saygısı — efektleri kapat */
body.reduce-motion .gallery-item:hover img,
body.reduce-motion .project-card:hover img,
body.reduce-motion .partner-card:hover img {
  transform: none !important;
}
