/* Source: usability.css */
/* ==========================================================================
   YULA STUDIOS — ACCESSIBILITY & USABILITY ENHANCEMENTS (usability.css)
   Clean interaction fixes, focus indicators, and responsive safeguards
   ========================================================================== */

/* Safeguard against horizontal scroll across all viewports */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  padding-bottom: calc(90px + env(safe-area-inset-bottom));
}

/* Shared interaction baseline across the studio and every product route. */
:where(a, button, input, textarea, select) {
  -webkit-tap-highlight-color: transparent;
}

:where(button, input, textarea, select):disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

:where(input, textarea, select)::placeholder {
  color: #64748b;
  opacity: 1;
}

@media (max-width: 480px) {
  .wrap, .nav-inner {
    width: min(100% - 24px, var(--max, 1200px));
  }
  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}

/* Accessibility: Skip Link */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100000;
  padding: 10px 16px;
  border-radius: 999px;
  color: #111827;
  background: #fbbf24;
  font: 800 1rem/1.3 Inter, system-ui, sans-serif;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .18s ease;
}
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid #5eead4;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .skip-link { transition: none; }
}

/* High-Visibility Focus Outline */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid #ff7a00 !important;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Instant-on: Loader disabled for fast perceived performance */
#loader {
  display: none !important;
}

/* Global Dock Usability */
#yulaGlobalDock {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100vw - 24px);
}

#yulaGlobalDock .dock-audio-btn {
  background: rgba(24, 27, 36, 0.9);
  border: 1px solid rgba(255, 122, 0, 0.25);
  border-radius: 999px;
  color: #fbbf24;
  padding: 8px 14px;
  min-height: 40px;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

#heroFastSearch {
  min-width: 0;
}

/* Notices and Badges */
.ai-data-notice {
  font-size: 0.85rem;
  line-height: 1.55;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.privacy-inline-note {
  margin: -2px 0 10px;
  color: #4ade80;
  font-size: 0.78rem;
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* PWA Update Toast */
.pwa-update-toast {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 100001;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(420px, calc(100vw - 36px));
  padding: 12px 18px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 14px;
  background: rgba(14, 16, 24, 0.96);
  color: #f8fafc;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.pwa-update-toast div {
  display: grid;
  gap: 2px;
  line-height: 1.35;
}
.pwa-update-toast strong {
  color: #fbbf24;
  font-size: 0.88rem;
}
.pwa-update-toast span {
  color: #94a3b8;
  font-size: 0.78rem;
}
.pwa-update-toast button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: linear-gradient(135deg, #ff7a00, #fbbf24);
  color: #07080c;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease;
}
.pwa-update-toast button:hover {
  transform: translateY(-1px);
}

/* Responsive Mobile Refinements */
@media (max-width: 768px) {
  #yulaGlobalDock {
    position: static;
    transform: none;
    margin: 20px auto;
    border-radius: 16px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
    width: calc(100% - 24px);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(7, 10, 16, .97);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .48);
  }
  #yulaGlobalDock:hover {
    transform: none;
  }
  #yulaGlobalDock .dock-container {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 4px;
  }
  #yulaGlobalDock .dock-item {
    min-width: 70px;
    min-height: 44px;
    padding: 6px;
  }
  #yulaGlobalDock .dock-label {
    display: block !important;
    font-size: 0.62rem;
  }
  #mascot-widget {
    position: static;
    align-items: center;
    margin: 20px auto;
  }
  #mascot-speech {
    display: none !important;
  }
  .hero-logo-container {
    margin-bottom: 10px !important;
  }
  .hero-logo-img {
    width: 68px !important;
    height: 68px !important;
  }
  .hero-desc {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
  .pwa-update-toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

@media (max-width: 480px) {
  .hero-search-wrap > div > span:last-child {
    font-size: 0.6rem !important;
    padding: 2px 6px !important;
  }
}

/* Reduced Motion Safeguard */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #embers-canvas, #hero-canvas, #particleCanvas, #torch {
    display: none !important;
  }
}

/* ==========================================================================
   YULA STUDIOS — AAA EXPERIENCE LAYER
   A single visual rhythm for the home surface and product routes.
   ========================================================================== */
:root {
  --aaa-line: rgba(255, 255, 255, 0.11);
  --aaa-line-soft: rgba(255, 255, 255, 0.065);
  --aaa-glass: rgba(10, 14, 24, 0.72);
  --aaa-glass-raised: rgba(16, 21, 34, 0.88);
}

body.project-home {
  background-color: #04060a;
  background-image:
    radial-gradient(circle at 50% -20%, rgba(255, 122, 0, 0.16), transparent 48%),
    radial-gradient(circle at 8% 35%, rgba(56, 189, 248, 0.055), transparent 28%),
    linear-gradient(180deg, #070a10 0%, #04060a 60%, #05070c 100%);
}

body.project-home .nav {
  background: linear-gradient(180deg, rgba(4, 6, 10, 0.86), rgba(4, 6, 10, 0.54));
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

body.project-home .nav.scrolled {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  background: rgba(7, 10, 16, 0.94);
  border-bottom-color: var(--aaa-line);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

body.project-home .nav-inner {
  max-width: 1440px;
}

body.project-home .nav-logo {
  letter-spacing: 0.09em;
  text-shadow: 0 0 22px rgba(255, 122, 0, 0.2);
}

body.project-home .nav-links > li > a,
body.project-home .nav-spotlight-pill,
body.project-home .nav-sound-toggle,
body.project-home .nav-lang-btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.project-home .nav-links > li > a:hover,
body.project-home .nav-spotlight-pill:hover,
body.project-home .nav-sound-toggle:hover,
body.project-home .nav-lang-btn:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 122, 0, 0.32);
}

body.project-home #hero {
  isolation: isolate;
  padding-top: clamp(7rem, 14vh, 10rem);
}

body.project-home .hero-content {
  max-width: 1080px;
}

body.project-home .hero-title {
  text-wrap: balance;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.74);
}

body.project-home .hero-desc {
  max-width: 720px;
  color: #b8c2d1;
}

body.project-home .hero-search-wrap {
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.24));
}

body.project-home .hero-search-wrap > div:first-child {
  min-height: 58px;
  border-color: rgba(251, 191, 36, 0.4) !important;
  background: linear-gradient(115deg, rgba(17, 22, 35, 0.94), rgba(8, 12, 20, 0.86)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 48px rgba(0, 0, 0, 0.44) !important;
}

body.project-home .hero-live-badge {
  min-height: 28px;
  padding-inline: 0.72rem;
  backdrop-filter: blur(10px);
}

body.project-home .hero-buttons {
  gap: 0.7rem;
}

body.project-home .hero-buttons > * {
  min-height: 48px;
}

body.project-home .section-container {
  position: relative;
}

body.project-home .section-container > h2,
body.project-home .section-container > .section-title {
  text-wrap: balance;
}

body.project-home .eco-card,
body.project-home .app-card,
body.project-home .why-card,
body.project-home .mv-card,
body.project-home .timeline-content,
body.project-home .contact-info,
body.project-home .contact-form,
body.project-home .newsletter-band {
  border-color: var(--aaa-line-soft);
  background: linear-gradient(145deg, rgba(18, 23, 37, 0.84), rgba(8, 11, 19, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 42px rgba(0, 0, 0, 0.22);
}

body.project-home .eco-card:hover,
body.project-home .app-card:hover,
body.project-home .why-card:hover,
body.project-home .mv-card:hover,
body.project-home .timeline-content:hover,
body.project-home .contact-info:hover,
body.project-home .contact-form:hover {
  border-color: rgba(255, 122, 0, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 56px rgba(0, 0, 0, 0.36), 0 0 28px rgba(255, 122, 0, 0.1);
}

body.project-home .footer-bottom {
  gap: 1rem;
}

body.project-home .mobile-menu {
  border: 1px solid var(--aaa-line);
  background: rgba(6, 9, 15, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

@media (max-width: 680px) {
  body.project-home #hero {
    min-height: auto;
    padding-top: 7.2rem;
    padding-bottom: 4.8rem;
  }
  body.project-home .hero-search-wrap > div:first-child {
    border-radius: 18px !important;
    padding-inline: 14px !important;
  }
  body.project-home .hero-search-wrap kbd,
  body.project-home .hero-search-wrap span:last-child {
    display: none;
  }
  body.project-home .hero-buttons > * {
    width: min(100%, 340px);
  }
}

/* ==========================================================================
   YULA STUDIOS — UNIVERSAL OMNIBAR COMMAND CENTER (Ctrl+K everywhere)
   ========================================================================== */
.yula-omnibar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  z-index: 1000000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(40px, 12vh, 100px) 16px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
}

.yula-omnibar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.yula-omnibar-modal {
  width: 100%;
  max-width: 640px;
  background: rgba(13, 16, 26, 0.95);
  border: 1px solid rgba(255, 122, 0, 0.35);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 122, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(-12px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.yula-omnibar-overlay.active .yula-omnibar-modal {
  transform: translateY(0) scale(1);
}

.yula-omnibar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yula-omnibar-icon {
  color: #ff7a00;
  font-size: 1.1rem;
}

.yula-omnibar-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #f8fafc;
  font-size: 1.05rem;
  font-family: inherit;
  outline: none;
}

.yula-omnibar-kbd {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.72rem;
  color: #94a3b8;
  font-family: monospace;
}

.yula-omnibar-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yula-omnibar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #cbd5e1;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}

.yula-omnibar-item:hover, .yula-omnibar-item.selected {
  background: rgba(255, 122, 0, 0.14);
  color: #fff;
}

.yula-omnibar-item.selected .yula-omnibar-item-name {
  color: #fbbf24;
}

.yula-omnibar-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.yula-omnibar-item-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ff7a00;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.yula-omnibar-item-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.yula-omnibar-item-name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yula-omnibar-item-desc {
  font-size: 0.75rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yula-omnibar-item-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  flex-shrink: 0;
}

.yula-omnibar-footer {
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 10, 16, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #64748b;
}

.yula-omnibar-hints {
  display: flex;
  gap: 12px;
  align-items: center;
}

.yula-omnibar-hints kbd {
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 3px;
  color: #94a3b8;
  font-family: monospace;
}

#yulaGlobalDock .dock-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font: inherit;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
  padding: 6px 10px;
}
#yulaGlobalDock .dock-btn:hover {
  transform: translateY(-2px) scale(1.06);
  color: #ff7a00;
}
#yulaGlobalDock .dock-btn .dock-icon {
  font-size: 1.15rem;
  line-height: 1.2;
}

/* ==========================================================================
   YULA STUDIOS — LOCAL DATA VAULT (Yerel Kasa ve Yedekleme)
   ========================================================================== */
.yula-vault-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  z-index: 1000001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
}

.yula-vault-overlay.active {
  opacity: 1;
  visibility: visible;
}

.yula-vault-modal {
  width: 100%;
  max-width: 580px;
  background: rgba(13, 16, 26, 0.96);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(59, 130, 246, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.yula-vault-overlay.active .yula-vault-modal {
  transform: scale(1) translateY(0);
}

.yula-vault-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yula-vault-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yula-vault-header-title i {
  font-size: 1.4rem;
  color: #60a5fa;
}

.yula-vault-header-title h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.yula-vault-header-title p {
  margin: 2px 0 0;
  font-size: 0.76rem;
  color: #94a3b8;
}

.yula-vault-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.yula-vault-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.yula-vault-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: 75vh;
  overflow-y: auto;
}

.yula-vault-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.yula-vault-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
}

.yula-vault-stat-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: #f8fafc;
}

.yula-vault-stat-label {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 2px;
}

.yula-vault-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.yula-vault-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.yula-vault-btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}
.yula-vault-btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  transform: translateY(-1px);
}

.yula-vault-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.12);
}
.yula-vault-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-1px);
}

.yula-vault-btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.25);
  grid-column: span 2;
}
.yula-vault-btn-danger:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fecaca;
  transform: translateY(-1px);
}

.yula-vault-qr-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px dashed rgba(59, 130, 246, 0.35);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.yula-vault-qr-box.active {
  display: flex;
}

.yula-vault-qr-code {
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 170px;
}

.yula-vault-footer-note {
  font-size: 0.72rem;
  color: #64748b;
  text-align: center;
  line-height: 1.5;
}

.yula-vault-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #fff;
  border: 1px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 12px 20px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000005;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.yula-vault-toast.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   DYNAMIC TIME-OF-DAY ATMOSPHERE
   ========================================================================== */
html.yula-time-dawn body {
  --ambient-tint: rgba(251, 146, 60, 0.03);
}
html.yula-time-day body {
  --ambient-tint: rgba(56, 189, 248, 0.02);
}
html.yula-time-dusk body {
  --ambient-tint: rgba(244, 63, 94, 0.03);
}
html.yula-time-night body {
  --ambient-tint: rgba(99, 102, 241, 0.03);
}

/* ==========================================================================
   YULA STUDIOS — WORKSPACE OS & MULTI-TASKING (Bölünmüş Ekran & Çoklu Görev)
   ========================================================================== */
.yula-workspace-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000002;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}
.yula-workspace-overlay.active {
  opacity: 1;
  visibility: visible;
}
.yula-workspace-window {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.yula-workspace-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(13, 16, 26, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
  flex-wrap: wrap;
}
.yula-workspace-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}
.yula-workspace-badge {
  background: linear-gradient(135deg, #ff7a00, #fbbf24);
  color: #000;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: uppercase;
}
.yula-workspace-presets {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.yula-workspace-preset-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}
.yula-workspace-preset-btn:hover {
  background: rgba(255, 122, 0, 0.15);
  border-color: rgba(255, 122, 0, 0.35);
  color: #fbbf24;
}
.yula-workspace-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.yula-workspace-ctrl-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.15s;
}
.yula-workspace-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.yula-workspace-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}
.yula-workspace-ratio-group {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.yula-workspace-ratio-btn {
  background: rgba(255, 255, 255, 0.04);
  border: none;
  color: #94a3b8;
  padding: 4px 8px;
  font-size: 0.72rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.15s;
}
.yula-workspace-ratio-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.yula-workspace-body {
  display: flex;
  flex: 1;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.yula-workspace-pane {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #05070a;
  min-width: 200px;
}
.yula-workspace-pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  color: #64748b;
}
.yula-workspace-pane-header a {
  color: #94a3b8;
  text-decoration: none;
}
.yula-workspace-pane-header a:hover {
  color: #38bdf8;
}
.yula-workspace-pane iframe {
  flex: 1;
  width: 100%;
  border: none;
  background: #090d16;
}
.yula-workspace-divider {
  width: 8px;
  background: rgba(255, 255, 255, 0.05);
  cursor: col-resize;
  transition: background 0.15s;
  position: relative;
  z-index: 10;
}
.yula-workspace-divider:hover {
  background: rgba(56, 189, 248, 0.4);
}

/* ==========================================================================
   YULA STUDIOS — PIPELINE & MACRO AUTOMATOR (Otomatör Motoru)
   ========================================================================== */
.yula-automator-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 1000003;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}
.yula-automator-overlay.active {
  opacity: 1;
  visibility: visible;
}
.yula-automator-modal {
  width: 100%;
  max-width: 600px;
  background: rgba(13, 16, 26, 0.96);
  border: 1px solid rgba(255, 122, 0, 0.35);
  border-radius: 22px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 122, 0, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.yula-automator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.yula-automator-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.yula-automator-header-title i {
  font-size: 1.3rem;
  color: #ff7a00;
}
.yula-automator-header-title h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.yula-automator-header-title p {
  margin: 2px 0 0;
  font-size: 0.75rem;
  color: #94a3b8;
}
.yula-automator-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.15s;
}
.yula-automator-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}
.yula-automator-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 75vh;
  overflow-y: auto;
}
.yula-automator-tabs {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.yula-macro-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.yula-macro-tab.active {
  background: rgba(255, 122, 0, 0.2);
  color: #fbbf24;
}
.yula-macro-panel {
  display: none;
  flex-direction: column;
  gap: 12px;
}
.yula-macro-panel.active {
  display: flex;
}
.yula-macro-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.5;
}
.yula-macro-dropzone {
  background: rgba(255, 255, 255, 0.02);
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.yula-macro-dropzone:hover {
  border-color: #ff7a00;
  background: rgba(255, 122, 0, 0.04);
}
.yula-macro-textarea {
  width: 100%;
  height: 85px;
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #f8fafc;
  padding: 10px 12px;
  font-size: 0.82rem;
  font-family: inherit;
  resize: vertical;
}
.yula-macro-input {
  width: 100%;
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #f8fafc;
  padding: 8px 12px;
  font-size: 0.82rem;
}
.yula-macro-action-btn {
  background: linear-gradient(135deg, #ff7a00, #ea580c);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s;
}
.yula-macro-action-btn:hover {
  transform: translateY(-1px);
}

/* Shared motion language for the home experience: slow enough to feel
   atmospheric, subtle enough to keep the content in command. */
@keyframes yulaHomeAmbient {
  0% { transform: scale(1.005) translate3d(0, 0, 0); }
  100% { transform: scale(1.035) translate3d(-0.6%, -0.35%, 0); }
}

body.project-home .bg-layer.active {
  animation: yulaHomeAmbient 18s ease-in-out infinite alternate;
}

body.project-home .ecosystem-card,
body.project-home .quick-tool-card,
body.project-home .project-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

body.project-home .ecosystem-card:hover,
body.project-home .quick-tool-card:hover,
body.project-home .project-card:hover {
  transform: translateY(-6px);
}

/* Keep the long-form home page light on first paint while preserving the
   existing scroll-reveal and section tracking behavior. */
body.project-home main > section:not(#hero),
body.project-home main > footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

@media (prefers-reduced-data: reduce) {
  body.project-home .bg-layer:not(.active) { display: none; }
  body.project-home .bg-layer.active { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.project-home .bg-layer.active { animation: none !important; }
}

/* Source: home-redesign.css */
/* Yula Studios home — editorial studio shell */
:root {
  --home-ink: #f7fafc;
  --home-muted: #a5b4c7;
  --home-panel: rgba(8, 13, 22, .72);
  --home-panel-strong: rgba(10, 17, 28, .9);
  --home-line: rgba(255, 255, 255, .12);
  --home-orange: #ff9b4a;
  --home-cyan: #69e6e8;
  --home-violet: #b69cff;
}

body.project-home #scroll-progress {
  height: 3px !important;
  background: linear-gradient(90deg, var(--home-orange), var(--home-cyan), var(--home-violet), var(--home-orange)) !important;
  background-size: 240% 100%;
  box-shadow: 0 0 16px rgba(105,230,232,.5);
  animation: progressSpectrum 7s linear infinite;
}

@keyframes progressSpectrum { to { background-position: 240% 0; } }

body.project-home {
  background: #05070d;
  color: var(--home-ink);
}

body.project-home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 155, 74, .15), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(105, 230, 232, .12), transparent 25%),
    linear-gradient(180deg, rgba(4, 7, 14, .12), rgba(4, 7, 14, .9) 75%, #05070d);
}

body.project-home #global-bg-container {
  opacity: .72;
  filter: saturate(.82) contrast(1.05);
}

body.project-home #global-bg-container::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, .76), transparent 40%, rgba(5, 7, 13, .34)),
    linear-gradient(180deg, rgba(5, 7, 13, .08), rgba(5, 7, 13, .88));
}

body.project-home .nav {
  background: rgba(5, 8, 15, .7) !important;
  border-bottom-color: rgba(255, 255, 255, .1) !important;
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
}

body.project-home .nav.scrolled {
  box-shadow: 0 14px 38px rgba(0,0,0,.2), inset 0 -1px 0 rgba(105,230,232,.12);
}

body.project-home .nav-inner {
  min-height: 74px;
}

body.project-home .nav-logo {
  letter-spacing: .12em;
}

/* Primary navigation polish: one calm bar, clear destinations, no visual noise. */
body.project-home .nav-inner {
  padding-inline: 18px;
}

body.project-home .nav-logo {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: color .2s ease, transform .2s ease;
}

body.project-home .nav-logo:hover {
  transform: translateY(-1px);
}

body.project-home .nav-logo-icon img {
  border: 0 !important;
  box-shadow: none !important;
}

body.project-home .nav-links {
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 17px;
  background: rgba(3,7,13,.42);
}

body.project-home .nav-links > li > a,
body.project-home .nav-spotlight-pill,
body.project-home .nav-sound-toggle,
body.project-home .nav-lang-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #b9c7d9;
  font-size: .8rem;
  letter-spacing: .025em;
}

body.project-home .nav-links > li > a::after { display: none; }
body.project-home .nav-links > li > a:hover,
body.project-home .nav-spotlight-pill:hover,
body.project-home .nav-sound-toggle:hover,
body.project-home .nav-lang-btn:hover {
  color: #f7fbff !important;
  border-color: rgba(105,230,232,.24);
  background: rgba(105,230,232,.09);
}

body.project-home .nav-item-dropdown:hover .nav-dropdown-toggle {
  color: #f7fbff;
  background: rgba(255,255,255,.07);
}

body.project-home .nav-dropdown-menu {
  top: calc(100% + 12px);
  right: 0;
  width: min(440px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background: rgba(9,15,25,.96);
  box-shadow: 0 22px 60px rgba(0,0,0,.44), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}

body.project-home .dropdown-item {
  gap: 12px;
  padding: 12px;
  border-radius: 13px;
}

body.project-home .dropdown-item:hover {
  background: rgba(105,230,232,.08);
}

body.project-home .nav-cta {
  min-height: 40px;
  padding-inline: 16px;
  border: 1px solid rgba(255,155,74,.52);
  border-radius: 11px;
  background: linear-gradient(135deg, #ffab5b, #e86d39) !important;
  box-shadow: 0 8px 20px rgba(232,109,57,.2);
}

body.project-home .nav-cta:hover {
  box-shadow: 0 12px 28px rgba(232,109,57,.34);
}

body.project-home .nav-links button:focus-visible,
body.project-home .nav-links a:focus-visible,
body.project-home .nav-logo:focus-visible,
body.project-home .hamburger:focus-visible {
  outline: 3px solid rgba(105,230,232,.72);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  body.project-home .nav-links { gap: 2px; }
  body.project-home .nav-links > li > a,
  body.project-home .nav-spotlight-pill,
  body.project-home .nav-sound-toggle,
  body.project-home .nav-lang-btn { padding-inline: 9px; font-size: .76rem; }
  body.project-home .nav-logo { font-size: 1rem; }
}

@media (max-width: 760px) {
  body.project-home .nav-inner { padding-inline: 12px; }
  body.project-home .nav-logo-icon { width: 29px !important; height: 29px !important; }
}

@media (prefers-reduced-data: reduce) {
  body.project-home #embers-canvas,
  body.project-home #hero-canvas { display: none !important; }
}

body.project-home #hero {
  min-height: min(820px, calc(100vh - 74px));
  padding: clamp(72px, 8vw, 112px) 20px clamp(58px, 6vw, 84px);
  display: grid;
  place-items: center;
  isolation: isolate;
  perspective: 1400px;
}

/* Lively 3D studio atmosphere: layered depth without stealing focus from the CTA. */
body.project-home #hero::before,
body.project-home #hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(105,230,232,.16);
  border-radius: 50%;
  transform: translateZ(0);
  animation: homeOrbit 18s ease-in-out infinite;
}

body.project-home #hero::before {
  width: min(58vw, 760px);
  height: min(58vw, 760px);
  right: -16vw;
  top: 10%;
  box-shadow: 0 0 100px rgba(105,230,232,.08), inset 0 0 80px rgba(182,156,255,.05);
}

body.project-home #hero::after {
  width: min(32vw, 430px);
  height: min(32vw, 430px);
  left: -10vw;
  bottom: 5%;
  border-color: rgba(255,155,74,.14);
  animation-delay: -8s;
}

@keyframes homeOrbit {
  0%, 100% { transform: translate3d(0,0,0) rotate(0deg) scale(1); opacity: .55; }
  50% { transform: translate3d(0,-18px,0) rotate(8deg) scale(1.04); opacity: 1; }
}

/* Ultra motion atmosphere: two soft light bodies move behind the content in GPU space. */
body.project-home #hero {
  background:
    radial-gradient(circle at 18% 78%, rgba(255,155,74,.09), transparent 25%),
    radial-gradient(circle at 82% 20%, rgba(105,230,232,.1), transparent 28%);
  background-size: 130% 130%;
  animation: heroAurora 18s ease-in-out infinite alternate;
}

body.project-home .hero-bg::before,
body.project-home .hero-bg::after {
  content: "";
  position: absolute;
  width: min(34vw, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
  opacity: .42;
  mix-blend-mode: screen;
}

body.project-home .hero-bg::before {
  top: 8%; right: 2%;
  background: radial-gradient(circle at 35% 35%, rgba(105,230,232,.3), rgba(105,230,232,.08) 28%, transparent 68%);
  animation: heroOrbCyan 12s ease-in-out infinite;
}

body.project-home .hero-bg::after {
  left: -3%; bottom: 2%;
  background: radial-gradient(circle at 65% 38%, rgba(255,155,74,.28), rgba(182,156,255,.08) 30%, transparent 68%);
  animation: heroOrbWarm 15s ease-in-out -4s infinite;
}

@keyframes heroAurora { from { background-position: 0% 20%; } to { background-position: 100% 78%; } }
@keyframes heroOrbCyan {
  0%, 100% { transform: translate3d(0,0,0) scale(.82); opacity: .2; }
  50% { transform: translate3d(-8%,12%,0) scale(1.14); opacity: .52; }
}
@keyframes heroOrbWarm {
  0%, 100% { transform: translate3d(0,0,0) scale(.9); opacity: .18; }
  50% { transform: translate3d(13%,-10%,0) scale(1.12); opacity: .48; }
}

body.project-home .hero-bg {
  opacity: .42;
  transform: scale(1.04) translateZ(0);
  filter: saturate(.68) contrast(1.12);
  animation: heroDepth 22s ease-in-out infinite alternate;
}

@keyframes heroDepth {
  from { transform: scale(1.04) translate3d(-.4%, 0, 0); }
  to { transform: scale(1.1) translate3d(.6%, -1%, 0); }
}

body.project-home .hero-gradient-bottom {
  background: linear-gradient(180deg, transparent 42%, #05070d 100%) !important;
}

body.project-home .hero-content {
  width: min(1120px, 100%);
  padding: clamp(16px, 1.8vw, 24px);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.07), transparent 32%), rgba(7, 12, 21, .55);
  box-shadow: 0 32px 100px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  transform: perspective(1400px) rotateX(1.5deg) translateZ(0);
  transform-origin: center center;
  transform-style: preserve-3d;
  will-change: transform;
  animation: heroPanelIn .9s cubic-bezier(.16,1,.3,1) both, heroPanelFloat 10s ease-in-out 1s infinite;
}

/* Oyun, ana sayfada ekosistemin görünür ve oynanabilir odağı. */
body.project-home .hero-game-cta {
  background:linear-gradient(135deg,#ef4444,#991b1b) !important;
  color:#fff !important;
  border:1px solid rgba(248,113,113,.58) !important;
  box-shadow:0 8px 30px rgba(220,38,38,.3) !important;
}
body.project-home .hero-game-cta:hover { box-shadow:0 12px 38px rgba(248,113,113,.46) !important; transform:translateY(-3px); }
body.project-home .hero-game-spotlight {
  width:min(600px,100%); display:flex; align-items:center; gap:14px; margin:1rem auto 0; padding:13px 16px;
  color:#ffe4e6; text-align:left; text-decoration:none; border:1px solid rgba(248,113,113,.32); border-radius:18px;
  background:linear-gradient(105deg,rgba(127,29,29,.42),rgba(13,16,26,.72)); box-shadow:0 14px 34px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter:blur(16px); transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
body.project-home .hero-game-spotlight:hover { transform:translateY(-3px) scale(1.01); border-color:rgba(248,113,113,.7); box-shadow:0 18px 42px rgba(127,29,29,.3), inset 0 1px rgba(255,255,255,.11); }
body.project-home .hero-game-trailer {
  width:min(600px,100%); display:flex; align-items:center; gap:14px; margin:.55rem auto 0; padding:11px 16px;
  color:#f7e7c4; text-align:left; text-decoration:none; border:1px solid rgba(216,169,80,.28); border-radius:16px;
  background:linear-gradient(105deg,rgba(42,28,15,.48),rgba(13,16,26,.58)); box-shadow:0 10px 26px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.06);
  backdrop-filter:blur(14px); transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
body.project-home .hero-game-trailer:hover { transform:translateY(-3px); border-color:rgba(245,198,109,.72); box-shadow:0 16px 34px rgba(80,47,18,.28), inset 0 1px rgba(255,255,255,.1); }
.hero-trailer-play { display:grid; place-items:center; width:32px; height:32px; flex:0 0 32px; border:1px solid rgba(245,198,109,.5); border-radius:50%; color:#f6c56d; font-size:12px; padding-left:2px; animation:trailerPlayPulse 2.8s ease-in-out infinite; }
.hero-game-trailer b { display:block; color:#f6d895; font-size:.72rem; letter-spacing:.12em; }
.hero-game-trailer small { display:block; margin-top:3px; color:#b9ad98; font-size:.72rem; }
@keyframes trailerPlayPulse { 0%,100% { box-shadow:0 0 0 rgba(245,198,109,0); } 50% { box-shadow:0 0 20px rgba(245,198,109,.24); } }
.hero-game-sigil { display:grid; place-items:center; width:36px; height:36px; flex:0 0 36px; border:1px solid rgba(248,113,113,.48); border-radius:12px; color:#fca5a5; font-size:20px; animation:gameSigilPulse 3.8s ease-in-out infinite; }
.hero-game-spotlight b { display:block; color:#fecaca; font-size:.78rem; letter-spacing:.12em; }
.hero-game-spotlight small { display:block; margin-top:3px; color:#cbd5e1; font-size:.75rem; }
.hero-game-arrow { margin-left:auto; color:#fca5a5; font-size:1.35rem; }
@keyframes gameSpotlightIn { from { opacity:0; transform:translateY(12px) scale(.98); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes gameSigilPulse { 0%,100% { box-shadow:0 0 0 rgba(248,113,113,0); } 50% { box-shadow:0 0 22px rgba(248,113,113,.3); } }
@media (max-width:600px) {
  body.project-home .hero-game-spotlight { padding:12px; }
  .hero-game-spotlight b { font-size:.69rem; }
  .hero-game-spotlight small { font-size:.68rem; line-height:1.35; }
}
@media (prefers-reduced-motion:reduce) {
  body.project-home .hero-game-spotlight, body.project-home .hero-game-trailer, .hero-game-sigil, .hero-trailer-play { animation:none !important; }
}



/* Premium motion layer: a slow light sweep and a depth grid make the hero feel alive
   without turning the content into a distracting animation demo. */
body.project-home .hero-content::before,
body.project-home .hero-content::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  border-radius: inherit;
}

body.project-home .hero-content::before {
  inset: 1px;
  background: linear-gradient(112deg, transparent 18%, rgba(105,230,232,.12) 38%, rgba(255,155,74,.14) 48%, transparent 65%);
  background-size: 220% 100%;
  mix-blend-mode: screen;
  opacity: .5;
  animation: heroLightSweep 8s ease-in-out infinite;
}

body.project-home .hero-content::after {
  inset: auto 8% -26px;
  height: 58px;
  background: radial-gradient(ellipse, rgba(105,230,232,.25), transparent 68%);
  filter: blur(14px);
  opacity: .55;
  animation: heroShadowPulse 5s ease-in-out infinite;
}

/* Graphic upgrade: a restrained holographic emblem and a perspective floor give the
   hero a real visual stage while keeping the copy sharp and readable. */
body.project-home .hero-logo-container {
  width: 96px;
  height: 96px;
  margin: 0 auto .8rem;
  position: relative;
  isolation: isolate;
  filter: drop-shadow(0 18px 32px rgba(255,155,74,.16));
}

body.project-home .hero-logo-container::before,
body.project-home .hero-logo-container::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  z-index: -1;
}

body.project-home .hero-logo-container::before {
  inset: -13px;
  border: 1px solid transparent;
  background: conic-gradient(from 0deg, rgba(255,155,74,.08), rgba(255,155,74,.85), rgba(105,230,232,.75), rgba(182,156,255,.14), rgba(255,155,74,.08)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: logoRingSpin 11s linear infinite;
}

body.project-home .hero-logo-container::after {
  inset: -30px;
  background: radial-gradient(circle, rgba(255,155,74,.2), rgba(105,230,232,.08) 34%, transparent 70%);
  filter: blur(12px);
  animation: logoHalo 4s ease-in-out infinite;
}

@keyframes logoRingSpin { to { transform: rotate(360deg); } }
@keyframes logoHalo {
  0%, 100% { transform: scale(.86); opacity: .34; }
  50% { transform: scale(1.14); opacity: .82; }
}

body.project-home .hero-gradient-bottom::before {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -52%;
  height: 125%;
  pointer-events: none;
  transform: perspective(520px) rotateX(62deg) translateZ(0);
  transform-origin: center bottom;
  background-image:
    linear-gradient(rgba(105,230,232,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,155,74,.1) 1px, transparent 1px);
  background-size: 54px 42px;
  opacity: .18;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 72%);
  mask-image: linear-gradient(to top, #000 0%, transparent 72%);
  animation: floorGridDrift 12s linear infinite;
}

@keyframes floorGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 42px, 54px 0; }
}

@keyframes heroLightSweep {
  0%, 18% { background-position: 130% 0; opacity: .18; }
  48%, 70% { background-position: 0% 0; opacity: .62; }
  100% { background-position: -120% 0; opacity: .12; }
}

@keyframes heroShadowPulse {
  0%, 100% { transform: scaleX(.86); opacity: .34; }
  50% { transform: scaleX(1.08); opacity: .7; }
}

body.project-home .hero-logo-container {
  animation: heroLogoLift 5s ease-in-out .6s infinite;
  transform-origin: 50% 85%;
  translate: var(--hero-parallax-x, 0px) var(--hero-parallax-y, 0px);
  transition: translate .25s cubic-bezier(.16,1,.3,1);
}

@keyframes heroLogoLift {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

body.project-home .hero-badge,
body.project-home .hero-live-badge {
  animation: badgeBreath 4.5s ease-in-out infinite;
}

body.project-home .hero-live-badge:nth-child(2) { animation-delay: -.9s; }
body.project-home .hero-live-badge:nth-child(3) { animation-delay: -1.8s; }
body.project-home .hero-live-badge:nth-child(4) { animation-delay: -2.7s; }

@keyframes badgeBreath {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 rgba(105,230,232,0); }
  50% { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(105,230,232,.12); }
}

body.project-home .hero-search-wrap > div:first-child {
  position: relative;
  overflow: hidden;
}

body.project-home .hero-search-wrap > div:first-child::after {
  content: "";
  position: absolute;
  top: 0;
  left: -34%;
  width: 24%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
  transform: skewX(-18deg);
  animation: searchGlint 6.5s ease-in-out 1.8s infinite;
}

@keyframes searchGlint {
  0%, 45% { left: -34%; opacity: 0; }
  56% { opacity: 1; }
  72%, 100% { left: 120%; opacity: 0; }
}

body.project-home .hero-buttons .btn-primary {
  animation: primaryCtaPulse 4s ease-in-out 2.2s infinite;
}

@keyframes primaryCtaPulse {
  0%, 74%, 100% { box-shadow: 0 12px 28px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.1); }
  82% { box-shadow: 0 15px 36px rgba(255,155,74,.22), 0 0 0 5px rgba(255,155,74,.07), inset 0 1px 0 rgba(255,255,255,.14); }
}

body.project-home .project-card,
body.project-home .tool-card,
body.project-home .stat-card {
  will-change: transform;
}

body.project-home .project-card::before,
body.project-home .tool-card::before,
body.project-home .stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255,255,255,.12), transparent 28% 72%, rgba(105,230,232,.06));
  opacity: .35;
  transition: opacity .3s ease;
}

body.project-home .project-card:hover::before,
body.project-home .tool-card:hover::before,
body.project-home .stat-card:hover::before { opacity: .8; }

@keyframes heroPanelIn {
  from { opacity: 0; transform: perspective(1400px) rotateX(5deg) translateY(18px) scale(.985); }
  to { opacity: 1; transform: perspective(1400px) rotateX(1.5deg) translateY(0) scale(1); }
}

@keyframes heroPanelFloat {
  0%, 100% { transform: perspective(1400px) rotateX(1.5deg) rotateY(0deg) translateY(0); }
  50% { transform: perspective(1400px) rotateX(1.5deg) rotateY(-.5deg) translateY(-5px); }
}

@keyframes heroFramePulse {
  0%, 100% { border-color: rgba(255,255,255,.13); box-shadow: 0 32px 100px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.1); }
  50% { border-color: rgba(105,230,232,.24); box-shadow: 0 38px 110px rgba(0,0,0,.52), 0 0 70px rgba(105,230,232,.07), inset 0 1px 0 rgba(255,255,255,.16); }
}

body.project-home .hero-content {
  animation: heroPanelIn .9s cubic-bezier(.16,1,.3,1) both, heroPanelFloat 10s ease-in-out 1s infinite, heroFramePulse 6s ease-in-out 2s infinite;
}

body.project-home .hero-title {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: clamp(3.8rem, 10vw, 8rem) !important;
  font-weight: 900 !important;
  line-height: .96 !important;
  letter-spacing: -.09em !important;
  padding: .08em .04em .14em;
  overflow: visible !important;
  text-wrap: balance;
}

body.project-home .hero-title .yula {
  background: linear-gradient(135deg, #fff6e9 12%, var(--home-orange) 62%, #ef6e35);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-inline: .025em;
  text-shadow: 0 14px 42px rgba(255,155,74,.16);
  animation: titleGlow 6s ease-in-out infinite, titleFloat 7s ease-in-out .9s infinite;
  transform-origin: 50% 70%;
}

@keyframes titleGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255,155,74,0)); }
  50% { filter: drop-shadow(0 12px 26px rgba(255,155,74,.18)); }
}

@keyframes titleFloat {
  0%, 100% { transform: translate3d(0,0,0) rotateX(0deg) rotateZ(0deg); }
  50% { transform: translate3d(0,-5px,0) rotateX(2deg) rotateZ(-.35deg); }
}

body.project-home .hero-title .studios {
  display: block;
  margin-top: .12em;
  color: #edf5ff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .26em;
  font-weight: 700;
  letter-spacing: .42em;
  line-height: 1;
  padding-left: .42em;
  text-transform: uppercase;
  animation: studioReveal 1.1s cubic-bezier(.16,1,.3,1) 1.35s both, studioBreath 5s ease-in-out 2.8s infinite;
}

body.project-home .hero-title {
  position: relative;
  isolation: isolate;
  translate: var(--hero-parallax-x, 0px) var(--hero-parallax-y, 0px);
  transition: translate .2s cubic-bezier(.16,1,.3,1);
}

body.project-home .hero-live-badge,
body.project-home .hero-badge,
body.project-home .hero-slogan,
body.project-home .hero-desc,
body.project-home .hero-search-wrap,
body.project-home .hero-buttons {
  translate: var(--hero-parallax-x, 0px) var(--hero-parallax-y, 0px);
  transition: translate .3s cubic-bezier(.16,1,.3,1);
}

body.project-home .hero-live-badge { transform: translateZ(16px); }
body.project-home .hero-title { transform: translateZ(34px); }
body.project-home .hero-search-wrap { transform: translateZ(20px); }
body.project-home .hero-buttons { transform: translateZ(14px); }

body.project-home .hero-title::after {
  content: "";
  display: block;
  width: min(220px, 34vw);
  height: 2px;
  margin: clamp(18px, 2.5vw, 28px) auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--home-orange), var(--home-cyan), transparent);
  box-shadow: 0 0 22px rgba(105,230,232,.38);
  transform-origin: center;
  animation: titleLineScan 4.8s ease-in-out 2.4s infinite;
}

@keyframes titleLineScan {
  0%, 100% { transform: scaleX(.42); opacity: .32; filter: blur(.5px); }
  50% { transform: scaleX(1); opacity: 1; filter: blur(0); }
}

body.project-home .hero-title .yula::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.7) 48%, transparent 60%);
  background-size: 220% 100%;
  mix-blend-mode: overlay;
  animation: titleGloss 7s ease-in-out 2.8s infinite;
}

/* Keep the gloss inside the gradient text itself; never paint a rectangular overlay. */
body.project-home .hero-title .yula {
  background-image: linear-gradient(105deg, #fff6e9 0%, var(--home-orange) 36%, #fff4df 49%, #ef6e35 65%, #fff6e9 100%);
  background-size: 220% 100%;
  animation: titleGlow 6s ease-in-out infinite, titleFloat 7s ease-in-out .9s infinite, titleSurfaceGloss 7s ease-in-out 2.8s infinite;
}

body.project-home .hero-title .yula::after { display: none; }

@keyframes titleSurfaceGloss {
  0%, 58% { background-position: 130% 0; }
  72%, 100% { background-position: -120% 0; }
}

body.project-home .hero-title .yula {
  animation: titleGlow 6s ease-in-out infinite, titleFloat 7s ease-in-out .9s infinite, titleSurfaceGloss 7s ease-in-out 2.8s infinite, titleDepth 5s ease-in-out 2s infinite;
}

@keyframes titleDepth {
  0%, 100% { text-shadow: 0 14px 42px rgba(255,155,74,.16), 0 0 0 rgba(105,230,232,0); }
  50% { text-shadow: 0 18px 46px rgba(255,155,74,.25), 0 0 24px rgba(105,230,232,.16); }
}

@keyframes titleGloss {
  0%, 58% { background-position: 130% 0; opacity: 0; }
  66% { opacity: .9; }
  78%, 100% { background-position: -120% 0; opacity: 0; }
}

@keyframes studioReveal {
  from { opacity: 0; letter-spacing: .8em; transform: translateY(10px); filter: blur(5px); }
  to { opacity: .92; letter-spacing: .42em; transform: translateY(0); filter: blur(0); }
}

@keyframes studioBreath {
  0%, 100% { opacity: .78; text-shadow: 0 0 0 rgba(105,230,232,0); }
  50% { opacity: 1; text-shadow: 0 0 22px rgba(105,230,232,.28); }
}

body.project-home .hero-slogan {
  animation: sloganRise 1s cubic-bezier(.16,1,.3,1) 1.7s both, sloganGlow 6s ease-in-out 3.1s infinite;
}

@keyframes sloganRise {
  from { opacity: 0; transform: translateY(18px); letter-spacing: .02em; }
  to { opacity: 1; transform: translateY(0); letter-spacing: .08em; }
}

@keyframes sloganGlow {
  0%, 100% { text-shadow: 0 0 0 rgba(255,155,74,0); }
  50% { text-shadow: 0 0 26px rgba(255,155,74,.2); }
}

body.project-home .hero-desc {
  animation: none;
  opacity: 1;
  transform: none;
  filter: none;
}

@keyframes copyRise {
  from { opacity: 0; transform: translateY(14px); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

body.project-home .hero-slogan {
  max-width: 720px;
  margin-inline: auto;
  color: #e4edf7;
  font-size: clamp(1.12rem, 2.1vw, 1.46rem);
  line-height: 1.45;
}

body.project-home .hero-desc {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.72;
}

body.project-home .hero-search-wrap > div:first-child {
  min-height: 58px;
  background: rgba(4, 9, 16, .82) !important;
  border-color: rgba(105, 230, 232, .34) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.1) !important;
}

body.project-home .hero-buttons {
  gap: 12px !important;
}

body.project-home .hero-buttons .btn-primary,
body.project-home .hero-buttons .btn-secondary {
  min-height: 48px;
  border-radius: 14px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

body.project-home .hero-buttons .btn-primary:hover,
body.project-home .hero-buttons .btn-secondary:hover {
  transform: translateY(-2px);
}

body.project-home .hero-pill-link,
body.project-home .hero-pill-lucky {
  animation: pillHover 6s ease-in-out infinite;
}
body.project-home .hero-pill-link:nth-child(2) { animation-delay: -.7s; }
body.project-home .hero-pill-link:nth-child(3) { animation-delay: -1.4s; }
body.project-home .hero-pill-link:nth-child(4) { animation-delay: -2.1s; }
body.project-home .hero-pill-lucky { animation-delay: -2.8s; }
@keyframes pillHover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

body.project-home .hero-buttons .btn-primary,
body.project-home .hero-buttons .btn-secondary,
body.project-home .hero-pill-link,
body.project-home .hero-pill-lucky {
  transform: translateZ(0);
  box-shadow: 0 12px 28px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.1);
}

body.project-home .project-card,
body.project-home .tool-card,
body.project-home .stat-card {
  transform: perspective(900px) translateZ(0);
  transition: transform .28s cubic-bezier(.16,1,.3,1), border-color .28s ease, box-shadow .28s ease;
}

body.project-home .project-card:hover,
body.project-home .tool-card:hover,
body.project-home .stat-card:hover {
  transform: perspective(900px) translateY(-7px) rotateX(1deg) rotateY(-1deg);
}

/* Product spotlight: make the playable project and the tool suite easy to find. */
body.project-home #apps .app-card:first-child {
  grid-column: span 2;
}
body.project-home #apps .app-card:last-child {
  grid-column: span 2;
  border-color: rgba(248,113,113,.62) !important;
  background:
    radial-gradient(circle at 82% 12%, rgba(248,113,113,.18), transparent 34%),
    linear-gradient(145deg, rgba(75,22,25,.76), rgba(10,15,24,.94)) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.34), 0 0 34px rgba(248,113,113,.09), inset 0 1px rgba(255,255,255,.1);
}
body.project-home #apps .app-card:last-child::after {
  content: "YENİ · MOBİLDE OYNA";
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 9px;
  border: 1px solid rgba(248,113,113,.38);
  border-radius: 999px;
  color: #fecaca;
  background: rgba(127,29,29,.26);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
}
body.project-home #apps .app-card:last-child a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding-inline: 12px;
  border: 1px solid rgba(248,113,113,.35);
  border-radius: 10px;
  background: rgba(248,113,113,.1);
}
body.project-home #apps .app-card:first-child a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding-inline: 12px;
  border: 1px solid rgba(251,191,36,.3);
  border-radius: 10px;
  background: rgba(251,191,36,.1);
}

body.project-home .hero-pill-link,
body.project-home .hero-pill-lucky {
  border-color: rgba(255,255,255,.13) !important;
  background: rgba(8, 14, 24, .62) !important;
  color: #cbd8e8 !important;
  backdrop-filter: blur(10px);
}

body.project-home #about,
body.project-home #ecosystem,
body.project-home #quick-tools,
body.project-home #contact {
  position: relative;
}

body.project-home .section-container,
body.project-home .section-inner {
  position: relative;
}

body.project-home .section-tag,
body.project-home .section-label {
  color: var(--home-orange) !important;
}

body.project-home .reveal > h2,
body.project-home #ecosystem h2,
body.project-home #quick-tools h2 {
  letter-spacing: -.045em !important;
}

body.project-home .stat-card,
body.project-home .project-card,
body.project-home .tool-card,
body.project-home .home-tool-demo,
body.project-home .newsletter-card,
body.project-home .contact-form {
  border-color: var(--home-line) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.055), transparent 40%), var(--home-panel) !important;
  box-shadow: 0 22px 70px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.07);
}

body.project-home .project-card:hover,
body.project-home .tool-card:hover,
body.project-home .stat-card:hover {
  border-color: rgba(105,230,232,.38) !important;
  box-shadow: 0 26px 70px rgba(0,0,0,.32), 0 0 30px rgba(105,230,232,.08);
}

body.project-home input,
body.project-home textarea,
body.project-home select {
  border-color: rgba(255,255,255,.16) !important;
  background: rgba(3, 8, 15, .72) !important;
}

/* Performance guardrails: keep the premium look while limiting paint and layout work. */
body.project-home .bento-card,
body.project-home .app-card,
body.project-home .why-card,
body.project-home .blog-card,
body.project-home .tech-item {
  transform-style: preserve-3d;
  transition: transform .36s cubic-bezier(.16,1,.3,1), box-shadow .36s ease, border-color .36s ease;
}

body.project-home .app-card:hover,
body.project-home .why-card:hover,
body.project-home .blog-card:hover,
body.project-home .tech-item:hover {
  transform: perspective(900px) translateY(-8px) rotateX(1deg) rotateY(-1deg) translateZ(5px);
  border-color: rgba(105,230,232,.35) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,.34), 0 0 32px rgba(105,230,232,.08) !important;
}

body.project-home .section-tag {
  position: relative;
  text-shadow: 0 0 18px rgba(255,155,74,.2);
}

body.project-home .section-tag::after {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  margin-left: 10px;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--home-orange), transparent);
  animation: sectionSignal 3.8s ease-in-out infinite;
}

@keyframes sectionSignal {
  0%, 100% { width: 18px; opacity: .35; }
  50% { width: 48px; opacity: 1; }
}

body.project-home #hero,
body.project-home .hero-content,
body.project-home .hero-bg {
  contain: layout paint;
}

body.project-home .hero-bg,
body.project-home .hero-bg::before,
body.project-home .hero-bg::after,
body.project-home #hero::before,
body.project-home #hero::after,
body.project-home .hero-logo-container::before,
body.project-home .hero-logo-container::after,
body.project-home .hero-gradient-bottom::before {
  will-change: transform, opacity;
}

body.project-home .hero-bg,
body.project-home .hero-gradient-bottom,
body.project-home .hero-bg canvas {
  pointer-events: none;
}

body.project-home .hero-bg canvas {
  contain: strict;
}

body.project-home .hero-title .yula {
  will-change: transform, filter, background-position;
}

@media (max-width: 760px) {
  body.project-home { overflow-x: hidden; }
  body.project-home main > section { contain: paint; }
  body.project-home #apps .app-card:first-child,
  body.project-home #apps .app-card:last-child { grid-column: auto; }
  body.project-home #apps .app-card:last-child::after { top: 10px; right: 10px; font-size: .56rem; }
  body.project-home #apps .app-card { min-width: 0; padding: 1.35rem 1rem; }
  body.project-home #apps .app-card h3 { font-size: 1rem; }
  body.project-home #apps .app-card p { font-size: .84rem; }
  body.project-home #apps .app-card a { min-height: 44px; }
  /* Mobile performance budget: keep the atmosphere, remove continuous paint work. */
  body.project-home #global-bg-container,
  body.project-home .nav,
  body.project-home .hero-search-wrap > div:first-child,
  body.project-home .hero-badge,
  body.project-home .hero-live-badge,
  body.project-home .hero-pill-link,
  body.project-home .hero-pill-lucky {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body.project-home #global-bg-container {
    filter: none;
    transform: none;
    transition: none;
  }
  body.project-home #global-bg-container .bg-layer {
    transition: opacity .35s ease;
    transform: none;
    filter: brightness(.72) saturate(.94);
    will-change: opacity;
  }
  body.project-home #embers-canvas,
  body.project-home #hero-canvas {
    display: none;
  }
  body.project-home .hero-bg::before,
  body.project-home .hero-bg::after,
  body.project-home #hero::before,
  body.project-home #hero::after,
  body.project-home .hero-content::before,
  body.project-home .hero-content::after,
  body.project-home .hero-logo-container::before,
  body.project-home .hero-logo-container::after,
  body.project-home .hero-gradient-bottom::before {
    animation: none !important;
  }
  body.project-home .hero-logo-container::before,
  body.project-home .hero-logo-container::after,
  body.project-home .hero-gradient-bottom::before {
    display: none;
  }
  body.project-home .mascot-avatar,
  body.project-home .mascot-avatar::before {
    animation: none !important;
  }
  body.project-home .mascot-speech {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(12, 15, 23, .96) !important;
  }
  body.project-home .hero-bg canvas {
    display: none;
  }
  body.project-home .hero-bg::before,
  body.project-home .hero-bg::after { opacity: .22; filter: blur(1px); }
  body.project-home .hero-content::before { opacity: .28; }
  body.project-home .hero-logo-container::after { filter: blur(8px); }
  body.project-home .hero-gradient-bottom::before { opacity: .1; background-size: 44px 34px; }
  body.project-home .hero-bg canvas { opacity: .82; }
  body.project-home #hero { padding: 58px 12px 58px; }
  body.project-home .hero-content { border-radius: 22px; padding: 18px 14px 24px; transform: none; animation: heroPanelIn .7s cubic-bezier(.16,1,.3,1) both; }
  body.project-home .hero-title { font-size: clamp(3.2rem, 17vw, 6rem) !important; line-height: .98 !important; letter-spacing: -.08em !important; }
  body.project-home .hero-title .studios { font-size: .25em; letter-spacing: .3em; padding-left: .3em; }
  body.project-home .hero-desc { font-size: .98rem; }
  body.project-home .hero-search-wrap > div:first-child { border-radius: 18px !important; padding-inline: 14px !important; }
  body.project-home .hero-search-wrap kbd { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.project-home #scroll-progress { animation: none !important; }
  body.project-home #hero,
  body.project-home .hero-bg::before,
  body.project-home .hero-bg::after,
  body.project-home #hero::before,
  body.project-home #hero::after,
  body.project-home .hero-bg,
  body.project-home .hero-content,
  body.project-home .hero-title .yula,
  body.project-home .hero-pill-link,
  body.project-home .hero-pill-lucky { animation: none !important; }
  body.project-home .hero-title .studios,
  body.project-home .hero-slogan,
  body.project-home .hero-desc { animation: none !important; }
  body.project-home .hero-title::after,
  body.project-home .hero-title .yula::after { animation: none !important; }
  body.project-home .hero-content::before,
  body.project-home .hero-content::after,
  body.project-home .hero-logo-container::before,
  body.project-home .hero-logo-container::after,
  body.project-home .hero-gradient-bottom::before,
  body.project-home .hero-logo-container,
  body.project-home .hero-badge,
  body.project-home .hero-live-badge,
  body.project-home .hero-search-wrap > div:first-child::after,
  body.project-home .hero-buttons .btn-primary { animation: none !important; }
  body.project-home .section-tag::after { animation: none !important; }
  body.project-home .app-card,
  body.project-home .why-card,
  body.project-home .blog-card,
  body.project-home .tech-item { transition: none !important; }
  body.project-home .hero-content { transform: none !important; }
  body.project-home .hero-logo-container,
  body.project-home .hero-title,
  body.project-home .hero-live-badge,
  body.project-home .hero-badge,
  body.project-home .hero-slogan,
  body.project-home .hero-desc,
  body.project-home .hero-search-wrap,
  body.project-home .hero-buttons { translate: none !important; }
  body.project-home .hero-buttons .btn-primary,
  body.project-home .hero-buttons .btn-secondary { transition: none; }
}

@media (prefers-reduced-data: reduce) {
  body.project-home #embers-canvas,
  body.project-home #hero-canvas {
    display: none !important;
  }

  body.project-home .hero-bg,
  body.project-home .hero-bg::before,
  body.project-home .hero-bg::after,
  body.project-home #hero::before,
  body.project-home #hero::after,
  body.project-home .hero-content::before,
  body.project-home .hero-content::after,
  body.project-home .hero-logo-container::before,
  body.project-home .hero-logo-container::after,
  body.project-home .hero-gradient-bottom::before,
  body.project-home .hero-title .yula,
  body.project-home .hero-pill-link,
  body.project-home .hero-pill-lucky {
    animation: none !important;
    transition: none !important;
  }

  body.project-home #global-bg-container {
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Mobile compositor budget: keep overlays crisp without forcing full-screen blur layers. */
@media (max-width: 760px) {
  body.project-home main > section:not(#hero) {
    content-visibility: auto;
    contain-intrinsic-size: auto 560px;
  }

  body.project-home :is(.spotlight-backdrop, #feedbackModal, #hotkeysModal, #yulaGlobalNavModal) {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: rgba(3, 7, 13, .96) !important;
  }

  body.project-home :is(.spotlight-dialog, #feedbackModal > div, #hotkeysModal > div) {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body.project-home .yula-global-dock {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(8, 12, 20, .96) !important;
  }
}

/* Cinematic entry reveal: the loading wordmark resolves into the living site. */
body.project-home #global-bg-container {
  opacity: .76;
  filter: blur(9px) saturate(.86);
  transform: scale(1.035);
  transition: opacity 1.45s ease, filter 1.45s ease, transform 1.75s cubic-bezier(.16,1,.3,1);
}
body.project-home.site-reveal #global-bg-container {
  opacity: 1;
  filter: blur(0) saturate(1);
  transform: scale(1);
}
body.project-home #global-bg-container::after {
  transition: opacity 1.35s ease;
}
body.project-home.site-reveal #global-bg-container::after { opacity: .9; }

/* Higgsfield cinematic key art: art-directed per screen, with restrained veiling
   so the studio story stays visible behind the glass hero panel. */
body.project-home .hero-bg {
  opacity: 1;
  filter: none;
  transform: none;
  animation: none;
  overflow: hidden;
}

body.project-home .hero-key-art,
body.project-home .hero-key-art img,
body.project-home .hero-key-art-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body.project-home .hero-key-art { z-index: 1; display: block; }
body.project-home .hero-key-art img {
  display: block;
  object-fit: cover;
  object-position: center 48%;
  filter: brightness(.78) contrast(1.08) saturate(1.04);
}

body.project-home .hero-key-art-veil {
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(4,7,12,.34) 0%, rgba(4,7,12,.2) 34%, rgba(4,7,12,.4) 72%, rgba(4,7,12,.55) 100%),
    linear-gradient(90deg, rgba(4,7,12,.38), rgba(4,7,12,.08) 44%, rgba(4,7,12,.3)),
    linear-gradient(180deg, rgba(4,7,12,.24), transparent 24%, transparent 58%, rgba(4,7,12,.7));
}

body.project-home .hero-bg::before,
body.project-home .hero-bg::after { display: none; }
body.project-home #hero::before,
body.project-home #hero::after { opacity: .16; }
body.project-home #hero-canvas { z-index: 0; opacity: .12; }
body.project-home .hero-logo-container { width: 78px; height: 78px; margin-bottom: .55rem; }
body.project-home .hero-live-group { margin-bottom: .7rem !important; }
body.project-home .hero-badge { margin-bottom: .7rem; }
body.project-home .hero-title { margin-bottom: .45rem; }
body.project-home .hero-slogan { margin-bottom: .55rem; }
body.project-home .hero-desc { margin: 10px auto .85rem; }
body.project-home .hero-search-wrap { margin: .9rem auto !important; }
body.project-home .hero-content {
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), transparent 32%),
    rgba(7,12,21,.36);
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 28px 84px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(6px) saturate(116%);
  -webkit-backdrop-filter: blur(6px) saturate(116%);
}

body.project-home .hero-desc {
  color: #dbe6f2;
  text-shadow: 0 2px 14px rgba(0,0,0,.72);
}

body.project-home .hero-slogan,
body.project-home .hero-title .studios {
  text-shadow: 0 3px 16px rgba(0,0,0,.72);
}

@media (max-width: 768px) {
  body.project-home #hero { padding: 34px 12px 40px; }

  body.project-home .hero-content {
    padding: 14px 12px 18px;
    border-radius: 22px;
  }

  body.project-home .hero-logo-container {
    width: 78px;
    height: 78px;
    margin-bottom: .5rem;
  }

  body.project-home .hero-live-group {
    gap: 6px !important;
    margin-bottom: .65rem !important;
  }

  body.project-home .hero-live-badge {
    gap: 5px;
    padding: 3px 9px;
    font-size: .61rem;
  }

  body.project-home .hero-badge {
    padding: .34rem .65rem;
    margin-bottom: .65rem;
    font-size: .57rem;
    letter-spacing: .1em;
    white-space: nowrap;
  }

  body.project-home .hero-title {
    font-size: clamp(3rem, 15vw, 5.2rem) !important;
    margin-bottom: .45rem;
  }

  body.project-home .hero-slogan {
    max-width: 340px;
    margin-bottom: .45rem;
    font-size: 1.02rem;
    line-height: 1.34;
  }

  body.project-home .hero-desc {
    margin-top: 8px;
    margin-bottom: .65rem;
    font-size: .91rem;
    line-height: 1.52;
  }

  body.project-home .hero-search-wrap {
    margin: .72rem auto !important;
  }

  body.project-home .hero-buttons {
    gap: .5rem !important;
    margin-bottom: .6rem;
  }

  body.project-home .hero-buttons .btn-primary,
  body.project-home .hero-buttons .btn-secondary {
    min-height: 44px;
    padding: .68rem 1rem;
    font-size: .82rem;
  }

  body.project-home .hero-promo-note { margin-bottom: .75rem; font-size: .73rem; }

  body.project-home .hero-key-art img {
    object-position: center center;
    filter: brightness(.84) contrast(1.06) saturate(.98);
  }

  body.project-home .hero-key-art-veil {
    background:
      radial-gradient(ellipse at 50% 55%, rgba(4,7,12,.32) 0%, rgba(4,7,12,.2) 40%, rgba(4,7,12,.43) 76%, rgba(4,7,12,.6) 100%),
      linear-gradient(180deg, rgba(4,7,12,.2), transparent 28%, rgba(4,7,12,.12) 56%, rgba(4,7,12,.74));
  }

  body.project-home .hero-content {
    background:
      linear-gradient(145deg, rgba(255,255,255,.05), transparent 32%),
      rgba(7,12,21,.34);
    backdrop-filter: blur(3px) saturate(112%);
    -webkit-backdrop-filter: blur(3px) saturate(112%);
  }

  body.project-home #hero-canvas { opacity: .12; }
}

@media (prefers-reduced-motion: reduce) {
  body.project-home #global-bg-container,
  body.project-home.site-reveal #global-bg-container { opacity: 1; filter: none; transform: none; transition: none; }
}

/* Final visual pass: restore the wordmark, give the hero a calmer backdrop,
   and keep featured games clear of the persistent studio dock. */
body.project-home .nav-logo {
  color: #f5f7fb !important;
  background: none !important;
  -webkit-text-fill-color: #f5f7fb !important;
  font-size: .94rem;
  letter-spacing: .1em;
}

body.project-home .nav-logo-icon { flex: 0 0 32px; }

body.project-home .yula-global-dock { display: none !important; }

body.project-home .hero-key-art img {
  filter: brightness(.68) contrast(1.08) saturate(.92);
}

body.project-home .hero-key-art-veil {
  background:
    radial-gradient(ellipse at 50% 48%, rgba(4,7,12,.52) 0%, rgba(4,7,12,.38) 38%, rgba(4,7,12,.58) 74%, rgba(4,7,12,.72) 100%),
    linear-gradient(90deg, rgba(4,7,12,.48), rgba(4,7,12,.16) 44%, rgba(4,7,12,.42)),
    linear-gradient(180deg, rgba(4,7,12,.32), transparent 24%, transparent 58%, rgba(4,7,12,.76));
}

body.project-home .hero-content {
  max-width: 940px;
  backdrop-filter: blur(10px) saturate(112%);
  -webkit-backdrop-filter: blur(10px) saturate(112%);
  background:
    linear-gradient(145deg, rgba(255,255,255,.045), transparent 32%),
    rgba(7,12,21,.62);
}

/* The header carries the compact logo; let the large wordmark lead the hero. */
body.project-home .hero-logo-container,
body.project-home .hero-badge { display: none !important; }

@media (min-width: 769px) {
  body.project-home .hero-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    align-items: start;
  }

  body.project-home .hero-content > :nth-child(-n+9) { grid-column: 1 / -1; }

  body.project-home .hero-content > :nth-child(10),
  body.project-home .hero-content > :nth-child(11) {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: .65rem 0 0;
  }

  body.project-home .hero-content > :nth-child(12) {
    grid-column: 1 / -1;
    width: min(100%, 600px);
    justify-self: center;
    margin: .55rem 0 0;
    padding-block: 9px;
  }
}

body.project-home .bento-card:focus-within {
  border-color: rgba(105,230,232,.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 18px 48px rgba(0,0,0,.46), 0 0 0 3px rgba(105,230,232,.1);
}

body.project-home .bento-card a:focus-visible,
body.project-home .hero-game-spotlight:focus-visible,
body.project-home .hero-game-trailer:focus-visible {
  outline: 3px solid rgba(105,230,232,.82);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  body.project-home .hero-content { grid-template-columns: minmax(0, 1fr); }

  body.project-home .hero-key-art img {
    filter: brightness(.76) contrast(1.05) saturate(.94);
  }

  body.project-home .hero-key-art-veil {
    background:
      radial-gradient(ellipse at 50% 48%, rgba(4,7,12,.46), rgba(4,7,12,.68) 76%),
      linear-gradient(180deg, rgba(4,7,12,.28), transparent 25%, rgba(4,7,12,.78));
  }
}

@media (max-width: 480px) {
  body.project-home .nav-logo { font-size: .8rem; letter-spacing: .06em; }
  body.project-home .nav-logo-icon { flex-basis: 28px; }
  body.project-home .hero-game-spotlight,
  body.project-home .hero-game-trailer { width: 100%; }
}

/* Render the real homepage immediately; retain only the panel's subtle desktop drift. */
body.project-home #loader { display: none !important; }
body.project-home #global-bg-container,
body.project-home.site-reveal #global-bg-container {
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}
body.project-home #global-bg-container::after { transition: none; }
body.project-home .hero-content {
  animation: heroPanelFloat 10s ease-in-out 1s infinite !important;
}
body.project-home .hero-title,
body.project-home .hero-title .studios,
body.project-home .hero-slogan,
body.project-home .hero-desc {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
body.project-home .hero-title .studios { opacity: .92 !important; }

@media (max-width: 768px) {
  body.project-home .hero-content { animation: none !important; }
}

/* Keep the mobile hero's translucent panel, with a smaller blur surface cost. */
@media (max-width: 768px) {
  body.project-home .hero-content {
    backdrop-filter: blur(3px) saturate(112%) !important;
    -webkit-backdrop-filter: blur(3px) saturate(112%) !important;
  }

  body.project-home .hero-search-wrap { filter: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.project-home .hero-key-art img { filter: brightness(.68) contrast(1.08) saturate(.92); }
}

/* Studio details shortcuts */
.studio-links-section{width:min(1120px,calc(100% - 36px));margin:clamp(42px,7vw,86px) auto;padding:clamp(22px,4vw,38px);border:1px solid rgba(114,215,194,.2);border-radius:24px;background:linear-gradient(130deg,rgba(17,45,42,.8),rgba(14,23,37,.94))}.studio-links-heading{max-width:680px;margin-bottom:20px}.studio-links-heading h2{margin:8px 0;font-size:clamp(1.6rem,4vw,2.5rem);line-height:1.1;letter-spacing:-.04em}.studio-links-heading p:last-child{color:#a8b7c5}.studio-links-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.studio-link-card{display:grid;gap:9px;padding:20px;border:1px solid rgba(255,255,255,.13);border-radius:15px;background:rgba(255,255,255,.035);text-decoration:none;transition:transform .18s ease,border-color .18s ease}.studio-link-card:hover{transform:translateY(-2px);border-color:rgba(114,215,194,.55)}.studio-link-card span{color:#72d7c2;font-size:.67rem;font-weight:850;letter-spacing:.1em}.studio-link-card strong{font-size:1.08rem}.studio-link-card small{color:#a8b7c5;font-size:.83rem}.studio-link-card b{margin-top:3px;color:#f5c86b;font-size:.8rem}@media(max-width:620px){.studio-links-grid{grid-template-columns:1fr}.studio-links-section{width:calc(100% - 24px);padding:20px;border-radius:18px}}


/* Defer layout and paint for below-the-fold home sections without removing their crawlable text. */
body.project-home main#main-content > section:not(#hero) {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}

/* Keep the mobile hero static: its decorative motion adds style work before first paint. */
@media (max-width: 768px) {
  body.project-home .hero-bg canvas,
  body.project-home .hero-bg::before,
  body.project-home .hero-bg::after,
  body.project-home #hero::before,
  body.project-home #hero::after,
  body.project-home .hero-logo-container::before,
  body.project-home .hero-logo-container::after,
  body.project-home .hero-title::after,
  body.project-home .hero-title .yula,
  body.project-home .hero-title .studios,
  body.project-home .hero-badge,
  body.project-home .hero-live-badge,
  body.project-home .hero-pill-link,
  body.project-home .hero-pill-lucky,
  body.project-home .hero-game-spotlight,
  body.project-home .hero-game-trailer {
    animation: none !important;
  }
  body.project-home .hero-bg,
  body.project-home .hero-content,
  body.project-home .hero-content::before,
  body.project-home .hero-content::after,
  body.project-home .hero-logo-container,
  body.project-home .hero-logo-container::before,
  body.project-home .hero-logo-container::after,
  body.project-home .hero-slogan,
  body.project-home .hero-desc,
  body.project-home .hero-title,
  body.project-home .hero-title .yula,
  body.project-home .hero-title .studios {
    animation: none !important;
  }
  body.project-home .hero-bg { filter: none !important; transform: none !important; }
  body.project-home .hero-content { opacity: 1 !important; transform: none !important; }
  body.project-home .hero-bg canvas { display: none !important; }
}

/* The final hero skin reintroduced a 10px backdrop blur after the mobile
   performance rules. Keep the glass panel with the intended low-cost blur. */
@media (max-width: 768px) {
  body.project-home .hero-content {
    backdrop-filter: blur(3px) saturate(112%) !important;
    -webkit-backdrop-filter: blur(3px) saturate(112%) !important;
  }

  /* Mobile content is readable immediately; no observer or reveal transition is needed. */
  body.project-home .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }
}

/* Source: ecosystem-art.css */
/* Shared product artwork treatment for Turkish and English home pages. */
.products-hub-link {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 9px 13px;
  border: 1px solid rgba(114,215,194,.38);
  border-radius: 999px;
  background: rgba(114,215,194,.09);
  color: #aaf0df;
  font-size: .84rem;
  font-weight: 780;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.products-hub-link:hover { transform: translateY(-1px); border-color: #72d7c2; background: rgba(114,215,194,.16); }
.bento-card-featured > div { position: relative; z-index: 2; max-width: 58%; }
.bento-card .btn-card { text-decoration: none !important; }
.bento-card-featured > .bento-card-feature-art {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 2rem;
  width: 38%;
  height: 76%;
  transform: translateY(-50%);
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  opacity: .92;
  box-shadow: 0 18px 50px rgba(0,0,0,.4);
  mask-image: linear-gradient(90deg, transparent 0%, black 14%);
}
.bento-card-promo-art {
  display: block;
  width: 100%;
  height: 154px;
  margin: 0 0 1.2rem;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0,0,0,.3);
}
.bento-card-feature-art.home-art-loading,
.bento-card-promo-art.home-art-loading {
  background: linear-gradient(135deg, rgba(28, 41, 55, .96), rgba(18, 30, 41, .96));
}
.hero-game-art {
  display: block;
  width: 88px;
  height: 62px;
  flex: 0 0 88px;
  object-fit: cover;
  border: 1px solid rgba(94,234,212,.42);
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(20,184,166,.2);
}
@media (prefers-reduced-motion: reduce) {
  .products-hub-link { transition: none; }
}
@media (max-width: 992px) {
  .bento-card-featured > div { max-width: 100%; }
  .bento-card-featured > .bento-card-feature-art {
    position: relative;
    top: auto;
    right: auto;
    order: -1;
    width: 100%;
    height: auto;
    aspect-ratio: 2.1 / 1;
    margin-bottom: 1.5rem;
    transform: none;
    mask-image: linear-gradient(180deg, black 0%, black 70%, transparent 100%);
  }
}
@media (max-width: 600px) {
  .bento-card-promo-art { height: auto; aspect-ratio: 1.95 / 1; }
  .hero-game-art { width: 70px; height: 52px; flex-basis: 70px; }
}

