/* Temel: renkler, yazı tipleri, üst menü, butonlar, hero yerleşimi,
   sayfanın üstündeki efekt katmanları. Uygulamadaki tasarım dilinden:
   krem zemin, kalın mürekkep kontur, sert ofset gölge, fuşya/turuncu vurgu. */
:root {
  --ink: #1A1611;
  --cream: #FFF6E0;
  --fuchsia: #C4136B;
  --orange: #FF6A1A;
  --amber: #FFB020;
  --sand: #E3DAC3;
  --taupe: #8b8171;
  --brown: #5C5142;
  --espresso: #7A4A26;
  --white: #FFFFFF;
  --line: 3px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  --display: 'Grandstander', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --biz: 'Sora', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --hand: 'Caveat', cursive;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
/* Uçarak gelen kartlar başlangıçta ekranın dışında duruyor; iOS Safari'de
   sadece body'ye overflow-x vermek yan kaydırmayı engellemiyor. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }

/* Tüm içerik bu kutuda. iOS Safari html/body'deki overflow-x kırpmasını her
   zaman uygulamıyor; eğik bantlar ve uçarak gelen kartlar sayfayı genişletip
   telefonda ekranı uzaklaştırıyordu ("telefona sığmamış"). */
.page { position: relative; overflow-x: hidden; overflow-x: clip; }

/* ---------- efekt katmanları ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 5px; z-index: 60;
  background: linear-gradient(90deg, var(--fuchsia), var(--orange), var(--amber));
  transform-origin: left; transform: scaleX(var(--progress, 0));
}
.fx2d { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 70; }
.sky { position: fixed; inset: 0; pointer-events: none; z-index: 5; overflow: hidden; }
.skater-lane {
  position: fixed; left: 0; right: 0; bottom: 0; height: 330px; z-index: 55;
  pointer-events: none; overflow: hidden;
}
.skater {
  position: absolute; left: 0; bottom: 6px; pointer-events: auto; cursor: pointer;
  filter: drop-shadow(4px 4px 0 rgba(26, 22, 17, 0.18));
  transform-origin: 50% 70%;
}
.flyer { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 0; }
.flyer-img { width: 90px; }
.flyer.bird .flyer-img { width: 70px; }
.flyer.rtl { flex-direction: row-reverse; }
.flyer.rtl .flyer-img { transform: scaleX(-1); }
.banner {
  font-family: var(--display); font-size: 18px; line-height: 1;
  background: var(--white); border: var(--line); padding: 6px 14px 4px;
  box-shadow: 4px 4px 0 var(--ink); white-space: nowrap; margin: 0 6px;
  position: relative;
}
.banner::before {
  content: ''; position: absolute; top: 50%; width: 22px; border-top: 2px dashed var(--ink);
}
.flyer:not(.rtl) .banner::before { right: 100%; }
.flyer.rtl .banner::before { left: 100%; }

/* ---------- üst menü ---------- */
.topbar {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1180px, calc(100% - 2 * var(--gutter)));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 10px 8px 12px; border: var(--line); border-radius: 100px;
  background: rgba(255, 246, 224, 0.85); backdrop-filter: blur(10px);
  box-shadow: 5px 5px 0 var(--ink);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 21px; }
.brand img { border-radius: 10px; border: 2px solid var(--ink); }
.nav-links { display: flex; gap: 22px; font-size: 14px; }
.nav-links a { text-decoration: none; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--fuchsia);
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.nav-links a:hover::after { transform: scaleX(1); }
@media (max-width: 720px) { .nav-links { display: none; } .brand span { font-size: 20px; } }

/* ---------- butonlar ve etiketler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-size: 19px; line-height: 1; text-decoration: none;
  padding: 16px 26px 14px; border: var(--line); border-radius: 100px; cursor: pointer;
  box-shadow: 5px 5px 0 var(--ink); color: var(--cream); background: var(--ink);
  transition: transform 0.18s cubic-bezier(0.3, 1.8, 0.5, 1), box-shadow 0.18s;
}
.btn:hover { transform: translate(-3px, -3px) rotate(-2deg) scale(1.04); box-shadow: 9px 9px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-fuchsia { background: var(--fuchsia); }
.btn-ink { box-shadow: 5px 5px 0 var(--fuchsia); }
.btn-ink:hover { box-shadow: 9px 9px 0 var(--fuchsia); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-small { font-size: 16px; padding: 10px 18px 8px; box-shadow: 3px 3px 0 var(--ink); }
.tag {
  display: inline-block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream); background: var(--fuchsia); border: 2px solid var(--ink);
  padding: 5px 12px; border-radius: 100px; box-shadow: 3px 3px 0 var(--ink);
}
.tag-tilt { transform: rotate(-4deg); }
.tag-light { background: var(--cream); color: var(--fuchsia); }
.hand { font-family: var(--hand); font-style: normal; font-size: 1.25em; color: var(--fuchsia); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center; padding: 120px var(--gutter) 90px;
  background:
    radial-gradient(circle at 78% 55%, rgba(255, 176, 32, 0.28), transparent 40%),
    radial-gradient(circle at 15% 20%, rgba(196, 19, 107, 0.22), transparent 38%),
    radial-gradient(circle at 60% 95%, rgba(196, 19, 107, 0.16), transparent 30%),
    var(--cream);
}
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; touch-action: pan-y; }
.fleers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.fleer { position: absolute; left: 0; top: 0; pointer-events: auto; cursor: grab; user-select: none; will-change: transform; }
.swirl { position: absolute; z-index: 0; pointer-events: none; }
.swirl-a { width: 180px; top: -30px; left: -40px; }
.swirl-b { width: 130px; bottom: 60px; right: 36%; }
/* min-width: 0 — flex öğesi, içindeki bölünmeyen dev başlık yüzünden ekrandan
   geniş olmasın (telefonda paragraf sağdan taşıyordu). */
.hero-copy { position: relative; z-index: 3; max-width: 660px; min-width: 0; pointer-events: none; }
.hero-copy .lead {
  background: rgba(255, 246, 224, 0.82); border-radius: 14px; padding: 6px 10px; margin-left: -10px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-copy a, .hero-copy .ltr { pointer-events: auto; }
.mega {
  font-family: var(--display); font-size: clamp(40px, 8.2vw, 116px); line-height: 0.98;
  margin: 18px 0 20px; letter-spacing: -0.01em; color: var(--ink);
}
.lead { font-size: clamp(16px, 1.6vw, 19px); max-width: 520px; color: var(--brown); }
.lead.center { margin: 0 auto; text-align: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.hint { margin-top: 22px; font-size: 26px; transform: rotate(-3deg); }
.scroll-cue {
  position: absolute; bottom: 24px; left: 50%; z-index: 3; transform: translateX(-50%);
  font-size: 13px; letter-spacing: 0.12em; text-decoration: none; color: var(--brown);
}
.scroll-cue span { display: inline-block; }
@media (max-width: 820px) {
  .hero { align-items: flex-start; padding-top: 110px; min-height: 108svh; }
  .hero-copy { max-width: none; }
  .cta-row .btn { flex: 1 1 100%; }
}

/* ---------- alt bilgi ---------- */
.footer {
  background: var(--ink); color: var(--cream); text-align: center;
  padding: 70px var(--gutter) 200px; display: grid; gap: 14px; justify-items: center;
}
.footer-brand { font-family: var(--display); font-size: 40px; color: var(--amber); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; }
.footer-links a { color: var(--cream); }
.footer-links a:hover { color: var(--amber); }
.copy { font-size: 13px; color: var(--taupe); }
