/* Tüm ölçüler 1440×900 tasarım ızgarasında px; tek değişken --u ile ölçeklenir. */
:root {
  --u: min(100vw / 1440, 100vh / 900);
  --bg: #eaf1f6;
  --bg-2: #dfe9f1;
  --ink: #173c6b;          /* metinler: az koyu mavi */
  --ink-deep: #0f2c52;
  --muted: #4b6f98;
  --sun: #f2b705;
  --card: rgba(255, 255, 255, .72);
  --line: rgba(23, 60, 107, .12);
  --header: calc(72 * var(--u));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* Sabit üst menü */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  height: max(var(--header), 60px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 max(calc(64 * var(--u)), 16px);
  background: rgba(236, 245, 252, .8);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-pitir {
  height: 44px; width: auto; flex: none; margin: -4px 0;
  filter: drop-shadow(0 3px 5px rgba(15, 44, 82, .25));
  transform-origin: 50% 90%; animation: waddle 2.4s ease-in-out infinite;
}
@keyframes waddle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.brand-flake { width: 20px; height: 20px; flex: none; fill: none; stroke: #3d82d1; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* Üst başlık: modern yuvarlak yazı, simli mavi; "Ayçiçeği" ayçiçeği sarısı */
.brand-title {
  font: 600 24px/1 Fredoka, "Nunito", system-ui, sans-serif; letter-spacing: .01em; white-space: nowrap;
  background: linear-gradient(110deg, #123766 0%, #1d4f8f 34%, #3f86d6 44%, #8cc2f5 50%, #3f86d6 56%, #1d4f8f 66%, #123766 100%);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
}
.brand-title b {
  font-weight: 600;
  background: linear-gradient(110deg, #c98a00, #f2b705 45%, #ffd84d 50%, #f2b705 55%, #c98a00);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
}
.menu { display: flex; gap: 32px; }
.menu a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.menu a:hover { color: var(--ink); }
.pill {
  display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(135deg, #1d4f8f, #3d82d1); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px;
  box-shadow: 0 6px 18px rgba(29, 79, 143, .3);
}
.pill-lg { padding: 14px 26px; font-size: 16px; }

/* Kar yağışı: tüm sayfanın üstünde, menünün altında */
.snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }

/* Sahne */
.scene { position: relative; }
.stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding-right: calc(150 * var(--u));
  pointer-events: none;
  background: radial-gradient(ellipse at 70% 85%, #fff 0 18%, transparent 55%), linear-gradient(var(--bg), var(--bg-2));
}
.char { position: relative; width: calc(560 * var(--u)); aspect-ratio: 560 / 760; margin-bottom: calc(10 * var(--u)); }
.char img, .char canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.char.ready .poster { visibility: hidden; }

/* İlk ekran: normal içerik, kaydırmayla birebir yukarı kayar */
.hero { position: relative; margin-top: -100vh; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.bigtype {
  position: absolute; left: calc(-40 * var(--u)); bottom: calc(-90 * var(--u));
  font: 600 calc(420 * var(--u))/1 Fraunces, Georgia, serif; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 2px rgba(61, 130, 209, .14);
  white-space: nowrap; user-select: none; pointer-events: none;
}
.copy { position: relative; width: calc(600 * var(--u)); margin-left: calc(128 * var(--u)); }
.eyebrow, .num { margin: 0 0 calc(20 * var(--u)); font-size: calc(15 * var(--u)); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 600; letter-spacing: -.025em; margin: 0; }
h1 { font-size: calc(84 * var(--u)); line-height: 1.02; }
h1 em, h2 em { font-style: italic; font-weight: 500; }
h2 { font-size: calc(56 * var(--u)); line-height: 1.06; }
.lead, .step p:not(.num) { margin: calc(28 * var(--u)) 0 0; font-size: calc(20 * var(--u)); color: var(--muted); max-width: calc(500 * var(--u)); }
.cta { display: inline-block; margin-top: calc(40 * var(--u)); font-weight: 600; font-size: calc(17 * var(--u)); text-decoration: none; border-bottom: 2px solid var(--sun); padding-bottom: 4px; }

.step { position: relative; height: 100vh; display: flex; align-items: center; }
.step .num { color: #3d82d1; }

/* Sahne sonrası: masal ve penguen bilgileri */
.story, .facts { position: relative; padding: 120px max(calc(128 * var(--u)), 16px) 96px; }
.story { background: linear-gradient(#f7fbff, #eaf4fd); }
.story h2, .facts h2 { font-size: clamp(32px, calc(56 * var(--u)), 56px); }
.story-body { max-width: 680px; margin-top: 40px; font-size: 18px; line-height: 1.75; color: var(--ink); }
.story-body p { margin: 0 0 20px; }
.story-body p:first-child::first-letter { float: left; font: 600 64px/0.9 Fraunces, Georgia, serif; margin: 6px 10px 0 0; color: #3d82d1; }
.moral { margin-top: 32px !important; padding-left: 20px; border-left: 3px solid var(--sun); font: italic 500 20px/1.5 Fraunces, Georgia, serif; color: var(--ink); }
.facts { background: linear-gradient(#eaf4fd, #dcebf8); }
.facts-lead { max-width: 640px; margin: 24px 0 0; font-size: 18px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.stat { padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, .75); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 10px 30px rgba(23, 60, 107, .08); }
.stat b { display: block; font: 600 40px/1 Fraunces, Georgia, serif; margin-bottom: 10px; }
.stat span { color: var(--muted); font-size: 15px; }
.sub { margin: 64px 0 20px; font: 600 26px/1.2 Fraunces, Georgia, serif; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 26px; border-radius: 20px; background: rgba(255, 255, 255, .75); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 10px 30px rgba(23, 60, 107, .08); }
.card h4 { margin: 0 0 8px; font: 600 21px/1.25 Fraunces, Georgia, serif; }
.card p { margin: 0; color: var(--muted); }
.badge { display: inline-block; margin: 0 0 14px !important; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.badge.cr { background: #fde2e1; color: #a1251f !important; }
.badge.en { background: #fdecd4; color: #8f4f00 !important; }
.badge.nt { background: #fbf3c8; color: #6f5a00 !important; }
.threats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.threats ul { margin: 0; padding-left: 20px; color: var(--ink); }
.threats li { margin-bottom: 10px; }
.foot { display: grid; justify-items: center; gap: 20px; padding: 96px 16px 48px; text-align: center; background: linear-gradient(160deg, #0f2c52, #1d4f8f); color: #fff; }
.foot p { margin: 0; font: 600 clamp(24px, 3vw, 36px)/1.2 Fraunces, Georgia, serif; }
.foot .pill { background: var(--sun); color: var(--ink-deep); box-shadow: none; }
.foot small { color: rgba(255, 255, 255, .55); margin-top: 24px; }

/* Simli mavi başlıklar: ışık yazının üstünden kayar */
h1, h2, .sub, .stat b, .card h4, .foot p {
  background: linear-gradient(110deg, #123766 0%, #1d4f8f 34%, #3f86d6 44%, #8cc2f5 50%, #3f86d6 56%, #1d4f8f 66%, #123766 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
}
.foot p { background-image: linear-gradient(110deg, #cfe9ff 0%, #ffffff 45%, #9fd0ff 55%, #cfe9ff 100%); }
@keyframes shine { from { background-position: 100% 0; } to { background-position: -200% 0; } }
h1, h2 { position: relative; }
/* Başlıklardaki küçük simler (JS ekler) */
.spark {
  position: absolute; width: 12px; height: 12px; pointer-events: none;
  background: radial-gradient(circle, #fff 0 20%, #bfe2ff 40%, transparent 70%);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  opacity: 0; animation: twinkle 2.6s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }

/* Kavuşma: Pıtır ailesine koşar, sarılır, fotoğraf çekilir */
.reunion { position: relative; height: 340vh; background: linear-gradient(#dcebf8, #eef6fd 40%, #f7fbff); }
.reunion-stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 56px;
  padding: 90px max(calc(128 * var(--u)), 16px) 40px;
}
.reunion-copy h2 { font-size: clamp(32px, calc(56 * var(--u)), 56px); }
.reunion-copy p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin: 20px 0 0; max-width: 440px; }
.phases { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.phases li {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(255, 255, 255, .7); color: var(--muted); border: 1px solid rgba(61, 130, 209, .18);
  transition: background .3s, color .3s, transform .3s;
}
.phases li.on { background: linear-gradient(135deg, #1d4f8f, #3d82d1); color: #fff; transform: translateY(-2px); }
.polaroid {
  position: relative; margin: 0; padding: 14px 14px 70px; background: #fff; border-radius: 6px;
  box-shadow: 0 30px 70px rgba(15, 44, 82, .25), 0 2px 6px rgba(15, 44, 82, .1);
  transition: transform .6s cubic-bezier(.2, .9, .3, 1.3);
}
.taken .polaroid { transform: rotate(-3deg) scale(1.02); }
.photo { position: relative; aspect-ratio: 736 / 499; overflow: hidden; border-radius: 2px; background: #cfe0ef; }
.photo .fam { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.8) brightness(.95); transition: filter .8s; }
.taken .photo .fam { filter: none; }
.pitir-in {
  position: absolute; right: -5%; bottom: -30%; height: 112%; width: auto;
  transform: translate(var(--x, 120%), var(--y, 0)) rotate(var(--r, 0deg)); transform-origin: 50% 85%;
  will-change: transform;
}
.vf {
  position: absolute; inset: 7%; pointer-events: none; transition: opacity .3s;
  --c: rgba(255, 255, 255, .95);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 28px 3px, linear-gradient(var(--c), var(--c)) 0 0 / 3px 28px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 28px 3px, linear-gradient(var(--c), var(--c)) 100% 0 / 3px 28px,
    linear-gradient(var(--c), var(--c)) 0 100% / 28px 3px, linear-gradient(var(--c), var(--c)) 0 100% / 3px 28px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 28px 3px, linear-gradient(var(--c), var(--c)) 100% 100% / 3px 28px;
  background-repeat: no-repeat;
}
.vf::after { content: "● REC"; position: absolute; top: 10px; left: 14px; color: #fff; font: 600 12px/1 Inter, sans-serif; letter-spacing: .1em; text-shadow: 0 0 3px rgba(0, 0, 0, .5); }
.taken .vf { opacity: 0; }
.flash { position: absolute; inset: 0; background: #fff; opacity: var(--flash, 0); pointer-events: none; }
.polaroid figcaption {
  position: absolute; left: 0; right: 0; bottom: 18px; text-align: center;
  font: 700 28px/1 Caveat, "Comic Sans MS", cursive; color: var(--ink);
  opacity: 0; transform: translateY(6px); transition: opacity .8s .3s, transform .8s .3s;
}
.taken .polaroid figcaption { opacity: 1; transform: none; }
.hearts { position: absolute; inset: 0; pointer-events: none; }
.hearts span { position: absolute; bottom: 35%; font-size: 24px; color: #ff8fb8; opacity: 0; text-shadow: 0 2px 6px rgba(255, 143, 184, .5); }
.hug .hearts span { animation: float 2.4s ease-out infinite; }
@keyframes float { 0% { opacity: 0; transform: translateY(0) scale(.6); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-140px) scale(1.15); } }

/* Bilgi yarışması */
.quiz { position: relative; padding: 120px max(calc(128 * var(--u)), 16px) 110px; background: linear-gradient(#dcebf8, #cfe3f6); }
.quiz h2 { font-size: clamp(32px, calc(56 * var(--u)), 56px); }
.quiz-lead { max-width: 620px; margin: 20px 0 0; font-size: 18px; color: var(--muted); }
.quiz-card {
  position: relative; max-width: 760px; margin-top: 40px; padding: 32px; border-radius: 28px;
  background: rgba(255, 255, 255, .8); border: 1px solid #fff; box-shadow: 0 24px 60px rgba(23, 60, 107, .14);
}
.quiz-top { display: flex; align-items: center; gap: 16px; }
.quiz-count { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.quiz-bar { flex: 1; height: 8px; border-radius: 99px; background: #e2eefa; overflow: hidden; }
.quiz-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #3d82d1, #8cc2f5); transition: width .5s; }
.quiz-q { margin: 22px 0 20px; font: 600 26px/1.3 Fraunces, Georgia, serif; color: var(--ink-deep); }
.quiz-opts { display: grid; gap: 12px; }
.quiz-opts button {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border-radius: 16px; cursor: pointer;
  border: 2px solid #d6e6f6; background: #fff; color: var(--ink); font: 500 17px/1.35 Inter, sans-serif; text-align: left;
  transition: border-color .2s, background .2s, transform .15s;
}
.quiz-opts button:hover:not(:disabled) { border-color: #8cc2f5; transform: translateY(-1px); }
.quiz-opts button:focus-visible { outline: 3px solid #8cc2f5; outline-offset: 2px; }
.quiz-opts button span { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #eaf4fd; color: #1d4f8f; font-weight: 700; }
.quiz-opts button.right { border-color: #3fb27f; background: #ecfaf3; }
.quiz-opts button.right span { background: #3fb27f; color: #fff; }
.quiz-opts button.wrong { border-color: #e5747a; background: #fff1f2; animation: shake .4s; }
.quiz-opts button.wrong span { background: #e5747a; color: #fff; }
.quiz-opts button:disabled { cursor: default; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.quiz-note { min-height: 1.6em; margin: 18px 0 0; font-size: 16px; color: var(--ink); }
.quiz-next {
  margin-top: 16px; padding: 12px 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, #1d4f8f, #3d82d1); color: #fff; font: 600 15px/1 Inter, sans-serif;
  box-shadow: 0 6px 18px rgba(29, 79, 143, .3);
}
.result { text-align: center; padding: 10px 0; }
.result b { display: block; font: 600 64px/1 Fraunces, Georgia, serif; color: #1d4f8f; }
.result p { margin: 10px 0 0; font-size: 18px; color: var(--ink); }
/* Doğru cevapta çıkartma kartın üstüne yapışır */
.sticker-pop {
  position: absolute; right: -30px; top: -60px; width: 170px; pointer-events: none; text-align: center;
  opacity: 0; transform: scale(.2) rotate(-40deg);
}
.sticker-pop img { width: 100%; filter: drop-shadow(0 12px 18px rgba(15, 44, 82, .35)); }
.sticker-pop b {
  position: absolute; left: 50%; top: -6px; transform: translateX(-50%) rotate(-6deg);
  padding: 6px 14px; border-radius: 999px; background: var(--sun); color: var(--ink-deep);
  font: 700 22px/1 Caveat, cursive; white-space: nowrap; box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}
.sticker-pop.go { animation: stick 2.2s cubic-bezier(.2, .9, .3, 1.2) forwards; }
@keyframes stick {
  0% { opacity: 0; transform: scale(.2) rotate(-40deg); }
  22% { opacity: 1; transform: scale(1.12) rotate(8deg); }
  34% { transform: scale(1) rotate(6deg); }
  80% { opacity: 1; transform: scale(1) rotate(6deg); }
  100% { opacity: 0; transform: translate(-120px, 260px) scale(.3) rotate(0deg); }
}
.album { max-width: 760px; margin-top: 36px; }
.album-title { margin: 0 0 14px; font-weight: 600; color: var(--ink); }
.album-title span { color: var(--muted); font-weight: 500; }
.album-slots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.slot {
  aspect-ratio: 3 / 4; border-radius: 14px; border: 2px dashed rgba(61, 130, 209, .35); background: rgba(255, 255, 255, .45);
  display: grid; place-items: center; color: rgba(61, 130, 209, .5); font-weight: 700;
}
.slot img { width: 86%; transform: rotate(var(--t, -4deg)); animation: land .5s cubic-bezier(.2, .9, .3, 1.4); }
.slot.got { border-style: solid; border-color: #fff; background: rgba(255, 255, 255, .85); }
@keyframes land { from { transform: scale(0) rotate(-30deg); } }

/* Telefon: karakter ortada altta, metin üstte kart içinde */
@media (max-width: 760px) {
  :root { --u: calc(100vw / 390); }
  .menu { display: none; }
  .top { padding: 0 16px; justify-content: center; }
  .brand-title { font-size: 23px; }
  .stage { justify-content: center; padding-right: 0; }
  .char { width: min(calc(300 * var(--u)), 52vh * 560 / 760); }
  .copy { width: auto; margin: 0 16px; align-self: flex-start; margin-top: calc(96 * var(--u)); }
  .step .copy { padding: 20px; border-radius: 18px; background: var(--card); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .eyebrow, .num { font-size: 12px; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .lead, .step p:not(.num) { font-size: 16px; max-width: none; margin-top: 14px; }
  .cta { font-size: 15px; margin-top: 20px; }
  .bigtype { font-size: 170px; bottom: -30px; }
  .cards, .threats { grid-template-columns: 1fr; }
  .threats { gap: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 18px; }
  .stat b { font-size: 30px; }
  .story, .facts { padding: 72px 16px 56px; }
  .story-body { font-size: 17px; }
  .sub { margin-top: 48px; }
  .reunion-stage { grid-template-columns: 1fr; align-content: center; gap: 20px; padding: 76px 16px 24px; }
  .reunion-copy p:not(.eyebrow) { font-size: 15px; margin-top: 10px; }
  .phases { margin-top: 14px; gap: 6px; }
  .phases li { padding: 6px 10px; font-size: 12px; }
  .polaroid { padding: 10px 10px 54px; }
  .polaroid figcaption { font-size: 21px; bottom: 14px; }
  .quiz { padding: 72px 16px 72px; }
  .quiz-card { padding: 22px 18px; border-radius: 22px; }
  .quiz-q { font-size: 21px; }
  .quiz-opts button { font-size: 15px; padding: 13px 14px; }
  .sticker-pop { width: 120px; right: -6px; top: -50px; }
  .album-slots { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  h1, h2, .sub, .stat b, .card h4, .foot p, .spark, .hug .hearts span, .brand-flake, .brand-title, .brand-title b, .brand-pitir { animation: none; }
  .sticker-pop.go { animation-duration: .01s; }
}
