* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

html {
	scroll-behavior: smooth;
}

body {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #667eea 100%);
	background-size: 400% 400%;
	animation: gradientShift 15s ease infinite;
	color: #fff;
	font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	text-align: center;
}

@keyframes gradientShift {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
	background-size: 50px 50px;
	animation: backgroundFloat 20s linear infinite;
	pointer-events: none;
	z-index: 0;
}

@keyframes backgroundFloat {
	0% {
		transform: translateY(0);
	}

	100% {
		transform: translateY(-50px);
	}
}

/* ===== Sabit arayüz: ilerleme çubuğu, tarih rozeti, noktalar, ok butonları ===== */
.progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: rgba(255, 255, 255, 0.15);
	z-index: 60;
}

.progress i {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, #ffd1dc, #ff8fb3, #40e0d0);
	transform: scaleX(0);
	transform-origin: 0 50%;
}

.date-chip {
	position: fixed;
	top: 14px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 55;
	padding: 8px 20px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	white-space: nowrap;
	transition: opacity 0.25s ease;
}

.dots {
	position: fixed;
	right: 2px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 12px;
	z-index: 55;
	padding: 14px 12px;
	touch-action: none;
}

.dots button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.7);
	background: rgba(255, 255, 255, 0.25);
	cursor: pointer;
	padding: 0;
	transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.dots button.on {
	background: #fff;
	transform: scale(1.5);
	box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}

/* Tarih tooltip'i: masaüstünde hover, mobilde scrub sırasında (peek) görünür */
.dots button {
	position: relative;
}

.dots button::after {
	content: attr(data-label);
	position: absolute;
	right: calc(100% + 14px);
	top: 50%;
	transform: translateY(-50%) translateX(8px);
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(30, 15, 45, 0.75);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) {
	.dots button:hover::after {
		opacity: 1;
		transform: translateY(-50%) translateX(0);
	}
}

.dots button.peek::after {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}

/* Scrub sırasında şerit hafif büyür (iOS hissi) */
.dots.scrubbing button:not(.on) {
	transform: scale(1.2);
}

.music-toggle {
	position: fixed;
	top: 12px;
	left: 14px;
	z-index: 55;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	transition: background 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.music-toggle:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: scale(1.06);
}

.music-toggle.off {
	opacity: 0.55;
}

.music-toggle.off::after {
	content: '';
	position: absolute;
	left: 9px;
	right: 9px;
	top: 50%;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	transform: rotate(-45deg);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.music-toggle svg {
	pointer-events: none;
}

.nav-arrows {
	position: fixed;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 12px;
	z-index: 55;
}

.nav-arrows button {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.nav-arrows button:hover:not([disabled]) {
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-2px);
}

.nav-arrows button[disabled] {
	opacity: 0.35;
	cursor: default;
}

/* ===== Tam ekran bölümler (fullpage görünümü, serbest scroll) ===== */
.panel {
	min-height: 100vh;
	min-height: 100svh;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 70px clamp(16px, 5vw, 60px) 96px;
}

/* Geçmişe indikçe koyulaşan nostalji tonu (--depth JS ile 0→1 arası atanır) */
.panel::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg,
			rgba(58, 32, 84, calc(var(--depth, 0) * 0.28)),
			rgba(122, 72, 28, calc(var(--depth, 0) * 0.34)));
	z-index: 0;
}

.hero-inner,
.moment-inner {
	position: relative;
	z-index: 1;
	width: 100%;
}

/* ===== Hero — Günümüz ===== */
.hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

#us img {
	width: 100%;
	max-width: 300px;
	border-radius: 30px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
		0 0 40px rgba(255, 255, 255, 0.1),
		inset 0 0 0 1px rgba(255, 255, 255, 0.2);
	transition: all 0.4s ease;
	border: 4px solid rgba(255, 255, 255, 0.3);
	animation: fadeInScale 1s ease-out;
}

#us img:hover {
	transform: scale(1.05) rotate(2deg);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4),
		0 0 60px rgba(255, 255, 255, 0.2);
}

h1 {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(2.4rem, 6vw, 4.2rem);
	background: linear-gradient(45deg, #fff, #ffd1dc, #fff, #ffc0cb);
	background-size: 300% 300%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: gradientText 3s ease infinite, fadeInScale 1s ease-out 0.3s backwards;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.1;
	filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

@keyframes gradientText {

	0%,
	100% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}
}

@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.8);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

.hero-sub {
	font-size: clamp(0.95rem, 2.2vw, 1.15rem);
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	opacity: 0.9;
	animation: fadeInScale 1s ease-out 0.5s backwards;
}

.counter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	animation: fadeInScale 1s ease-out 0.6s backwards;
}

.tile {
	min-width: 78px;
	padding: 14px 10px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 18px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.tile b {
	display: block;
	font-size: clamp(1.5rem, 4vw, 2.3rem);
	font-variant-numeric: tabular-nums;
	line-height: 1.15;
}

.tile span {
	font-size: 0.72rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	opacity: 0.85;
}

.counter-caption {
	font-size: clamp(0.95rem, 2.2vw, 1.15rem);
	opacity: 0.95;
	animation: fadeInScale 1s ease-out 0.7s backwards;
}

/* ===== Zaman tüneli bölümleri ===== */
.moment .line {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 2px;
	transform: translateX(-50%);
	background: linear-gradient(180deg,
			rgba(255, 255, 255, 0.05),
			rgba(255, 255, 255, 0.35),
			rgba(255, 255, 255, 0.05));
	z-index: 0;
}

.node {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.15);
	z-index: 2;
}

.moment.active .node::after {
	content: '';
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.6);
	animation: ring 1.6s ease-out infinite;
}

@keyframes ring {
	from {
		transform: scale(0.6);
		opacity: 1;
	}

	to {
		transform: scale(1.8);
		opacity: 0;
	}
}

.moment-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(48px, 8vw, 110px);
	align-items: center;
	max-width: 1100px;
	margin: 0 auto;
}

.moment.flip .photo-side {
	order: 2;
}

/* Yalnız ekrana GİREN bölüm animasyonla aktifleşir (.active JS ile eklenir) */
.moment .photo-side {
	opacity: 0;
	transform: translateY(48px) scale(0.96);
	transition: opacity 0.7s ease 0.1s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.moment .text-side {
	opacity: 0;
	transform: translateX(-40px);
	transition: opacity 0.7s ease 0.25s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.moment.flip .text-side {
	transform: translateX(40px);
}

.moment.active .photo-side,
.moment.active .text-side {
	opacity: 1;
	transform: none;
}

/* Polaroid fotoğraf kartı — çerçevenin genişliğini foto belirler,
   alt not fotoğraf genişliğinde satıra sarar */
.photo-card {
	background: #fdfdf8;
	padding: 12px 12px 6px;
	border-radius: 6px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
	transform: rotate(var(--rot, -2.5deg));
	transition: transform 0.4s ease;
	width: min-content;
	max-width: 90vw;
	margin: 0 auto;
}

.moment.flip .photo-card {
	--rot: 2.5deg;
}

.photo-card:hover {
	transform: rotate(0deg) scale(1.02);
}

.photo-card img {
	display: block;
	width: auto;
	height: auto;
	max-width: min(440px, 82vw);
	max-height: 56vh;
	border-radius: 3px;
	filter: sepia(calc(var(--depth, 0) * 55%)) saturate(calc(1 - var(--depth, 0) * 0.25)) contrast(1.03);
	cursor: zoom-in;
}

/* ===== Lightbox — fotoğrafın büyük hâli ===== */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(20, 10, 30, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 24px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.lightbox.on {
	opacity: 1;
	pointer-events: auto;
}

.lightbox img {
	max-width: 92vw;
	max-height: 74vh;
	border-radius: 10px;
	border: 4px solid #fdfdf8;
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
	transform: scale(0.92);
	transition: transform 0.25s ease;
	cursor: zoom-out;
}

.lightbox.on img {
	transform: scale(1);
}

.lightbox p {
	font-family: 'Dancing Script', cursive;
	font-size: clamp(1.1rem, 3vw, 1.4rem);
	line-height: 1.35;
	text-align: center;
	max-width: 560px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 1.1rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Lazy-load yer tutucu: foto henüz inmediyse yumuşak gri kutu */
.photo-card img[data-src] {
	min-width: min(220px, 50vw);
	min-height: min(260px, 38vh);
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.12));
}

.photo-card figcaption {
	font-family: 'Dancing Script', cursive;
	color: #41434b;
	font-size: 1.6rem;
	text-align: center;
	padding: 8px 4px 4px;
}

/* Çok fotoğraflı anı: masaya serilmiş yelpaze deste */
.photo-stack {
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.photo-stack .photo-card {
	margin: 0;
}

.photo-stack .photo-card:first-child {
	--rot: -5deg;
	z-index: 1;
}

.photo-stack .photo-card:last-child {
	--rot: 5.5deg;
	margin-left: -13%;
	margin-top: 48px;
	z-index: 2;
}

.photo-stack .photo-card:hover {
	z-index: 3;
}

.photo-stack .photo-card img {
	max-width: min(280px, 26vw);
	max-height: 36vh;
}

.photo-stack figcaption {
	font-size: 1.1rem;
	line-height: 1.3;
}

/* Metin kartı */
.text-card {
	background: rgba(255, 255, 255, 0.13);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 24px;
	padding: clamp(22px, 3vw, 34px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	max-width: 480px;
	margin: 0 auto;
	text-align: left;
}

.date-badge {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: linear-gradient(45deg, rgba(255, 143, 179, 0.9), rgba(255, 209, 220, 0.9));
	color: #5a1030;
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.text-card h2 {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(1.7rem, 3.6vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 10px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.text-card p {
	line-height: 1.7;
	font-size: clamp(0.95rem, 2vw, 1.08rem);
	opacity: 0.95;
}

/* ===== Video anılar — iki mod =====
   as-bg   → video yönü ekran yönüyle uyumlu: tam ekran arkaplan videosu
   as-card → uyumsuz (ör. dikey video + geniş ekran): klasik polaroid kartta oynar */
.photo-card video {
	display: block;
	width: auto;
	height: auto;
	max-width: min(440px, 82vw);
	max-height: 56vh;
	border-radius: 3px;
	aspect-ratio: 9 / 16;
	background: #000;
	cursor: pointer;
}

.video-shade {
	display: none;
	pointer-events: none;
}

.video-moment.as-bg .line,
.video-moment.as-bg .node {
	display: none;
}

/* Arkaplan modunda nostalji tonu yerine kendi perdesi kullanılır */
.video-moment.as-bg::after {
	content: none;
}

.video-moment.as-bg .photo-side {
	position: absolute;
	inset: 0;
	opacity: 1;
	transform: none;
	transition: none;
}

.video-moment.as-bg .photo-card {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	padding: 0;
	margin: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	transform: none;
}

.video-moment.as-bg .photo-card video {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	border-radius: 0;
	aspect-ratio: auto;
}

.video-moment.as-bg .video-shade {
	display: block;
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(24, 12, 36, 0.35), rgba(24, 12, 36, 0.6));
}

.video-moment.as-bg .photo-card figcaption {
	display: none;
}

/* İç kutu static olur ki tam ekran video panele çapalansın */
.video-moment.as-bg .moment-inner {
	position: static;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	max-width: 560px;
	padding-left: 0;
}

.video-moment.as-bg .text-side,
.video-moment.as-bg .btn-top {
	position: relative;
	z-index: 1;
}

.video-moment.as-bg .text-card {
	background: rgba(20, 10, 30, 0.4);
	border-color: rgba(255, 255, 255, 0.25);
}

.btn-top {
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #fff;
	padding: 12px 26px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.35);
	cursor: pointer;
	transition: background 0.3s ease, transform 0.3s ease;
}

.btn-top:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-2px);
}

/* Buton kart düzenindeki (grid) son sayfaya düşerse en alta, ortaya oturur
   (order: flip düzeninde foto kartının önüne geçmesin) */
.moment-inner .btn-top {
	grid-column: 1 / -1;
	justify-self: center;
	order: 3;
	margin-top: -8px;
}

/* Müzik kaydı atfı — en alt sayfada küçük, silik bir satır */
.music-credit {
	font-size: 0.62rem;
	letter-spacing: 1px;
	opacity: 0.55;
	position: relative;
	z-index: 1;
}

.moment-inner .music-credit {
	grid-column: 1 / -1;
	justify-self: center;
	order: 4;
	margin-top: -4px;
}

/* ===== Özel sayfa: 5 Ocak — yusufçuk ===== */
.special {
	padding-top: 56px;
	padding-bottom: 88px;
}

.special-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 660px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.dragonfly {
	width: clamp(140px, min(30vh, 30vw), 300px);
	filter: drop-shadow(0 0 16px rgba(167, 139, 250, 0.55)) drop-shadow(0 0 42px rgba(139, 233, 253, 0.3));
	opacity: 0;
	transform: translate(-42vw, -12vh) rotate(-24deg) scale(0.6);
	transition: opacity 1.2s ease 0.15s, transform 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.special.active .dragonfly {
	opacity: 1;
	transform: none;
}

.dragonfly svg {
	display: block;
	width: 100%;
	height: auto;
}

/* Kanat çırpma + yerinde salınma yalnız bölüm ekrandayken */
.df-wing {
	transform-box: fill-box;
}

.df-ul,
.df-ll {
	transform-origin: 100% 50%;
}

.df-ur,
.df-lr {
	transform-origin: 0% 50%;
}

.yusufcuk.active .df-ul {
	animation: flutterL 0.7s ease-in-out infinite alternate;
}

.yusufcuk.active .df-ur {
	animation: flutterR 0.7s ease-in-out infinite alternate;
}

.yusufcuk.active .df-ll {
	animation: flutterL 0.7s ease-in-out 0.18s infinite alternate;
}

.yusufcuk.active .df-lr {
	animation: flutterR 0.7s ease-in-out 0.18s infinite alternate;
}

@keyframes flutterL {
	from {
		transform: rotate(4deg);
	}

	to {
		transform: rotate(-7deg);
	}
}

@keyframes flutterR {
	from {
		transform: rotate(-4deg);
	}

	to {
		transform: rotate(7deg);
	}
}

.yusufcuk.active .dragonfly svg {
	animation: dfHover 4.5s ease-in-out 1.6s infinite;
}

@keyframes dfHover {

	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}

	30% {
		transform: translateY(-9px) rotate(1.6deg);
	}

	65% {
		transform: translateY(5px) rotate(-1.4deg);
	}
}

.special-title {
	font-family: 'Cormorant Garamond', serif;
	font-style: italic;
	font-weight: 700;
	font-size: clamp(1.7rem, 4vw, 2.5rem);
	line-height: 1.1;
	background: linear-gradient(45deg, #fff, #ffd1dc, #fff, #ffc0cb);
	background-size: 300% 300%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: gradientText 3s ease infinite;
	filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.25));
}

.nature-note {
	max-width: 580px;
	padding: 18px 26px;
}

.nature-note p {
	font-size: 0.95rem;
	line-height: 1.6;
}

.note-tag {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	opacity: 0.75;
	margin-bottom: 6px;
}

.nature-note h3 {
	font-family: 'Cormorant Garamond', serif;
	font-style: italic;
	font-weight: 600;
	font-size: 1.3rem;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.punchline {
	font-family: 'Dancing Script', cursive;
	font-size: clamp(1.3rem, 3vw, 1.8rem);
	line-height: 1.4;
	max-width: 560px;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3), 0 0 24px rgba(255, 192, 203, 0.35);
}

/* Sıralı beliriş: başlık → not → punchline (yusufçuk kendi uçuşuyla gelir) */
.special-title,
.nature-note,
.punchline {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.special-title {
	transition-delay: 0.15s;
}

.nature-note {
	transition-delay: 0.55s;
}

.punchline {
	transition-delay: 1.05s;
}

.special.active .special-title,
.special.active .nature-note,
.special.active .punchline {
	opacity: 1;
	transform: translateY(0);
}

/* Yıldız tozları */
.special .spark {
	position: absolute;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.8), 0 0 18px 6px rgba(167, 139, 250, 0.35);
	opacity: 0;
	pointer-events: none;
	z-index: 0;
}

.special.active .spark {
	animation-name: twinkle;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}

@keyframes twinkle {

	0%,
	100% {
		opacity: 0;
		transform: scale(0.5);
	}

	50% {
		opacity: 0.9;
		transform: scale(1);
	}
}

/* ===== Statik sayfa: Seni çok seviyorum ===== */
/* Arkaplanda kalp ritmi (EKG): soluk taban çizgisi + süpüren pembe vuruş */
.love .ekg {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	height: clamp(120px, 30vh, 240px);
	z-index: 0;
	pointer-events: none;
}

.ekg path {
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}

.ekg-base {
	stroke: rgba(255, 255, 255, 0.14);
	stroke-width: 2;
}

.ekg-beam {
	stroke: #ff8fb3;
	stroke-width: 2.5;
	stroke-dasharray: 80 1520;
	filter: drop-shadow(0 0 6px rgba(255, 143, 179, 0.9)) drop-shadow(0 0 14px rgba(255, 143, 179, 0.5));
	opacity: 0;
}

.love.active .ekg-beam {
	opacity: 1;
	animation: ekgSweep 3.2s linear infinite;
}

@keyframes ekgSweep {
	from {
		stroke-dashoffset: 0;
	}

	to {
		stroke-dashoffset: -1600;
	}
}

.love-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 640px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}

.heart-photo {
	filter: drop-shadow(0 0 26px rgba(255, 143, 179, 0.55)) drop-shadow(0 18px 55px rgba(0, 0, 0, 0.35));
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.8s ease 0.1s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.love.active .heart-photo {
	opacity: 1;
	transform: scale(1);
}

/* Kalp şeklinde kırmızı çerçeve: aynı maskeyle kırpılmış dış katman,
   foto 3px içeriden yine aynı maskeyle oturur */
.heart-border {
	width: clamp(240px, min(44vh, 62vw), 400px);
	aspect-ratio: 1 / 1;
	clip-path: url(#heartClip);
	background: #e63946;
	padding: 6px;
}

.love.active .heart-border {
	animation: heartbeat 2.4s ease-in-out 1s infinite;
}

.heart-shape {
	width: 100%;
	height: 100%;
	clip-path: url(#heartClip);
	overflow: hidden;
}

@keyframes heartbeat {

	0%,
	50%,
	100% {
		transform: scale(1);
	}

	12% {
		transform: scale(1.045);
	}

	24% {
		transform: scale(1);
	}

	36% {
		transform: scale(1.06);
	}
}

.heart-shape img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Kadraj: pencere hafif aşağı kaydırılır ki yüzler kalpte yukarı otursun */
	object-position: 50% 55%;
	display: block;
}

.love.active .heart-shape img {
	animation: kenburns 14s ease-in-out infinite alternate;
}

@keyframes kenburns {
	from {
		transform: scale(1);
	}

	to {
		transform: scale(1.045);
	}
}

.love-line1 {
	font-family: 'Dancing Script', cursive;
	font-weight: 600;
	font-size: clamp(2.2rem, 7vw, 3.6rem);
	line-height: 1.15;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3), 0 0 32px rgba(255, 143, 179, 0.5);
}

.love-line2 {
	font-family: 'Cormorant Garamond', serif;
	font-style: italic;
	font-size: clamp(1.2rem, 3.2vw, 1.7rem);
	letter-spacing: 1px;
	opacity: 0.92;
}

.love-line3 {
	font-family: 'Dancing Script', cursive;
	font-size: clamp(1.15rem, 3vw, 1.5rem);
	line-height: 1.5;
	max-width: 520px;
	opacity: 0.9;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.love-line1,
.love-line2,
.love-line3 {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.love-line1 {
	transition-delay: 0.45s;
}

.love-line2 {
	transition-delay: 0.8s;
}

.love-line3 {
	transition-delay: 1.15s;
}

.love.active .love-line1,
.love.active .love-line2,
.love.active .love-line3 {
	opacity: 1;
	transform: translateY(0);
}

.love.active .love-line3 {
	opacity: 0.85;
}

/* ===== Giriş overlay'i — "Gizli Arşiv" ===== */
.no-scroll {
	overflow: hidden;
}

.intro {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.intro-half {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 20% 30%, rgba(240, 147, 251, 0.15), transparent 40%),
		radial-gradient(circle at 80% 70%, rgba(79, 172, 254, 0.13), transparent 45%),
		radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
		linear-gradient(135deg, #170c2a 0%, #331a51 45%, #4c2060 100%);
	background-size: auto, auto, 44px 44px, auto;
	transition: transform 1.05s cubic-bezier(0.65, 0, 0.15, 1) 0.18s;
	will-change: transform;
}

.intro-left {
	clip-path: polygon(0 0, 100% 0, 0 100%);
}

.intro-right {
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* Açılışta diyagonal boyunca çakan ışık çizgisi */
.intro::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top right, transparent 49.3%, rgba(255, 209, 220, 0.95) 50%, transparent 50.7%);
	opacity: 0;
	pointer-events: none;
}

.intro.open::after {
	animation: seamFlash 0.55s ease-out forwards;
}

@keyframes seamFlash {
	0% {
		opacity: 0;
	}

	25% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

.intro.open .intro-left {
	transform: translate(-115%, -115%) rotate(-3deg);
}

.intro.open .intro-right {
	transform: translate(115%, 115%) rotate(3deg);
}

.intro-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
	padding: 30px;
	max-width: 90vw;
	transition: opacity 0.35s ease, transform 0.45s ease;
}

.intro.open .intro-content {
	opacity: 0;
	transform: scale(1.5);
	pointer-events: none;
}

.intro-tag {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 4px;
	text-transform: uppercase;
	opacity: 0.7;
}

.intro-title {
	font-family: 'Cormorant Garamond', serif;
	font-style: italic;
	font-weight: 700;
	font-size: clamp(2.2rem, 6vw, 3.4rem);
	line-height: 1.1;
	background: linear-gradient(45deg, #fff, #ffd1dc, #fff, #ffc0cb);
	background-size: 300% 300%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: gradientText 3s ease infinite;
	filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.25));
}

.intro-sub {
	opacity: 0.85;
	font-size: clamp(0.95rem, 2.2vw, 1.1rem);
}

.intro-btn {
	margin-top: 10px;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #5a1030;
	padding: 16px 38px;
	border-radius: 999px;
	border: none;
	cursor: pointer;
	background: linear-gradient(45deg, #ffd1dc, #ff8fb3);
	box-shadow: 0 10px 40px rgba(255, 143, 179, 0.4);
	animation: introPulse 2s ease-in-out infinite;
	transition: transform 0.25s ease;
}

.intro-btn:hover {
	transform: scale(1.06);
}

.intro-btn[disabled] {
	opacity: 0.55;
	cursor: default;
	animation: none;
	box-shadow: 0 6px 24px rgba(255, 143, 179, 0.2);
}

.intro-btn[disabled]:hover {
	transform: none;
}

/* Yükleme ilerlemesi */
.intro-progress {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	transition: opacity 0.6s ease;
}

.intro-progress.done {
	opacity: 0;
}

.intro-progress-bar {
	width: min(280px, 68vw);
	height: 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.15);
	overflow: hidden;
}

.intro-progress-bar i {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #ffd1dc, #ff8fb3);
	transform: scaleX(0);
	transform-origin: 0 50%;
	transition: transform 0.3s ease;
	box-shadow: 0 0 10px rgba(255, 143, 179, 0.7);
}

.intro-progress-text {
	font-size: 0.72rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	opacity: 0.7;
}

@keyframes introPulse {

	0%,
	100% {
		box-shadow: 0 10px 40px rgba(255, 143, 179, 0.35);
	}

	50% {
		box-shadow: 0 10px 65px rgba(255, 143, 179, 0.65);
	}
}

/* ===== Uçan emojiler (yalnız aktif bölümün içinde) ===== */
.emoji-float {
	position: absolute;
	bottom: -50px;
	animation: floatUp 6s linear forwards;
	font-size: clamp(18px, 3vw, 26px);
	pointer-events: none;
	z-index: 3;
}

@keyframes floatUp {
	0% {
		transform: translateY(0) rotate(0deg);
		opacity: 1;
	}

	100% {
		transform: translateY(-110vh) rotate(360deg);
		opacity: 0;
	}
}

/* Twemoji styles */
img.emoji {
	height: 1em;
	width: 1em;
	margin: 0 .05em 0 .1em;
	vertical-align: -0.1em;
	display: inline-block;
}

/* Keep emoji visible in gradient text headings */
h1 img.emoji {
	filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
	opacity: 1;
	height: 1em;
	width: 1em;
}

/* ===== Responsive ===== */
@media screen and (max-width: 820px) {
	.panel {
		padding: 56px 18px 84px;
	}

	.moment-inner {
		gap: 16px;
	}

	.text-card {
		padding: 16px 18px;
	}

	.text-card h2 {
		font-size: 1.45rem;
	}

	.text-card p {
		font-size: 0.92rem;
		line-height: 1.55;
	}

	.date-badge {
		padding: 5px 12px;
		font-size: 0.7rem;
		margin-bottom: 8px;
	}

	.moment .line {
		left: 26px;
		transform: none;
	}

	.node {
		left: 26px;
	}

	.moment-inner {
		grid-template-columns: 1fr;
		gap: 26px;
		padding-left: 40px;
		max-width: 480px;
	}

	.moment.flip .photo-side {
		order: 0;
	}

	.moment .text-side,
	.moment.flip .text-side {
		transform: translateY(30px);
	}

	.moment.active .text-side {
		transform: none;
	}

	.photo-card img,
	.photo-card video {
		max-width: min(340px, 74vw);
		max-height: 36vh;
	}

	.photo-card figcaption {
		font-size: 1.25rem;
		padding: 6px 4px 2px;
	}

	.photo-stack .photo-card img {
		max-width: min(210px, 40vw);
		max-height: 26vh;
	}

	.photo-stack .photo-card:last-child {
		margin-left: -22%;
		margin-top: 28px;
	}

	.photo-stack figcaption {
		font-size: 0.95rem;
	}

	.love-inner {
		gap: 12px;
	}

	.heart-border {
		width: clamp(220px, min(36vh, 58vw), 360px);
	}

	.dots {
		right: 0;
		gap: 10px;
	}

	.dots button {
		width: 8px;
		height: 8px;
	}

	.date-chip {
		font-size: 0.72rem;
		padding: 7px 16px;
	}

	.nav-arrows button {
		width: 42px;
		height: 42px;
	}

	#us img {
		max-width: 250px;
		border-radius: 25px;
	}
}

@media screen and (max-width: 480px) {
	.moment-inner {
		padding-left: 34px;
	}

	.moment .line {
		left: 20px;
	}

	.node {
		left: 20px;
		width: 13px;
		height: 13px;
	}

	.photo-card {
		padding: 9px 9px 4px;
	}

	.photo-card img,
	.photo-card video {
		max-width: min(280px, 72vw);
		max-height: 30vh;
	}

	.photo-card figcaption {
		font-size: 1.05rem;
	}

	/* Telefonda deste notları gizlenir (nota lightbox'ta yer var);
	   fotolar büyür ve düzenli bir yelpaze kalır */
	.photo-stack figcaption {
		display: none;
	}

	.photo-stack .photo-card {
		padding: 8px 8px 6px;
	}

	.photo-stack .photo-card img {
		max-width: min(190px, 44vw);
		max-height: 30vh;
		margin: 0 auto;
	}

	.photo-stack .photo-card:last-child {
		width: auto;
		margin-left: -12%;
		margin-top: 26px;
	}

	.tile {
		min-width: 62px;
		padding: 11px 8px;
		border-radius: 14px;
	}

	.counter {
		gap: 8px;
	}

	/* Özel sayfa küçük ekranda tek ekrana sığacak kadar kompakt */
	.special {
		padding-top: 48px;
		padding-bottom: 76px;
	}

	.special-inner {
		gap: 8px;
	}

	.dragonfly {
		width: clamp(110px, 30vw, 160px);
	}

	.nature-note {
		padding: 14px 18px;
	}

	.nature-note p {
		font-size: 0.88rem;
		line-height: 1.5;
	}

	.punchline {
		font-size: 1.15rem;
	}

	#us img {
		max-width: 210px;
		border-radius: 20px;
		border-width: 3px;
	}
}

/* Kısa ekranlar (yatay telefon) */
@media screen and (max-height: 560px) {
	.panel {
		padding-top: 50px;
		padding-bottom: 80px;
	}

	.moment-inner {
		gap: 24px;
	}

	.photo-card img,
	.photo-card video {
		max-width: min(240px, 38vw);
		max-height: 52vh;
	}

	#us img {
		max-width: 150px;
	}
}

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}

	.moment .photo-side,
	.moment .text-side,
	.special-title,
	.nature-note,
	.punchline,
	.dragonfly,
	.heart-photo,
	.love-line1,
	.love-line2,
	.love-line3 {
		opacity: 1;
		transform: none;
	}
}
