:root {
  --bg-base: #000b18;
  --bg-surface: #123d5a;
  --accent-orange: #f97316;
  --accent-orange-glow: rgba(249, 115, 22, 0.4);
  --accent-blue: #0099ff;
  --accent-emerald: #064e3b;
  --text-bright: #f8fafc;
  --text-muted: #94a3b8;
  --border-light: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  overflow-x: hidden;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background-color: var(--bg-base);
  color: var(--text-bright);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* MODERN SCROLLBAR */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* ARKAPLAN: Home-style ambient orbs */
.ambient-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  will-change: transform;
}

.orb-1 {
  width: 70vw;
  height: 70vw;
  background: var(--accent-blue);
  top: -20%;
  left: -10%;
  animation: pg-float 25s infinite alternate;
}

.orb-2 {
  width: 60vw;
  height: 60vw;
  background: var(--accent-blue);
  bottom: -10%;
  right: -10%;
  animation: pg-float 20s infinite alternate-reverse;
}

.orb-3 {
  width: 50vw;
  height: 50vw;
  background: var(--accent-emerald);
  top: 30%;
  left: 40%;
  opacity: 0.25;
  animation: pg-float 30s infinite alternate;
}

@keyframes pg-float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(40px, 60px) scale(1.1);
  }
}

/* Animation Transitions for Own JS Animations */
.badge {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title {
  animation: heroTitleIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-indicator {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.pillar-menu li {
  opacity: 0;
  transform: translateX(-20px);
  transition:
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.editorial-content > * {
  /* initial hide applied by JS for progressive enhancement */
}

.grid-floor {
  position: fixed;
  bottom: -50%;
  left: -50%;
  width: 200%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100px 100px;
  transform: perspective(500px) rotateX(60deg);
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 40%,
    transparent 90%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 40%,
    transparent 90%
  );
}

.noise-overlay {
  display: none;
  /* Performans: SVG noise sürekli repaint tetikliyordu */
}

#networkCanvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.2;
  pointer-events: none;
}

/* READING PROGRESS BAR */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 100;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, var(--accent-orange));
  box-shadow: 0 0 10px var(--accent-orange-glow);
  transition: width 0.1s ease-out;
}

/* ============================
   TOP UTILITY BAR
   ============================ */

/* NAVBAR UTILITY AREA */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-util-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: opacity 0.3s;
}

.nav-util-link:hover {
  opacity: 0.7;
}

.nav-util-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.3);
}

.nav-util-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-util-socials a {
  color: white;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-util-socials a:hover {
  opacity: 0.7;
}

.nav-util-socials svg {
  width: 18px;
  height: 18px;
}

/* NAVBAR: Sleek & Transparent */
.modern-nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 30px;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  /* Cam efekti yerine transparan başlangıç */
  transition:
    background 0.4s ease,
    padding 0.4s ease;
}

.modern-nav.scrolled {
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(12px);
  padding: 15px 30px;
  border-bottom: 1px solid var(--border-light);
}

.brand-logo img {
  height: 100px;
  object-fit: contain;
  transition: 0.3s;
}

.brand-logo.neon-logo-wrap {
  padding: 0;
}

.brand-logo.neon-logo-wrap .neon-logo-svg {
  height: 42px;
  width: auto;
}

.main-navigation {
  display: flex;
  gap: 2px;
  flex: 1;
  justify-content: center;
  align-items: center;
  margin: 0 8px;
}

.menu-item {
  position: relative;
}

.menu-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  white-space: nowrap;
  padding: 6px 8px;
}

.menu-link:hover,
.menu-item.active .menu-link {
  color: var(--text-bright);
}

.menu-item.active .menu-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-orange);
  border-radius: 2px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
}

/* === APPLE-STYLE GLASSMORPHISM BALLOON DROPDOWN === */
.submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 260px;
  z-index: 100;
  /* Glassmorphism */
  background: rgba(8, 13, 26, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 6px;
  /* Balloon animation */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px) scale(0.96);
  transform-origin: top center;
  transition:
    opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    visibility 0.25s;
  /* Shadow layers */
  box-shadow:
    0 0 0 0.5px rgba(0, 0, 0, 0.12),
    0 4px 8px rgba(0, 0, 0, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.2),
    0 24px 56px rgba(0, 0, 0, 0.15);
}

/* Balloon arrow / tail */
.submenu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: var(--arrow-left, 50%);
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: rgba(8, 13, 26, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-top: 0.5px solid rgba(255, 255, 255, 0.15);
  border-left: 0.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px 0 0 0;
  z-index: -1;
}

/* Inner glow overlay */
.submenu::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0) 40%
  );
  pointer-events: none;
}

/* Son menü öğelerinde dropdown sola açılsın (taşma önleme) */
.menu-item:last-child > .submenu,
.menu-item:nth-last-child(2) > .submenu {
  left: auto;
  right: 0;
  transform: translateX(0) translateY(8px) scale(0.96);
  transform-origin: top right;
}

.menu-item:last-child > .submenu::before,
.menu-item:nth-last-child(2) > .submenu::before {
  left: auto;
  right: 20px;
  transform: rotate(45deg);
}

.menu-item:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* "Diğer" (More) menu - sağa yasla */
.menu-more > .submenu {
  left: auto;
  right: 0;
  transform: translateX(0) translateY(8px) scale(0.96);
  transform-origin: top right;
}

.menu-more:hover > .submenu {
  transform: translateX(0) translateY(0) scale(1);
}

.menu-more > .submenu::before {
  left: auto;
  right: 20px;
  transform: rotate(45deg);
}

.menu-more > .menu-link {
  opacity: 0.6;
  font-size: 11px;
}

.menu-more:hover > .menu-link {
  opacity: 1;
}

.menu-item:last-child:hover > .submenu,
.menu-item:nth-last-child(2):hover > .submenu {
  transform: translateX(0) translateY(0) scale(1);
}

.menu-item:hover .menu-link {
  color: var(--text-bright);
}

/* Submenu link */
.submenu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
  text-transform: none;
  letter-spacing: 0;
  position: relative;
  line-height: 1.3;
}

.submenu-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.submenu-link:active {
  background: rgba(255, 255, 255, 0.07);
  transform: scale(0.98);
}

/* Submenu link icon */
.submenu-link .submenu-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  transition: background 0.2s;
}

.submenu-link:hover .submenu-icon {
  background: rgba(255, 255, 255, 0.16);
}

/* Submenu link text wrapper */
.submenu-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.submenu-text .submenu-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.2;
}

.submenu-text .submenu-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  line-height: 1.3;
}

/* Arrow indicator on submenu links */
.submenu-link .submenu-arrow {
  margin-left: auto;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  transition: all 0.2s;
  flex-shrink: 0;
}

.submenu-link:hover .submenu-arrow {
  color: rgba(255, 255, 255, 0.6);
  transform: translateX(2px);
}

/* NESTED SUBMENU SUPPORT (Infinite depth) */
.submenu-nested-item {
  position: relative;
}

.submenu-nested-item > .submenu.submenu-child {
  position: absolute;
  top: -6px;
  left: calc(100% + 6px);
  min-width: 240px;
  transform: translateX(8px) translateY(0) scale(0.96);
  transform-origin: left top;
}

.submenu-nested-item > .submenu.submenu-child::before {
  display: none;
}

.submenu-nested-item:hover > .submenu.submenu-child {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) translateY(0) scale(1);
}

.submenu-nested-item > .submenu-link .submenu-arrow {
  transition: transform 0.2s;
}

.submenu-nested-item:hover > .submenu-link .submenu-arrow {
  transform: translateX(3px);
}

/* Son öğelerin nested child submenüsü sola açılsın */
.menu-item:last-child .submenu-nested-item > .submenu.submenu-child,
.menu-item:nth-last-child(2) .submenu-nested-item > .submenu.submenu-child {
  left: auto;
  right: calc(100% + 6px);
  transform: translateX(-8px) translateY(0) scale(0.96);
  transform-origin: right top;
}

.menu-item:last-child .submenu-nested-item:hover > .submenu.submenu-child,
.menu-item:nth-last-child(2)
  .submenu-nested-item:hover
  > .submenu.submenu-child {
  transform: translateX(0) translateY(0) scale(1);
}

/* MODERN LAYOUT CONTAINER */
.modern-layout {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* HERO SECTION (Tasarımın Odak Noktası) */
.hero-section {
  width: 100%;
  min-height: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 130px 40px 5px;
  position: relative;
  text-align: center;
}

.hero-section.hero-compact {
  min-height: 30vh;
  padding-top: 100px;
  padding-bottom: 30px;
}

.hero-content {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  transition: max-width 0.3s ease;
}

/* Uzun başlıklar için genişlet + küçült */
.hero-content.hero-long-title {
  max-width: 1100px;
}

.hero-content.hero-long-title .hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-content.hero-long-title ~ .scroll-indicator {
  margin-top: 24px;
}

/* Çok uzun başlıklar */
.hero-content.hero-xlong-title {
  max-width: 1200px;
}

.hero-content.hero-xlong-title .hero-title {
  font-size: clamp(1.3rem, 2.8vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-orange);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 100px;
  background: rgba(249, 115, 22, 0.05);
}

.hero-section.hero-compact .hero-title {
  font-size: clamp(1.1rem, 2.5vw, 1.8rem) !important;
  letter-spacing: -0.5px;
}

.hero-section.hero-ach-detail .hero-title {
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  letter-spacing: -0.5px;
}

.hero-title {
  font-size: clamp(1rem, 2.2vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  padding-bottom: 6px;
  /* Modern Gradyan Metin */
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

/* Scroll Mouse Animasyonu */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  opacity: 0.6;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;

  /* Alan kapatma işlemi için eklendi */
  max-height: 100px;
  /* İçeriğinin sığacağı tahmini bir maksimum yükseklik */
  overflow: hidden;

  /* Bütün elemanlar aynı anda yumuşakça küçülüp kapanacak */
  transition:
    opacity 0.8s ease,
    max-height 0.8s ease,
    margin-top 0.8s ease,
    gap 0.8s ease,
    padding 0.8s ease;
}

.scroll-indicator.hidden {
  opacity: 0 !important;
  pointer-events: none;

  /* Animasyon bitince alanı yumuşakça yutacak olan kısımlar */
  max-height: 0;
  margin-top: 0;
  gap: 0;
  padding: 0;
}

.mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.wheel {
  width: 4px;
  height: 6px;
  background: var(--accent-orange);
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

/* CONTENT GRID (Sidebar + Yazı) */
.content-grid {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

/* İçerik Menüsü boş ise: grid iptal, full width */
.content-grid--full {
  grid-template-columns: 1fr;
  max-width: 1200px;
  gap: 0;
}

/* SLEEK PILLAR (Modern Yan Menü) */
.nav-pillar {
  position: relative;
}

.pillar-sticky {
  position: sticky;
  top: 120px;
}

.pillar-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 700;
}

.pillar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 1px solid var(--border-light);
  padding-left: 20px;
}

.pillar-menu a {
  display: flex;
  align-items: flex-start;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
  position: relative;
}

.pillar-menu .text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.pillar-menu .line {
  position: absolute;
  left: -21px;
  width: 2px;
  height: 0;
  background: var(--accent-orange);
  transition:
    height 0.3s,
    top 0.3s;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 10px var(--accent-orange-glow);
}

.pillar-menu li.active a {
  color: var(--text-bright);
  font-weight: 600;
}

.pillar-menu li.active .line {
  height: 100%;
}

.pillar-menu a:hover {
  color: var(--text-bright);
}

.pillar-menu a:hover .line {
  height: 12px;
}

body.content-panel-open {
  overflow: hidden !important;
}

/* EDITORYAL İÇERİK ALANI */
.editorial-content {
  padding-bottom: 120px;
}

.article-body {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  /* ~18px rahat okuma */
  line-height: 1.85;
  color: #cbd5e1;
  /* Slate 300 - göz yormayan açık gri */
}

/* Tipografi İyileştirmeleri */
.article-body p {
  margin-bottom: 1.5em;
  text-align: justify;
  /* Opsiyonel: Yaslama yaparken kelimeler arası boşlukların aşırı açılmasını önlemek için otomatik hecelemeyi açabilirsin */
  hyphens: auto;
  -webkit-hyphens: auto;
}

.article-body h2,
.article-body h3 {
  color: var(--text-bright);
  margin: 2em 0 1em;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 2.5em 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.article-body ul {
  margin: 0 0 1.5em 2em;
}

.article-body li {
  margin-bottom: 0.5em;
  padding-left: 0.5em;
}

/* ACTION PILL (Modern Paylaşım Modülü) */
.action-pill-container {
  margin-top: 60px;
  display: flex;
  justify-content: flex-start;
}

.action-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s,
    border-color 0.3s;
}

.action-pill:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.pill-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.pill-icons {
  display: flex;
  gap: 12px;
}

.p-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-bright);
  text-decoration: none;
  transition: 0.3s;
}

.p-icon:hover {
  background: var(--text-bright);
  color: var(--bg-base);
  transform: scale(1.1);
}

/* ============================================
   VIEW TRANSITION API — SAME-DOCUMENT TRANSITIONS
   ============================================ */

/* Named elements for view-transition morphing */
.modern-nav {
  view-transition-name: vt-page-nav;
}

.hero-section {
  view-transition-name: vt-hero;
}

.article-body blockquote {
  border-left: 3px solid var(--accent-orange);
  padding: 12px 20px;
  background: rgba(249, 115, 22, 0.05);
  border-radius: 0 8px 8px 0;
  color: var(--text-muted);
  font-style: italic;
  margin: 1.5em 0;
}

.article-body pre,
.article-body code {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.875rem;
}

.article-body pre {
  padding: 20px;
  overflow-x: auto;
}

.article-body code {
  padding: 2px 6px;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 0.95rem;
}

.article-body th,
.article-body td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

.article-body th {
  color: var(--text-bright);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
}

.hero-title {
  view-transition-name: vt-page-title;
}

.badge {
  view-transition-name: vt-badge;
}

.editorial-content {
  view-transition-name: vt-content;
}

.action-pill-container {
  view-transition-name: vt-share-pill;
}

.reading-progress-container {
  view-transition-name: vt-progress;
}

/* Cross-doc: Hero section exit animation (when leaving this page) */
::view-transition-old(vt-hero) {
  animation: vt-hero-out 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

::view-transition-new(vt-hero) {
  animation: vt-hero-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

::view-transition-old(vt-page-title) {
  animation: vt-title-out 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

::view-transition-new(vt-page-title) {
  animation: vt-title-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

::view-transition-old(vt-content) {
  animation: vt-content-out 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

::view-transition-new(vt-content) {
  animation: vt-content-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

::view-transition-old(vt-badge) {
  animation: vt-badge-out 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

::view-transition-new(vt-badge) {
  animation: vt-badge-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

::view-transition-old(vt-share-pill) {
  animation: vt-pill-out 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

::view-transition-new(vt-share-pill) {
  animation: vt-pill-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

/* Mobile nav view transition */
::view-transition-old(vt-mobile-nav) {
  animation: vt-nav-panel-out 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

::view-transition-new(vt-mobile-nav) {
  animation: vt-nav-panel-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- VT Keyframes --- */
@keyframes vt-hero-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

  to {
    opacity: 0;
    transform: translateY(-40px) scale(0.95);
    filter: blur(8px);
  }
}

@keyframes vt-hero-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(1.05);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes vt-title-out {
  from {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }

  to {
    opacity: 0;
    transform: translateY(-25px);
    filter: blur(12px);
  }
}

@keyframes vt-title-in {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes vt-content-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(40px);
  }
}

@keyframes vt-content-in {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vt-badge-out {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0.8);
  }
}

@keyframes vt-badge-in {
  from {
    opacity: 0;
    transform: scale(1.3);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes vt-pill-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

@keyframes vt-pill-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vt-nav-panel-out {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes vt-nav-panel-in {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation-duration: 0.01s !important;
  }
}

/* FOOTER — Now using shared _Footer partial + footer.css */

/* MOBILE NAV OVERLAY */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100%;
  background: rgba(0, 11, 24, 0.98);
  border-left: 1px solid var(--border-light);
  backdrop-filter: blur(20px);
  z-index: 200;
  padding: 80px 24px 40px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
}

.mobile-nav-overlay.active {
  right: 0;
}

body.mobile-nav-open {
  overflow: hidden !important;
}

.mobile-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.mobile-close-btn:hover {
  background: rgba(255, 71, 87, 0.2);
  border-color: rgba(255, 71, 87, 0.4);
  color: #ff4757;
}

.mobile-nav-brand {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-brand img {
  height: 40px;
  object-fit: contain;
}

.mobile-nav-item {
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-nav-link {
  color: var(--text-bright);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: color 0.2s;
  /* button reset */
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

a.mobile-nav-link {
  cursor: pointer;
}

.mobile-nav-link:hover {
  color: var(--accent-orange);
}

.mobile-arrow {
  transition: transform 0.3s ease;
  opacity: 0.5;
  display: flex;
  align-items: center;
}

.mobile-nav-item.open > .mobile-nav-link .mobile-arrow,
.mobile-nested-item.open > .mobile-submenu-link .mobile-arrow {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--accent-orange);
}

.mobile-submenu {
  display: none;
  padding-left: 16px;
  padding-bottom: 8px;
  border-left: 2px solid rgba(249, 115, 22, 0.2);
  margin-left: 4px;
}

.mobile-submenu.active {
  display: block;
}

.mobile-submenu-link {
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  text-decoration: none;
  transition: all 0.2s;
  /* button reset */
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-submenu-link:hover {
  color: var(--text-bright);
  transform: translateX(4px);
}

.mobile-nested-item {
  padding-left: 4px;
}

.mobile-nested-item.open > .mobile-submenu-link {
  color: var(--accent-orange);
}

.mobile-nested-item > .mobile-submenu {
  padding-left: 12px;
  border-left: 2px solid rgba(249, 115, 22, 0.12);
}

/* MOBİL / RESPONSİV DÜZENLEMELER */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-section {
    min-height: 35vh;
    padding: 100px 20px 30px;
  }

  .top-util-bar {
    display: none !important;
  }

  .modern-nav {
    padding: 15px 20px;
  }

  .modern-nav.scrolled {
    padding: 15px 20px;
  }

  .main-navigation,
  .nav-util-link,
  .nav-util-divider,
  .nav-util-socials {
    display: none !important;
  }

  .nav-right {
    gap: 8px;
  }

  .mobile-menu-btn {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .modern-nav {
    padding: 12px 16px;
  }

  .modern-nav.scrolled {
    padding: 12px 16px;
  }

  .brand-logo img {
    height: 60px;
  }

  .brand-logo.neon-logo-wrap .neon-logo-svg {
    height: 40px;
  }

  .nav-right-mobile {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .mobile-menu-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .mobile-nav-overlay {
    width: 100%;
  }

  .mobile-content-menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-bright);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
  }

  .mobile-content-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
  }

  .mobile-content-menu-toggle svg {
    transition: transform 0.3s ease;
  }

  .mobile-content-menu-toggle.active svg {
    transform: rotate(180deg);
  }

  .nav-pillar {
    display: none;
  }

  .mobile-content-panel {
    display: block;
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 70vh;
    background: rgba(2, 6, 23, 0.98);
    border-top: 1px solid var(--border-light);
    border-radius: 20px 20px 0 0;
    padding: 20px;
    z-index: 100;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-content-panel.active {
    transform: translateY(0);
  }

  .mobile-content-panel .pillar-sticky {
    position: static;
  }

  .content-panel-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
  }

  .content-panel-backdrop.active {
    display: block;
  }

  .hero-section {
    min-height: auto;
    padding: 90px 16px 24px;
    align-items: flex-start;
  }

  .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
  }

  .hero-content.hero-long-title .hero-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .hero-content.hero-xlong-title .hero-title {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
  }

  .badge {
    font-size: 10px;
    padding: 5px 12px;
    letter-spacing: 1.5px;
  }

  .scroll-indicator {
    margin-top: 24px;
    font-size: 11px;
  }

  .mouse {
    width: 20px;
    height: 30px;
  }

  .content-grid {
    padding: 0 16px;
    gap: 30px;
  }

  .article-body {
    font-size: 1rem;
    line-height: 1.75;
  }

  .article-body h2 {
    font-size: 1.4rem;
    margin: 1.5em 0 0.8em;
  }

  .article-body h3 {
    font-size: 1.15rem;
    margin: 1.3em 0 0.6em;
  }

  .article-body img {
    margin: 1.5em 0;
    border-radius: 12px;
  }

  .article-body ul {
    margin-left: 1.2em;
  }

  .action-pill-container {
    margin-top: 30px;
  }

  .action-pill {
    flex-direction: column;
    border-radius: 16px;
    gap: 12px;
    padding: 16px 20px;
    width: 100%;
  }

  .pill-icons {
    gap: 16px;
  }

  .p-icon {
    width: 44px;
    height: 44px;
  }

  .editorial-content {
    padding-bottom: 60px;
  }

  .ambient-glow {
    width: 300px;
    height: 300px;
    filter: blur(100px);
  }
}

@media (max-width: 480px) {
  .modern-nav {
    padding: 10px 12px;
  }

  .modern-nav.scrolled {
    padding: 10px 12px;
  }

  .brand-logo img {
    height: 50px;
  }

  .brand-logo.neon-logo-wrap .neon-logo-svg {
    height: 34px;
  }

  .hero-section {
    min-height: auto;
    padding: 80px 12px 20px;
    align-items: flex-start;
  }

  .hero-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
    letter-spacing: -0.5px;
  }

  .hero-content.hero-long-title .hero-title {
    font-size: clamp(1.1rem, 4.5vw, 1.5rem);
  }

  .hero-content.hero-xlong-title .hero-title {
    font-size: clamp(1rem, 3.5vw, 1.3rem);
  }

  .badge {
    font-size: 9px;
    padding: 4px 10px;
    letter-spacing: 1px;
  }

  .scroll-indicator {
    margin-top: 16px;
    font-size: 10px;
  }

  .mouse {
    width: 18px;
    height: 26px;
  }

  .content-grid {
    padding: 0 12px;
    gap: 20px;
  }

  .article-body {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .article-body h2 {
    font-size: 1.2rem;
  }

  .article-body h3 {
    font-size: 1.05rem;
  }

  .article-body p {
    margin-bottom: 0.5em;
  }

  .article-body img {
    margin: 1.2em 0;
    border-radius: 10px;
  }

  .action-pill {
    padding: 14px 16px;
  }

  .pill-label {
    font-size: 12px;
  }

  .p-icon {
    width: 40px;
    height: 40px;
  }

  .editorial-content {
    padding-bottom: 40px;
  }

  .mobile-nav-overlay {
    padding: 70px 16px 30px;
  }

  .mobile-nav-link {
    font-size: 13px;
    padding: 12px 0;
  }

  .mobile-submenu-link {
    font-size: 12px;
    padding: 8px 0;
  }

  /* MOBİL İÇERİK MENÜSÜ TOGGLE */
  .mobile-content-menu-toggle {
    display: flex;
  }

  .nav-pillar {
    display: none;
  }

  .mobile-content-panel {
    display: block;
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 70vh;
    background: rgba(2, 6, 23, 0.98);
    border-top: 1px solid var(--border-light);
    border-radius: 20px 20px 0 0;
    padding: 20px;
    z-index: 100;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-content-panel.active {
    transform: translateY(0);
  }

  .mobile-content-panel .pillar-sticky {
    position: static;
  }

  .content-panel-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
  }

  .content-panel-backdrop.active {
    display: block;
  }
}

/* 768px - 1024px arası tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .mobile-content-menu-toggle {
    display: flex;
  }

  .nav-pillar {
    display: none;
  }

  .mobile-content-panel {
    display: block;
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 70vh;
    background: rgba(2, 6, 23, 0.98);
    border-top: 1px solid var(--border-light);
    border-radius: 20px 20px 0 0;
    padding: 20px;
    z-index: 100;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-content-panel.active {
    transform: translateY(0);
  }

  .mobile-content-panel .pillar-sticky {
    position: static;
  }

  .content-panel-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
  }

  .content-panel-backdrop.active {
    display: block;
  }
}

/* Desktop > 1024px */
@media (min-width: 1025px) {
  .mobile-content-menu-toggle {
    display: none !important;
  }

  .mobile-content-panel {
    display: none !important;
  }

  .content-panel-backdrop {
    display: none !important;
  }
}
