:root {
  --arka: #09090b;
  --yazi: #f6f6f7;
  --soluk: #a0a0a8;
  --cizgi: rgba(255, 255, 255, 0.08);
  --altin: #f2b705;
  --altin-acik: #ffd86a;
  --altin-koyu: #b88600;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(242, 183, 5, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 70% at 100% 100%, rgba(255, 140, 26, 0.10), transparent 60%),
    var(--arka);
  color: var(--yazi);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 70%);
  pointer-events: none;
}

#pikseller {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.altin {
  background: linear-gradient(180deg, var(--altin-acik) 0%, var(--altin) 55%, var(--altin-koyu) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sayfa {
  position: relative;
  min-height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 40px 32px;
  display: flex;
  flex-direction: column;
}

/* ---------- NAV ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
  padding: 0 14px 0 26px;
  border-radius: 22px;
  background: rgba(20, 20, 24, 0.55);
  border: 1px solid var(--cizgi);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo > span:last-child { color: var(--altin); margin-left: -12px; }

.logo-blok {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background:
    linear-gradient(45deg, rgba(0, 0, 0, 0.18) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.18) 75%) 0 0 / 13px 13px,
    linear-gradient(45deg, rgba(0, 0, 0, 0.18) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.18) 75%) 6.5px 6.5px / 13px 13px,
    var(--altin);
  box-shadow: 0 3px 0 var(--altin-koyu), 0 0 18px rgba(242, 183, 5, 0.45);
}

.nav-orta { display: flex; gap: 6px; }

.nav-orta button {
  position: relative;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #d3d3d8;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-orta button:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }

.nav-orta button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--altin);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-orta button:hover::after { opacity: 1; }

.nav-sag { display: flex; align-items: center; gap: 10px; }

.ikon-buton {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  color: #d3d3d8;
  transition: color 0.2s ease, background 0.2s ease;
}

.ikon-buton svg { width: 22px; height: 22px; }
.ikon-buton:hover { color: #ff3b4f; background: rgba(255, 255, 255, 0.05); }

.nav-buton {
  height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 13px;
  font-weight: 700;
  color: #111;
  background: var(--altin);
  box-shadow: 0 4px 0 var(--altin-koyu);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-buton:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--altin-koyu), 0 10px 26px rgba(242, 183, 5, 0.3); }

/* ---------- HERO ---------- */

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 20px;
  padding: 0 0 0 16px;
  min-height: 0;
}

.cizgili {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #cfcfd5;
}

.cizgili::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--altin);
  border-radius: 2px;
}

h1 {
  font-size: clamp(48px, min(6.4vw, 10vh), 100px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -3px;
  margin: 28px 0 26px;
}

.hero-alt {
  font-size: 21px;
  line-height: 1.6;
  color: var(--soluk);
  max-width: 600px;
}

.butonlar { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 28px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-altin {
  color: #111;
  background: var(--altin);
  box-shadow: 0 6px 0 var(--altin-koyu), 0 16px 40px rgba(242, 183, 5, 0.3);
}

.btn-altin span { transition: transform 0.2s ease; }
.btn-altin:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--altin-koyu), 0 20px 44px rgba(242, 183, 5, 0.4); }
.btn-altin:hover span { transform: translate(3px, -3px); }
.btn-altin:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--altin-koyu); }

.btn-koyu {
  background: rgba(24, 24, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 0 #0f0f12;
}

.btn-koyu:hover { transform: translateY(-3px); border-color: rgba(242, 183, 5, 0.5); box-shadow: 0 9px 0 #0f0f12; }
.btn-koyu:active { transform: translateY(4px); box-shadow: 0 2px 0 #0f0f12; }

.bilgiler {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 48px;
}

.bilgiler div { display: flex; flex-direction: column; }
.bilgiler strong { font-size: 22px; font-weight: 800; color: var(--yazi); }
.bilgiler span { font-size: 14px; color: var(--soluk); font-weight: 600; }
.bilgiler i { width: 1px; height: 36px; background: rgba(255, 255, 255, 0.12); }

.hero-gorsel {
  position: relative;
  height: 100%;
  min-height: 420px;
}

#kup { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- AÇILIR PENCERELER ---------- */

.perde {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 7, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.perde.acik { opacity: 1; pointer-events: auto; }

.pencere {
  position: fixed;
  left: 50%;
  top: 50%;
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 44px;
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(242, 183, 5, 0.12), transparent 55%),
    #121216;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -46%) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 11;
}

.pencere.genis { width: min(960px, calc(100vw - 32px)); }

.pencere.acik { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }

.pencere h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 18px 0 18px;
}

.pencere > p:not(.cizgili) { font-size: 17px; line-height: 1.7; color: var(--soluk); margin-bottom: 12px; }
.pencere strong { color: var(--yazi); }

.kapat {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 26px;
  line-height: 1;
  color: var(--soluk);
  background: rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease, background 0.2s ease;
}

.kapat:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

.etiketler { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.etiketler span {
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
  color: #d6d6dc;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.projeler {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.proje {
  --renk: var(--altin);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border-radius: 18px;
  background: #18181d;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 6px 0 color-mix(in srgb, var(--renk) 35%, #000);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.proje:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--renk) 60%, transparent);
  box-shadow: 0 10px 0 color-mix(in srgb, var(--renk) 35%, #000), 0 20px 40px color-mix(in srgb, var(--renk) 20%, transparent);
}

.proje.youtube { --renk: #ff3b4f; }
.proje.sunucu { --renk: #8a63ff; }

.proje-ikon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  color: #111;
  background: var(--renk);
  margin-bottom: 12px;
}

.proje-ikon svg { width: 26px; height: 26px; }
.proje strong { font-size: 20px; font-weight: 800; }
.proje small { font-size: 14px; color: var(--soluk); flex: 1; }
.proje b { margin-top: 14px; color: var(--renk); font-weight: 800; }

.eposta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 8px 8px 8px 20px;
  border-radius: 16px;
  background: #0b0b0e;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.eposta a { flex: 1; font-size: 18px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eposta a:hover { color: var(--altin); }

.kopyala {
  flex-shrink: 0;
  padding: 12px 18px;
  border-radius: 11px;
  font-weight: 800;
  color: #111;
  background: var(--altin);
  box-shadow: 0 4px 0 var(--altin-koyu);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kopyala:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--altin-koyu); }

/* ---------- GİRİŞ ANİMASYONU ---------- */

.nav, .cizgili, h1, .hero-alt, .butonlar, .bilgiler, .hero-gorsel {
  animation: gir 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero .cizgili { animation-delay: 0.1s; }
h1 { animation-delay: 0.2s; }
.hero-alt { animation-delay: 0.3s; }
.butonlar { animation-delay: 0.4s; }
.bilgiler { animation-delay: 0.5s; }
.hero-gorsel { animation: belir 1.4s ease 0.3s both; }

@keyframes gir {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes belir {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: none; }
}

/* ---------- MOBİL ---------- */

@media (max-width: 1000px) {
  body { overflow: auto; }
  .sayfa { height: auto; min-height: 100vh; padding: 16px 18px 40px; }
  .nav { height: 66px; padding: 0 10px 0 18px; }
  .nav-orta { display: none; }
  .hero { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .hero-gorsel { order: -1; min-height: 300px; height: 300px; }
  h1 { letter-spacing: -2px; margin: 20px 0 18px; }
  .hero-alt { font-size: 18px; }
  .projeler { grid-template-columns: 1fr; }
  .hero .mobil-menu { display: flex; }
}

@media (max-width: 560px) {
  .logo { font-size: 19px; }
  .nav-buton { height: 42px; padding: 0 14px; font-size: 14px; }
  .ikon-buton { display: none; }
  .btn { height: 54px; padding: 0 22px; font-size: 16px; }
  .bilgiler { gap: 16px; }
  .bilgiler strong { font-size: 18px; }
  .pencere { padding: 34px 22px; }
  .eposta { flex-direction: column; align-items: stretch; padding: 14px; }
  .kopyala { width: 100%; }
}

.mobil-menu {
  display: none;
  gap: 8px;
  margin-top: 36px;
}

.mobil-menu button {
  flex: 1;
  height: 48px;
  border-radius: 14px;
  font-weight: 700;
  background: rgba(24, 24, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
