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

html,
body {
    width: 100%;
    height: 100%;
    height: 100dvh;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

body {
    background: #020002;
    background: radial-gradient(ellipse at 50% 75%,
            #12010a 0%,
            #050002 55%,
            #000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.vignette {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center,
            transparent 35%,
            rgba(0, 0, 0, 0.9) 100%);
    z-index: 100;
    pointer-events: none;
}

.spotlight {
    position: fixed;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85vw;
    height: 85vh;
    background: radial-gradient(circle,
            rgba(255, 70, 160, 0.06) 0%,
            transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
}


/* =========================
   BAŞLANGIÇ EKRANI
   ========================= */

.trigger-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 200;
    opacity: 1;
    transition:
        opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1),
        visibility 1.2s;
    visibility: visible;
    overflow: hidden;
}

.trigger-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Süzülen Arka Plan Kalpleri & Işıltıları */
.intro-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.intro-particle {
    position: absolute;
    bottom: -40px;
    color: rgba(255, 130, 190, 0.65);
    font-size: var(--p-size, 16px);
    filter: blur(var(--p-blur, 0px)) drop-shadow(0 0 10px rgba(255, 90, 170, 0.4));
    user-select: none;
    pointer-events: none;
    animation: floatUpward var(--p-dur, 8s) ease-in-out infinite;
    animation-delay: var(--p-delay, 0s);
    opacity: 0;
    will-change: transform, opacity;
}

@keyframes floatUpward {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) rotate(0deg) scale(0.6);
    }

    15% {
        opacity: var(--p-opacity, 0.7);
    }

    80% {
        opacity: var(--p-opacity, 0.7);
    }

    100% {
        opacity: 0;
        transform: translateY(-115vh) translateX(var(--p-sway, 30px)) rotate(var(--p-rot, 45deg)) scale(1.1);
    }
}

.glass-card {
    position: relative;
    z-index: 2;
    width: min(88vw, 360px);
    background: rgba(26, 12, 22, 0.75);
    border: 1px solid rgba(255, 120, 190, 0.35);
    border-radius: 28px;
    padding: 38px 26px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.75),
        0 0 50px rgba(255, 70, 160, 0.22),
        inset 0 1px 1px rgba(255, 255, 255, 0.25);
    transform: scale(1);
    animation: gentleCardFloat 5s ease-in-out infinite;
    transition:
        transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: visible;
}

@keyframes gentleCardFloat {

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

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

.trigger-overlay.fade-out .glass-card {
    transform: scale(0.9) translateY(10px);
    animation: none;
}

.card-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 80, 170, 0.25) 0%,
            transparent 70%);
    top: -60px;
    left: -60px;
    filter: blur(25px);
    pointer-events: none;
}

/* Samimi Karşılama Başlığı (Badge) */
.intro-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    background: rgba(255, 90, 170, 0.14);
    border: 1px solid rgba(255, 140, 200, 0.35);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #ffd1e6;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    box-shadow: 0 0 16px rgba(255, 70, 160, 0.2);
    animation: badgeShine 3.5s ease-in-out infinite;
}

@keyframes badgeShine {

    0%,
    100% {
        border-color: rgba(255, 140, 200, 0.35);
        box-shadow: 0 0 16px rgba(255, 70, 160, 0.2);
    }

    50% {
        border-color: rgba(255, 170, 220, 0.6);
        box-shadow: 0 0 24px rgba(255, 90, 180, 0.4);
    }
}

.rose-icon {
    font-size: 44px;
    margin-bottom: 14px;
    filter: drop-shadow(0 4px 18px rgba(255, 90, 180, 0.6));
    animation: pulseIcon 2.2s ease-in-out infinite;
}

@keyframes pulseIcon {

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

    50% {
        transform: scale(1.12);
    }
}

.glass-card .title {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.5px;
    margin-bottom: 26px;
    text-shadow:
        0 0 16px rgba(255, 120, 180, 0.35);
}

.button-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Buton ve Nabız (Pulse) Efekti */
.start-button {
    position: relative;
    width: auto;
    min-width: 210px;
    padding: 16px 36px;
    background: linear-gradient(135deg,
            #ff4f9a 0%,
            #ff167f 100%);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.8px;
    cursor: pointer;
    overflow: visible;
    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.3s ease,
        box-shadow 0.3s ease;
    animation: buttonPulse 2.2s ease-in-out infinite;
}

@keyframes buttonPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 6px 24px rgba(255, 22, 127, 0.4),
            0 0 15px rgba(255, 70, 160, 0.25),
            0 0 0 0 rgba(255, 60, 140, 0.5);
    }

    50% {
        transform: scale(1.04);
        box-shadow:
            0 10px 32px rgba(255, 22, 127, 0.65),
            0 0 30px rgba(255, 70, 160, 0.5),
            0 0 0 10px rgba(255, 60, 140, 0);
    }
}

.start-button:hover {
    transform: translateY(-4px) scale(1.07);
    background: linear-gradient(135deg,
            #ff2e8c 0%,
            #e60067 100%);
    box-shadow:
        0 14px 38px rgba(255, 22, 127, 0.75),
        0 0 35px rgba(255, 90, 180, 0.6),
        0 0 50px rgba(255, 50, 150, 0.35);
    animation: none;
}

.start-button:active {
    transform: translateY(1px) scale(0.98);
}

/* Hover/Click Kalp Patlaması */
.burst-heart {
    position: absolute;
    pointer-events: none;
    user-select: none;
    font-size: var(--b-size, 16px);
    color: var(--b-color, #ff4f9a);
    filter: drop-shadow(0 0 6px rgba(255, 50, 140, 0.8));
    animation: burstOut var(--b-dur, 1s) cubic-bezier(0.22, 1, 0.36, 1) forwards;
    z-index: 10;
}

@keyframes burstOut {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0.4) rotate(0deg);
    }

    70% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
        transform: translate(var(--b-x, 30px), var(--b-y, -40px)) scale(1.2) rotate(var(--b-rot, 30deg));
    }
}

/* =========================
   TIKLAMA KALP HAVAYİ FİŞEĞİ (CLICK FIREWORKS)
   ========================= */

.click-heart {
    position: fixed;
    pointer-events: none;
    user-select: none;
    font-size: var(--ch-size, 16px);
    color: var(--ch-color, #ff4f9a);
    filter: drop-shadow(0 0 8px var(--ch-glow, rgba(255, 50, 140, 0.85)));
    transform: translate(-50%, -50%);
    animation: clickHeartPop var(--ch-dur, 0.85s) cubic-bezier(0.15, 0.85, 0.35, 1.2) forwards;
    z-index: 9999;
    will-change: transform, opacity;
}

@keyframes clickHeartPop {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) translate(0, 0) scale(0.3) rotate(0deg);
    }

    60% {
        opacity: 0.95;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(var(--ch-x, 0px), var(--ch-y, 0px)) scale(var(--ch-scale, 1.25)) rotate(var(--ch-rot, 45deg));
    }
}


/* =========================
   ORTAM IŞIĞI
   ========================= */

.ambient-light {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 60, 150, 0.10) 0%,
            rgba(255, 40, 130, 0.04) 40%,
            transparent 65%);
    top: 32%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 3s ease;
}

.ambient-light.visible {
    opacity: 1;
}


/* =========================
   SAHNE
   ========================= */

.scene {
    perspective: 1200px;
    perspective-origin: 50% 35%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 6vh;
    z-index: 20;
    transform: scale(0.95);
}

.rose-wrapper {
    transform-style: preserve-3d;
    position: relative;
    width: 300px;
    height: 480px;
    transform: rotateX(-22deg) rotateY(0deg);
    will-change: transform;
}

.rose-wrapper.rotating {
    animation: rotateRose 28s linear infinite;
}

.rose-wrapper.no-anim,
.rose-wrapper.no-anim * {
    transition: none !important;
    animation: none !important;
}

@keyframes rotateRose {
    from {
        transform: rotateX(-22deg) rotateY(0deg);
    }

    to {
        transform: rotateX(-22deg) rotateY(360deg);
    }
}


/* =========================
   SAP
   ========================= */

.stem-group {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 250px;
    transform-style: preserve-3d;
}

.stem {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top,
            #092e12 0%,
            #114c23 30%,
            #1a6f35 70%,
            #114c23 100%);
    border-radius: 5px;
    transition:
        height 2.2s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
    will-change: height;
}

.stem.grow {
    height: 100%;
}

.stem-highlight {
    position: absolute;
    top: 0;
    left: 1px;
    width: 2.5px;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent,
            rgba(150, 255, 180, 0.15),
            transparent);
}

.thorn {
    position: absolute;
    width: 11px;
    height: 6px;
    opacity: 0;
    transition: opacity 0.5s ease 0.4s;
    z-index: 2;
}

.thorn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            #1a6f35,
            #092e12);
    clip-path: polygon(0% 85%,
            100% 50%,
            30% 0%);
}

.thorn-1 {
    right: -9px;
    bottom: 65%;
    transform: scaleX(-1);
}

.thorn-2 {
    left: -9px;
    bottom: 42%;
}

.stem.grow~.thorn {
    opacity: 0.75;
}


/* =========================
   YAPRAKLAR
   ========================= */

.leaf {
    position: absolute;
    width: 52px;
    height: 25px;
    opacity: 0;
    transition:
        opacity 0.6s ease,
        transform 1.1s cubic-bezier(0.34, 1.45, 0.64, 1);
    z-index: 2;
    will-change: transform, opacity;
}

.leaf::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg,
            #2a944e 0%,
            #1a6f35 40%,
            #092e12 100%);
    border-radius: 2px 65% 2px 65%;
}

.leaf-vein {
    position: absolute;
    width: 60%;
    height: 1px;
    background: rgba(150, 255, 180, 0.12);
    top: 48%;
    left: 20%;
    z-index: 1;
}

.leaf-left {
    left: -52px;
    bottom: 56%;
    transform-origin: right center;
    transform: rotate(35deg) scale(0);
}

.leaf-left::before {
    border-radius: 65% 2px 65% 2px;
}

.leaf-right {
    left: 10px;
    bottom: 38%;
    transform-origin: left center;
    transform: rotate(-35deg) scale(0);
}

.leaf-right::before {
    border-radius: 2px 65% 2px 65%;
}

.leaf.visible {
    opacity: 1;
}

.leaf-left.visible {
    transform: rotate(15deg) scale(1);
}

.leaf-right.visible {
    transform: rotate(-15deg) scale(1);
}


/* =========================
   ÇANAK YAPRAKLARI
   ========================= */

.calyx {
    position: absolute;
    bottom: 242px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    z-index: 1;
}

.sepal {
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 14px;
    height: 32px;
    transform-origin: 50% 100%;
    background: linear-gradient(to top,
            #092e12 0%,
            #15582b 40%,
            #299c4c 100%);
    border-radius:
        50% 50% 10% 10% / 80% 80% 20% 20%;
    clip-path: polygon(10% 100%,
            0% 30%,
            50% 0%,
            100% 30%,
            90% 100%);
    opacity: 0;
    transform:
        translateX(-50%) rotateY(var(--sepal-angle, 0deg)) rotateX(60deg) scale(0.5);
    transition:
        transform 1.3s cubic-bezier(0.25, 1, 0.5, 1) var(--sepal-delay, 0s),
        opacity 0.5s ease var(--sepal-delay, 0s);
    will-change: transform, opacity;
}

.calyx.visible .sepal {
    opacity: 0.95;
    transform:
        translateX(-50%) rotateY(var(--sepal-angle, 0deg)) rotateX(var(--sepal-curl, 22deg)) scale(1);
}


/* =========================
   GÜL BAŞI
   ========================= */

.rose-head {
    position: absolute;
    bottom: 245px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    z-index: 10;
}


/* =========================
   PEMBE GÜL IŞIĞI
   ========================= */

.rose-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 70, 160, 0.22) 0%,
            rgba(220, 30, 120, 0.08) 45%,
            transparent 65%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 3.5s ease;
    z-index: -1;
    pointer-events: none;
}

.rose-glow-inner {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 110, 180, 0.20) 0%,
            transparent 65%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 2s ease 0.8s;
    z-index: -1;
    pointer-events: none;
}

.rose-head.blooming .rose-glow {
    opacity: 1;
}

.rose-head.blooming .rose-glow-inner {
    opacity: 1;
}


/* =========================
   PETALLER
   ========================= */

.petal {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform-origin: 50% 100%;
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity, visibility;

    border-radius:
        50% 50% 35% 35% / 45% 45% 55% 55%;

    transform:
        translateX(-50%) rotateY(var(--angle, 0deg)) translateZ(0px) rotateX(90deg) scale(0.1);

    transition:
        transform var(--bloom-dur, 2.4s) ease-in-out var(--delay, 0s),
        opacity 0.7s ease var(--delay, 0s),
        visibility 0.7s ease var(--delay, 0s);
}

.rose-head.blooming .petal {
    opacity: 1;
    visibility: visible;
    transform:
        translateX(-50%) rotateY(var(--angle, 0deg)) translateZ(var(--tz, 0px)) rotateX(var(--curl, 30deg)) scale(var(--scale, 1));
}


/* =========================
   PEMBE PETAL RENKLERİ
   ========================= */

.petal-bud {
    background: linear-gradient(to bottom,
            #4a0828 0%,
            #32051d 40%,
            #1d0312 75%,
            #090008 100%);
}

.petal-core {
    background: linear-gradient(to bottom,
            #68103d 0%,
            #4d0a2d 40%,
            #2d061b 75%,
            #100009 100%);
}

.petal-inner {
    background: linear-gradient(to bottom,
            #8f1755 0%,
            #6d0e40 40%,
            #410824 75%,
            #18000e 100%);
}

.petal-mid-inner {
    background: linear-gradient(to bottom,
            #b82b6d 0%,
            #8e1952 40%,
            #580d32 75%,
            #230414 100%);
}

.petal-mid {
    background: linear-gradient(to bottom,
            #d83d82 0%,
            #ad2765 40%,
            #6d123d 75%,
            #2c0619 100%);
}

.petal-outer {
    background: linear-gradient(to bottom,
            #ee5795 0%,
            #c93878 40%,
            #831b4c 75%,
            #350817 100%);
}

.petal-blush {
    background: linear-gradient(to bottom,
            #ff72aa 0%,
            #e64b8d 40%,
            #9d245c 75%,
            #420a21 100%);
}


/* =========================
   HAVADA UÇUŞAN PEMBE PETALLER
   ========================= */

.falling-petal {
    position: fixed;
    width: var(--fp-w, 13px);
    height: var(--fp-h, 17px);
    background: radial-gradient(ellipse at 40% 30%,
            var(--fp-c1, #ee5795),
            var(--fp-c2, #4a0828) 75%);
    border-radius:
        50% 50% 45% 55% / 60% 60% 40% 40%;
    opacity: 0;
    pointer-events: none;
    z-index: 50;
    animation:
        fallSway var(--f-dur, 7s) linear forwards;
    animation-delay: var(--f-delay, 0s);
    will-change: transform, opacity;
}

@keyframes fallSway {
    0% {
        opacity: 0;
        transform:
            translateX(0) translateY(0) rotate(0deg) rotateY(0deg) scale(1);
    }

    8% {
        opacity: 0.85;
    }

    25% {
        transform:
            translateX(var(--s1, 35px)) translateY(20vh) rotate(70deg) rotateY(40deg) scale(0.95);
    }

    50% {
        transform:
            translateX(var(--s2, -25px)) translateY(48vh) rotate(160deg) rotateY(90deg) scale(0.88);
    }

    75% {
        transform:
            translateX(var(--s3, 35px)) translateY(75vh) rotate(270deg) rotateY(150deg) scale(0.78);
        opacity: 0.55;
    }

    100% {
        opacity: 0;
        transform:
            translateX(var(--s4, 10px)) translateY(108vh) rotate(390deg) rotateY(210deg) scale(0.55);
    }
}


/* =========================
   AŞK MESAJI (ŞİİR)
   ========================= */

.message-container {
    position: fixed;
    bottom: 7vh;
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 680px);
    text-align: center;
    z-index: 60;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.message-line {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: rgba(255, 225, 240, 0.95);
    line-height: 1.55;
    margin: 0;
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1),
        transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
    text-shadow:
        0 0 20px rgba(255, 90, 170, 0.45),
        0 0 50px rgba(255, 50, 140, 0.2);
}

.message-line.line-1 {
    font-size: clamp(16px, 3.6vw, 22px);
    color: rgba(255, 195, 225, 0.9);
    letter-spacing: 0.5px;
}

.message-line.line-2 {
    font-size: clamp(17px, 3.8vw, 23px);
    color: rgba(255, 230, 245, 0.96);
    letter-spacing: 0.5px;
}

.message-line.line-3 {
    font-size: clamp(17px, 4vw, 24px);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-shadow:
        0 0 25px rgba(255, 110, 190, 0.65),
        0 0 55px rgba(255, 60, 160, 0.35);
}

.message-line.visible {
    opacity: 1;
    transform: translateY(0);
}

.heart-symbol {
    display: inline-block;
    color: #ff3388;
    filter: drop-shadow(0 0 10px rgba(255, 50, 140, 0.8));
    animation: heartBeat 2s ease-in-out infinite;
    margin-left: 5px;
    font-style: normal;
}

@keyframes heartBeat {

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

    50% {
        transform: scale(1.25);
    }
}


/* =========================
   GÜL ÜSTÜNDEKİ "BİR ŞEY DAHA" BUTONU
   ========================= */

.next-btn-container {
    position: fixed;
    top: 7vh;
    left: 50%;
    transform: translateX(-50%) translateY(-15px);
    z-index: 70;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1),
        transform 1.2s cubic-bezier(0.25, 1, 0.5, 1),
        visibility 1.2s;
}

.next-btn-container.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.next-scene-btn {
    position: relative;
    padding: 13px 28px;
    background: linear-gradient(135deg,
            #ff3a91 0%,
            #ff1475 100%);
    border: 1px solid rgba(255, 170, 220, 0.45);
    border-radius: 50px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: 0.5px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow:
        0 8px 25px rgba(255, 20, 120, 0.45),
        0 0 20px rgba(255, 80, 170, 0.3);
    animation: nextBtnPulse 2.4s ease-in-out infinite;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

@keyframes nextBtnPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 8px 25px rgba(255, 20, 120, 0.45),
            0 0 20px rgba(255, 80, 170, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow:
            0 12px 32px rgba(255, 20, 120, 0.7),
            0 0 35px rgba(255, 90, 180, 0.55),
            0 0 0 8px rgba(255, 60, 140, 0.15);
    }
}

.next-scene-btn:hover {
    transform: scale(1.07) translateY(-2px);
    background: linear-gradient(135deg,
            #ff1f89 0%,
            #e60067 100%);
    box-shadow:
        0 14px 38px rgba(255, 20, 120, 0.8),
        0 0 40px rgba(255, 100, 190, 0.65);
    animation: none;
}

.next-scene-btn:active {
    transform: scale(0.98) translateY(1px);
}


/* =========================
   2. SAHNE: SENİ SEVİYORUM KALP SAHNESİ
   ========================= */

.scene-2 {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 1.4s cubic-bezier(0.25, 1, 0.5, 1),
        visibility 1.4s;
    background: radial-gradient(ellipse at 50% 50%,
            #1b0110 0%,
            #080005 55%,
            #000000 100%);
}

.scene-2.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.scene-2-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 70, 160, 0.18) 0%,
            rgba(255, 20, 120, 0.05) 45%,
            transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: blur(40px);
}

.scene-2-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.scene-2-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 6px;
    z-index: 10;
}

.scene-2-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(20px, 4.5vw, 32px);
    color: #fff;
    text-shadow:
        0 0 20px rgba(255, 100, 180, 0.6),
        0 0 50px rgba(255, 50, 140, 0.3);
    margin-bottom: 2px;
    opacity: 0;
    transform: translateY(-12px);
    transition:
        opacity 1.2s ease 0.3s,
        transform 1.2s ease 0.3s;
}

.scene-2.active .scene-2-title {
    opacity: 1;
    transform: translateY(0);
}

.scene-2-love-msg {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(16px, 3.6vw, 22px);
    color: #ffd2e6;
    letter-spacing: 0.5px;
    margin-top: 4px;
    opacity: 0;
    transform: translateY(-8px);
    transition:
        opacity 1.4s cubic-bezier(0.25, 1, 0.5, 1),
        transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-shadow:
        0 0 18px rgba(255, 90, 170, 0.65),
        0 0 45px rgba(255, 50, 140, 0.4);
}

.scene-2-love-msg.visible {
    opacity: 1;
    transform: translateY(0);
}

.canvas-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(94vw, 720px);
    height: min(94vw, 720px);
    max-height: 68vh;
}

#heartCanvas {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(255, 100, 180, 0.5));
}

.replay-btn-container {
    position: relative;
    margin-top: 14px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition:
        opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1),
        transform 1.2s cubic-bezier(0.25, 1, 0.5, 1),
        visibility 1.2s;
    pointer-events: none;
}

.replay-btn-container.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.replay-scene-btn {
    position: relative;
    padding: 12px 28px;
    background: rgba(255, 80, 160, 0.12);
    border: 1px solid rgba(255, 140, 200, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    color: rgba(255, 235, 245, 0.95);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14.5px;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(255, 80, 160, 0.15);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        color 0.25s ease;
    animation: gentleReplayFloat 4s ease-in-out infinite;
}

@keyframes gentleReplayFloat {

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

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

.replay-scene-btn:hover {
    background: rgba(255, 90, 170, 0.25);
    border-color: rgba(255, 180, 220, 0.65);
    color: #ffffff;
    transform: translateY(-4px) scale(1.04);
    box-shadow:
        0 10px 25px rgba(255, 40, 140, 0.35),
        0 0 25px rgba(255, 90, 180, 0.4);
}

.replay-scene-btn:active {
    transform: translateY(0) scale(0.98);
}


/* =====================================
   MOBİL & TÜM EKRAN UYUMLULUKLARI (RESPONSIVE)
   ===================================== */

/* Tablet & Küçük Ekranlar */
@media (max-width: 768px) {
    .scene {
        transform: scale(0.88);
    }

    .message-container {
        width: min(94vw, 560px);
        bottom: max(env(safe-area-inset-bottom, 0px) + 16px, 4.5vh);
    }
}

/* Mobil Cihazlar (Akıllı Telefonlar: iPhone, Samsung, Xiaomi vb.) */
@media (max-width: 480px) {
    .glass-card {
        width: min(90vw, 340px);
        padding: 30px 20px 28px;
        border-radius: 24px;
    }

    .intro-badge {
        font-size: 12px;
        padding: 4px 11px;
        margin-bottom: 10px;
    }

    .rose-icon {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .glass-card .title {
        font-size: 19px;
        line-height: 1.35;
        margin-bottom: 22px;
    }

    .start-button {
        padding: 13px 26px;
        font-size: 14px;
    }

    /* Gül ve Sahne 1 */
    .scene {
        transform: scale(0.76);
        padding-bottom: 2vh;
    }

    .next-btn-container {
        top: max(env(safe-area-inset-top, 0px) + 12px, 3.5vh);
        width: max-content;
        max-width: 90vw;
    }

    .next-scene-btn {
        padding: 10px 20px;
        font-size: 13px;
        letter-spacing: 0.2px;
        white-space: nowrap;
    }

    .message-container {
        bottom: max(env(safe-area-inset-bottom, 0px) + 14px, 3.5vh);
        width: 94vw;
        gap: 5px;
    }

    .message-line.line-1 {
        font-size: 14.5px;
        line-height: 1.4;
    }

    .message-line.line-2 {
        font-size: 15px;
        line-height: 1.4;
    }

    .message-line.line-3 {
        font-size: 15.5px;
        line-height: 1.4;
    }

    /* 2. Sahne (Kalp ve Mesajlar) */
    .scene-2-content {
        padding: max(env(safe-area-inset-top, 0px) + 8px, 12px) 12px max(env(safe-area-inset-bottom, 0px) + 8px, 12px);
    }

    .scene-2-header {
        margin-bottom: 4px;
    }

    .scene-2-title {
        font-size: 22px;
        margin-bottom: 1px;
    }

    .scene-2-love-msg {
        font-size: 15.5px;
        margin-top: 2px;
    }

    .canvas-wrapper {
        width: min(92vw, 360px, 48vh);
        height: min(92vw, 360px, 48vh);
        max-height: 48vh;
    }

    .replay-btn-container {
        margin-top: 8px;
    }

    .replay-scene-btn {
        padding: 10px 22px;
        font-size: 13.5px;
    }
}

/* Çok Küçük & Kısa Ekranlar (Yatay Mod veya Küçük Cihazlar) */
@media (max-height: 680px) {
    .scene {
        transform: scale(0.68);
        padding-bottom: 0;
    }

    .glass-card {
        padding: 24px 18px;
    }

    .next-btn-container {
        top: max(env(safe-area-inset-top, 0px) + 8px, 2.5vh);
    }

    .message-container {
        bottom: max(env(safe-area-inset-bottom, 0px) + 8px, 2.5vh);
        gap: 3px;
    }

    .canvas-wrapper {
        width: min(90vw, 320px, 44vh);
        height: min(90vw, 320px, 44vh);
        max-height: 44vh;
    }
}