body {
    background: linear-gradient(135deg, #fff8fa 0%, #ffe3ec 100%);
    min-height: 100vh;
}
.card {
    max-width: 700px;
    margin: 4rem auto 2rem auto;
    border-radius: 18px;
    box-shadow: 0 6px 32px #ff4b6e22;
    padding: 2.5rem 2rem 2rem 2rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.2s;
}
body .card.visible {
    opacity: 1;
}
.card_title {
    color: #ff4b6e;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}
.card_desc {
    color: #444;
    font-size: 1.15rem;
    margin-bottom: 2.2rem;
}
.card_photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 12px #ff4b6e33;
    margin-bottom: 1.5rem;
}
.section {
    margin-bottom: 2.7rem;
    position: relative;
    z-index: 0;
}
.section_title {
    color: #ff4b6e;
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
}
.section--song {
    margin-bottom: 1.2rem;
}
.song-embed {
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    height: 80px;
    box-shadow: 0 2px 8px #ff4b6e22;
    margin: 0 auto 1.5rem auto;
    display: block;
}
.message {
    background: #fff8fa;
    border-left: 4px solid #ff4b6e;
    padding: 1.1rem 1.2rem;
    border-radius: 10px;
    color: #333;
    font-size: 1.08rem;
    margin: 0 auto 1.2rem auto;
    max-width: 420px;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
}
.gallery_img, .gallery_video {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px #ff4b6e22;
}
.location {
    max-width: 520px;
    margin: 2rem auto 1.2rem auto;
    text-align: center;
}
.location_map {
    width: 100%;
    max-width: 520px;
    height: 220px;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 2px 12px #ff4b6e22;
    margin-bottom: 0.7rem;
}
.location_desc {
    color: #ff4b6e;
    font-size: 1.13rem;
    font-weight: 600;
    margin-top: 0.5rem;
    letter-spacing: 0.01em;
}
.buy-btn {
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 10;
    background: linear-gradient(90deg, #ff4b6e 60%, #ff8fa3 100%);
    color: #fff;
    padding: 0.7rem 1.7rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.08rem;
    text-decoration: none;
    box-shadow: 0 2px 8px #ff4b6e22;
    transition: background 0.2s;
}
#relationship-counter {
    margin: 1.2rem auto 1.2rem auto;
    font-size: 1.15rem;
    color: #ff4b6e;
    font-weight: 600;
}
.contact {
    text-align: center;
    margin-top: 2.5rem;
}
.contact_link {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1.15rem;
    color: #ff4b6e;
    text-decoration: none;
    font-weight: 600;
}
.contact_icon {
    font-size: 1.5em;
}
.timed-message {
    max-width: 700px;
    margin: 2.5rem auto 1.5rem auto;
    text-align: center;
    padding: 1.2rem 0.5rem;
}
.timed-message_timer {
    background: #fff8fa;
    color: #ff4b6e;
    font-size: 1.08rem;
    font-weight: 600;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin: 0 auto 1.2rem auto;
    box-shadow: 0 2px 8px #ff4b6e22;
    display: inline-block;
}
.timed-message_content {
    background: #ff4b6e;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin: 0 auto 1.2rem auto;
    box-shadow: 0 2px 12px #ff4b6e33;
    display: inline-block;
    transition: opacity 0.3s;
}
.gift-audio {
    margin: 1.2rem auto 1.5rem auto;
}
.gift-video {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    box-shadow: 0 2px 12px #ff4b6e22;
    margin: 0 auto 1.5rem auto;
    display: block;
}
.gift-cta {
    display: inline-block;
    background: linear-gradient(90deg, #ff4b6e 60%, #ff8fa3 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 0.9rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px #ff4b6e22;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
    margin-top: 1.2rem;
}
.gift-cta:hover {
    background: linear-gradient(90deg, #ff8fa3 60%, #ff4b6e 100%);
    transform: translateY(-2px) scale(1.04);
}
.gift-contact {
    margin-top: 2.5rem;
    color: #888;
    font-size: 1rem;
}
@media (max-width: 600px) {
    .card {
        padding: 1.2rem 0.5rem;
   }
    .card_photo {
        width: 120px;
        height: 120px;
   }
}
.gallery-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 30, 40, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: popup-fadein 0.2s;
}
.gallery-modal-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px #0003;
    padding: 1.2rem;
    max-width: 96vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.gallery-modal-content img, .gallery-modal-content video {
    max-width: 80vw;
    max-height: 70vh;
    border-radius: 12px;
    box-shadow: 0 2px 12px #ff4b6e22;
}
.gallery-modal-close {
    position: absolute;
    top: 0.7rem;
    right: 1rem;
    background: #ffe3ec;
    border: none;
    font-size: 2rem;
    color: #ff4b6e;
    border-radius: 50%;
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.gallery-modal-close:hover {
    background: #ff4b6e;
    color: #fff;
}
.falling-heart {
    position: fixed;
    top: -40px;
    color: #ff4b6e;
    font-size: 2.2rem;
    opacity: 0.7;
    pointer-events: none;
    z-index: 100;
    animation: fall-heart 6s linear infinite;
}
@keyframes fall-heart {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.7;
   }
    80% {
        opacity: 0.8;
   }
    100% {
        transform: translateY(100vh) scale(1.2) rotate(30deg);
        opacity: 0;
   }
}
.gift-buy-top {
    position: fixed;
    top: 32px;
    right: 32px;
    z-index: 10;
    background: linear-gradient(90deg, #ff4b6e 60%, #ff8fa3 100%);
    color: #fff;
    padding: 0.7rem 1.7rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.08rem;
    text-decoration: none;
    box-shadow: 0 2px 8px #ff4b6e22;
    transition: background 0.2s;
}
#together-counter {
    margin: 1.2rem auto 1.2rem auto;
    font-size: 1.15rem;
    color: #ff4b6e;
    font-weight: 600;
}
.gift-section-song {
    margin-bottom: 1.2rem;
}
.gift-section-song-title {
    color: #ff4b6e;
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
}
.gift-song-iframe {
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    height: 80px;
    box-shadow: 0 2px 8px #ff4b6e22;
    margin: 0 auto 1.5rem auto;
    display: block;
}
.gift-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
}
.gift-gallery-img, .gift-gallery-video {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px #ff4b6e22;
}
.gift-contact-outer {
    text-align: center;
    margin-top: 2.5rem;
}
.gift-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1.15rem;
    color: #ff4b6e;
    text-decoration: none;
    font-weight: 600;
}
.gift-contact-icon {
    font-size: 1.5em;
}
.ozel-mesaj-alani {
    max-width: 700px;
    margin: 2.5rem auto 1.5rem auto;
    text-align: center;
    padding: 1.2rem 0.5rem;
}
.ozel-mesaj-sayac {
    background: #fff8fa;
    color: #ff4b6e;
    font-size: 1.08rem;
    font-weight: 600;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin: 0 auto 1.2rem auto;
    box-shadow: 0 2px 8px #ff4b6e22;
    display: inline-block;
}
.ozel-mesaj {
    background: #ff4b6e;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin: 0 auto 1.2rem auto;
    box-shadow: 0 2px 12px #ff4b6e33;
    display: inline-block;
    transition: opacity 0.3s;
}
.gift-maps-ask {
    max-width: 520px;
    margin: 2rem auto 1.2rem auto;
    text-align: center;
}
.gift-maps-iframe {
    width: 100%;
    max-width: 520px;
    height: 220px;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 2px 12px #ff4b6e22;
    margin-bottom: 0.7rem;
}
.gift-maps-ask-text {
    color: #ff4b6e;
    font-size: 1.13rem;
    font-weight: 600;
    margin-top: 0.5rem;
    letter-spacing: 0.01em;
}
.timeline {
    position: relative;
    max-width: 700px;
    margin: 2.5rem auto 2.5rem auto;
    padding: 2rem 0 2rem 0;
}
.timeline_title {
    text-align: center;
    color: #ff4b6e;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 2.2rem;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 2;
    background: #fff8fa;
    display: inline-block;
    padding: 0.2em 1.2em;
    border-radius: 12px;
    box-shadow: 0 2px 8px #ff4b6e11;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #ff4b6e 60%, #ff8fa3 100%);
    border-radius: 2px;
    z-index: 0;
}
.timeline_item {
    position: relative;
    width: 48%;
    padding: 1.2rem 1.2rem;
    background: #fff8fa;
    border-radius: 12px;
    box-shadow: 0 2px 8px #ff4b6e22;
    margin-bottom: 2.2rem;
    z-index: 1;
}
.timeline_item--left {
    left: 0;
    margin-right: 52%;
    text-align: right;
}
.timeline_item--right {
    left: 52%;
    text-align: left;
}
.timeline_date {
    color: #ff4b6e;
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.timeline_text {
    color: #444;
    font-size: 1.08rem;
    font-weight: 500;
}
@media (max-width: 800px) {
    .timeline_item, .timeline_item--left, .timeline_item--right {
        width: 90%;
        left: 0 !important;
        margin: 0 auto 2.2rem auto !important;
        text-align: left !important;
    }
    .timeline::before {
        left: 20px;
        transform: none;
    }
}
.letter-envelope-modern {
    position: relative;
    width: 340px;
    margin: 2.5rem auto 2.5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: rgba(255,255,255,0.95);
    border-radius: 22px;
    box-shadow: 0 8px 32px #ff4b6e22, 0 1.5px 8px #ff4b6e11;
    z-index: 1;
    overflow: hidden;
    max-height: 220px;
    transition: max-height 0.7s cubic-bezier(.77,0,.18,1);
}
.letter-envelope-modern.open {
    max-height: 800px;
    box-shadow: 0 16px 48px #ff4b6e33, 0 2px 12px #ff4b6e11;
}
.envelope-flap-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(120deg, #ff8fa3 60%, #ff4b6e 100%);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 4px 16px #ff4b6e22;
    z-index: 3;
    transition: transform 0.7s cubic-bezier(.77,0,.18,1);
    transform-origin: top center;
}
.envelope-body-modern {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 120px;
    border-bottom-left-radius: 22px 32px;
    border-bottom-right-radius: 22px 32px;
    box-shadow: 0 8px 32px #ff4b6e22;
    border: 2px solid #ff4b6e11;
    z-index: 2;
}
.envelope-open-btn {
    position: absolute;
    left: 50%;
    top: 80px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #ff4b6e 60%, #ff8fa3 100%);
    color: #fff;
    border: none;
    border-radius: 22px;
    padding: 0.7rem 2.2rem;
    font-size: 1.13rem;
    font-weight: 700;
    box-shadow: 0 2px 8px #ff4b6e22;
    cursor: pointer;
    z-index: 4;
    transition: background 0.2s, transform 0.2s;
}
.envelope-open-btn:hover {
    background: linear-gradient(90deg, #ff8fa3 60%, #ff4b6e 100%);
    transform: translateX(-50%) scale(1.04);
}
.letter-content-modern {
    position: relative;
    width: 100%;
    min-height: 100px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.5s 0.2s, transform 0.5s 0.2s;
}
.letter-envelope-modern.open .letter-content-modern {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-30px) scale(1);
}
.letter-envelope-modern.open .envelope-open-btn {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.letter-envelope-modern.open .envelope-flap-modern {
    transform: rotateX(-120deg);
}
.letter-message-modern {
    background: #fff;
    color: #ff4b6e;
    font-size: 1.18rem;
    font-weight: 700;
    border-radius: 14px;
    box-shadow: 0 2px 12px #ff4b6e22;
    padding: 1.5rem 1.2rem;
    margin-top: 30px;
    text-align: center;
    min-width: 220px;
    max-width: 90%;
    line-height: 1.6;
    letter-spacing: 0.01em;
    word-break: break-word;
}
@media (max-width: 600px) {
    .letter-envelope-modern {
        width: 98vw;
        min-width: 0;
        max-width: 340px;
        max-height: 160px;
    }
    .letter-envelope-modern.open {
        max-height: 600px;
    }
    .envelope-flap-modern {
        height: 38px;
    }
    .envelope-body-modern {
        top: 28px;
        height: 80px;
    }
    .envelope-open-btn {
        top: 70px;
        font-size: 1.01rem;
        padding: 0.6rem 1.5rem;
    }
    .letter-message-modern {
        font-size: 1.01rem;
        padding: 1rem 0.5rem;
        margin-top: 18px;
    }
}
.letter-envelope-modern, .letter-envelope-modern * {
    z-index: 10 !important;
}
.location, .gallery, .timeline, .timed-message {
    z-index: 1;
    position: relative;
}
