/* ══════════════════════════════════════════════════════════════
   Happy Game Company — Netflix tarzı oyun kataloğu
   ══════════════════════════════════════════════════════════════ */

:root {
  --bg:            #08080c;
  --bg-2:          #0e0e15;
  --surface:       #16161f;
  --surface-2:     #1e1e2a;
  --line:          rgba(255,255,255,.10);
  --text:          #f4f4f7;
  --text-dim:      #a5a5b6;
  --text-faint:    #71717f;
  --brand:         #ff3d2e;
  --brand-2:       #ff8a1f;
  --brand-3:       #ffd23f;
  --accent:        #4ee1a0;
  --radius:        14px;
  --shadow:        0 24px 60px rgba(0,0,0,.65);
  --nav-h:         72px;
  --ease:          cubic-bezier(.22,.9,.28,1);
}

* { box-sizing: border-box; }

/* display kuralları [hidden] özniteliğini ezmesin */
[hidden] { display: none !important; }

/* logo vektörlerinin tutulduğu gizli sprite */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* kilit (lockup): yükseklik verilir, genişlik oranla gelir */
.logo { display: block; width: auto; height: 100%; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, .display { font-family: 'Outfit', 'Inter', sans-serif; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--brand); color: #fff; }

/* ── kaydırma çubuğu ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a38; border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a4c; }

/* ══════════════════════════════════════════════════════════════
   AÇILIŞ ANİMASYONU
   ══════════════════════════════════════════════════════════════ */

.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.intro.is-done {
  animation: introOut .9s var(--ease) forwards;
  pointer-events: none;
}

@keyframes introOut {
  to { opacity: 0; transform: scale(1.35); filter: blur(14px); visibility: hidden; }
}

/* dikey ışık çubukları */
.intro__bars {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 2px;
  justify-content: center;
  opacity: .85;
}

.intro__bars span {
  flex: 1;
  max-width: 90px;
  background: linear-gradient(180deg, transparent, var(--brand) 30%, var(--brand-2) 70%, transparent);
  transform: scaleY(0);
  transform-origin: bottom;
  animation: barRise .75s var(--ease) forwards, barFall .5s var(--ease) 1.15s forwards;
}

.intro__bars span:nth-child(1) { animation-delay: 0s,     1.10s; }
.intro__bars span:nth-child(2) { animation-delay: .06s,   1.14s; }
.intro__bars span:nth-child(3) { animation-delay: .12s,   1.18s; }
.intro__bars span:nth-child(4) { animation-delay: .18s,   1.22s; }
.intro__bars span:nth-child(5) { animation-delay: .24s,   1.26s; }
.intro__bars span:nth-child(6) { animation-delay: .24s,   1.26s; }
.intro__bars span:nth-child(7) { animation-delay: .18s,   1.22s; }
.intro__bars span:nth-child(8) { animation-delay: .12s,   1.18s; }
.intro__bars span:nth-child(9) { animation-delay: .06s,   1.14s; }
.intro__bars span:nth-child(10){ animation-delay: 0s,     1.10s; }

@keyframes barRise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes barFall { to { transform: scaleY(0); transform-origin: top; } }

/* yatay ışık taraması */
.intro__sweep {
  position: absolute;
  top: 0; bottom: 0;
  width: 45vw;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  transform: translateX(-120vw);
  animation: sweep 1.1s var(--ease) 1.25s forwards;
}

@keyframes sweep { to { transform: translateX(140vw); } }

.intro__wordmark {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 10vh 7vw;
  filter: drop-shadow(0 14px 44px rgba(0,0,0,.75));
  animation: markPulse 1s var(--ease) 1.5s both;
}

/* harflerin arkasında yumuşak karartma — parlak çubukların üzerinde okunurluk */
.intro__wordmark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(62% 58% at 50% 50%, rgba(0,0,0,.85), rgba(0,0,0,0) 74%);
  z-index: -1;
}

@keyframes markPulse {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.045); }
  100% { transform: scale(1); }
}

/* ── logo kilidi: parçalar sırayla kurulur ──────────────────── */

.intro__logo {
  width: clamp(260px, 64vw, 780px);
  height: auto;
  color: #fff;
}

.intro .il {
  opacity: 0;
  transform-box: fill-box;          /* dönüşümler kendi kutusuna göre */
  animation-duration: .7s;
  animation-timing-function: var(--ease);
  animation-fill-mode: forwards;
}

/* gözler: sıfırdan hafif taşarak açılır */
.intro .il--eyeL,
.intro .il--eyeR {
  transform-origin: center;
  transform: scale(0);
  animation-name: eyePop;
  animation-duration: .55s;
}
.intro .il--eyeL { animation-delay: .55s; }
.intro .il--eyeR { animation-delay: .65s; }

@keyframes eyePop {
  0%   { opacity: 0; transform: scale(0); }
  65%  { opacity: 1; transform: scale(1.18); }
  100% { opacity: 1; transform: scale(1); }
}

/* gülümseme: düz kenarından aşağı doğru açılır */
.intro .il--smile {
  transform-origin: top center;
  transform: scaleY(0);
  animation-name: smileDrop;
  animation-duration: .6s;
  animation-delay: .78s;
}

@keyframes smileDrop {
  0%   { opacity: 0; transform: scaleY(0); }
  70%  { opacity: 1; transform: scaleY(1.1); }
  100% { opacity: 1; transform: scaleY(1); }
}

/* HAPPY! ve alt satır: aşağıdan yükselir */
.intro .il--word {
  transform-origin: left center;
  transform: translateY(14%) scaleX(.94);
  animation-name: wordIn;
  animation-duration: .8s;
  animation-delay: 1.02s;
}
.intro .il--sub {
  transform-origin: right center;
  transform: translateY(40%);
  animation-name: subIn;
  animation-duration: .6s;
  animation-delay: 1.28s;
}

@keyframes wordIn { to { opacity: 1; transform: none; } }
@keyframes subIn  { to { opacity: 1; transform: none; } }

.intro__skip {
  position: absolute;
  right: 24px; bottom: 24px;
  z-index: 3;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  font-size: .8rem;
  letter-spacing: .08em;
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: fadeIn .4s .6s forwards;
  transition: background .2s;
}
.intro__skip:hover { background: rgba(255,255,255,.18); }

@keyframes fadeIn { to { opacity: 1; } }

/* ══════════════════════════════════════════════════════════════
   ÜST BAR
   ══════════════════════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 clamp(1rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, rgba(0,0,0,.85), transparent);
  transition: background .35s var(--ease), backdrop-filter .35s;
}

.nav.is-stuck {
  background: rgba(8,8,12,.88);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 40px;
  color: #fff;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav__logo:hover { transform: scale(1.04); }
.nav__logo:active { opacity: .75; }

.nav__links { display: flex; gap: 1.6rem; font-size: .88rem; color: var(--text-dim); }
.nav__links a { position: relative; padding: .3rem 0; transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--brand);
  transition: width .28s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__right { margin-left: auto; display: flex; align-items: center; gap: .9rem; }

.search { display: flex; align-items: center; }
.search__btn {
  background: none; border: 0; color: var(--text-dim);
  display: grid; place-items: center; padding: .4rem;
  transition: color .2s;
}
.search__btn:hover { color: #fff; }

.search__input {
  width: 0;
  padding: .5rem 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #fff;
  outline: none;
  opacity: 0;
  transition: width .35s var(--ease), opacity .25s, padding .35s;
}
.search.is-open .search__input {
  width: clamp(140px, 18vw, 240px);
  padding: .5rem .6rem;
  border-bottom-color: var(--line);
  opacity: 1;
}
.search__input::placeholder { color: var(--text-faint); }

.nav__cta {
  padding: .5rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255,61,46,.42); }

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__stack { position: absolute; inset: 0; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.hero__slide.is-active { opacity: 1; }

.hero__slide::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  filter: blur(22px) saturate(135%) brightness(.5);
  transform: scale(1.18);
  animation: kenburns 18s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1.18) translate3d(0,0,0); }
  to   { transform: scale(1.34) translate3d(-2%, -2%, 0); }
}

.hero__slide-art {
  position: absolute;
  right: clamp(1rem, 6vw, 7rem);
  top: 50%;
  transform: translateY(-50%) scale(.9);
  width: clamp(200px, 26vw, 380px);
  aspect-ratio: 1;
  border-radius: 26%;
  box-shadow: 0 40px 90px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08);
  opacity: 0;
  transition: opacity .9s var(--ease) .15s, transform 1.1s var(--ease) .15s;
}
.hero__slide.is-active .hero__slide-art { opacity: 1; transform: translateY(-50%) scale(1); }

.hero__fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,12,.96) 0%, rgba(8,8,12,.75) 45%, rgba(8,8,12,.15) 75%),
    linear-gradient(0deg, var(--bg) 2%, transparent 45%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(1rem, 4vw, 3.5rem) clamp(3rem, 7vh, 5rem);
}

.hero__body { max-width: 640px; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--brand-3);
  margin-bottom: 1rem;
}
.hero__eyebrow::before {
  content: ''; width: 26px; height: 2px;
  background: var(--brand); border-radius: 2px;
}

.hero__title {
  font-size: clamp(2.4rem, 6.4vw, 5.2rem);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.035em;
  margin: 0 0 1rem;
  text-shadow: 0 10px 40px rgba(0,0,0,.6);
}

.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem;
  font-size: .82rem; color: var(--text-dim);
  margin-bottom: 1.05rem;
}
.hero__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); }

.hero__tagline {
  font-size: clamp(.95rem, 1.5vw, 1.12rem);
  line-height: 1.6;
  color: #d9d9e3;
  margin: 0 0 1.8rem;
  max-width: 52ch;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__dots { display: flex; gap: .5rem; margin-top: 2.4rem; }
.hero__dots button {
  width: 26px; height: 3px; border: 0; padding: 0;
  border-radius: 3px;
  background: rgba(255,255,255,.22);
  transition: background .3s, width .3s var(--ease);
}
.hero__dots button.is-active { background: var(--brand); width: 46px; }

.hero__scroll {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll span {
  display: block; width: 20px; height: 32px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 12px;
  position: relative;
}
.hero__scroll span::after {
  content: '';
  position: absolute; left: 50%; top: 6px;
  width: 3px; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,.6);
  transform: translateX(-50%);
  animation: wheel 1.7s ease-in-out infinite;
}
@keyframes wheel { 0%,100% { top: 6px; opacity: 1; } 60% { top: 17px; opacity: .1; } }

/* ── düğmeler ───────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .82rem 1.5rem;
  border-radius: 999px;
  border: 0;
  font-size: .92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn svg { flex-shrink: 0; }
.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(255,61,46,.35);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255,61,46,.5); }
.btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.16);
}
.btn--ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); }
.btn--play {
  background: #fff; color: #111;
}
.btn--play:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(255,255,255,.24); }
.btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }

/* ══════════════════════════════════════════════════════════════
   SATIRLAR
   ══════════════════════════════════════════════════════════════ */

.rows { position: relative; z-index: 3; margin-top: -3vh; padding-bottom: 2rem; }

.row { margin-bottom: clamp(2rem, 4vw, 3.2rem); }

.row__head {
  display: flex; align-items: baseline; gap: .8rem;
  padding: 0 clamp(1rem, 4vw, 3.5rem);
  margin-bottom: .95rem;
}
.row__title {
  font-size: clamp(1.05rem, 1.9vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0;
}
.row__count { font-size: .78rem; color: var(--text-faint); }

.row__wrap { position: relative; }

.row__track {
  display: flex;
  gap: clamp(.6rem, 1vw, 1rem);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding: 14px clamp(1rem, 4vw, 3.5rem) 26px;
  scrollbar-width: none;
}
.row__track::-webkit-scrollbar { display: none; }

.row__arrow {
  position: absolute;
  top: 0; bottom: 26px;
  width: clamp(2.4rem, 4vw, 3.4rem);
  border: 0;
  background: linear-gradient(90deg, rgba(8,8,12,.92), rgba(8,8,12,0));
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.6rem;
  opacity: 0;
  z-index: 6;
  transition: opacity .25s;
}
.row__arrow--next { right: 0; background: linear-gradient(270deg, rgba(8,8,12,.92), rgba(8,8,12,0)); }
.row__arrow--prev { left: 0; }
.row__wrap:hover .row__arrow { opacity: 1; }
.row__arrow:hover { background-color: rgba(8,8,12,.5); }
.row__arrow[hidden] { display: none; }

/* ── kart ───────────────────────────────────────────────────── */

.card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(132px, 15vw, 196px);
  scroll-snap-align: start;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(26px);
  transition:
    transform .38s var(--ease),
    box-shadow .38s var(--ease),
    border-color .3s,
    opacity .5s var(--ease);
}
.card.is-in { opacity: 1; transform: translateY(0); }
.card:hover, .card:focus-visible {
  transform: translateY(-10px) scale(1.055);
  box-shadow: var(--shadow);
  border-color: rgba(255,255,255,.28);
  z-index: 5;
  outline: none;
}

.card__art { position: relative; aspect-ratio: 1; background: var(--surface-2); overflow: hidden; }
.card__art img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease), filter .35s;
}
.card:hover .card__art img { transform: scale(1.07); }

.card__badges {
  position: absolute; top: 8px; left: 8px;
  display: flex; gap: 5px; flex-wrap: wrap;
  max-width: calc(100% - 66px);
}
.badge {
  font-size: .6rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase;
  padding: .2rem .45rem;
  border-radius: 5px;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(6px);
  color: #fff;
}
.badge--new { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.badge--top { background: var(--brand-3); color: #241a00; }
.badge--android { background: var(--accent); color: #04281a; }

.card__rating {
  position: absolute; right: 8px; top: 8px;
  display: flex; align-items: center; gap: 3px;
  font-size: .68rem; font-weight: 700;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(6px);
  padding: .2rem .42rem;
  border-radius: 5px;
  color: var(--brand-3);
}

.card__hoverbar {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.2rem .6rem .6rem;
  display: flex; gap: .35rem;
  background: linear-gradient(0deg, rgba(0,0,0,.9), transparent);
  transform: translateY(105%);
  transition: transform .35s var(--ease);
}
.card:hover .card__hoverbar, .card:focus-visible .card__hoverbar { transform: translateY(0); }

.card__ico {
  flex: 1;
  display: grid; place-items: center;
  padding: .38rem;
  border-radius: 8px;
  border: 0;
  font-size: .68rem;
  font-weight: 700;
  background: rgba(255,255,255,.16);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background .2s;
}
.card__ico:hover { background: #fff; color: #111; }

.card__body { padding: .6rem .7rem .75rem; }
.card__title {
  font-size: .84rem; font-weight: 600;
  margin: 0 0 .22rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card__sub { font-size: .68rem; color: var(--text-faint); display: flex; gap: .35rem; }

/* ── ızgara (arama sonuçları) ───────────────────────────────── */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 3.5rem);
}
.grid .card { width: 100%; }

.results { padding: 6rem 0 3rem; min-height: 60vh; }
.results__title {
  padding: 0 clamp(1rem, 4vw, 3.5rem);
  font-size: 1.4rem; margin: 0 0 1.4rem;
}
.results__empty { padding: 0 clamp(1rem, 4vw, 3.5rem); color: var(--text-dim); }

/* ══════════════════════════════════════════════════════════════
   HAKKIMIZDA
   ══════════════════════════════════════════════════════════════ */

.about {
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3.5rem);
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(255,61,46,.14), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}
.about__kicker {
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--brand); font-weight: 700; margin: 0 0 .8rem;
}
.about__title {
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  font-weight: 800; line-height: 1.12; letter-spacing: -.02em;
  margin: 0 0 1.1rem;
}
.about__title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand), var(--brand-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about__text { color: var(--text-dim); line-height: 1.75; margin: 0 0 1.8rem; max-width: 58ch; }
.about__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat {
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .3s;
}
.stat:hover { transform: translateY(-5px); border-color: rgba(255,61,46,.4); }
.stat__num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #fff, var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { font-size: .74rem; color: var(--text-faint); margin-top: .45rem; letter-spacing: .04em; }

/* ══════════════════════════════════════════════════════════════
   MODAL
   ══════════════════════════════════════════════════════════════ */

.modal { position: fixed; inset: 0; z-index: 800; display: grid; place-items: start center; padding: 4vh 1rem; overflow-y: auto; }
.modal__backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(6px);
  animation: fadeIn .3s forwards;
  opacity: 0;
}
.modal__card {
  position: relative;
  width: min(940px, 100%);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: modalIn .45s var(--ease) forwards;
  transform: translateY(30px) scale(.96);
  opacity: 0;
}
@keyframes modalIn { to { transform: translateY(0) scale(1); opacity: 1; } }

.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,.6);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: background .2s, transform .2s;
}
.modal__close:hover { background: var(--brand); transform: rotate(90deg); }

.mhero { position: relative; padding: clamp(1.6rem, 4vw, 2.6rem); overflow: hidden; }
.mhero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: blur(28px) brightness(.42) saturate(140%);
  transform: scale(1.25);
}
.mhero__fade {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--bg-2) 4%, rgba(14,14,21,.55));
}
.mhero__inner {
  position: relative;
  display: flex; gap: clamp(1rem, 3vw, 2rem);
  align-items: flex-end;
  flex-wrap: wrap;
}
.mhero__icon {
  width: clamp(88px, 14vw, 132px);
  border-radius: 24%;
  box-shadow: 0 20px 45px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1);
}
.mhero__text { flex: 1 1 260px; }
.mhero__title {
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  font-weight: 900; letter-spacing: -.025em;
  margin: 0 0 .6rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; }
.chip {
  font-size: .7rem;
  padding: .28rem .6rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  color: #e2e2ea;
}
.chip--star { color: var(--brand-3); border-color: rgba(255,210,63,.35); }
.chip--android { color: var(--accent); border-color: rgba(78,225,160,.35); }
.mhero__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.mbody { padding: clamp(1.4rem, 3.5vw, 2.2rem); }
.mbody h3 {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-faint); margin: 0 0 .8rem; font-weight: 700;
}
.mbody__desc {
  color: #cfcfda; line-height: 1.75; font-size: .93rem;
  white-space: pre-line;
  max-height: 11.5em;
  overflow: hidden;
  position: relative;
  transition: max-height .45s var(--ease);
}
.mbody__desc.is-open { max-height: 200em; }
.mbody__desc:not(.is-open)::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 4em;
  background: linear-gradient(0deg, var(--bg-2), transparent);
}
.mbody__more {
  margin: .7rem 0 1.8rem;
  background: none; border: 0; padding: 0;
  color: var(--brand-2); font-size: .84rem; font-weight: 600;
}
.mbody__more:hover { text-decoration: underline; }

.shots {
  display: flex; gap: .75rem;
  overflow-x: auto;
  padding-bottom: .8rem;
  scroll-snap-type: x proximity;
}
.shots img {
  height: clamp(200px, 32vh, 330px);
  width: auto;
  min-width: 120px;
  background: var(--surface-2);
  border-radius: 12px;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  flex-shrink: 0;
  transition: transform .35s var(--ease);
}
.shots img:hover { transform: scale(1.03); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.fact__k { font-size: .68rem; color: var(--text-faint); letter-spacing: .1em; text-transform: uppercase; }
.fact__v { font-size: .92rem; font-weight: 600; margin-top: .25rem; }

.mnote {
  margin-top: 1.6rem;
  padding: .9rem 1rem;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  font-size: .8rem;
  color: var(--text-dim);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */

.footer { border-top: 1px solid var(--line); background: var(--bg); padding: 3rem clamp(1rem, 4vw, 3.5rem); }
.footer__inner { max-width: 1400px; margin: 0 auto; display: grid; gap: .8rem; }
.footer__logo { height: 42px; color: #fff; }
.footer__note, .footer__copy { color: var(--text-faint); font-size: .8rem; margin: 0; }

/* ══════════════════════════════════════════════════════════════
   GİRİŞ ANİMASYONLARI
   ══════════════════════════════════════════════════════════════ */

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.hero__body > * {
  opacity: 0;
  transform: translateY(24px);
  animation: heroUp .8s var(--ease) forwards;
}
.hero__body > *:nth-child(1) { animation-delay: .05s; }
.hero__body > *:nth-child(2) { animation-delay: .13s; }
.hero__body > *:nth-child(3) { animation-delay: .21s; }
.hero__body > *:nth-child(4) { animation-delay: .29s; }
.hero__body > *:nth-child(5) { animation-delay: .37s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }

/* ══════════════════════════════════════════════════════════════
   DUYARLI
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 1000px) {
  .nav__links { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .hero__slide-art { display: none; }
  .hero__fade { background: linear-gradient(0deg, var(--bg) 6%, rgba(8,8,12,.55) 60%, rgba(8,8,12,.7)); }
  .hero__scroll { display: none; }
  .rows { margin-top: 0; }
}

@media (max-width: 640px) {
  .nav__logo { height: 30px; }
  .footer__logo { height: 34px; }
  .nav__cta { display: none; }
  .hero { min-height: 78vh; }
  .search.is-open .search__input { width: 42vw; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .card, .reveal { opacity: 1; transform: none; }
}
