/* ============================================================
   TEMA: KÖPEK - "Parkta Bir Gün"
   Güneşli gök, süzülen bulutlar, yeşil tepeler, kuyruk sallayan
   SVG köpek. Açılış: "Topu At" → köpek topu yakalar, kalpler uçar.
   Tamamen kod-çizim: sprite/bitmap yok.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; }

:root {
    --sky-1: #cfeffd;
    --sky-2: #e9f8ff;
    --grass: #8ccf6f;
    --grass-d: #6cbd57;
    --grass-l: #a9dd8b;
    --sun: #ffd166;

    --or:   #ff8b3d;   /* neşeli turuncu - ana vurgu */
    --or-d: #e97425;
    --coral:#ff8b9d;

    --ink:   #3a5140;
    --ink-2: #5c705c;
    --muted: #8fa38c;

    /* Ayarlar → Tema Renkleri override'ları (body.kas-tpl-kopek üzerinden ezilir) */
    --kas-bg:    #d8f0fc;
    --kas-title: #ff8b3d;  --kas-title-rgb: 255,139,61;
    --kas-text:  #3a5140;  --kas-text-rgb: 58,81,64;
    --kas-card:  #ffffff;  --kas-card-rgb: 255,255,255;

    --card:      rgba(var(--kas-card-rgb), .92);
    --line:      rgba(var(--kas-text-rgb), .12);
    --shadow:    0 18px 44px -20px rgba(58, 81, 64, .35);

    --font-h:      'Fredoka', 'Trebuchet MS', sans-serif;
    --font-b:      'Quicksand', 'Trebuchet MS', sans-serif;
    --font-script: 'Caveat', cursive;

    --ease:   cubic-bezier(.33, 1, .45, 1);
    --bounce: cubic-bezier(.34, 1.56, .5, 1);
}

body {
    font-family: var(--font-b);
    color: var(--kas-text);
    background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 46%, var(--kas-bg) 100%);
    min-height: 100svh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Okuma ilerleme çubuğu ── */
.kas-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 90;
    background: linear-gradient(90deg, var(--or), var(--sun)); border-radius: 0 3px 3px 0; }

/* ============ PARK SAHNESİ (sabit arka plan) ============ */
/* Zemin: gerçek park fotoğrafı (park.webp). Üzerine hafif beyaz tül → metin
   okunabilirliği. Vektör güneş/tepeler fotoğrafta zaten var → kapalı;
   süzülen bulutlar ve konfeti fotoğrafın üstünde yaşamaya devam eder. */
.park { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
    background: url('/designs/kopek/park.webp') center bottom / cover no-repeat; }
.park::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, .12) 45%, rgba(255, 255, 255, .22) 100%); }

.sun, .hills, .grass { display: none; } /* fotoğrafın kendi güneşi/tepeleri var */

.sun { position: absolute; top: 6vh; right: 8vw; width: 120px; height: 120px; }
.sun-core { position: absolute; inset: 22px; border-radius: 50%; background: var(--sun);
    box-shadow: 0 0 60px 18px rgba(255, 209, 102, .55); }
.sun-rays { position: absolute; inset: 0; border-radius: 50%; animation: sun-spin 40s linear infinite;
    background: repeating-conic-gradient(rgba(255, 209, 102, .5) 0deg 6deg, transparent 6deg 30deg);
    -webkit-mask-image: radial-gradient(circle, transparent 34%, #000 36%, #000 52%, transparent 54%);
    mask-image: radial-gradient(circle, transparent 34%, #000 36%, #000 52%, transparent 54%); }
@keyframes sun-spin { to { transform: rotate(360deg); } }

/* Süzülen bulutlar - gökyüzü temasının gerçek bulut görselleri (blur'lu, yumuşak) */
.cloud { position: absolute; left: 0; will-change: transform; animation: cloud-drift linear infinite; }
.cloud img { width: 100%; height: auto; display: block; filter: blur(2.5px) brightness(1.07) contrast(.96); }
@keyframes cloud-drift { from { transform: translateX(-36vw); } to { transform: translateX(124vw); } }
.cloud.c1 { top: 6vh; width: clamp(220px, 30vw, 420px); opacity: .9; animation-duration: 95s; }
.cloud.c2 { top: 18vh; width: clamp(150px, 21vw, 300px); opacity: .7; animation-duration: 130s; animation-delay: -55s; }
.cloud.c3 { top: 2vh; width: clamp(120px, 16vw, 230px); opacity: .55; animation-duration: 115s; animation-delay: -85s; }

.hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 26vh; min-height: 150px; opacity: .5; }
.grass { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--grass-d); opacity: .35; }

/* Gökten süzülen minik toplar/kemikler/kalpler */
.fetti { position: absolute; inset: 0; overflow: hidden; }
.ff { position: absolute; top: -8%; will-change: transform; animation: ff-fall linear infinite; }
@keyframes ff-fall { to { transform: translateY(120vh) rotate(200deg); } }
.ff-i { display: block; animation: ff-sway ease-in-out infinite alternate; }
@keyframes ff-sway { from { transform: translateX(-14px); } to { transform: translateX(14px); } }

/* ============ ORTAK İKONLAR ============ */
.ic-bone { width: 26px; height: 13px; color: var(--kas-title); }
.ic-paw { width: 15px; height: 15px; color: var(--kas-title); }
.ic-ball { width: 20px; height: 20px; }

/* ============ GİRİŞ KAPAĞI ============ */
.entry { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column;
    align-items: center; justify-content: center; padding: 22px;
    transition: opacity .5s var(--ease), transform .5s var(--ease); }
.entry.is-leaving { opacity: 0; transform: scale(1.04); pointer-events: none; }
.entry-card { position: relative; width: min(430px, 92vw); text-align: center;
    background: var(--card); border-radius: 30px; padding: 64px 34px 34px;
    box-shadow: var(--shadow), 0 0 0 8px rgba(255, 255, 255, .35); }
/* ── Kapaktaki CSS-art yavru köpek - orijinal geometri BİREBİR korunmuştur
   (MIT lisanslı public CodePen sanatı). Sadece sınıf adları bize taşındı,
   konteyner px tabanlı yapıldı ve smile kalınlığı px'e sabitlendi. ── */
.entry-pup { position: absolute; top: -84px; left: 50%; transform: translateX(-50%);
    width: 180px; height: 144px; filter: drop-shadow(0 14px 18px rgba(58, 81, 64, .28)); }
.pup { position: relative; width: 100%; height: 100%; }

.pup-heart { position: absolute; width: 6%; height: 7%; background-color: #ff7d90;
    border-bottom-right-radius: 23%; opacity: 0; animation-fill-mode: both; }
.pup-heart::before, .pup-heart::after { content: ""; position: absolute; width: 100%; height: 100%;
    border-radius: 50%; background-color: #ff7d90; }
.pup-heart::after { bottom: 0; left: -53%; }
.pup-heart::before { top: -53%; right: 0; transform: rotate(45deg); }
.pup-heart.ph1 { top: -25%; left: 15%; animation: pup-heart-beat 2s ease-out infinite 1.5s; }
.pup-heart.ph2 { top: -36%; left: 7%;  animation: pup-heart-beat 2s ease-out infinite 1s; }
.pup-heart.ph3 { top: -48%; left: 14%; animation: pup-heart-beat 2s ease-out infinite .5s; }
.pup-heart.ph4 { top: -53%; left: -3%; animation: pup-heart-beat 2s ease-out infinite; }
@keyframes pup-heart-beat {
    0% { transform: scale(.75) rotate(35deg); opacity: 1; }
    5%, 15%, 25% { transform: scale(1) rotate(35deg); }
    10%, 20% { transform: scale(.75) rotate(35deg); }
    70% { opacity: 1; }
    100% { transform: rotate(35deg) translateY(-10px) translateX(-10px); opacity: 0; }
}

.pup-head { position: absolute; width: 100%; height: 100%; z-index: 4;
    animation: pup-head 1s ease-out infinite alternate both; }
@keyframes pup-head { to { transform: translateX(-3px) rotate(3deg); } }

.pup-face { height: 40%; width: 42%; position: absolute; top: -13%; left: -3%;
    background-color: #fff; z-index: 6;
    border-top-right-radius: 45% 50%; border-top-left-radius: 35% 50%;
    border-bottom-left-radius: 35% 21%; }
.pup-face::after, .pup-face::before { content: ""; position: absolute; background-color: #f4c082; }
.pup-face::after { width: 27%; height: 23%; top: -1%; left: 7%;
    border-top-right-radius: 100% 100%; border-bottom-left-radius: 49% 100%;
    transform: rotate(-64deg);
    border-top-left-radius: 0% -20%; border-bottom-right-radius: 52% 0%;
    box-shadow: rgba(0, 0, 0, .1) 2px -6px 11px 1px; }
.pup-face::before { width: 55%; height: 35%; left: 42%; top: 0;
    border-radius: 23% 7% 16% 12%; transform: rotate(0deg) scaleX(-1); }

.pup-eye { width: 6%; height: 6%; position: absolute; top: 24%; border-radius: 100%;
    background-color: #000; z-index: 6; animation: pup-eye 1800ms infinite; }
@keyframes pup-eye {
    from, to { animation-timing-function: step-end; opacity: 1; }
    50%, 55% { animation-timing-function: step-start; opacity: 0; }
}
.pup-eye.pey-l { left: 27%; }
.pup-eye.pey-r { left: 46%; }

.pup-smile { background-color: transparent; border-color: #000; width: 44%; height: 48%;
    border-style: solid; border-width: 2.4px; z-index: 6; position: absolute;
    bottom: 35%; left: 14%;
    border-top-color: transparent; border-right-color: transparent; border-left-color: transparent;
    border-bottom-left-radius: 72% 100%; border-bottom-right-radius: 77% 100%;
    border-top-right-radius: 50%; transform: rotate(-41deg); }

.pup-ear { position: absolute; }
.pup-ear.pe-l { top: -40%; left: 3%; height: 47%; width: 19%; z-index: 1;
    background-color: #d99a55;
    border-top-left-radius: 68% 100%; border-top-right-radius: 100% 100%;
    transform-origin: bottom center;
    animation: pup-ear-l 1000ms ease-out infinite alternate both; }
@keyframes pup-ear-l {
    from { transform: rotate(-26deg); }
    25%  { transform: rotate(-35deg); }
    50%  { transform: rotate(-26deg); }
    to   { transform: rotate(-40deg); }
}
.pup-ear.pe-r { top: -39%; left: 19%; height: 38%; width: 18%; z-index: 1;
    background-color: #f4c082;
    border-top-left-radius: 56% 100%; border-top-right-radius: 100% 100%;
    border-bottom-right-radius: 14% 38%; transform-origin: bottom center;
    animation: pup-ear-r 1000ms ease-out infinite alternate both; }
@keyframes pup-ear-r {
    from { transform: rotate(-331deg); }
    25%  { transform: rotate(-320deg); }
    50%  { transform: rotate(-331deg); }
    to   { transform: rotate(-320deg); }
}

.pup-nose { position: absolute; width: 24%; height: 24%; background-color: #fff; z-index: 7;
    left: -12%; top: -3%; transform: rotate(12deg);
    border-bottom-left-radius: 50% 88%; border-top-left-radius: 11% 43%; }
.pup-nose::after { content: ""; position: absolute; width: 50%; height: 55%;
    background-color: #000; border-radius: 100%; left: -7%; top: -18%; }

/* DİKKAT: orijinalde .body'nin top'u YOK (statik konum → 0). top:50% yazmak
   kafayı gövdeden koparıyor - sakın ekleme. */
.pup-body { position: absolute; width: 100%; height: 50%;
    background-color: #f4c082; z-index: 3;
    border-top-right-radius: 17% 40%; border-top-left-radius: 25%;
    border-bottom-right-radius: 5% 13%; border-bottom-left-radius: 30% 40%; }
.pup-chest { position: absolute; width: 45%; height: 100%; background-color: #fff; z-index: 4;
    border-top-right-radius: 17% 40%; border-top-left-radius: 25%;
    border-bottom-right-radius: 40% 40%; border-bottom-left-radius: 40% 40%; }
.pup-chest::after, .pup-chest::before { content: ""; position: absolute; width: 7%; height: 55%;
    border-radius: 39%; background-color: #fff; }
.pup-chest::after { top: 36%; left: 3%; transform: rotate(-1deg); }
.pup-chest::before { top: 19%; left: -4%; }

.pup-legs { position: absolute; top: 97%; left: 0; width: 100%; height: 30%; z-index: 2;
    animation: pup-legs 1s ease-out infinite 1.5s alternate both; }
@keyframes pup-legs { from { transform: translateY(-1px); } to { transform: translateY(0); } }
.pup-leg { width: 10%; height: 100%; background-color: #f4c082; position: absolute;
    border-bottom-right-radius: 100%; border-bottom-left-radius: 100%; }
.pup-leg::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 49%;
    background-color: #fff; border-bottom-right-radius: 100%; border-bottom-left-radius: 100%; }
.pup-leg.plf1 { left: 38%; transform: rotate(1deg); }
.pup-leg.plf2 { left: 20%; transform: rotate(-4deg); }
.pup-leg.plb1 { left: 69%; transform: rotate(-7deg); }
.pup-leg.plb2 { left: 85%; transform: rotate(2deg); }

.pup-tail { position: absolute; top: -14%; left: 92%; width: 10%; height: 45%;
    background-color: #f4c082; z-index: 2; transform: rotate(20deg);
    border-top-right-radius: 30% 30%; border-top-left-radius: 40% 30%;
    border-bottom-right-radius: 30% 40%; border-bottom-left-radius: 40% 40%;
    animation: pup-tail 170ms ease-out infinite; }
@keyframes pup-tail {
    from, to { transform: rotate(10deg); }
    50%, 60% { transform: rotate(70deg) translateX(10px) translateY(2px); }
}
.pup-tail::before { content: ""; position: absolute; top: -8%; left: -7%; width: 100%; height: 50%;
    background-color: #f4c082; border-radius: 50%;
    animation: pup-tail-tip 160ms ease-out infinite; }
@keyframes pup-tail-tip { from, to { transform: translateX(0); } 50% { transform: translateX(3px); } }
.entry-eyebrow { font-family: var(--font-h); font-size: 12px; font-weight: 600; letter-spacing: .3em;
    text-transform: uppercase; color: var(--kas-title); margin-bottom: 12px; padding-left: .3em; }
.entry-couple { font-family: var(--font-h); font-weight: 600; font-size: clamp(34px, 8vw, 46px);
    line-height: 1.08; color: var(--kas-text); margin-bottom: 10px; }
.entry-sub { font-family: var(--font-script); font-size: clamp(19px, 4.6vw, 23px); color: var(--ink-2); margin-bottom: 26px; }
.entry-btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-h);
    font-size: 16px; font-weight: 600; letter-spacing: .04em; color: #fff; cursor: pointer;
    background: linear-gradient(135deg, var(--or), var(--or-d)); border: 0; border-radius: 999px;
    padding: 15px 30px; box-shadow: 0 14px 30px -10px rgba(233, 116, 37, .65);
    transition: transform .2s var(--bounce), box-shadow .25s; }
.entry-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 20px 38px -12px rgba(233, 116, 37, .75); }
.entry-btn-ball { display: inline-flex; animation: ball-wiggle 2.2s ease-in-out infinite; }
@keyframes ball-wiggle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-18deg); } 60% { transform: rotate(14deg); } }
.entry-foot { margin-top: 20px; font-family: var(--font-h); font-size: 11px; letter-spacing: .24em;
    text-transform: uppercase; color: var(--muted); }
.entry-brand { margin-top: 22px; font-family: var(--font-h); font-size: 12px; letter-spacing: .3em;
    text-transform: uppercase; color: rgba(var(--kas-text-rgb), .45); }

/* ============ AÇILIŞ: TOPU AT ============ */
.opening { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0; visibility: hidden; }
.opening.is-active { opacity: 1; visibility: visible; }
.opening.is-done { opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.op-sky { position: absolute; inset: 0;
    background: url('/designs/kopek/park.webp') center bottom / cover no-repeat; }
.op-sky::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .18); }
.op-hill { display: none; } /* fotoğrafın kendi tepeleri var */

/* Top: soldan fırlar, kavisle ortaya süzülür; yakalanınca kaybolur (köpeğin ağzında) */
.op-ball { position: absolute; left: 50%; bottom: calc(24vh + 130px); width: 44px; height: 44px; opacity: 0; margin-left: -22px; }
.op-ball .ic-ball { width: 44px; height: 44px; filter: drop-shadow(0 8px 12px rgba(58, 81, 64, .3)); }
.opening.is-active .op-ball { animation: ball-throw 1.15s cubic-bezier(.3, .6, .45, 1) .15s forwards; }
@keyframes ball-throw {
    0%   { opacity: 1; transform: translate(-46vw, 10vh) rotate(0) scale(.8); }
    55%  { opacity: 1; transform: translate(-10vw, -16vh) rotate(240deg) scale(1); }
    100% { opacity: 1; transform: translate(0, 0) rotate(420deg) scale(1); }
}
.opening.is-caught .op-ball { animation: ball-caught .3s ease forwards; }
@keyframes ball-caught { to { opacity: 0; transform: translate(0, 4vh) scale(.5); } }

/* Köpek: sağdan hoplayarak gelir; topu yakalayınca sevinç zıplaması
   (pup doğal olarak sola - yani gelen topa - bakar) */
.op-dog { position: absolute; left: 50%; bottom: 24vh; width: 210px; height: 168px; margin-left: -105px;
    transform: translateX(60vw); filter: drop-shadow(0 16px 22px rgba(58, 81, 64, .28)); }
.opening.is-active .op-dog { animation: dog-arrive 1.1s var(--ease) .2s forwards; }
@keyframes dog-arrive {
    0%   { transform: translateX(60vw) translateY(0); }
    25%  { transform: translateX(42vw) translateY(-9vh); }
    45%  { transform: translateX(28vw) translateY(0); }
    65%  { transform: translateX(14vw) translateY(-7vh); }
    82%  { transform: translateX(4vw)  translateY(0); }
    100% { transform: translateX(0)    translateY(0); }
}
.opening.is-caught .op-dog { animation: dog-joy .8s var(--bounce) forwards; }
@keyframes dog-joy {
    0%   { transform: translateX(0) translateY(0) rotate(0); }
    35%  { transform: translateX(0) translateY(-13vh) rotate(-8deg); }
    70%  { transform: translateX(0) translateY(0) rotate(3deg); }
    100% { transform: translateX(0) translateY(0) rotate(0); }
}
.opening.is-caught .op-dog .pup-tail { animation-duration: .09s; } /* sevinç: kuyruk turbo */

/* Yakalanınca saçılan kalpler */
.op-hearts { position: absolute; left: 50%; bottom: calc(24vh + 120px); width: 0; height: 0; }
.op-hearts span { position: absolute; left: 0; top: 0; font-size: 26px; color: var(--coral); opacity: 0; }
.opening.is-caught .op-hearts span { animation: heart-pop 1s var(--ease) forwards; }
.op-hearts span:nth-child(1) { --hx: -90px;  --hy: -110px; animation-delay: .05s !important; }
.op-hearts span:nth-child(2) { --hx: -40px;  --hy: -150px; animation-delay: .12s !important; font-size: 20px; }
.op-hearts span:nth-child(3) { --hx: 26px;   --hy: -140px; animation-delay: .08s !important; }
.op-hearts span:nth-child(4) { --hx: 84px;   --hy: -100px; animation-delay: .18s !important; font-size: 21px; }
.op-hearts span:nth-child(5) { --hx: -120px; --hy: -50px;  animation-delay: .22s !important; font-size: 18px; }
.op-hearts span:nth-child(6) { --hx: 120px;  --hy: -46px;  animation-delay: .26s !important; font-size: 17px; }
@keyframes heart-pop {
    0%   { opacity: 0; transform: translate(0, 0) scale(.3); }
    25%  { opacity: 1; }
    100% { opacity: 0; transform: translate(var(--hx), var(--hy)) scale(1.15); }
}

/* ============ ANA İÇERİK ============ */
.memory { position: relative; z-index: 5; max-width: 660px; margin: 0 auto; padding: 40px 20px 90px;
    opacity: 0; transition: opacity .8s var(--ease); }
.memory.is-visible { opacity: 1; }

.hero { text-align: center; padding: 46px 10px 30px; }
.hero-eyebrow { font-family: var(--font-h); font-size: 12px; font-weight: 600; letter-spacing: .32em;
    text-transform: uppercase; color: var(--kas-title); margin-bottom: 16px; padding-left: .32em; }
.hero-couple { font-family: var(--font-h); font-weight: 600; font-size: clamp(42px, 10vw, 66px);
    line-height: 1.05; color: var(--kas-text); margin-bottom: 10px; }
.hero-title { font-family: var(--font-script); font-weight: 500; font-size: clamp(22px, 5.5vw, 30px);
    color: var(--ink-2); margin-bottom: 26px; }
.hero-since { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-h);
    font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
    color: var(--ink-2); margin-bottom: 34px; }
.hero-since .ic-bone { width: 22px; height: 11px; opacity: .8; }
.hero-photo { max-width: 340px; width: 82%; margin: 0 auto; }
.hero-scroll { margin-top: 30px; font-family: var(--font-h); font-size: 12px; letter-spacing: .18em;
    text-transform: uppercase; color: var(--muted); animation: dog-bob-min 2.6s ease-in-out infinite; }
@keyframes dog-bob-min { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* ── Bloklar: ortak ── */
.block { padding: 30px 0; }
.kas-rise { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.kas-rise.is-in { opacity: 1; transform: none; }
.block-head { text-align: center; margin-bottom: 24px; }
.block-eyebrow { font-family: var(--font-h); font-size: 11px; font-weight: 600; letter-spacing: .3em;
    text-transform: uppercase; color: var(--kas-title); margin-bottom: 8px; padding-left: .3em; }
.block-title { font-family: var(--font-h); font-weight: 600; font-size: clamp(24px, 6vw, 32px);
    color: var(--kas-text); line-height: 1.15; }
.block-ornament { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.orn-line { width: 44px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(var(--kas-title-rgb), .5)); }
.block-ornament .orn-line:last-child { background: linear-gradient(90deg, rgba(var(--kas-title-rgb), .5), transparent); }
.block-empty-hint { font-family: var(--font-b); color: var(--muted); font-size: 14px; }

/* ── Gün sayacı: tasma künyesi ── */
.day-counter { display: flex; justify-content: center; }
.tag-card { position: relative; text-align: center; background: var(--card); border-radius: 26px;
    padding: 44px 46px 30px; box-shadow: var(--shadow); border: 2px dashed rgba(var(--kas-title-rgb), .35); }
.tag-strap { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 46px; height: 46px;
    border: 6px solid var(--or); border-radius: 50%; opacity: .85;
    -webkit-mask-image: linear-gradient(#000 55%, transparent 56%); mask-image: linear-gradient(#000 55%, transparent 56%); }
.tag-bone { margin-bottom: 4px; }
.tag-bone .ic-bone { width: 40px; height: 20px; }
.tag-eyebrow { font-family: var(--font-h); font-size: 11px; font-weight: 600; letter-spacing: .3em;
    text-transform: uppercase; color: var(--ink-2); }
.tag-num { font-family: var(--font-h); font-weight: 600; font-size: clamp(56px, 13vw, 84px);
    line-height: 1.05; color: var(--kas-title); }
.tag-label { font-family: var(--font-script); font-size: 21px; color: var(--ink-2); }
.tag-foot { margin-top: 12px; font-family: var(--font-h); font-size: 11px; letter-spacing: .2em;
    text-transform: uppercase; color: var(--muted); }

/* ── Mesaj: köpekli konuşma balonu (aynı CSS-art pup) ── */
.woof-card { display: flex; align-items: flex-end; gap: 10px; }
.woof-dog { position: relative; flex: 0 0 100px; width: 100px; height: 80px; margin-bottom: 14px;
    filter: drop-shadow(0 8px 12px rgba(58, 81, 64, .22)); }
.woof-bubble { position: relative; flex: 1; background: var(--card); border-radius: 22px 22px 22px 6px;
    padding: 22px 24px; box-shadow: var(--shadow); }
.woof-bubble::before { content: ""; position: absolute; left: -10px; bottom: 14px; border: 10px solid transparent;
    border-right-color: rgba(var(--kas-card-rgb), .92); border-left: 0; }
.woof-text { font-size: 16.5px; line-height: 1.75; color: var(--kas-text); font-weight: 500; }

/* ── Not ── */
.note { text-align: center; }
.note-text { display: inline-block; font-family: var(--font-script); font-size: clamp(22px, 5.4vw, 28px);
    color: var(--ink-2); transform: rotate(-1.6deg); padding: 10px 18px;
    background: rgba(255, 255, 255, .55); border-radius: 14px; }

/* ── Mektup: park bankı notu ── */
.letter-paper { position: relative; background: var(--card); border-radius: 20px; padding: 40px 30px 30px;
    box-shadow: var(--shadow);
    background-image: repeating-linear-gradient(transparent 0 30px, rgba(var(--kas-text-rgb), .07) 30px 31px); }
.letter-clip { position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(6deg);
    width: 40px; height: 40px; display: grid; place-items: center; background: var(--sun);
    border-radius: 50%; box-shadow: 0 6px 14px -4px rgba(58, 81, 64, .4); }
.letter-clip .ic-paw { color: #a06b12; }
.letter-mark { text-align: center; font-family: var(--font-h); font-size: 11px; font-weight: 600;
    letter-spacing: .28em; text-transform: uppercase; color: var(--kas-title); margin-bottom: 18px; }
.letter-to { font-family: var(--font-script); font-size: 24px; color: var(--kas-text); margin-bottom: 10px; }
.letter-body { font-size: 16px; line-height: 1.95; color: var(--kas-text); }
.letter-body p { margin-bottom: 12px; }
.letter-from { text-align: right; font-family: var(--font-script); font-size: 22px; color: var(--ink-2); margin-top: 8px; }

/* ── Galeri: polaroid slider ── */
.slider { position: relative; }
.slider-track { position: relative; min-height: 300px; }
.slide { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
    opacity: 0; transform: scale(.94) rotate(1.6deg); transition: opacity .5s var(--ease), transform .5s var(--ease);
    pointer-events: none; }
.slide.is-active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.frame { position: relative; background: #fff; padding: 12px 12px 40px; border-radius: 6px;
    box-shadow: var(--shadow); transform: rotate(-1.2deg); max-width: 420px; }
.slide:nth-child(even) .frame { transform: rotate(1.4deg); }
.frame img { display: block; width: 100%; border-radius: 3px; }
.frame-tape { position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-3deg);
    width: 92px; height: 26px; background: rgba(255, 209, 102, .8); border-radius: 3px;
    box-shadow: 0 3px 8px -3px rgba(58, 81, 64, .3); }
.frame-cap { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center;
    font-family: var(--font-script); font-size: 19px; color: #6a6a58; }
.hero-photo .frame { padding-bottom: 14px; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.slider-arrow { width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
    display: grid; place-items: center; background: #fff; color: var(--kas-title);
    box-shadow: 0 8px 20px -8px rgba(58, 81, 64, .35); transition: transform .2s var(--bounce); }
.slider-arrow:hover { transform: scale(1.1); }
.slider-arrow svg { width: 20px; height: 20px; }
.slider-dots { display: flex; gap: 7px; }
.dot { width: 9px; height: 9px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(var(--kas-text-rgb), .22); transition: background .25s, transform .25s; }
.dot.is-active { background: var(--kas-title); transform: scale(1.25); }

/* ── Zaman çizelgesi: pati izli patika ── */
.walk-list { list-style: none; position: relative; padding-left: 42px; }
.walk-list::before { content: ""; position: absolute; left: 14px; top: 8px; bottom: 8px; width: 0;
    border-left: 3px dashed rgba(var(--kas-title-rgb), .4); }
.walk-item { position: relative; margin-bottom: 26px; }
.walk-item:last-child { margin-bottom: 0; }
.walk-dot { position: absolute; left: -42px; top: 6px; width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center; background: #fff; box-shadow: 0 6px 14px -6px rgba(58, 81, 64, .4); }
.walk-card { display: flex; gap: 16px; align-items: flex-start; background: var(--card);
    border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.walk-photo { flex: 0 0 96px; }
.walk-photo img { width: 96px; height: 96px; object-fit: cover; border-radius: 14px; }
.walk-date { display: inline-block; font-family: var(--font-h); font-size: 11px; font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--grass-d);
    border-radius: 999px; padding: 4px 12px; margin-bottom: 8px; }
.walk-title { font-family: var(--font-h); font-weight: 600; font-size: 19px; color: var(--kas-text); margin-bottom: 4px; }
.walk-desc { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }

/* ── Sürpriz: topu yakala ── */
.surprise { text-align: center; }
.fetch-btn { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 12px;
    background: none; border: 0; cursor: pointer; padding: 18px; transition: opacity .45s, transform .45s var(--ease); }
.fetch-btn.is-gone { opacity: 0; transform: translateY(-30px) scale(.7); }
.fetch-ball { display: inline-flex; animation: fetch-bounce 1.6s var(--bounce) infinite; }
.fetch-ball .ic-ball { width: 74px; height: 74px; filter: drop-shadow(0 14px 18px rgba(58, 81, 64, .3)); }
@keyframes fetch-bounce { 0%, 100% { transform: translateY(0) rotate(0); } 45% { transform: translateY(-22px) rotate(30deg); } 65% { transform: translateY(0) rotate(60deg); } }
.fetch-label { font-family: var(--font-h); font-size: 13px; font-weight: 600; letter-spacing: .2em;
    text-transform: uppercase; color: var(--kas-title); }
.surprise-card { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .6s .15s; }
.surprise-card.is-open { max-height: 900px; opacity: 1; }
.pk-card { background: var(--card); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.surprise-text { font-size: 16.5px; line-height: 1.8; color: var(--kas-text); font-weight: 500; }

/* ── Park defteri (guestbook) ── */
.guestbook .gb-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.gb-entry { background: var(--card); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow);
    border-left: 5px solid var(--grass-l); }
.gb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.gb-head strong { font-family: var(--font-h); font-weight: 600; color: var(--kas-text); }
.gb-head time { font-size: 12px; color: var(--muted); }
.gb-entry p { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.gb-form { display: flex; flex-direction: column; gap: 10px; background: var(--card);
    border-radius: 20px; padding: 20px; box-shadow: var(--shadow); }
.gb-form input, .gb-form textarea { font-family: var(--font-b); font-size: 15px; color: var(--kas-text);
    background: rgba(var(--kas-text-rgb), .05); border: 2px solid transparent; border-radius: 14px;
    padding: 12px 16px; resize: vertical; transition: border-color .2s, background .2s; }
.gb-form input:focus, .gb-form textarea:focus { outline: none; border-color: rgba(var(--kas-title-rgb), .5); background: #fff; }
.gb-form button { font-family: var(--font-h); font-size: 15px; font-weight: 600; color: #fff; cursor: pointer;
    background: linear-gradient(135deg, var(--or), var(--or-d)); border: 0; border-radius: 999px; padding: 13px;
    box-shadow: 0 12px 26px -10px rgba(233, 116, 37, .6); transition: transform .2s var(--bounce); }
.gb-form button:hover { transform: translateY(-2px); }
.gb-status { font-family: var(--font-b); color: var(--grass-d); font-size: 13px; text-align: center; font-weight: 600; }

/* ── Footer ── */
.footer { text-align: center; padding-bottom: 10px; }
.footer-dog { position: relative; width: 140px; height: 112px; margin: 30px auto 16px;
    filter: drop-shadow(0 10px 14px rgba(58, 81, 64, .22)); }
.footer-couple { font-family: var(--font-h); font-weight: 600; font-size: 26px; color: var(--kas-text); }
.footer-since { font-family: var(--font-script); font-size: 20px; color: var(--ink-2); margin: 4px 0 14px; }
.footer-counter { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted);
    background: rgba(255, 255, 255, .6); border-radius: 999px; padding: 7px 16px; }
.footer-counter-num { font-weight: 700; color: var(--kas-title); }

/* ── Kuyruk + dil animasyonları (tüm köpek kopyaları) ── */
.dog-tail { transform-origin: 32px 78px; animation: tail-wag 1.1s ease-in-out infinite; }
@keyframes tail-wag { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-22deg); } }
.dog-tongue { transform-origin: 86px 65px; animation: tongue-pant 1.5s ease-in-out infinite; }
@keyframes tongue-pant { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.72); } }

/* ── Sticky müzik çalar ── */
.player { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60;
    display: flex; align-items: center; gap: 12px; width: min(400px, calc(100vw - 28px));
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-radius: 999px; padding: 10px 18px 10px 12px; box-shadow: 0 18px 40px -14px rgba(58, 81, 64, .45);
    opacity: 0; pointer-events: none; transition: opacity .5s, transform .5s var(--ease); }
body.is-reading .player { opacity: 1; pointer-events: auto; }
.player-progress { position: absolute; top: 0; left: 24px; right: 24px; height: 3px; border-radius: 2px;
    background: rgba(var(--kas-text-rgb), .1); overflow: hidden; }
.player-progress-fill { height: 100%; width: 0; background: var(--or); border-radius: 2px; }
.player-controls { display: flex; align-items: center; gap: 4px; }
.player-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
    display: grid; place-items: center; background: transparent; color: var(--kas-text); transition: background .2s; }
.player-btn:hover { background: rgba(var(--kas-title-rgb), .12); }
.player-btn svg { width: 17px; height: 17px; }
.player-play { background: var(--or); color: #fff; width: 40px; height: 40px; }
.player-play:hover { background: var(--or-d); }
.player-info { flex: 1; min-width: 0; }
.player-title { font-family: var(--font-h); font-size: 13px; font-weight: 600; color: var(--kas-text);
    white-space: nowrap; overflow: hidden; }
.player-meta { font-size: 11px; color: var(--muted); }
.player-note { color: var(--kas-title); }
.player-note svg { width: 18px; height: 18px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 640px) {
    .sun { width: 84px; height: 84px; top: 4vh; right: 5vw; }
    .sun-core { inset: 16px; }
    .entry-card { padding-top: 56px; }
    .entry-pup { width: 148px; height: 118px; top: -86px; }
    .op-dog { width: 165px; height: 132px; margin-left: -82px; }
    .op-ball .ic-ball { width: 34px; height: 34px; }
    .woof-card { flex-direction: column; align-items: center; gap: 0; }
    .woof-dog { flex-basis: auto; width: 90px; height: 72px; margin-bottom: 10px; }
    .woof-bubble { border-radius: 22px; }
    .woof-bubble::before { left: 50%; bottom: auto; top: -9px; transform: translateX(-50%) rotate(90deg); }
    .walk-card { flex-direction: column; }
    .walk-photo, .walk-photo img { width: 100%; }
    .walk-photo img { height: 150px; }
    .tag-card { padding: 40px 30px 26px; }
}

/* ============ ERİŞİLEBİLİRLİK ============ */
@media (prefers-reduced-motion: reduce) {
    .sun-rays, .cloud, .ff, .ff-i, .entry-btn-ball, .fetch-ball,
    .dog-tail, .dog-tongue, .hero-scroll,
    .pup-head, .pup-ear, .pup-eye, .pup-legs, .pup-tail, .pup-tail::before, .pup-heart { animation: none !important; }
    .opening.is-active .op-ball { animation-duration: .01s; }
    .opening.is-active .op-dog { animation-duration: .01s; }
    .kas-rise { opacity: 1; transform: none; transition: none; }
}
