:root {
    --start-background: #06050c;
    --start-background-soft: #120817;

    --start-pink: #ec669f;
    --start-pink-light: #ffafd1;
    --start-pink-dark: #a82f68;

    --start-text: #fff8fb;
    --start-muted: #bbaab4;
}


/* ================================
   BAŞLA EKRANI
================================ */

.start-screen {
    position: fixed;
    inset: 0;
    z-index: 90;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 100dvh;
    padding: 35px 20px 75px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 87%,
            rgba(224, 60, 139, 0.22),
            transparent 31%
        ),
        radial-gradient(
            circle at 18% 23%,
            rgba(102, 41, 130, 0.19),
            transparent 35%
        ),
        radial-gradient(
            circle at 84% 32%,
            rgba(185, 44, 119, 0.16),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #05050d 0%,
            #09060f 48%,
            #130817 100%
        );

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 900ms ease,
        visibility 900ms ease;
}

.start-screen.is-visible {
    opacity: 1;
    visibility: visible;
}

.start-screen.is-leaving {
    opacity: 0;
    visibility: hidden;
}


/* ================================
   ARKA PLAN IŞIKLARI
================================ */

.start-glow {
    position: absolute;

    width: 520px;
    height: 520px;

    border-radius: 50%;

    filter: blur(120px);
    pointer-events: none;
}

.start-glow-left {
    left: -290px;
    bottom: -230px;

    background: rgba(158, 35, 127, 0.32);

    animation:
        startGlowLeft 10s ease-in-out infinite alternate;
}

.start-glow-right {
    top: -280px;
    right: -260px;

    background: rgba(227, 64, 143, 0.25);

    animation:
        startGlowRight 12s ease-in-out infinite alternate;
}


/* ================================
   YILDIZLAR
================================ */

.start-stars {
    position: absolute;
    inset: 0;

    pointer-events: none;
}

.start-stars::before,
.start-stars::after {
    content: "";

    position: absolute;
    inset: 0;

    background-repeat: repeat;
}

.start-stars-one::before {
    background-image:
        radial-gradient(
            circle,
            rgba(255, 196, 222, 0.9) 0 1px,
            transparent 1.8px
        );

    background-size: 92px 92px;
    background-position: 20px 32px;

    opacity: 0.37;

    animation:
        startStarTwinkle 4s ease-in-out infinite alternate;
}

.start-stars-one::after {
    background-image:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.75) 0 1px,
            transparent 1.7px
        );

    background-size: 145px 145px;
    background-position: 60px 78px;

    opacity: 0.2;

    animation:
        startStarTwinkle 5.5s ease-in-out infinite alternate-reverse;
}

.start-stars-two::before {
    background-image:
        radial-gradient(
            circle,
            rgba(239, 90, 158, 0.8) 0 1.4px,
            transparent 2.2px
        );

    background-size: 205px 205px;
    background-position: 105px 95px;

    opacity: 0.2;

    animation:
        startStarMovement 18s linear infinite;
}


/* ================================
   HAVADA SÜZÜLEN PARÇALAR
================================ */

.floating-particles {
    position: absolute;
    inset: 0;

    pointer-events: none;
}

.particle {
    position: absolute;

    color: rgba(255, 150, 194, 0.6);

    text-shadow:
        0 0 15px rgba(238, 87, 155, 0.7);

    animation:
        particleFloat 7s ease-in-out infinite;
}

.particle-one {
    top: 17%;
    left: 14%;

    font-size: 1.1rem;
}

.particle-two {
    top: 70%;
    left: 17%;

    font-size: 1.3rem;

    animation-delay: -2s;
}

.particle-three {
    top: 25%;
    right: 15%;

    font-size: 1.2rem;

    animation-delay: -4s;
}

.particle-four {
    right: 13%;
    bottom: 18%;

    font-size: 1rem;

    animation-delay: -1s;
}

.particle-five {
    top: 45%;
    left: 7%;

    font-size: 0.9rem;

    animation-delay: -5s;
}

.particle-six {
    top: 55%;
    right: 8%;

    font-size: 1rem;

    animation-delay: -3s;
}


/* ================================
   ANA İÇERİK
================================ */

.start-content {
    position: relative;
    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;

    width: min(100%, 650px);

    text-align: center;

    opacity: 0;
    transform: translateY(28px) scale(0.98);

    transition:
        opacity 1s ease 200ms,
        transform 1s cubic-bezier(0.22, 1, 0.36, 1) 200ms;
}

.start-screen.is-visible .start-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* ================================
   BÜYÜK KALP
================================ */

.start-heart-area {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 150px;
    height: 135px;

    margin-bottom: 18px;
}

.start-heart {
    position: relative;
    z-index: 2;

    width: 112px;
    height: auto;

    overflow: visible;

    filter:
        drop-shadow(0 0 8px rgba(255, 118, 180, 0.95))
        drop-shadow(0 0 26px rgba(237, 70, 149, 0.54));

    animation:
        startHeartPulse 2.3s ease-in-out infinite;
}

.start-heart path {
    fill: rgba(231, 71, 145, 0.06);

    stroke: var(--start-pink-light);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.start-heart-glow {
    position: absolute;

    width: 92px;
    height: 92px;

    border-radius: 50%;

    background: rgba(236, 78, 150, 0.3);

    filter: blur(33px);

    animation:
        startHeartGlow 2.3s ease-in-out infinite;
}

.heart-spark {
    position: absolute;

    color: #ffbdd8;

    text-shadow:
        0 0 12px rgba(255, 116, 178, 0.9);

    animation:
        heartSpark 2.6s ease-in-out infinite;
}

.heart-spark-one {
    top: 13px;
    right: 6px;

    font-size: 1rem;
}

.heart-spark-two {
    left: 8px;
    bottom: 25px;

    font-size: 0.8rem;

    animation-delay: -1s;
}

.heart-spark-three {
    right: 17px;
    bottom: 12px;

    font-size: 0.7rem;

    animation-delay: -1.8s;
}


/* ================================
   BAŞLIKLAR
================================ */

.start-small-title {
    margin-bottom: 12px;

    color: #d76e9d;

    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.start-title {
    margin: 0;

    color: var(--start-text);

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 8vw, 5.2rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.055em;

    text-shadow:
        0 0 30px rgba(255, 181, 214, 0.12);
}

.start-title span {
    display: block;

    color: #ef8ab6;

    font-style: italic;

    text-shadow:
        0 0 28px rgba(239, 105, 166, 0.23);
}


/* ================================
   AYRAÇ
================================ */

.start-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    margin: 29px 0 23px;
}

.start-divider > span:not(.start-divider-heart) {
    display: block;

    width: 90px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(236, 101, 163, 0.52)
        );
}

.start-divider > span:last-child {
    transform: rotate(180deg);
}

.start-divider-heart {
    color: #f078ad;

    font-size: 1.15rem;

    text-shadow:
        0 0 13px rgba(240, 91, 159, 0.7);
}


/* ================================
   AÇIKLAMA
================================ */

.start-description {
    max-width: 510px;

    color: #f4e8ee;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    line-height: 1.65;
}

.start-description-secondary {
    max-width: 470px;
    margin-top: 8px;

    color: var(--start-muted);

    font-size: 0.94rem;
    line-height: 1.7;
}


/* ================================
   BAŞLA BUTONU
================================ */

.start-button {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    min-width: 230px;
    height: 66px;

    margin-top: 34px;
    padding: 0 42px;

    border: 1px solid rgba(255, 181, 213, 0.46);
    border-radius: 999px;

    background:
        linear-gradient(
            110deg,
            #9d2e64 0%,
            #d34886 52%,
            #ef78aa 100%
        );

    color: #fff9fc;

    box-shadow:
        0 15px 38px rgba(213, 58, 130, 0.26),
        0 0 0 rgba(238, 90, 157, 0),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.3rem;

    cursor: pointer;

    overflow: hidden;

    transition:
        transform 250ms ease,
        box-shadow 250ms ease,
        filter 250ms ease;
}

.start-button::before {
    content: "";

    position: absolute;
    top: 0;
    left: -100%;

    width: 55%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.28),
            transparent
        );

    transform: skewX(-25deg);

    transition: left 650ms ease;
}

.start-button:hover {
    transform: translateY(-3px) scale(1.015);

    box-shadow:
        0 19px 45px rgba(218, 63, 133, 0.34),
        0 0 34px rgba(238, 90, 157, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);

    filter: brightness(1.06);
}

.start-button:hover::before {
    left: 145%;
}

.start-button:active {
    transform: translateY(0) scale(0.985);
}

.start-button:focus-visible {
    outline: 2px solid #ffb8d5;
    outline-offset: 5px;
}

.start-button:disabled {
    cursor: default;
}

.start-button-heart {
    display: inline-block;

    font-size: 1.3rem;

    transition: transform 250ms ease;
}

.start-button:hover .start-button-heart {
    transform: scale(1.2) rotate(8deg);
}


/* ================================
   SES UYARISI
================================ */

.start-hint {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-top: 19px;

    color: #8f7d88;

    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.start-hint span {
    color: #d86c9d;
}


/* ================================
   ALT TARİH
================================ */

.start-bottom {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 27px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    width: min(90%, 500px);

    transform: translateX(-50%);
}

.start-bottom-line {
    flex: 1;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(215, 93, 149, 0.27)
        );
}

.start-bottom-line:last-child {
    transform: rotate(180deg);
}

.start-bottom p {
    flex-shrink: 0;

    color: #99506f;

    font-size: 0.72rem;
    letter-spacing: 0.14em;
}

.start-bottom p span {
    margin: 0 7px;

    color: #c36690;
}


/* ================================
   BUTONA BASILDIĞINDA
================================ */

.start-screen.is-starting .start-content {
    opacity: 0;
    transform: scale(1.08);
    filter: blur(8px);

    transition:
        opacity 800ms ease,
        transform 800ms ease,
        filter 800ms ease;
}

.start-screen.is-starting .start-bottom {
    opacity: 0;

    transition: opacity 500ms ease;
}


/* ================================
   HİKÂYE GEÇİCİ EKRANI
================================ */

.story-placeholder {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 100dvh;

    background:
        radial-gradient(
            circle at center,
            rgba(207, 54, 126, 0.15),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #08060d,
            #110714
        );

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 1s ease,
        visibility 1s ease;
}

.story-placeholder.is-visible {
    opacity: 1;
    visibility: visible;
}

.story-placeholder-content {
    padding: 30px;

    text-align: center;
}

.story-placeholder-content > span {
    display: block;

    margin-bottom: 22px;

    color: #f48cb9;

    font-size: 4rem;

    text-shadow:
        0 0 28px rgba(238, 75, 151, 0.55);
}

.story-placeholder-small {
    margin-bottom: 13px;

    color: #c2638e;

    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.story-placeholder h2 {
    color: #fff8fb;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.3rem, 7vw, 5rem);
    font-weight: 400;
}


/* ================================
   ANİMASYONLAR
================================ */

@keyframes startHeartPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.065);
    }
}

@keyframes startHeartGlow {
    0%,
    100% {
        opacity: 0.45;
        transform: scale(0.85);
    }

    50% {
        opacity: 0.95;
        transform: scale(1.25);
    }
}

@keyframes heartSpark {
    0%,
    100% {
        opacity: 0.25;
        transform: scale(0.8) rotate(0);
    }

    50% {
        opacity: 1;
        transform: scale(1.15) rotate(20deg);
    }
}

@keyframes particleFloat {
    0%,
    100% {
        opacity: 0.25;
        transform: translateY(0) rotate(0);
    }

    50% {
        opacity: 0.75;
        transform: translateY(-24px) rotate(15deg);
    }
}

@keyframes startStarTwinkle {
    from {
        opacity: 0.16;
    }

    to {
        opacity: 0.58;
    }
}

@keyframes startStarMovement {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-205px);
    }
}

@keyframes startGlowLeft {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(100px, -65px);
    }
}

@keyframes startGlowRight {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-90px, 75px);
    }
}


/* ================================
   MOBİL
================================ */

@media (max-width: 600px) {
    .start-screen {
        padding: 25px 18px 70px;
    }

    .start-heart-area {
        width: 115px;
        height: 104px;

        margin-bottom: 10px;
    }

    .start-heart {
        width: 86px;
    }

    .start-small-title {
        margin-bottom: 10px;

        font-size: 0.67rem;
    }

    .start-divider {
        margin: 22px 0 18px;
    }

    .start-divider > span:not(.start-divider-heart) {
        width: 60px;
    }

    .start-description {
        font-size: 1rem;
    }

    .start-description-secondary {
        max-width: 350px;

        font-size: 0.84rem;
    }

    .start-button {
        min-width: 205px;
        height: 59px;

        margin-top: 27px;
        padding: 0 34px;

        font-size: 1.15rem;
    }

    .start-hint {
        margin-top: 15px;
    }

    .start-bottom {
        bottom: 20px;
    }

    .start-bottom p {
        font-size: 0.62rem;
        letter-spacing: 0.08em;
    }
}

@media (max-height: 720px) {
    .start-screen {
        position: fixed;

        align-items: flex-start;

        overflow-y: auto;
    }

    .start-content {
        margin: auto;
        padding: 20px 0 65px;
    }

    .start-heart-area {
        width: 100px;
        height: 90px;

        margin-bottom: 5px;
    }

    .start-heart {
        width: 75px;
    }

    .start-title {
        font-size: clamp(2.3rem, 7vw, 3.8rem);
    }

    .start-divider {
        margin: 18px 0 15px;
    }

    .start-button {
        margin-top: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}