/* ============================================================
   TEMA: DENİZ ESİNTİSİ - gerçekçi sualtı
   Katmanlar: gerçek foto + tanrı ışınları + caustic + baloncuklar
   Renkler --kas-* üzerinden özelleştirilir; düzen/opaklık sabit.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; }

:root {
    --abyss:    #021a24;
    --deep:     #063843;
    --teal:     #0a5562;
    --aqua:     #2fb0a8;
    --aqua-l:   #8fe6da;   /* deniz köpüğü - accent açık */
    --aqua-d:   #1b7d76;
    --foam:     #eafffb;
    --sun:      #ffe9a8;
    --sun-l:    #fff6da;

    --ink:      #eaf7f3;
    --ink-2:    #c4e0da;
    --ink-3:    #8db8b1;
    --muted:    #5d847f;

    --kas-title-rgb: 143,230,218;
    --kas-text-rgb:  234,247,243;
    --kas-card-rgb:  8,46,55;

    --card-bg:   rgba(var(--kas-card-rgb), 0.62);
    --card-bg-2: rgba(var(--kas-card-rgb), 0.50);
    --line:      rgba(var(--kas-title-rgb), 0.30);
    --line-soft: rgba(var(--kas-title-rgb), 0.16);

    --font-h:     'Cormorant Garamond', Georgia, serif;
    --font-b:     'Lora', Georgia, serif;
    --font-caps:  'Cinzel', Georgia, serif;
    --font-script:'Great Vibes', cursive;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
    font-family: var(--font-b); color: var(--ink); line-height: 1.7;
    background: var(--abyss);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;           /* entry açıkken scroll kilitli */
}
body.is-reading { overflow-x: hidden; overflow-y: auto; }

img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; color: inherit; background: 0; border: 0; padding: 0; }
::selection { background: var(--aqua-l); color: var(--abyss); }

/* ═══════════════════════════════════════════════════════════
   SAHNE - gerçek foto + derinlik gradyanı + ışık + baloncuk
   ═══════════════════════════════════════════════════════════ */
.sea { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

/* gerçek sualtı fotoğrafı - sabit, sinematik renk derecesi */
.sea-photo {
    position: absolute; inset: -2%;
    background: url('/gorseller/themes/deniz-esintisi/2151994355.webp') center / cover no-repeat;
    filter: brightness(0.62) saturate(1.15) contrast(1.04);
    transform: scale(1.06);
    animation: sea-breathe 26s ease-in-out infinite;
    transition: filter .9s var(--ease);
}
body.is-reading .sea-photo { filter: brightness(0.40) saturate(1.05) contrast(1.02); }
@keyframes sea-breathe {
    0%, 100% { transform: scale(1.06) translateY(0); }
    50%      { transform: scale(1.12) translateY(-1.2%); }
}

/* derinlik gradyanı + vinyet */
.sea-grade {
    position: absolute; inset: 0;
    background:
        radial-gradient(120% 70% at 50% -8%, rgba(143,230,218,0.30), transparent 55%),
        linear-gradient(180deg, rgba(10,85,98,0.30) 0%, rgba(6,56,67,0.45) 40%, rgba(2,26,36,0.80) 100%),
        radial-gradient(140% 100% at 50% 40%, transparent 55%, rgba(2,18,28,0.72) 100%);
}

/* yüzey caustic titreşimi */
.caustics {
    position: absolute; left: -20%; right: -20%; top: -10%; height: 60%;
    background:
        radial-gradient(60% 40% at 20% 30%, rgba(255,246,218,0.10), transparent 60%),
        radial-gradient(50% 35% at 70% 20%, rgba(143,230,218,0.12), transparent 60%),
        repeating-linear-gradient(72deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 22px),
        repeating-linear-gradient(108deg, rgba(143,230,218,0.05) 0 2px, transparent 2px 28px);
    mix-blend-mode: screen;
    filter: blur(6px);
    opacity: 0.7;
    animation: caustic-flow 18s ease-in-out infinite alternate;
}
@keyframes caustic-flow {
    0%   { transform: translateX(-3%) translateY(0)    scale(1.0); opacity: 0.55; }
    50%  { transform: translateX(2%)  translateY(1.5%) scale(1.08); opacity: 0.80; }
    100% { transform: translateX(4%)  translateY(0)    scale(1.0); opacity: 0.55; }
}

/* tanrı ışınları */
.rays { position: absolute; inset: 0; overflow: hidden; mix-blend-mode: screen; }
.ray {
    position: absolute; top: -12%;
    width: 26vw; height: 130vh;
    background: linear-gradient(180deg, rgba(255,246,218,0.30) 0%, rgba(143,230,218,0.08) 45%, transparent 78%);
    filter: blur(10px);
    transform-origin: top center;
    opacity: 0;
    animation: ray-glow 11s ease-in-out infinite;
}
.ray.r1 { left:  6%; transform: rotate(9deg);   width: 18vw; animation-delay: 0s;    }
.ray.r2 { left: 26%; transform: rotate(5deg);   width: 30vw; animation-delay: -2.5s; }
.ray.r3 { left: 50%; transform: rotate(-2deg);  width: 22vw; animation-delay: -5s;   }
.ray.r4 { left: 70%; transform: rotate(-7deg);  width: 26vw; animation-delay: -7.5s; }
.ray.r5 { left: 88%; transform: rotate(-11deg); width: 16vw; animation-delay: -3.5s; }
@keyframes ray-glow { 0%, 100% { opacity: 0.10; } 50% { opacity: 0.55; } }

/* yükselen baloncuklar */
.bubbles { position: absolute; inset: 0; overflow: hidden; }
.bubble {
    position: absolute; bottom: -8%;
    width: 12px; height: 12px; border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.9), rgba(143,230,218,0.25) 55%, transparent 72%);
    box-shadow: inset 0 0 4px rgba(255,255,255,0.5);
    opacity: 0;
    animation: bubble-rise 14s linear infinite;
}
.bubble:nth-child(1)  { left:  5%; width: 10px; height: 10px; animation-duration: 15s; animation-delay: -1s;  }
.bubble:nth-child(2)  { left: 12%; width: 16px; height: 16px; animation-duration: 12s; animation-delay: -4s;  }
.bubble:nth-child(3)  { left: 19%; width:  7px; height:  7px; animation-duration: 18s; animation-delay: -7s;  }
.bubble:nth-child(4)  { left: 27%; width: 13px; height: 13px; animation-duration: 13s; animation-delay: -2s;  }
.bubble:nth-child(5)  { left: 35%; width:  9px; height:  9px; animation-duration: 16s; animation-delay: -9s;  }
.bubble:nth-child(6)  { left: 43%; width: 18px; height: 18px; animation-duration: 11s; animation-delay: -5s;  }
.bubble:nth-child(7)  { left: 51%; width:  6px; height:  6px; animation-duration: 20s; animation-delay: -3s;  }
.bubble:nth-child(8)  { left: 59%; width: 14px; height: 14px; animation-duration: 13s; animation-delay: -11s; }
.bubble:nth-child(9)  { left: 67%; width:  8px; height:  8px; animation-duration: 17s; animation-delay: -6s;  }
.bubble:nth-child(10) { left: 75%; width: 12px; height: 12px; animation-duration: 14s; animation-delay: -8s;  }
.bubble:nth-child(11) { left: 83%; width: 16px; height: 16px; animation-duration: 12s; animation-delay: -1.5s;}
.bubble:nth-child(12) { left: 90%; width:  7px; height:  7px; animation-duration: 19s; animation-delay: -10s; }
.bubble:nth-child(13) { left: 96%; width: 11px; height: 11px; animation-duration: 15s; animation-delay: -4.5s;}
.bubble:nth-child(14) { left: 31%; width:  5px; height:  5px; animation-duration: 22s; animation-delay: -13s; }
.bubble:nth-child(15) { left: 63%; width:  5px; height:  5px; animation-duration: 21s; animation-delay: -2.5s;}
.bubble:nth-child(16) { left: 47%; width: 10px; height: 10px; animation-duration: 16s; animation-delay: -12s; }
@keyframes bubble-rise {
    0%   { transform: translate(0, 0) scale(0.6); opacity: 0; }
    8%   { opacity: 0.8; }
    50%  { transform: translate(14px, -52vh) scale(1); }
    90%  { opacity: 0.65; }
    100% { transform: translate(-10px, -112vh) scale(1.1); opacity: 0; }
}

/* ince asılı parçacıklar (marine snow) */
.motes { position: absolute; inset: 0; overflow: hidden; opacity: 0.5; }
.mote { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: rgba(234,255,251,0.7); animation: mote-drift 30s linear infinite; }
.mote:nth-child(odd) { width: 2px; height: 2px; background: rgba(143,230,218,0.6); }
@keyframes mote-drift {
    0%   { transform: translate(0,0); opacity: 0; }
    10%  { opacity: 0.7; }
    100% { transform: translate(40px, -30vh); opacity: 0; }
}

/* ═══════════════════════════════════════════════
   1. ENTRY - sualtı cam kartı
   ═══════════════════════════════════════════════ */
.entry {
    position: fixed; inset: 0; z-index: 100;
    display: flex; align-items: center; justify-content: center;
    padding: 24px; overflow: hidden;
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.entry.is-leaving { opacity: 0; transform: scale(1.05); pointer-events: none; }

.entry-card {
    position: relative; z-index: 5;
    width: 100%; max-width: 450px;
    padding: 54px 36px 42px;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(143,230,218,0.10), transparent 60%),
        linear-gradient(160deg, rgba(10,70,82,0.55) 0%, rgba(4,30,40,0.66) 100%);
    backdrop-filter: blur(16px) saturate(1.5);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    border: 1px solid rgba(var(--kas-title-rgb), 0.42);
    border-radius: 6px;
    text-align: center; color: var(--ink);
    box-shadow: 0 30px 80px -30px rgba(2,18,28,0.8), inset 0 1px 0 rgba(255,255,255,0.12);
    animation: entry-rise 1s var(--ease) .3s both;
}
.entry-card::before {
    content: ''; position: absolute; inset: 12px;
    border: 1px solid rgba(var(--kas-title-rgb), 0.32);
    border-radius: 3px; pointer-events: none;
}
.entry-card::after {
    content: ''; position: absolute; inset: 18px;
    border-top: 1px solid rgba(var(--kas-title-rgb), 0.15);
    border-bottom: 1px solid rgba(var(--kas-title-rgb), 0.15);
    pointer-events: none;
}
@keyframes entry-rise { from { opacity: 0; transform: translateY(28px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

.entry-ribbon { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 18px; }
.entry-ribbon-line { width: 38px; height: 1px; background: var(--aqua-l); opacity: 0.6; }
.entry-ribbon-drop { color: var(--aqua-l); }
.entry-ribbon-drop svg { width: 13px; height: 13px; display: block; }

.entry-eyebrow {
    font-family: var(--font-caps); font-size: 11px;
    letter-spacing: 0.5em; text-transform: uppercase;
    color: var(--aqua-l); font-weight: 500;
    margin-bottom: 22px; padding-left: 0.5em;
}
.entry-shell { margin: 0 auto 22px; width: 88px; height: 88px; display: block; color: var(--aqua-l); }

.entry-couple {
    font-family: var(--font-h); font-style: italic; font-weight: 500;
    font-size: clamp(34px, 6vw, 46px);
    color: var(--ink); line-height: 1.05;
    margin: 0 0 8px; letter-spacing: -0.005em;
}
.entry-amp { font-family: var(--font-script); font-style: normal; color: var(--aqua-l); margin: 0 4px; font-size: 1.1em; }
.entry-sub { font-family: var(--font-h); font-style: italic; font-size: clamp(15px, 2.4vw, 18px); color: var(--ink-3); margin: 0 0 34px; }
.entry-btn {
    min-height: 52px; padding: 0 32px 0 calc(32px + 0.4em);
    background: transparent; color: var(--aqua-l);
    border: 1px solid var(--aqua-l); border-radius: 4px;
    font-family: var(--font-caps); font-size: 11px; font-weight: 500;
    letter-spacing: 0.4em; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 12px;
    transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}
.entry-btn:hover { background: var(--aqua-l); color: var(--abyss); box-shadow: 0 10px 30px -8px rgba(143,230,218,0.5); }
.entry-btn svg { width: 13px; height: 13px; }
.entry-foot { margin-top: 26px; font-family: var(--font-caps); font-size: 9.5px; letter-spacing: 0.5em; text-transform: uppercase; color: var(--muted); padding-left: 0.5em; }
.entry-brand { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 6; font-family: var(--font-caps); font-size: 9.5px; letter-spacing: 0.5em; color: rgba(234,247,243,0.5); }

/* ═══════════════════════════════════════════════
   2. OPENING - dalış geçişi
   ═══════════════════════════════════════════════ */
.opening {
    position: fixed; inset: 0; z-index: 95;
    display: flex; align-items: center; justify-content: center;
    background: transparent; opacity: 0;
    transition: opacity .5s ease; overflow: hidden; pointer-events: none;
}
.opening.is-active { opacity: 1; }
.opening.is-done   { opacity: 0; pointer-events: none; }
.dive { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 120%, rgba(2,18,28,0.0), rgba(2,18,28,0.85) 90%); opacity: 0; }
.opening.is-active .dive { animation: dive-deep 2.2s var(--ease) forwards; }
@keyframes dive-deep {
    0%   { opacity: 0; transform: translateY(0); }
    40%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(-6%); }
}
.dive-bubble { position: absolute; bottom: -5%; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, rgba(143,230,218,0.3) 60%, transparent); opacity: 0; }
.opening.is-active .dive-bubble { animation: dive-rush 2.2s ease-in forwards; }
@keyframes dive-rush {
    0%   { opacity: 0; transform: translateY(0) scale(0.5); }
    20%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(-120vh) scale(1.6); }
}

/* ═══════════════════════════════════════════════
   3. MEMORY PAGE
   ═══════════════════════════════════════════════ */
.memory {
    position: relative; z-index: 5;
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
    opacity: 0; transition: opacity .9s var(--ease);
}
.memory.is-visible { opacity: 1; }

.block { position: relative; max-width: 760px; margin: 0 auto; padding: 56px 24px; z-index: 5; }
@media (min-width: 768px) { .block { padding: 80px 32px; } }

.block-head { text-align: center; margin-bottom: 36px; }
.block-eyebrow { font-family: var(--font-caps); font-size: 11px; letter-spacing: 0.5em; text-transform: uppercase; color: var(--aqua-l); margin-bottom: 14px; padding-left: 0.5em; font-weight: 500; }
.block-title { font-family: var(--font-h); font-style: italic; font-weight: 500; font-size: clamp(30px, 5.5vw, 44px); line-height: 1.15; color: var(--ink); margin: 0; letter-spacing: -0.015em; }
.block-ornament { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 240px; margin: 18px auto 0; }
.block-ornament-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--aqua-l), transparent); }
.block-ornament svg { width: 15px; height: 15px; color: var(--aqua-l); flex-shrink: 0; }

/* foto çerçevesi */
.frame {
    position: relative; padding: 12px;
    background: linear-gradient(135deg, rgba(var(--kas-title-rgb),0.16), rgba(27,125,118,0.12));
    border-radius: 4px; border: 1px solid rgba(var(--kas-title-rgb),0.4);
    transition: transform .4s var(--ease), border-color .4s var(--ease); overflow: hidden;
}
.frame::before { content: ''; position: absolute; inset: 4px; border: 1px solid rgba(var(--kas-title-rgb),0.5); border-radius: 2px; pointer-events: none; z-index: 2; }
.frame img { border-radius: 2px; width: 100%; display: block; aspect-ratio: 4/5; object-fit: cover; filter: brightness(0.92) contrast(1.04) saturate(1.02); }
.frame:hover { transform: translateY(-3px); border-color: rgba(143,230,218,0.75); }
.frame.frame-sm { padding: 6px; }
.frame.frame-sm::before { inset: 3px; }
.frame.frame-sm img { aspect-ratio: 4/3; }

/* ─── HERO ─── */
.hero {
    position: relative; z-index: 5;
    min-height: 100vh; min-height: 100dvh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 110px 24px 60px; overflow: hidden;
}
.hero-eyebrow { font-family: var(--font-caps); font-size: 11px; letter-spacing: 0.5em; text-transform: uppercase; color: var(--aqua-l); font-weight: 500; margin-bottom: 16px; padding-left: 0.5em; animation: fade-up .9s var(--ease) .2s both; }
.hero-divider { width: 60px; height: 1px; background: var(--aqua-l); margin: 0 auto 30px; animation: scale-x .8s var(--ease) .3s both; }
@keyframes scale-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-couple { font-family: var(--font-script); font-size: clamp(48px, 10vw, 80px); color: var(--aqua-l); line-height: 1; margin: 0 0 16px; text-shadow: 0 4px 30px rgba(143,230,218,0.35); animation: fade-up .9s var(--ease) .4s both; }
.hero-title { font-family: var(--font-h); font-weight: 500; margin: 0 0 26px; line-height: 1.04; color: var(--ink); letter-spacing: -0.025em; animation: fade-up .9s var(--ease) .5s both; }
.hero-title em { display: block; font-style: italic; font-weight: 500; font-size: clamp(30px, 5.5vw, 46px); color: var(--ink); }
.hero-since { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-caps); font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 38px; padding-left: 0.4em; animation: fade-up .9s var(--ease) .6s both; }
.hero-since-line { width: 30px; height: 1px; background: var(--aqua-l); }
.hero-photo { max-width: 340px; width: 80%; animation: fade-up 1.1s var(--ease) .7s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); opacity: 0.8; padding-left: 0.4em; }
.hero-scroll::before { content: ''; display: block; width: 1px; height: 24px; margin: 0 auto 8px; background: linear-gradient(180deg, transparent, var(--aqua-l)); animation: pulse-line 2.4s ease-in-out infinite; }
@keyframes pulse-line { 0%, 100% { transform: scaleY(1); opacity: 0.6; } 50% { transform: scaleY(0.4); opacity: 0.2; } }

/* ─── DAY COUNTER ─── */
.day-counter { text-align: center; }
.day-counter-card { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; padding: 44px 56px; background: var(--card-bg); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid var(--line); border-radius: 4px; position: relative; }
.day-counter-card::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(var(--kas-title-rgb),0.22); border-radius: 2px; pointer-events: none; }
.day-counter-star { color: var(--aqua-l); margin-bottom: 8px; }
.day-counter-star svg { width: 26px; height: 26px; }
.day-counter-eyebrow { font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.5em; text-transform: uppercase; color: var(--aqua-l); margin-bottom: 4px; padding-left: 0.5em; font-weight: 500; }
.day-counter-num { font-family: var(--font-h); font-style: italic; font-weight: 500; font-size: clamp(64px, 14vw, 120px); line-height: 1; color: var(--aqua-l); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin: 6px 0; text-shadow: 0 4px 24px rgba(143,230,218,0.3); }
.day-counter-label { font-family: var(--font-h); font-style: italic; font-size: clamp(18px, 3vw, 22px); color: var(--ink); line-height: 1.3; }
.day-counter-foot { margin-top: 18px; font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-3); padding-left: 0.4em; }

/* ─── MESSAGE ─── */
.message-card { position: relative; padding: 46px 32px; background: var(--card-bg); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid var(--line); border-radius: 4px; }
@media (min-width: 768px) { .message-card { padding: 60px 48px; } }
.message-card::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(var(--kas-title-rgb),0.22); border-radius: 2px; pointer-events: none; }
.message-icon { display: flex; justify-content: center; margin-bottom: 18px; color: var(--aqua-l); }
.message-icon svg { width: 30px; height: 30px; }
.message-text { font-family: var(--font-h); font-style: italic; font-size: clamp(18px, 4vw, 22px); line-height: 1.7; color: var(--ink); text-align: center; margin: 0; }

/* ─── GALLERY (slider) ─── */
.slider { position: relative; max-width: 560px; margin: 0 auto; }
.slider-track { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.02); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.slide.is-active { opacity: 1; transform: scale(1); z-index: 2; }
.slide .frame { width: 100%; height: 100%; padding: 14px; }
.slide .frame img { height: 100%; aspect-ratio: auto; }
.slide-cap { position: absolute; left: 36px; bottom: 36px; font-family: var(--font-script); font-size: 28px; color: var(--foam); text-shadow: 0 2px 10px rgba(0,0,0,0.7); z-index: 3; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 28px; }
.slider-arrow { width: 38px; height: 38px; border-radius: 50%; background: rgba(var(--kas-card-rgb), 0.6); border: 1px solid var(--line); color: var(--aqua-l); display: flex; align-items: center; justify-content: center; transition: all .2s var(--ease); }
.slider-arrow:hover { background: var(--aqua-l); color: var(--abyss); }
.slider-arrow svg { width: 14px; height: 14px; }
.slider-dots { display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; background: rgba(var(--kas-title-rgb), 0.3); cursor: pointer; transition: all .3s var(--ease); }
.dot.is-active { width: 30px; background: var(--aqua-l); }

/* ─── NOTE ─── */
.note { max-width: 520px; text-align: center; }
.note-text { font-family: var(--font-h); font-style: italic; font-size: clamp(22px, 4.5vw, 32px); line-height: 1.5; color: var(--aqua-l); }
.note-text::before, .note-text::after { display: inline-block; font-family: var(--font-h); font-style: italic; color: var(--aqua); opacity: 0.4; font-size: 1.4em; line-height: 0; vertical-align: -0.2em; margin: 0 0.1em; }
.note-text::before { content: '“'; }
.note-text::after  { content: '”'; }

/* ─── LETTER ─── */
.letter { max-width: 640px; }
.letter-paper { position: relative; padding: 44px 34px 38px; background: radial-gradient(ellipse at 25% 20%, rgba(var(--kas-title-rgb),0.06), transparent 55%), linear-gradient(180deg, rgba(var(--kas-card-rgb), 0.7), rgba(var(--kas-card-rgb), 0.7)); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid var(--line); border-radius: 4px; }
@media (min-width: 768px) { .letter-paper { padding: 64px 56px 52px; } }
.letter-mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.45em; text-transform: uppercase; color: var(--aqua-l); font-weight: 500; margin-bottom: 28px; padding-left: 0.45em; }
.letter-mark::before { content: ''; width: 24px; height: 1px; background: var(--aqua-l); }
.letter-to { font-family: var(--font-script); font-size: clamp(34px, 5.5vw, 44px); color: var(--aqua-l); margin-bottom: 22px; line-height: 1.05; }
.letter-body { font-family: var(--font-b); font-style: italic; font-size: 15.5px; line-height: 2; color: var(--ink-2); }
.letter-body p { margin: 0 0 14px; }
.letter-body p:last-child { margin-bottom: 0; }
.letter-from { margin-top: 30px; text-align: right; }
.letter-from-name { font-family: var(--font-script); font-size: 32px; color: var(--aqua-l); }

/* ─── TIMELINE ─── */
.timeline-list { list-style: none; margin: 0; padding: 0 0 0 36px; position: relative; }
.timeline-list::before { content: ''; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 1px; background: linear-gradient(180deg, var(--aqua-l) 0%, var(--aqua) 50%, var(--aqua-d) 100%); opacity: 0.6; }
.tl-item { position: relative; padding: 0 0 40px 24px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -36px; top: 6px; width: 28px; height: 28px; border-radius: 50%; background: var(--deep); border: 1.5px solid var(--aqua-l); display: flex; align-items: center; justify-content: center; z-index: 2; }
.tl-dot svg { width: 12px; height: 12px; color: var(--aqua-l); }
.tl-card { display: flex; gap: 18px; flex-wrap: wrap; padding: 18px; background: var(--card-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 4px; }
.tl-photo { width: 130px; flex-shrink: 0; }
.tl-text { flex: 1; min-width: 200px; }
.tl-date { display: inline-block; font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--aqua-l); font-weight: 500; margin-bottom: 10px; padding: 3px 12px 3px calc(12px + 0.35em); background: rgba(var(--kas-title-rgb), 0.1); border: 1px solid rgba(var(--kas-title-rgb), 0.25); border-radius: 2px; }
.tl-title { font-family: var(--font-h); font-style: italic; font-weight: 600; font-size: clamp(20px, 4vw, 24px); line-height: 1.25; color: var(--ink); margin: 0 0 6px; }
.tl-desc { font-family: var(--font-b); font-style: italic; font-size: 14.5px; line-height: 1.7; color: var(--ink-3); margin: 0; }

/* ─── SURPRISE (aqua orb + ahtapot) ─── */
.surprise { text-align: center; padding: 50px 24px; }
.surprise-orb-wrap { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 24px; padding: 44px; cursor: pointer; }
.surprise-orb-wrap::before { content: ''; position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 196px; height: 196px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--kas-title-rgb),0.22) 0%, transparent 66%); pointer-events: none; }
.surprise-ring { position: absolute; top: 27px; left: 50%; transform: translateX(-50%); width: 150px; height: 150px; border: 2px dashed rgba(var(--kas-title-rgb),0.55); border-radius: 50%; animation: ring-spin 28s linear infinite; pointer-events: none; }
.surprise-ring.r2 { top: 44px; width: 116px; height: 116px; border: 1.5px solid rgba(var(--kas-title-rgb),0.5); animation: ring-pulse 2.8s ease-out infinite; }
@keyframes ring-spin { to { transform: translateX(-50%) rotate(360deg); } }
@keyframes ring-pulse { 0% { transform: translateX(-50%) scale(0.78); opacity: 0.75; } 100% { transform: translateX(-50%) scale(1.5); opacity: 0; } }
.surprise-orb { position: relative; z-index: 1; width: 116px; height: 116px; border-radius: 50%; background: radial-gradient(circle at 32% 26%, var(--foam) 0%, var(--aqua-l) 45%, var(--aqua-d) 100%); display: flex; align-items: center; justify-content: center; box-shadow: 0 20px 48px -10px rgba(27,125,118,0.6), inset 0 2px 10px rgba(255,255,255,0.5), inset 0 -12px 22px rgba(2,26,36,0.3); transition: transform .4s var(--ease); color: var(--abyss); }
.surprise-orb-wrap:hover .surprise-orb { transform: scale(1.08); }
.surprise-orb svg { width: 52px; height: 52px; }
.surprise-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-script); font-size: 26px; color: var(--aqua-l); }
.surprise-label svg { width: 19px; height: 19px; opacity: .8; }
.surprise-card { margin: 16px auto 0; max-width: 480px; display: none; animation: reveal-up .7s cubic-bezier(0.34, 1.4, 0.5, 1) both; }
.surprise-card.is-open { display: block; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.surprise-text { font-family: var(--font-h); font-style: italic; font-size: clamp(18px, 4vw, 21px); line-height: 1.7; color: var(--ink); text-align: center; margin: 0; }

/* ─── İMZA SÜRPRİZ: ŞİŞEDE MESAJ (SVG cam) ─── */
.sea-surprise .bottle-wrap { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 24px; padding: 24px 24px 6px; cursor: pointer; background: none; }
.sea-surprise .bottle-wrap::before { content: ''; position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%); width: 140px; height: 24px; border-radius: 50%; background: radial-gradient(closest-side, rgba(143,230,218,0.30), transparent 75%); pointer-events: none; }
.bottle { position: relative; width: 96px; height: 210px; animation: bottle-bob 5.5s ease-in-out infinite; transform-origin: 50% 94%; }
@keyframes bottle-bob { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(6deg); } }
.bottle-svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 20px 26px rgba(2,18,28,0.55)); }
.bottle-cork { position: absolute; top: 1px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 5px 5px 3px 3px; z-index: 4;
  background: linear-gradient(180deg, #d6a366 0%, #a06f3c 70%, #875c30 100%); box-shadow: inset 0 2px 3px rgba(255,255,255,0.4), inset 0 -3px 4px rgba(0,0,0,0.28), 0 3px 6px rgba(0,0,0,0.3); transition: transform .5s var(--ease), opacity .5s ease; }
.bottle-cork::after { content: ''; position: absolute; left: 3px; right: 3px; top: 3px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.3); }
.bottle-wrap:hover .bottle { animation-play-state: paused; transform: translateY(-6px) rotate(0deg); transition: transform .4s var(--ease); }
.bottle-wrap.is-gone .bottle { animation: none; transform: translateY(28px) rotate(0deg); opacity: 0; transition: transform .5s ease, opacity .5s ease; }
.bottle-wrap.is-gone .bottle-cork { transform: translateX(-50%) translateY(-40px) rotate(52deg); opacity: 0; }
/* şişeden çıkan parşömen notu */
.sea-surprise .surprise-card .message-card { background: linear-gradient(180deg, #f6ecd2 0%, #ece0bf 100%); border: 1px solid #d8c69c; color: #5a4528; box-shadow: 0 24px 50px -22px rgba(2,18,28,0.6); }
.sea-surprise .surprise-card .message-card::before { border-color: rgba(120,95,55,0.25); }
.sea-surprise .surprise-text { color: #5a4528; }

/* ─── GUESTBOOK ─── */
.guestbook { max-width: 640px; }
.gb-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.gb-entry { padding: 20px 24px; background: var(--card-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 4px; }
.gb-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.gb-head strong { font-family: var(--font-h); font-style: italic; font-size: 17px; color: var(--aqua-l); font-weight: 600; }
.gb-head time { font-family: var(--font-caps); font-size: 9.5px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); padding-left: 0.25em; }
.gb-entry p { font-family: var(--font-b); font-style: italic; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); margin: 0; }
.gb-form { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: rgba(var(--kas-card-rgb), 0.4); border: 1px solid var(--line-soft); border-radius: 4px; }
.gb-form input, .gb-form textarea { width: 100%; padding: 11px 14px; background: rgba(2, 26, 36, 0.55); color: var(--ink); border: 1px solid var(--line-soft); border-radius: 3px; font-family: var(--font-b); font-size: 14px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.gb-form input::placeholder, .gb-form textarea::placeholder { color: var(--muted); }
.gb-form textarea { resize: vertical; min-height: 70px; }
.gb-form input:focus, .gb-form textarea:focus { border-color: var(--aqua-l); box-shadow: 0 0 0 3px rgba(var(--kas-title-rgb),0.1); }
.gb-form button { align-self: flex-end; min-height: 44px; padding: 0 24px 0 calc(24px + 0.32em); background: transparent; color: var(--aqua-l); border: 1px solid var(--aqua-l); border-radius: 3px; font-family: var(--font-caps); font-size: 11px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.gb-form button:hover { background: var(--aqua-l); color: var(--abyss); }

/* ─── FOOTER ─── */
.footer { text-align: center; padding: 60px 24px 40px; }
.footer-star { color: var(--aqua-l); margin-bottom: 14px; }
.footer-star svg { width: 30px; height: 30px; }
.footer-couple { font-family: var(--font-script); font-size: clamp(40px, 8vw, 56px); color: var(--aqua-l); margin: 0 0 8px; line-height: 1; }
.footer-since { font-family: var(--font-caps); font-size: 10.5px; letter-spacing: 0.45em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 24px; padding-left: 0.45em; font-weight: 500; }
.footer-counter { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px calc(16px + 0.22em); background: rgba(var(--kas-card-rgb), 0.55); border: 1px solid var(--line); border-radius: 3px; font-family: var(--font-caps); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.footer-counter-num { color: var(--aqua-l); font-weight: 600; font-variant-numeric: tabular-nums; }
.footer-brand { margin-top: 32px; font-family: var(--font-caps); font-size: 9.5px; letter-spacing: 0.5em; text-transform: uppercase; color: var(--muted); opacity: 0.7; padding-left: 0.5em; }

/* ═══ STICKY MÜZİK PLAYER ═══ */
/* ortalı, yuvarlak yüzen pill (full-width değil) - diğer temalarla aynı düzen */
.player { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 50;
    width: min(340px, calc(100% - 32px));
    display: flex; align-items: center; gap: 12px; padding: 10px 16px;
    border-radius: 100px; overflow: hidden;
    background: linear-gradient(180deg, rgba(10,70,82,0.9) 0%, rgba(2,26,36,0.96) 100%); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(2,18,28,0.7);
    transform: translate(-50%, 180%); transition: transform .6s var(--ease) .3s; }
body.is-reading .player { transform: translate(-50%, 0); }
.player-progress { position: absolute; left: 0; right: 0; bottom: 0; top: auto; height: 3px; background: rgba(var(--kas-title-rgb),0.16); }
.player-progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--aqua-d), var(--aqua-l)); transition: width .2s linear; }
.player-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.player-btn { width: 30px; height: 30px; border-radius: 50%; color: var(--aqua-l); display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.player-btn:hover { background: rgba(var(--kas-title-rgb),0.12); }
.player-btn svg { width: 16px; height: 16px; }
.player-btn.player-play { width: 34px; height: 34px; background: linear-gradient(180deg, var(--aqua-l), var(--aqua-d)); color: var(--abyss); border: 1px solid var(--aqua-d); }
.player-btn.player-play:hover { background: linear-gradient(180deg, var(--aqua), var(--aqua-d)); }
.player-btn.player-play svg { width: 14px; height: 14px; }
.player-info { flex: 1; min-width: 0; }
.player-title { font-family: var(--font-h); font-style: italic; font-size: 14px; font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-meta { display: flex; align-items: center; gap: 8px; font-family: var(--font-caps); font-size: 10px; letter-spacing: 0.22em; color: var(--ink-3); margin-top: 2px; padding-left: 0.22em; font-variant-numeric: tabular-nums; }
.player-meta span:nth-child(2) { opacity: 0.5; }
.player-note { flex-shrink: 0; color: var(--aqua-l); opacity: 0.8; }
.player-note svg { width: 18px; height: 18px; }

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

/* === Düzenlenebilir renkler (başlık/accent, metin, kart) - opaklık & blur sabit === */
body.kas-tpl-deniz-esintisi {
    --kas-title: #8fe6da; --kas-title-rgb: 143,230,218;
    --kas-text:  #eaf7f3; --kas-text-rgb:  234,247,243;
    --kas-card-rgb: 8,46,55;
    --aqua-l: var(--kas-title); --aqua: var(--kas-title); --aqua-d: var(--kas-title);
    --ink: var(--kas-text); --ink-2: var(--kas-text);
    --card-bg: rgba(var(--kas-card-rgb), 0.62);
    --card-bg-2: rgba(var(--kas-card-rgb), 0.50);
}
