/* ==========================================================
   ROOT
========================================================== */

:root {
    --dark: #171312;
    --dark-soft: #211c1a;
    --paper: #f4eee7;
    --paper-soft: #ebe1d8;
    --cream: #fffaf4;
    --rose: #a85d63;
    --rose-soft: #d8a6a6;
    --rose-light: #ead3d0;
    --brown: #5c4540;
    --text: #2e2624;
    --line: rgba(73, 48, 43, 0.17);

    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
}


/* ==========================================================
   RESET
========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--dark);
    color: var(--text);
    font-family: var(--sans);
    overflow-x: hidden;
}

body.locked {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
}

button,
input {
    font: inherit;
}

button {
    border: 0;
}

::selection {
    background: var(--rose);
    color: white;
}


/* ==========================================================
   GENEL
========================================================== */

#mainContent {
    display: none;
}

#mainContent.active {
    display: block;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--rose);
}

.eyebrow.light {
    color: rgba(255,255,255,0.67);
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
}

h2 {
    font-size: clamp(45px, 7vw, 84px);
    line-height: 0.94;
}

em {
    font-weight: 400;
}

.light-section {
    background:
        radial-gradient(circle at 10% 20%, rgba(182,113,115,.08), transparent 22%),
        radial-gradient(circle at 88% 76%, rgba(182,113,115,.08), transparent 25%),
        var(--paper);
}

.romantic-bg {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 15%, rgba(185,114,118,.10), transparent 23%),
        radial-gradient(circle at 92% 85%, rgba(185,114,118,.10), transparent 22%),
        linear-gradient(135deg, #f6efe9, #eee3dc);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================
   ŞİFRE EKRANI
========================================================== */

.password-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    padding: 24px;
    background:
        radial-gradient(circle at 20% 20%, rgba(171,92,100,.16), transparent 32%),
        radial-gradient(circle at 85% 80%, rgba(171,92,100,.12), transparent 30%),
        #171312;
    overflow: hidden;
}

.password-screen.hidden {
    display: none;
}

.password-card {
    position: relative;
    z-index: 4;
    width: min(100%, 460px);
    text-align: center;
}

.password-logo {
    width: 115px;
    margin: 0 auto 55px;
}

.password-card h1 {
    margin-bottom: 22px;
    color: white;
    font-size: clamp(48px, 10vw, 72px);
    line-height: .92;
}

.password-card h1 em {
    color: #d8b7b5;
}

.password-card > p {
    max-width: 340px;
    margin: 0 auto 35px;
    color: rgba(255,255,255,.52);
    font-size: 13px;
    line-height: 1.8;
}

.password-input-wrap {
    display: flex;
    width: min(100%, 340px);
    margin: auto;
    border-bottom: 1px solid rgba(255,255,255,.35);
}

.password-input-wrap input {
    flex: 1;
    min-width: 0;
    padding: 14px 0;
    color: white;
    background: transparent;
    border: 0;
    outline: 0;
}

.password-input-wrap input::placeholder {
    color: rgba(255,255,255,.3);
}

.password-input-wrap button {
    width: 46px;
    background: transparent;
    cursor: pointer;
}

.password-input-wrap svg {
    width: 20px;
    fill: none;
    stroke: white;
    stroke-width: 1.5;
}

.password-error {
    display: block;
    margin-top: 15px;
    color: #d99b9b;
    font-size: 11px;
    opacity: 0;
    transform: translateY(-6px);
    transition: .3s;
}

.password-error.show {
    opacity: 1;
    transform: translateY(0);
}

.heart-outline {
    position: absolute;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(255,255,255,.045);
    border-radius: 50%;
}

.heart-outline-1 {
    top: -180px;
    left: -110px;
}

.heart-outline-2 {
    right: -200px;
    bottom: -180px;
}

.tiny-heart {
    position: absolute;
    color: rgba(255,255,255,.14);
    font-family: var(--serif);
    animation: floatHeart 6s ease-in-out infinite;
}

.tiny-heart-a {
    top: 18%;
    right: 18%;
    font-size: 22px;
}

.tiny-heart-b {
    left: 15%;
    bottom: 18%;
    font-size: 14px;
    animation-delay: -2s;
}

.tiny-heart-c {
    right: 11%;
    bottom: 28%;
    font-size: 12px;
    animation-delay: -4s;
}

@keyframes floatHeart {
    50% {
        transform: translateY(-14px) rotate(5deg);
    }
}


/* ==========================================================
   INTRO
========================================================== */

.intro-screen {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    padding: 30px;
    color: white;
    background: var(--dark);
    overflow: hidden;
}

.intro-screen.active {
    display: flex;
}

.intro-screen.exit {
    animation: introExit 1.1s forwards cubic-bezier(.7,0,.2,1);
}

@keyframes introExit {
    to {
        opacity: 0;
        transform: scale(1.06);
        visibility: hidden;
    }
}

.intro-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 30%, rgba(172,98,104,.17), transparent 35%),
        linear-gradient(to bottom, transparent, rgba(0,0,0,.2));
}

.intro-content {
    position: relative;
    z-index: 4;
    text-align: center;
}

.intro-logo {
    width: 105px;
    margin: 0 auto 60px;
}

.intro-small {
    margin-bottom: 15px;
    color: rgba(255,255,255,.52);
    font-size: 10px;
    letter-spacing: .23em;
    text-transform: uppercase;
}

.intro-content h2 {
    font-size: clamp(64px, 12vw, 120px);
    line-height: .72;
}

.intro-content h2 span {
    display: block;
    margin: 18px 0;
    color: var(--rose-soft);
    font-size: .42em;
    font-style: italic;
}

.intro-date {
    margin-top: 38px;
    color: rgba(255,255,255,.55);
    font-family: var(--serif);
    font-size: 17px;
    letter-spacing: .15em;
}

.enter-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 47px;
    padding: 15px 21px 15px 25px;
    color: var(--dark);
    background: var(--cream);
    border-radius: 100px;
    cursor: pointer;
    transition: .35s;
}

.enter-button:hover {
    transform: translateY(-3px);
}

.enter-button span {
    font-size: 11px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.enter-button svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.intro-stars span {
    position: absolute;
    color: rgba(255,255,255,.2);
    animation: starPulse 4s ease-in-out infinite;
}

.intro-stars span:nth-child(1) {
    top: 21%;
    left: 16%;
}

.intro-stars span:nth-child(2) {
    top: 29%;
    right: 19%;
}

.intro-stars span:nth-child(3) {
    bottom: 20%;
    right: 22%;
}

@keyframes starPulse {
    50% {
        opacity: .35;
        transform: scale(1.5);
    }
}


/* ==========================================================
   SCROLL HEART
========================================================== */

.scroll-progress {
    position: fixed;
    z-index: 500;
    top: 50%;
    right: 20px;
    width: 14px;
    height: 160px;
    transform: translateY(-50%);
    pointer-events: none;
}

.scroll-progress-line {
    position: absolute;
    top: 0;
    left: 6px;
    width: 1px;
    height: 100%;
    background: rgba(255,255,255,.23);
    mix-blend-mode: difference;
}

.scroll-progress-heart {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,.3));
}


/* ==========================================================
   HERO
========================================================== */

.hero-section {
    position: relative;
    height: 100svh;
    min-height: 680px;
    color: white;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: -6%;
    width: 112%;
    height: 112%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,.08) 35%, rgba(0,0,0,.69)),
        linear-gradient(to right, rgba(0,0,0,.25), transparent);
}

.hero-content {
    position: absolute;
    z-index: 3;
    left: 8%;
    bottom: 13%;
    width: min(850px, 84%);
}

.hero-content h1 {
    max-width: 920px;
    font-size: clamp(50px, 7vw, 95px);
    line-height: .93;
}

.hero-content h1 em {
    color: #ead4d0;
}

.hero-line {
    width: 80px;
    height: 1px;
    margin: 30px 0 17px;
    background: rgba(255,255,255,.5);
}

.hero-content p {
    color: rgba(255,255,255,.72);
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero-bottom-text {
    position: absolute;
    right: 4%;
    bottom: 4%;
    z-index: 4;
    color: rgba(255,255,255,.5);
    font-size: 9px;
    letter-spacing: .19em;
    text-transform: uppercase;
}


/* ==========================================================
   COUNTER
========================================================== */

.counter-section {
    padding: 135px 8%;
    text-align: center;
}

.section-heading {
    position: relative;
    z-index: 3;
}

.section-heading h2 {
    color: var(--text);
}

.section-heading h2 em {
    color: var(--rose);
}

.counter-grid {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
    margin-top: 75px;
}

.counter-item strong {
    display: block;
    min-width: 90px;
    color: var(--text);
    font-family: var(--serif);
    font-size: clamp(48px, 8vw, 78px);
    font-weight: 400;
}

.counter-item span {
    color: #836f68;
    font-size: 9px;
    letter-spacing: .23em;
    text-transform: uppercase;
}

.counter-divider {
    width: 1px;
    height: 50px;
    background: var(--line);
}

.counter-note {
    position: relative;
    z-index: 3;
    margin-top: 50px;
    color: #8a716a;
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
}

.decor-heart {
    position: absolute;
    color: rgba(160,80,88,.09);
    font-family: var(--serif);
    line-height: 1;
}

.decor-heart-one {
    top: 0;
    left: -30px;
    font-size: 250px;
}

.decor-heart-two {
    right: 2%;
    bottom: -80px;
    font-size: 180px;
}


/* ==========================================================
   EDITORIAL COLLAGE
========================================================== */

.editorial-section {
    position: relative;
    min-height: 1000px;
    padding: 130px 8% 170px;
    overflow: hidden;
}

.editorial-copy {
    width: min(620px, 100%);
    margin-bottom: 90px;
}

.editorial-copy h2 em {
    color: var(--rose);
}

.editorial-copy p,
.duo-copy p {
    max-width: 500px;
    margin-top: 32px;
    color: #78645d;
    font-size: 14px;
    line-height: 1.9;
}

.editorial-collage {
    position: relative;
    width: min(1100px, 100%);
    height: 760px;
    margin: auto;
}

.photo-frame {
    position: absolute;
    padding: 10px;
    background: #fffaf3;
    box-shadow: 0 25px 70px rgba(49,34,30,.12);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.frame-tall {
    top: 60px;
    left: 4%;
    width: 31%;
    height: 570px;
    transform: rotate(-3deg);
}

.frame-wide {
    top: 0;
    right: 3%;
    width: 48%;
    height: 390px;
    transform: rotate(2deg);
}

.frame-square {
    right: 20%;
    bottom: 0;
    width: 30%;
    height: 340px;
    transform: rotate(-2deg);
}

.floating-heart {
    position: absolute;
    color: rgba(151,80,87,.15);
    font-family: var(--serif);
}

.fh-1 {
    top: 35%;
    right: 6%;
    font-size: 45px;
}

.fh-2 {
    left: 4%;
    bottom: 8%;
    font-size: 25px;
}


/* ==========================================================
   SPLIT SECTION
========================================================== */

.split-memory-section {
    display: grid;
    grid-template-columns: 1fr .85fr 1fr;
    min-height: 760px;
    background: var(--dark);
}

.split-photo {
    min-height: 760px;
    overflow: hidden;
}

.split-photo img {
    height: 100%;
    object-fit: cover;
}

.split-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 70px 50px;
    color: white;
}

.split-copy h2 {
    font-size: clamp(42px, 5vw, 68px);
}

.split-copy h2 em {
    color: var(--rose-soft);
}

.split-copy p {
    color: rgba(255,255,255,.52);
    font-size: 13px;
    line-height: 1.9;
}

.small-heart {
    margin: 34px 0 24px;
    color: var(--rose-soft);
}


/* ==========================================================
   CINEMATIC
========================================================== */

.cinematic-photo-section,
.full-photo-message,
.final-section {
    position: relative;
    height: 100svh;
    min-height: 720px;
    overflow: hidden;
}

.cinematic-image,
.full-photo-image,
.final-image {
    position: absolute;
    inset: -7%;
    width: 114%;
    height: 114%;
    object-fit: cover;
}

.cinematic-overlay,
.full-photo-overlay,
.final-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.12),
        rgba(0,0,0,.22),
        rgba(0,0,0,.63)
    );
}

.cinematic-photo-section blockquote {
    position: absolute;
    z-index: 3;
    left: 9%;
    bottom: 12%;
    max-width: 770px;
    color: white;
    font-family: var(--serif);
    font-size: clamp(52px, 7vw, 88px);
    font-style: italic;
    line-height: .95;
}


/* ==========================================================
   MEMORY CARDS
========================================================== */

.memory-cards-section {
    padding: 140px 8% 180px;
}

.centered {
    text-align: center;
}

.centered h2 em {
    color: var(--rose);
}

.memory-cards {
    display: flex;
    justify-content: center;
    gap: 8vw;
    margin-top: 90px;
}

.memory-card {
    width: min(380px, 40vw);
    padding: 14px 14px 30px;
    background: #fffaf4;
    box-shadow: 0 25px 70px rgba(60,37,32,.13);
}

.memory-card.card-left {
    transform: rotate(-2.5deg);
}

.memory-card.card-right {
    margin-top: 80px;
    transform: rotate(2.4deg);
}

.memory-photo {
    aspect-ratio: 1 / 1.15;
    overflow: hidden;
}

.memory-photo img {
    height: 100%;
    object-fit: cover;
}

.memory-card p {
    padding: 26px 16px 10px;
    color: #6c5751;
    font-family: var(--serif);
    font-size: 23px;
    line-height: 1.28;
}

.memory-card > span {
    display: block;
    padding: 0 16px;
    color: var(--rose);
}


/* ==========================================================
   FULL PHOTO MESSAGE
========================================================== */

.full-photo-copy {
    position: absolute;
    z-index: 3;
    left: 8%;
    bottom: 12%;
    max-width: 890px;
    color: white;
}

.full-photo-copy h2 em {
    color: #e8c9c6;
}


/* ==========================================================
   MUSIC
========================================================== */

.music-section {
    position: relative;
    padding: 150px 8%;
    color: white;
    background:
        radial-gradient(circle at 80% 25%, rgba(165,89,95,.16), transparent 25%),
        var(--dark);
    overflow: hidden;
}

.music-intro {
    position: relative;
    z-index: 2;
    margin-bottom: 70px;
}

.music-intro h2 em {
    color: var(--rose-soft);
}

.music-player {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(280px, 440px) 1fr;
    width: min(1080px, 100%);
    margin: auto;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.035);
    backdrop-filter: blur(14px);
}

.album-cover {
    position: relative;
    min-height: 520px;
    overflow: hidden;
}

.album-cover img {
    height: 100%;
    object-fit: cover;
}

.album-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.45), transparent);
}

.album-mini-heart {
    position: absolute;
    right: 25px;
    bottom: 20px;
    font-family: var(--serif);
    font-size: 34px;
}

.player-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 65px 8%;
}

.player-label {
    margin-bottom: 20px;
    color: var(--rose-soft);
    font-size: 9px;
    letter-spacing: .23em;
    text-transform: uppercase;
}

.player-content h3 {
    font-size: clamp(45px, 6vw, 72px);
}

.player-content > p {
    margin-top: 8px;
    color: rgba(255,255,255,.45);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.progress-wrapper {
    margin-top: 55px;
}

.music-progress {
    position: relative;
    height: 24px;
    cursor: pointer;
}

.music-progress::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,.22);
}

.music-progress-filled {
    position: absolute;
    top: 11px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
}

.music-progress-heart {
    position: absolute;
    top: 4px;
    left: 0;
    color: #e9b9b8;
    font-size: 13px;
    transform: translateX(-50%);
    transition: transform .15s;
}

.music-progress:hover .music-progress-heart {
    transform: translateX(-50%) scale(1.35);
}

.music-time {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    color: rgba(255,255,255,.4);
    font-size: 9px;
}

.music-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 42px;
}

.music-control {
    display: grid;
    place-items: center;
    color: white;
    background: transparent;
    cursor: pointer;
}

.music-control svg {
    fill: currentColor;
}

.secondary-control {
    width: 44px;
    height: 44px;
    color: rgba(255,255,255,.45);
}

.secondary-control svg {
    width: 20px;
}

.main-control {
    width: 67px;
    height: 67px;
    color: var(--dark);
    background: var(--cream);
    border-radius: 50%;
    transition: .3s;
}

.main-control:hover {
    transform: scale(1.06);
}

.main-control svg {
    width: 25px;
}


/* ==========================================================
   DUO
========================================================== */

.duo-photo-section {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 7vw;
    padding: 150px 8%;
}

.duo-copy {
    align-self: center;
}

.duo-copy h2 em {
    color: var(--rose);
}

.duo-images {
    position: relative;
    min-height: 780px;
}

.duo-image {
    position: absolute;
    padding: 9px;
    background: white;
    box-shadow: 0 20px 60px rgba(50,30,25,.13);
}

.duo-image img {
    height: 100%;
    object-fit: cover;
}

.duo-one {
    top: 0;
    left: 0;
    width: 58%;
    height: 68%;
    transform: rotate(-3deg);
}

.duo-two {
    right: 0;
    bottom: 0;
    width: 58%;
    height: 68%;
    transform: rotate(3deg);
}

.duo-heart {
    position: absolute;
    top: 48%;
    left: 50%;
    z-index: 5;
    color: var(--rose);
    font-family: var(--serif);
    font-size: 48px;
    transform: translate(-50%,-50%);
}


/* ==========================================================
   SECRET MESSAGE
========================================================== */

.secret-message-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8vw;
    min-height: 760px;
    padding: 120px 8%;
}

.secret-intro {
    max-width: 570px;
}

.secret-intro h2 em {
    color: var(--rose);
}

.secret-card {
    position: relative;
    width: min(390px, 90vw);
    height: 440px;
    background: transparent;
    perspective: 1200px;
    cursor: pointer;
}

.secret-front,
.secret-back {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 45px;
    border: 1px solid rgba(89,60,54,.14);
    background: #fffaf4;
    box-shadow: 0 30px 90px rgba(56,35,30,.14);
    backface-visibility: hidden;
    transition: transform .85s cubic-bezier(.2,.7,.2,1);
}

.secret-front {
    transform: rotateY(0deg);
}

.secret-back {
    transform: rotateY(180deg);
}

.secret-card.open .secret-front {
    transform: rotateY(-180deg);
}

.secret-card.open .secret-back {
    transform: rotateY(0deg);
}

.secret-heart {
    margin-bottom: 24px;
    color: var(--rose);
    font-size: 30px;
}

.secret-front strong {
    color: var(--text);
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
}

.secret-front small {
    margin-top: 10px;
    color: #947d76;
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.secret-back > span {
    margin-bottom: 28px;
    color: var(--rose);
    font-size: 25px;
}

.secret-back p {
    color: var(--text);
    font-family: var(--serif);
    font-size: 29px;
    line-height: 1.35;
}


/* ==========================================================
   WIDE STORY
========================================================== */

.wide-story-section {
    position: relative;
    height: 100svh;
    min-height: 720px;
    overflow: hidden;
    background: var(--dark);
}

.wide-story-photo {
    position: absolute;
    inset: 0;
}

.wide-story-photo img {
    position: absolute;
    inset: -6%;
    width: 112%;
    height: 112%;
    object-fit: cover;
}

.wide-story-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(0,0,0,.78), rgba(0,0,0,.1)),
        linear-gradient(to top, rgba(0,0,0,.35), transparent);
}

.wide-story-text {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 8%;
    max-width: 650px;
    color: white;
    transform: translateY(-50%);
}

.wide-story-text.visible {
    transform: translateY(-50%);
}

.wide-story-text h2 em {
    color: var(--rose-soft);
}

.wide-story-text p {
    max-width: 430px;
    margin-top: 30px;
    color: rgba(255,255,255,.58);
    font-size: 14px;
    line-height: 1.9;
}


/* ==========================================================
   FILM
========================================================== */

.film-section {
    padding: 140px 0;
    overflow: hidden;
}

.film-heading {
    padding: 0 8%;
}

.film-heading h2 {
    color: var(--text);
}

.film-strip {
    display: flex;
    gap: 24px;
    width: max-content;
    margin-top: 70px;
    padding: 0 6vw;
}

.film-frame {
    position: relative;
    width: min(31vw, 420px);
    min-width: 300px;
    padding: 25px 12px;
    background: #1d1918;
    box-shadow: 0 25px 60px rgba(40,28,24,.15);
}

.film-frame img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.film-hole-row {
    position: absolute;
    left: 10px;
    width: calc(100% - 20px);
    height: 10px;
    background:
        repeating-linear-gradient(
            to right,
            #e7ded6 0 10px,
            transparent 10px 22px
        );
}

.film-hole-row.top {
    top: 7px;
}

.film-hole-row.bottom {
    bottom: 7px;
}

.film-note {
    margin: 65px auto 0;
    padding: 0 8%;
    text-align: center;
    color: #755f58;
    font-family: var(--serif);
    font-size: 26px;
    font-style: italic;
    line-height: 1.4;
}


/* ==========================================================
   LETTER
========================================================== */

.letter-section {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 900px;
    padding: 130px 7%;
    background: #ded0c5;
    overflow: hidden;
}

.letter-paper {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
    padding: 80px 90px;
    background:
        linear-gradient(rgba(255,255,255,.55),rgba(255,255,255,.55)),
        #f5eee5;
    box-shadow: 0 30px 100px rgba(62,40,34,.18);
}

.letter-date {
    display: block;
    margin-bottom: 36px;
    color: var(--rose);
    font-family: var(--serif);
    font-size: 20px;
    font-style: italic;
}

.letter-paper h2 {
    font-size: clamp(48px, 6vw, 72px);
}

.letter-paper h2 em {
    color: var(--rose);
}

.letter-text {
    margin-top: 45px;
}

.letter-text p {
    margin-bottom: 25px;
    color: #634f49;
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.65;
}

.letter-signature {
    margin-top: 45px;
    color: var(--rose);
    font-family: var(--serif);
    font-size: 25px;
    font-style: italic;
}

.letter-decoration {
    position: absolute;
    color: rgba(120,69,72,.09);
    font-family: var(--serif);
}

.letter-heart-one {
    top: 4%;
    left: -80px;
    font-size: 300px;
}

.letter-heart-two {
    right: -80px;
    bottom: 0;
    font-size: 230px;
}


/* ==========================================================
   GIF MARQUEE
========================================================== */

.gif-section {
    padding: 140px 0 160px;
    color: white;
    background: var(--dark);
    overflow: hidden;
}

.gif-heading {
    padding: 0 8%;
    margin-bottom: 75px;
}

.gif-heading h2 em {
    color: var(--rose-soft);
}

.gif-marquee {
    width: 100%;
    overflow: hidden;
}

.gif-track {
    display: flex;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.gif-group {
    display: flex;
    gap: 18px;
    flex: 0 0 auto;
    padding-right: 18px;
}

.gif-card {
    flex: 0 0 min(31vw, 420px);
    overflow: hidden;
    border-radius: 8px;
    background: var(--dark-soft);
}

.gif-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


/* ==========================================================
   FINALE TRANSITION
========================================================== */

.final-transition {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 75svh;
    padding: 100px 8%;
    color: white;
    text-align: center;
    background:
        radial-gradient(circle at 50% 50%, rgba(164,82,89,.12), transparent 33%),
        #0e0c0c;
    overflow: hidden;
}

.final-transition-copy span {
    display: block;
    margin-bottom: 22px;
    color: rgba(255,255,255,.42);
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.final-transition-copy h2 em {
    color: var(--rose-soft);
}

.final-stars span {
    position: absolute;
    color: rgba(255,255,255,.12);
    animation: finalFloat 7s ease-in-out infinite;
}

.final-stars span:nth-child(1) {
    top: 20%;
    left: 13%;
}

.final-stars span:nth-child(2) {
    top: 17%;
    right: 20%;
}

.final-stars span:nth-child(3) {
    left: 28%;
    bottom: 16%;
}

.final-stars span:nth-child(4) {
    right: 12%;
    bottom: 27%;
}

.final-stars span:nth-child(5) {
    top: 45%;
    right: 35%;
}

@keyframes finalFloat {
    50% {
        transform: translateY(-16px) scale(1.2);
        opacity: .28;
    }
}


/* ==========================================================
   FINAL
========================================================== */

.final-copy {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    width: min(900px, 88%);
    color: white;
    text-align: center;
    transform: translate(-50%,-50%);
}

.final-copy.visible {
    transform: translate(-50%,-50%);
}

.final-copy h2 {
    font-size: clamp(58px, 9vw, 110px);
}

.final-copy h2 em {
    color: #ead0cd;
}

.final-heart {
    display: block;
    margin-bottom: 22px;
    color: #f0d4d1;
    font-family: var(--serif);
    font-size: 45px;
}

.final-copy p {
    margin-top: 35px;
    font-family: var(--serif);
    font-size: 30px;
}

.final-date {
    display: block;
    margin-top: 12px;
    color: rgba(255,255,255,.57);
    font-size: 10px;
    letter-spacing: .2em;
}


/* ==========================================================
   FOOTER
========================================================== */

footer {
    padding: 70px 30px;
    text-align: center;
    color: white;
    background: #0e0c0c;
}

footer img {
    width: 92px;
    margin: 0 auto 25px;
}

footer p {
    color: rgba(255,255,255,.35);
    font-size: 10px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

footer span {
    display: block;
    margin-top: 20px;
    color: rgba(255,255,255,.4);
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 900px) {

    .split-memory-section {
        grid-template-columns: 1fr 1fr;
    }

    .split-copy {
        grid-column: 1 / 3;
        grid-row: 2;
        min-height: 500px;
    }

    .split-photo {
        min-height: 600px;
    }

    .music-player {
        grid-template-columns: 1fr;
    }

    .album-cover {
        min-height: auto;
        aspect-ratio: 4 / 3;
    }

    .duo-photo-section {
        grid-template-columns: 1fr;
    }

    .secret-message-section {
        flex-direction: column;
        text-align: center;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 650px) {

    h2 {
        font-size: 46px;
    }

    .scroll-progress {
        right: 8px;
        height: 120px;
    }

    .password-screen {
        padding: 28px;
    }

    .password-logo {
        width: 94px;
        margin-bottom: 45px;
    }

    .password-card h1 {
        font-size: 52px;
    }

    .intro-logo {
        width: 90px;
        margin-bottom: 55px;
    }

    .intro-content h2 {
        font-size: 70px;
    }

    .hero-section {
        min-height: 720px;
    }

    .hero-content {
        left: 7%;
        bottom: 11%;
        width: 86%;
    }

    .hero-content h1 {
        font-size: 49px;
    }

    .hero-bottom-text {
        right: auto;
        left: 7%;
        bottom: 4%;
    }

    .counter-section {
        padding: 100px 7%;
    }

    .counter-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px 15px;
        margin-top: 55px;
    }

    .counter-divider {
        display: none;
    }

    .counter-item strong {
        min-width: 0;
        font-size: 55px;
    }

    .editorial-section {
        min-height: auto;
        padding: 100px 7% 120px;
    }

    .editorial-copy {
        margin-bottom: 60px;
    }

    .editorial-collage {
        height: 740px;
    }

    .frame-tall {
        top: 0;
        left: 0;
        width: 60%;
        height: 400px;
    }

    .frame-wide {
        top: 260px;
        right: 0;
        width: 62%;
        height: 280px;
    }

    .frame-square {
        right: auto;
        left: 7%;
        bottom: 0;
        width: 55%;
        height: 280px;
    }

    .split-memory-section {
        display: block;
    }

    .split-photo {
        min-height: 0;
        height: 62svh;
    }

    .split-copy {
        min-height: auto;
        padding: 90px 8%;
    }

    .split-copy h2 {
        font-size: 46px;
    }

    .cinematic-photo-section {
        min-height: 720px;
    }

    .cinematic-photo-section blockquote {
        left: 7%;
        bottom: 11%;
        width: 86%;
        font-size: 51px;
    }

    .memory-cards-section {
        padding: 105px 7% 120px;
    }

    .memory-cards {
        flex-direction: column;
        gap: 35px;
        margin-top: 65px;
    }

    .memory-card {
        width: 88%;
    }

    .memory-card.card-left {
        align-self: flex-start;
    }

    .memory-card.card-right {
        align-self: flex-end;
        margin-top: 0;
    }

    .full-photo-message {
        min-height: 720px;
    }

    .full-photo-copy {
        left: 7%;
        bottom: 10%;
        width: 86%;
    }

    .music-section {
        padding: 110px 7%;
    }

    .music-intro {
        margin-bottom: 50px;
    }

    .music-player {
        width: 100%;
    }

    .album-cover {
        aspect-ratio: 1 / 1.05;
    }

    .player-content {
        padding: 45px 28px 40px;
    }

    .player-content h3 {
        font-size: 50px;
    }

    .progress-wrapper {
        margin-top: 42px;
    }

    .duo-photo-section {
        padding: 105px 7% 120px;
    }

    .duo-images {
        min-height: 620px;
        margin-top: 30px;
    }

    .duo-one,
    .duo-two {
        width: 66%;
        height: 60%;
    }

    .secret-message-section {
        padding: 100px 7%;
    }

    .secret-card {
        height: 400px;
    }

    .secret-back p {
        font-size: 26px;
    }

    .wide-story-section {
        min-height: 720px;
    }

    .wide-story-section::after {
        background:
            linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.08));
    }

    .wide-story-text {
        top: auto;
        left: 7%;
        bottom: 10%;
        width: 86%;
        transform: none;
    }

    .wide-story-text.visible {
        transform: none;
    }

    .film-section {
        padding: 105px 0;
    }

    .film-strip {
        overflow-x: auto;
        width: 100%;
        gap: 16px;
        padding: 0 7%;
        scrollbar-width: none;
    }

    .film-strip::-webkit-scrollbar {
        display: none;
    }

    .film-frame {
        flex: 0 0 78vw;
        min-width: 78vw;
    }

    .film-note {
        font-size: 23px;
    }

    .letter-section {
        min-height: auto;
        padding: 90px 6%;
    }

    .letter-paper {
        padding: 55px 32px;
    }

    .letter-text p {
        font-size: 20px;
    }

    .gif-section {
        padding: 110px 0 120px;
    }

    .gif-heading {
        padding: 0 7%;
        margin-bottom: 55px;
    }

    .gif-group {
        gap: 12px;
        padding-right: 12px;
    }

    .gif-card {
        flex-basis: 68vw;
    }

    .final-transition {
        min-height: 65svh;
        padding: 100px 7%;
    }

    .final-section {
        min-height: 760px;
    }

    .final-copy {
        width: 90%;
    }

    .final-copy h2 {
        font-size: 58px;
    }

}


/* ==========================================================
   SON DÜZELTMELER
========================================================== */

.split-memory-section {
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .cinematic-photo-section {
        margin-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }
}
/* Masaüstünde telefon düzenini uygula. */
@media (min-width: 651px) {

    h2 {
        font-size: 46px;
    }

    .scroll-progress {
        right: 8px;
        height: 120px;
    }

    .password-screen {
        padding: 28px;
    }

    .password-logo {
        width: 94px;
        margin-bottom: 45px;
    }

    .password-card h1 {
        font-size: 52px;
    }

    .intro-logo {
        width: 90px;
        margin-bottom: 55px;
    }

    .intro-content h2 {
        font-size: 70px;
    }

    .hero-section {
        min-height: 720px;
    }

    .hero-content {
        left: 7%;
        bottom: 11%;
        width: 86%;
    }

    .hero-content h1 {
        font-size: 49px;
    }

    .hero-bottom-text {
        right: auto;
        left: 7%;
        bottom: 4%;
    }

    .counter-section {
        padding: 100px 7%;
    }

    .counter-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px 15px;
        margin-top: 55px;
    }

    .counter-divider {
        display: none;
    }

    .counter-item strong {
        min-width: 0;
        font-size: 55px;
    }

    .editorial-section {
        min-height: auto;
        padding: 100px 7% 120px;
    }

    .editorial-copy {
        margin-bottom: 60px;
    }

    .editorial-collage {
        height: 740px;
    }

    .frame-tall {
        top: 0;
        left: 0;
        width: 60%;
        height: 400px;
    }

    .frame-wide {
        top: 260px;
        right: 0;
        width: 62%;
        height: 280px;
    }

    .frame-square {
        right: auto;
        left: 7%;
        bottom: 0;
        width: 55%;
        height: 280px;
    }

    .split-memory-section {
        display: block;
    }

    .split-photo {
        min-height: 0;
        height: 62svh;
    }

    .split-copy {
        min-height: auto;
        padding: 90px 8%;
    }

    .split-copy h2 {
        font-size: 46px;
    }

    .cinematic-photo-section {
        min-height: 720px;
    }

    .cinematic-photo-section blockquote {
        left: 7%;
        bottom: 11%;
        width: 86%;
        font-size: 51px;
    }

    .memory-cards-section {
        padding: 105px 7% 120px;
    }

    .memory-cards {
        flex-direction: column;
        gap: 35px;
        margin-top: 65px;
    }

    .memory-card {
        width: 88%;
    }

    .memory-card.card-left {
        align-self: flex-start;
    }

    .memory-card.card-right {
        align-self: flex-end;
        margin-top: 0;
    }

    .full-photo-message {
        min-height: 720px;
    }

    .full-photo-copy {
        left: 7%;
        bottom: 10%;
        width: 86%;
    }

    .music-section {
        padding: 110px 7%;
    }

    .music-intro {
        margin-bottom: 50px;
    }

    .music-player {
        width: 100%;
    }

    .album-cover {
        aspect-ratio: 1 / 1.05;
    }

    .player-content {
        padding: 45px 28px 40px;
    }

    .player-content h3 {
        font-size: 50px;
    }

    .progress-wrapper {
        margin-top: 42px;
    }

    .duo-photo-section {
        padding: 105px 7% 120px;
    }

    .duo-images {
        min-height: 620px;
        margin-top: 30px;
    }

    .duo-one,
    .duo-two {
        width: 66%;
        height: 60%;
    }

    .secret-message-section {
        padding: 100px 7%;
    }

    .secret-card {
        height: 400px;
    }

    .secret-back p {
        font-size: 26px;
    }

    .wide-story-section {
        min-height: 720px;
    }

    .wide-story-section::after {
        background:
            linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.08));
    }

    .wide-story-text {
        top: auto;
        left: 7%;
        bottom: 10%;
        width: 86%;
        transform: none;
    }

    .wide-story-text.visible {
        transform: none;
    }

    .film-section {
        padding: 105px 0;
    }

    .film-strip {
        overflow-x: auto;
        width: 100%;
        gap: 16px;
        padding: 0 7%;
        scrollbar-width: none;
    }

    .film-strip::-webkit-scrollbar {
        display: none;
    }

    .film-frame {
        flex: 0 0 335.4px;
        min-width: 335.4px;
    }

    .film-note {
        font-size: 23px;
    }

    .letter-section {
        min-height: auto;
        padding: 90px 6%;
    }

    .letter-paper {
        padding: 55px 32px;
    }

    .letter-text p {
        font-size: 20px;
    }

    .gif-section {
        padding: 110px 0 120px;
    }

    .gif-heading {
        padding: 0 7%;
        margin-bottom: 55px;
    }

    .gif-group {
        gap: 12px;
        padding-right: 12px;
    }

    .gif-card {
        flex-basis: 292.4px;
    }

    .final-transition {
        min-height: 65svh;
        padding: 100px 7%;
    }

    .final-section {
        min-height: 760px;
    }

    .final-copy {
        width: 90%;
    }

    .final-copy h2 {
        font-size: 58px;
    }

}



/* Ortak mobil tuval: bilgisayarda sayfa ortada, arka plan iki yanda. */
@media (min-width: 651px) {
  html { background: radial-gradient(circle at 50% 18%, #5e4342, #171312 70%); }
  body { width: 430px; max-width: 100%; margin-inline: auto; box-shadow: 0 0 90px #090605aa; }
  .password-screen, .intro-screen { left: calc(50% - 215px); right: calc(50% - 215px); }
  .scroll-progress { right: calc(50% - 210px); }
  .film-frame { flex: 0 0 335px; min-width: 335px; }
  .gif-card { flex: 0 0 292px; }
  .secret-card { width: min(390px, 90%); }
}
/* Tam ekran fotoğrafların alanı artık giriş dosyasıyla aynı 9:16 oranındadır. */
.hero-section, .cinematic-photo-section, .full-photo-message,
.wide-story-section, .final-section { aspect-ratio: 9 / 16; height: auto; min-height: 0; }
.hero-image, .cinematic-image, .full-photo-image, .wide-story-photo img, .final-image {
  inset: 0; width: 100%; height: 100%; object-fit: cover; transform: none !important;
}
/* Kolaj, kart ve ikili fotoğrafların oranları çıktı dosyalarıyla eşleşir. */
.photo-frame img, .split-photo img, .memory-photo img, .album-cover img,
.duo-image img, .film-frame img { width: 100%; height: 100%; object-fit: cover; }
.memory-photo { aspect-ratio: 1080 / 1242; }
.album-cover { aspect-ratio: 1080 / 1134; }
.film-frame img { height: auto; aspect-ratio: 1 / 1; }
@media (max-width: 650px), (min-width: 651px) {
  h2 { font-size: 46px; }
  .split-memory-section { display: block; }
  .split-photo { min-height: 0; height: auto; aspect-ratio: 3 / 4; }
  .split-copy { min-height: auto; padding: 90px 8%; }
  .editorial-section { min-height: auto; padding: 100px 7% 120px; }
  .editorial-collage { height: 650px; }
  .frame-tall { top: 0; left: 0; width: 60%; height: auto; aspect-ratio: 9 / 16; }
  .frame-wide { top: 220px; right: 0; width: 62%; height: auto; aspect-ratio: 3 / 4; }
  .frame-square { right: auto; left: 7%; bottom: 0; width: 55%; height: auto; aspect-ratio: 3 / 4; }
  .music-player { grid-template-columns: 1fr; }
  .album-cover { min-height: 0; aspect-ratio: 1080 / 1134; }
  .duo-photo-section { grid-template-columns: 1fr; padding: 105px 7% 120px; }
  .duo-images { min-height: 600px; margin-top: 30px; }
  .duo-one, .duo-two { width: 66%; height: auto; aspect-ratio: 3 / 5; }
  .film-strip { overflow-x: auto; padding: 0 7%; gap: 16px; }
  .gif-group { gap: 12px; padding-right: 12px; }
}
@media (max-width: 650px) {
  .film-frame { flex: 0 0 78vw; min-width: 78vw; }
  .gif-card { flex-basis: 68vw; }
}

/* Görünüm düzeltmeleri */
.hero-section { height: 100svh; min-height: 0; aspect-ratio: auto; }
.hero-image { object-position: center center; }
.editorial-collage { height: calc(272px + min(142.2vw, 612px)); }
.frame-square { width: 62%; top: calc(232px + min(71.1vw, 306px)); bottom: auto; }
.secret-message-section { display: flex; flex-direction: column; gap: 34px; min-height: 0; padding: 100px 7%; text-align: center; }
.secret-intro { width: 100%; max-width: 100%; }
.secret-card { width: min(390px,100%); max-width: 100%; flex: none; }
.duo-heart { pointer-events: none; z-index: 3; transform: none; position: absolute; }
.duo-heart-a { top: 5%; right: 10%; left: auto; font-size: 26px; }
.duo-heart-b { top: 72%; left: 5%; font-size: 20px; }
.duo-heart-c { top: 27%; right: 5%; left: auto; font-size: 29px; }
.final-date { display: flex; justify-content: center; align-items: center; gap: 10px; }
.final-infinity { display: inline-block; font-family: Georgia,serif; font-size: 26px; line-height: .75; letter-spacing: 0; }
.film-section { position: relative; }
.film-strip { width: 100%; box-sizing: border-box; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; cursor: grab; user-select: none; touch-action: pan-x pan-y; }
.film-strip:active { cursor: grabbing; }
.film-strip::-webkit-scrollbar { display: none; }
.film-frame { scroll-snap-align: center; flex-shrink: 0; }
.film-strip img { -webkit-user-drag: none; user-select: none; }
.film-controls { display: flex; justify-content: flex-end; gap: 10px; margin: 18px 7% -40px; position: relative; z-index: 2; }
.film-arrow { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #a85d63; border-radius: 50%; background: #fffaf4; color: #a85d63; font-size: 26px; cursor: pointer; }
@media (max-width: 650px) { .film-controls { display: none; } }
/* Çerçeveler, fotoğrafların sadece köşelerinde hafifçe birleşir. */
.duo-images { min-height: 0; height: auto; aspect-ratio: 335 / 705; }
.duo-one, .duo-two { width: 66%; height: auto; aspect-ratio: 3 / 5; }
.editorial-collage { height: calc(244px + min(135.6vw, 583px)); }
.frame-square { top: calc(196px + min(64.5vw, 277px)); bottom: auto; }
/* Albüm kapağının çevresindeki ince paspartu. */
.album-cover { margin: 10px 10px 0; }
/* Final fotoğrafı kısa ve uzun telefonlarda ekranı doldurur. */
.final-section { height: 100svh; min-height: 0; aspect-ratio: auto; }
.final-copy { left: 50%; width: 90%; transform: translate(-50%, -50%); }
.final-copy.visible { transform: translate(-50%, -50%); }
.final-copy h2 { font-size: clamp(38px, 11vw, 53px); line-height: 1.04; }
.final-copy p { font-size: clamp(23px, 7vw, 29px); }
