/* Açılış videosu (çene + implant): yalnızca anasayfa. styles.css içinden ayrıldı. */
/* ================= AÇILIŞ ANİMASYONU (çene + implant) ================= */
.intro { display: none; }
.intro-on body { overflow: hidden; }
.intro-on .intro {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 35%, #0e4048 0%, #071f25 55%, #030f12 100%);
  color: #fff; gap: 1.25rem; padding: 1.5rem;
  transition: opacity 1.3s cubic-bezier(.65,0,.35,1) .15s, visibility 1.5s;
}
.intro.intro-out { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-video, .intro-stage svg, .intro-title, .intro-sub { transition: transform 1.4s cubic-bezier(.6,0,.2,1), opacity 1s ease, filter 1.2s ease, letter-spacing 1.4s ease; }
.intro.intro-out .intro-video, .intro.intro-out .intro-stage svg { transform: scale(1.35); opacity: 0; filter: blur(8px); }
.intro.intro-out .intro-title { transform: scale(1.12); opacity: 0; letter-spacing: .08em; filter: blur(4px); }
.intro.intro-out .intro-sub { opacity: 0; transform: translateY(8px); }
.intro.intro-out .intro-skip { opacity: 0; transition: opacity .3s; }
.intro::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 42%, rgba(127,229,219,.6), rgba(60,201,189,.15) 35%, transparent 60%); }
.intro.intro-out::after { animation: intro-bloom 1.5s ease-out forwards; }
@keyframes intro-bloom { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(2.8); } }

/* Site girişi: menü iner, hero çerçevesi yakınlaşarak netleşir */
.site-enter #navbar { animation: nav-in 1.1s .55s cubic-bezier(.2,.8,.2,1) both; }
.site-enter .hero-frame { animation: hero-in 1.8s .35s cubic-bezier(.2,.8,.2,1) both; }
@keyframes nav-in { from { opacity: 0; transform: translateY(-36px); } to { opacity: 1; transform: none; } }
@keyframes hero-in { from { opacity: 0; transform: scale(1.12) translateY(30px); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
.intro-stage { width: min(900px, 94vw); }
.intro-stage svg { width: 100%; height: auto; overflow: visible; }

.intro-stage.has-video { width: min(780px, 94vw); aspect-ratio: 3 / 2; overflow: hidden; }
.intro-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; mix-blend-mode: screen; background: transparent; } /* saf siyah arka plan görünmez olur */
.intro-skip { z-index: 2; }
.intro-oynat { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 26px 30px; border-radius: 24px; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); color: #fff; font-weight: 700; cursor: pointer;
  border: 1px solid rgba(255,255,255,.25); }
.intro-oynat:hover { background: rgba(0,0,0,.7); }
.in-jaw { opacity: 0; animation: in-fade .9s .1s ease forwards; }

.in-screw { opacity: 0; animation: in-screw .6s var(--d) cubic-bezier(.25,.9,.3,1) forwards; }
@keyframes in-screw {
  0% { opacity: 0; transform: translateY(-190px); }
  25% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); }
}
.in-crown { opacity: 0; animation: in-crown .7s var(--d) cubic-bezier(.3,1.3,.5,1) forwards; }
@keyframes in-crown {
  0% { opacity: 0; transform: translateY(-150px); }
  30% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); }
}
.in-spark { opacity: 0; transform: scale(.2); animation: in-spark .7s var(--d) ease-out forwards; }
@keyframes in-spark { 0% { opacity: 0; transform: scale(.2) rotate(0); } 40% { opacity: 1; transform: scale(1) rotate(20deg); } 100% { opacity: 0; transform: scale(.4) rotate(45deg); } }

.intro-title { font-family: "Manrope", Figtree, system-ui, sans-serif; font-weight: 600; letter-spacing: -.01em; text-align: center; line-height: 1.05;
  font-size: clamp(1.9rem, 6vw, 3.4rem); }
.intro-title .ch { display: inline-block; opacity: 0; transform: translateY(18px); animation: in-up .6s var(--d) cubic-bezier(.2,.8,.2,1) forwards; }
.intro-title .sky { color: #2fb0a4; }
.intro-sub { font-size: .8rem; letter-spacing: .35em; text-transform: uppercase; opacity: 0; color: rgba(255,255,255,.7);
  animation: in-fade .8s var(--d) ease forwards; text-align: center; }
@keyframes in-up { to { opacity: 1; transform: none; } }
@keyframes in-fade { to { opacity: 1; } }

.intro-skip { position: absolute; right: 1.25rem; bottom: 1.25rem; cursor: pointer;
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25);
  padding: .55rem 1rem; border-radius: .75rem; font-size: .85rem; font-weight: 600; transition: background .2s; }
.intro-skip:hover { background: rgba(255,255,255,.2); }

@media (prefers-reduced-motion: reduce) { .intro { display: none !important; } .intro-on body { overflow: auto; } .site-enter #navbar, .site-enter .hero-frame { animation: none; } }



@media (max-width: 640px) {
  .intro-stage.has-video { aspect-ratio: 4 / 5; width: 100%; max-width: 420px; }
  .intro-video { object-position: 50% 50%; }
}
