/* Hikâye oynatıcısı (Instagram hikâyesi gibi, 9:16) */
.player { position: fixed; inset: 0; background: #0b0307; display: flex; align-items: center; justify-content: center; z-index: 50; }
.player[hidden] { display: none; }
.stage {
  position: relative; overflow: hidden; container-type: size;
  width: min(100vw, calc(100dvh * 9 / 16)); height: 100dvh;
  user-select: none; -webkit-user-select: none; touch-action: manipulation;
  font-family: var(--display); color: var(--cream); cursor: pointer;
}
@media (min-width: 600px) {
  .stage { height: min(calc(100dvh - 40px), 860px); width: calc(min(calc(100dvh - 40px), 860px) * 9 / 16); border-radius: 28px; box-shadow: 0 30px 90px rgba(255, 61, 110, .25); }
}
.embed .stage { width: 100vw; height: 100dvh; border-radius: 0; box-shadow: none; }

.bars { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 4px; z-index: 5; }
.bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.bar i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.bar.done i { transform: scaleX(1); }
.bar.run i { animation: fill var(--dur) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.stage.paused .bar.run i, .stage.paused .slide * , .stage.paused .slide::before, .stage.paused .slide::after { animation-play-state: paused !important; }
.stage[data-theme="t-cream"] .bar, .stage[data-theme="t-gold"] .bar { background: rgba(42, 10, 24, .2); }
.stage[data-theme="t-cream"] .bar i, .stage[data-theme="t-gold"] .bar i { background: #2a0a18; }

.top-btns { position: absolute; top: 26px; right: 12px; z-index: 6; display: flex; gap: 8px; }
.x-btn { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .25); color: #fff; font-size: 16px; cursor: pointer; backdrop-filter: blur(6px); }
.embed .top-btns, .embed .share-btn { display: none; }
.viewer [data-act="close"] { display: none; }
.end-actions { display: flex; gap: 3cqw; flex-wrap: wrap; }
.btn-s.ghost-s { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; text-decoration: none; display: inline-block; }

.share-btn { position: absolute; left: 14px; bottom: 16px; z-index: 6; border: 0; border-radius: 99px; padding: 9px 16px; background: rgba(255, 244, 234, .95);
  color: #2a0a18; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.domain { position: absolute; right: 16px; bottom: 25px; z-index: 6; font-weight: 700; font-size: 13px; letter-spacing: .02em; opacity: .9; pointer-events: none; }
.stage[data-theme="t-cream"] .domain, .stage[data-theme="t-gold"] .domain { color: #2a0a18; }

.gate { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10cqw;
  background: radial-gradient(120% 90% at 50% 0%, #6e0b33, #2a0618 60%, #12030b); }
.gate .gift { font-size: 26cqw; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-3cqw) rotate(-4deg); } }
.gate .names { margin: 2cqw 0 8cqw; }
.gate-btn { width: 24cqw; height: 24cqw; border-radius: 50%; border: 0; background: var(--rose); color: #fff; font-size: 9cqw; cursor: pointer; padding-left: 1.5cqw; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 61, 110, .6); } 70% { box-shadow: 0 0 0 7cqw rgba(255, 61, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 61, 110, 0); } }

.sheet { position: absolute; inset: 0; z-index: 9; background: rgba(10, 3, 7, .7); backdrop-filter: blur(10px); display: flex; align-items: flex-end; cursor: default; }
.sheet-box { width: 100%; background: #1f0814; border-radius: 7cqw 7cqw 0 0; padding: 6cqw 6cqw 5cqw; display: flex; flex-direction: column; gap: 4cqw; align-items: center; animation: up .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes up { from { transform: translateY(100%); } }
.sheet img { height: 46cqh; aspect-ratio: 9 / 16; border-radius: 3cqw; background: rgba(255, 255, 255, .06); box-shadow: 0 3cqw 10cqw rgba(0, 0, 0, .5); }
.sheet img:not([src]) { visibility: hidden; }
.sheet-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; width: 100%; }
.sheet-btns button { padding: 4cqw; border-radius: 4cqw; border: 0; font: inherit; font-weight: 700; font-size: 4cqw; cursor: pointer; color: #fff; }
.sheet-btns button:disabled { opacity: .45; cursor: wait; }
.sheet-btns .ig { background: linear-gradient(45deg, #f9a03f, #e4405f 45%, #8a3ab9); }
.sheet-btns .tt { background: #111; box-shadow: inset 0 0 0 1px #444; }
.sheet-btns .sv { grid-column: span 2; background: rgba(255, 255, 255, .1); }
.sheet-hint { font-size: 3.4cqw; opacity: .75; text-align: center; min-height: 1.4em; }
.sheet-close { background: none; border: 0; color: var(--cream); opacity: .7; font: inherit; font-size: 4cqw; cursor: pointer; }

.slide.top { justify-content: flex-start; padding-top: 16cqh; }
.slide .polaroid { position: absolute; right: 8cqw; bottom: 13cqh; width: 40cqw; aspect-ratio: 4 / 5; object-fit: cover; border: 2.4cqw solid #fff4ea; border-bottom-width: 9cqw;
  border-radius: 1cqw; box-shadow: 0 4cqw 12cqw rgba(0, 0, 0, .4); }
.brandmark { position: absolute; top: 28px; left: 16px; z-index: 6; font-family: var(--serif); font-style: italic; font-size: 15px; opacity: .8; }
.stage[data-theme="t-cream"] .brandmark, .stage[data-theme="t-gold"] .brandmark { color: #2a0a18; }

/* Slaytlar */
.slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 84px 8cqw 9cqh; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; overflow: hidden; }
.slide.active { opacity: 1; visibility: visible; }
.slide > * { position: relative; z-index: 1; }
.slide::before, .slide::after {
  content: ''; position: absolute; z-index: 0; width: 80cqw; aspect-ratio: 1; border-radius: 50%;
  filter: blur(50px); opacity: .5; animation: drift 9s ease-in-out infinite alternate;
}
.slide::before { background: var(--b1); top: -25cqw; right: -30cqw; }
.slide::after { background: var(--b2); bottom: -30cqw; left: -35cqw; animation-delay: -4s; }
@keyframes drift { to { transform: translate(-10cqw, 12cqw) scale(1.15); } }

.t-rose  { background: linear-gradient(160deg, #ff5c86, #e0215a 45%, #6e0b33); --b1: #ffb3c6; --b2: #ff8a5b; }
.t-coral { background: linear-gradient(160deg, #ffb36b, #ff6b5b 50%, #c2185b); --b1: #ffe08a; --b2: #ff3d6e; }
.t-night { background: linear-gradient(170deg, #2a1660, #140a33 55%, #07031a); --b1: #7b4dff; --b2: #ff3d6e; }
.t-lilac { background: linear-gradient(160deg, #d9c2ff, #9d6bff 50%, #4a1f99); --b1: #ffffff; --b2: #ff8fb1; }
.t-gold  { background: linear-gradient(160deg, #ffe29a, #ffc24b 50%, #ff8a3d); color: #2a0a18; --b1: #fff6d6; --b2: #ff6b8b; }
.t-cream { background: #fff4ea; color: #2a0a18; --b1: #ffc2d1; --b2: #ffd9a8; }
.t-wine  { background: radial-gradient(120% 90% at 50% 0%, #5a0f33, #2a0618 60%, #12030b); --b1: #ff3d6e; --b2: #7b4dff; }

/* Giriş animasyonları */
.slide .rise, .slide .pop { opacity: 0; }
.slide.active .rise { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0s); }
.slide.active .pop { animation: pop .8s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(6cqw); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.3) rotate(-10deg); } to { opacity: 1; transform: rotate(var(--r, 0deg)); } }

/* Tipografi */
.kicker { font-size: 3.4cqw; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; opacity: .85; margin-bottom: 3cqw; }
.names { font-family: var(--serif); font-weight: 600; font-size: 16cqw; line-height: .92; letter-spacing: -.02em; }
.names em { display: block; font-style: italic; font-weight: 400; font-size: .6em; opacity: .85; margin: 1cqw 0; }
.names.small { font-size: 10cqw; }
.names.small em { display: inline; }
.num { font-size: 26cqw; font-weight: 800; line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.num.mid { font-size: 20cqw; }
.lead { font-size: 6cqw; line-height: 1.25; margin-top: 3cqw; font-weight: 600; }
.lead em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.sub { font-size: 4.1cqw; line-height: 1.45; opacity: .85; margin-top: 4cqw; }
.hint { position: absolute; bottom: 8cqh; left: 8cqw; font-size: 4cqw; opacity: .8; }
.heart { position: absolute; right: 6cqw; bottom: 22cqh; font-size: 30cqw; opacity: .9; --r: 12deg; }

.quote { font-family: var(--serif); font-size: 9cqw; line-height: 1.15; font-style: italic; }
.date-big { font-family: var(--serif); font-size: 15cqw; line-height: .95; font-weight: 600; }
.emoji-big { font-size: 40cqw; line-height: 1; margin: 2cqw 0; }
.emoji-row { display: flex; gap: 4cqw; margin-top: 5cqw; font-size: 9cqw; }
.emoji-row span { display: flex; flex-direction: column; align-items: center; }
.emoji-row small { font-size: 3.2cqw; font-weight: 700; opacity: .75; }

.split { margin-top: 5cqw; }
.split .row { display: flex; justify-content: space-between; align-items: baseline; font-size: 5.4cqw; font-weight: 700; margin-bottom: 2cqw; }
.split .row b { font-size: 8cqw; }
.track { height: 12cqw; border-radius: 4cqw; background: rgba(42, 10, 24, .1); overflow: hidden; }
.track b { display: block; height: 100%; width: var(--w); background: var(--rose); border-radius: 4cqw; transform-origin: left; }
.split:nth-of-type(odd) .track b { background: #2a0a18; }
.slide.active .grow { animation: grow 1.3s .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { transform: scaleX(0); } }
.split small { display: block; font-size: 3.4cqw; opacity: .6; margin-top: 1.5cqw; }

.stat-rows { margin-top: 5cqw; display: grid; gap: 3cqw; }
.stat-rows div { display: flex; justify-content: space-between; align-items: baseline; padding: 4cqw 5cqw; border-radius: 5cqw; background: rgba(255, 255, 255, .1); font-size: 5cqw; font-weight: 600; }
.stat-rows b { font-size: 7cqw; }

.hours { display: flex; align-items: flex-end; gap: .8cqw; height: 26cqw; margin-top: 7cqw; }
.hours i { flex: 1; height: var(--h); background: rgba(255, 255, 255, .3); border-radius: 1cqw 1cqw 0 0; transform-origin: bottom; }
.hours i.peak { background: var(--gold); }
.slide.active .hours i { animation: growY 1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.4s + var(--k) * 25ms); }
@keyframes growY { from { transform: scaleY(0); } }
.hours-axis { display: flex; justify-content: space-between; font-size: 3cqw; opacity: .6; margin-top: 1.5cqw; }

.facts { list-style: none; display: grid; gap: 3.5cqw; margin-top: 4cqw; }
.facts li { display: flex; gap: 4cqw; align-items: center; font-size: 4.6cqw; line-height: 1.3; background: rgba(255, 255, 255, .14); padding: 4cqw; border-radius: 5cqw; }
.facts li > span:first-child { font-size: 8cqw; }
.facts b { font-size: 6cqw; }

.collage { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3cqw; margin-top: 4cqw; }
.collage.n1 { grid-template-columns: 1fr; }
.collage.n3 img:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
.collage.n5, .collage.n6 { grid-template-columns: repeat(3, 1fr); }
.collage.n5 img:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }
.collage img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4cqw; box-shadow: 0 3cqw 8cqw rgba(0, 0, 0, .35); border: 1.2cqw solid #fff4ea; }

.vinyl { width: 58cqw; aspect-ratio: 1; border-radius: 50%; margin: 2cqw auto 6cqw; position: relative;
  background: repeating-radial-gradient(circle, #151015 0 1.2cqw, #221a22 1.2cqw 2cqw); box-shadow: 0 4cqw 12cqw rgba(0, 0, 0, .5); }
.vinyl::after { content: '♥'; position: absolute; inset: 34%; border-radius: 50%; background: var(--rose); display: grid; place-items: center; font-size: 8cqw; color: #fff4ea; }
.slide.active .vinyl { animation: pop .8s cubic-bezier(.3, 1.6, .5, 1) both, spin 5s linear 0.8s infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.song { font-family: var(--serif); font-size: 10cqw; line-height: 1.05; text-align: center; font-weight: 600; }
.slide.center { text-align: center; align-items: center; }

.note { font-family: var(--serif); font-size: 6.6cqw; line-height: 1.4; font-style: italic; white-space: normal; }
.sign { margin-top: 6cqw; font-size: 5cqw; font-weight: 700; }

.summary { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin-top: 6cqw; }
.summary div { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); border-radius: 5cqw; padding: 4cqw; }
.summary small { display: block; font-size: 3cqw; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.summary b { display: block; font-size: 6.4cqw; margin-top: 1cqw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-s { margin-top: 6cqw; padding: 3.6cqw 6cqw; border-radius: 99px; border: 0; background: #fff4ea; color: #2a0a18; font: inherit; font-weight: 700; font-size: 4.2cqw; cursor: pointer; }
