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

#yt-player-container,
#yt-player-container iframe {
    position: fixed !important;
    left: -99999px !important;
    top: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    overflow: hidden !important;
    z-index: -1 !important;
}

:root {
    --pink-light: #ffe5ec;
    --pink: #ff9fb2;
    --pink-deep: #ff6b8a;
    --rose: #e91e63;
    --burgundy: #880e4f;
    --gold: #d4a574;
    --gold-light: #f5d9a7;
    --cream: #fff8f4;
    --soft-white: #fffbfb;
    --text-dark: #4a2040;
    --text-warm: #6b3a52;
    --shadow-soft: 0 10px 40px rgba(233, 30, 99, 0.15);
    --shadow-deep: 0 20px 60px rgba(136, 14, 79, 0.25);
    --gradient-romantic: linear-gradient(135deg, #ff9fb2 0%, #ffc3d0 40%, #f5d9a7 100%);
    --gradient-deep: linear-gradient(135deg, #880e4f 0%, #e91e63 50%, #ff6b8a 100%);
    --gradient-gold: linear-gradient(135deg, #d4a574 0%, #f5d9a7 50%, #d4a574 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.name, .name-footer, .abdullah-sign {
    font-family: 'Great Vibes', 'Dancing Script', cursive;
}

.sinem {
    background: linear-gradient(135deg, #e91e63, #ff6b8a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.abdullah {
    background: linear-gradient(135deg, #880e4f, #e91e63);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ================= MUSIC CONTROL ================= */
#music-control {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
}

.music-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-deep);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-deep);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.music-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--gradient-romantic);
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

.music-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 25px 70px rgba(233, 30, 99, 0.35);
}

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

.music-btn.playing svg {
    animation: note-bounce 1s ease-in-out infinite;
}

#music-hint {
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--burgundy);
    font-weight: 500;
    box-shadow: var(--shadow-soft);
    animation: hint-float 3s ease-in-out infinite;
}

#music-hint.hidden {
    display: none;
}

/* ================= HEARTS ================= */
.hearts-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    bottom: -50px;
    animation: heart-float linear forwards;
    opacity: 0;
    pointer-events: none;
}

@keyframes heart-float {
    0% {
        transform: translateY(0) rotate(0deg) scale(0.6);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    90% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(-110vh) rotate(360deg) scale(1);
        opacity: 0;
    }
}

#click-hearts {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
}

.click-heart {
    position: absolute;
    pointer-events: none;
    animation: click-heart-anim 1.2s ease-out forwards;
    transform: translate(-50%, -50%);
}

@keyframes click-heart-anim {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -100%) scale(1.3);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -200%) scale(0.8);
        opacity: 0;
    }
}

/* ================= HERO ================= */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 182, 193, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 225, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(245, 217, 167, 0.3) 0%, transparent 60%),
        var(--gradient-romantic);
    background-size: 200% 200%;
    animation: bg-shift 15s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(255, 248, 244, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 80px 24px;
    max-width: 900px;
}

.sparkle {
    position: absolute;
    width: 60px;
    height: 60px;
    pointer-events: none;
}

.sparkle::before, .sparkle::after {
    content: '✦';
    position: absolute;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    animation: sparkle-anim 2.5s ease-in-out infinite;
    font-size: 24px;
}

.sparkle.top-left { top: 20px; left: 20px; }
.sparkle.top-right { top: 20px; right: 20px; }
.sparkle.bottom-left { bottom: 20px; left: 20px; }
.sparkle.bottom-right { bottom: 20px; right: 20px; }

.sparkle.top-right::before, .sparkle.bottom-left::before {
    animation-delay: 1.25s;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 500;
    color: var(--burgundy);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0;
    animation: fade-in-up 1s ease-out 0.3s forwards;
}

.hero-title {
    font-size: clamp(52px, 12vw, 130px);
    line-height: 1;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    opacity: 0;
    animation: fade-in-up 1s ease-out 0.6s forwards;
}

.hero-title .name {
    font-size: clamp(60px, 14vw, 150px);
    font-weight: 700;
    filter: drop-shadow(0 6px 20px rgba(233, 30, 99, 0.3));
}

.heart-amp {
    display: inline-block;
    font-size: clamp(40px, 8vw, 80px);
    color: var(--rose);
    animation: heartbeat 1.5s ease-in-out infinite;
    filter: drop-shadow(0 4px 15px rgba(233, 30, 99, 0.4));
}

.hero-message {
    margin-bottom: 48px;
    opacity: 0;
    animation: fade-in-up 1s ease-out 0.9s forwards;
}

.hero-message p {
    font-size: clamp(16px, 2.5vw, 22px);
    color: var(--text-warm);
    font-weight: 400;
}

.hero-message p + p {
    margin-top: 8px;
    font-weight: 600;
    color: var(--burgundy);
}

.hero-cta {
    margin-bottom: 56px;
    opacity: 0;
    animation: fade-in-up 1s ease-out 1.2s forwards;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--gradient-deep);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 55px rgba(233, 30, 99, 0.5);
}

.cta-btn:hover::before {
    transform: translateX(100%);
}

.cta-btn:active {
    transform: translateY(0) scale(0.97);
}

.countdown-wrapper {
    opacity: 0;
    animation: fade-in-up 1s ease-out 1.4s forwards;
}

.countdown-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--burgundy);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cd-item {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 16px 22px;
    min-width: 85px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 159, 178, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cd-num {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    background: var(--gradient-deep);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1;
}

.cd-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-warm);
    margin-top: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cd-sep {
    font-size: 32px;
    font-weight: 700;
    color: var(--rose);
    line-height: 1;
    animation: pulse 1.5s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--burgundy);
    opacity: 0;
    animation: fade-in-up 1s ease-out 1.6s forwards, scroll-bounce 2s ease-in-out infinite 1.6s;
}

.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2.5px solid var(--burgundy);
    border-radius: 14px;
    position: relative;
}

.scroll-wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--burgundy);
    border-radius: 2px;
    animation: wheel 1.5s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ================= SECTIONS GENERAL ================= */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.section-birthday   { z-index: 100; }
.section-8days      { z-index: 200; }
.section-letter     { z-index: 999990; }
.section-gallery    { z-index: 300; }
.section-wishes     { z-index: 400; }

.section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    will-change: transform;
    transform: translateZ(0);
}

.bg-1 {
    background:
        radial-gradient(ellipse at 10% 20%, rgba(255, 182, 193, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(245, 217, 167, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, #fff8f4 0%, #ffeef2 100%);
    animation: bg-shift 18s ease-in-out infinite;
}

.bg-2 {
    background:
        radial-gradient(ellipse at 80% 20%, rgba(212, 165, 116, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(255, 182, 193, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, #ffeef2 0%, #fff8f4 100%);
    animation: bg-shift 22s ease-in-out infinite reverse;
}

.bg-3 {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 182, 193, 0.4) 0%, transparent 60%),
        linear-gradient(180deg, #fff8f4 0%, #ffeef2 100%);
    animation: bg-shift 20s ease-in-out infinite;
}

.bg-4 {
    background:
        radial-gradient(ellipse at 0% 50%, rgba(245, 217, 167, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 50%, rgba(255, 182, 193, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, #ffeef2 0%, #fff8f4 100%);
    animation: bg-shift 24s ease-in-out infinite reverse;
}

.bg-5 {
    background:
        radial-gradient(ellipse at 50% 100%, rgba(233, 30, 99, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, #fff8f4 0%, #ffe5ec 100%);
    animation: bg-shift 26s ease-in-out infinite;
}

/* ===== PARALLAX (Scroll yavaş arka plan) ===== */
.section.has-parallax .section-bg {
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===== DOĞUM GÜNÜ TAKVİM KARTI ===== */
.birthday-extras {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.calendar-card {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 159, 178, 0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.calendar-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,138,0.18), transparent 70%);
}

.calendar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-deep);
}

.cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(233,30,99,0.15);
    margin-bottom: 14px;
}

.cal-month {
    font-family: 'Great Vibes', cursive;
    font-size: 30px;
    color: var(--burgundy);
}

.cal-year {
    font-size: 13px;
    font-weight: 600;
    color: var(--rose);
    padding: 4px 12px;
    background: rgba(255,107,138,0.12);
    border-radius: 14px;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    font-size: 12px;
}

.cal-day-name {
    text-align: center;
    font-weight: 600;
    color: var(--rose);
    padding: 6px 0;
}

.cal-day {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #6a4a5a;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: default;
}

.cal-day.empty { visibility: hidden; }

.cal-day.today {
    background: linear-gradient(135deg, var(--rose), var(--burgundy));
    color: #fff;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(233,30,99,0.4);
    position: relative;
}

.cal-day.today::after {
    content: '♥';
    position: absolute;
    top: 1px;
    right: 3px;
    font-size: 9px;
    color: #fff5f8;
    animation: pulse 1.2s ease-in-out infinite;
}

.cal-caption {
    margin-top: 16px;
    text-align: center;
    font-family: 'Dancing Script', cursive;
    font-size: 22px;
    color: var(--burgundy);
}

/* ===== 8 ANI KARTLARI (MEKTUP İÇİNDE) ===== */
.memories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 26px 0 14px;
}

.memory-card {
    background: linear-gradient(135deg, #fff5f8, #fff8f4);
    border-radius: 14px;
    padding: 14px 16px;
    border-left: 4px solid var(--rose);
    box-shadow: 0 3px 10px rgba(233,30,99,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.memory-card:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 18px rgba(233,30,99,0.12);
}

.memory-day {
    font-size: 11px;
    font-weight: 700;
    color: var(--rose);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.memory-text {
    font-size: 14px;
    color: #5c3d4e;
    line-height: 1.4;
}

@media (max-width: 520px) {
    .memories-grid { grid-template-columns: 1fr; }
}

.section > .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 22px;
    border-radius: 20px;
    background: var(--gradient-romantic);
    color: var(--burgundy);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
}

.section-tag.gold {
    background: var(--gradient-gold);
    color: #5d4037;
}

.section-title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.title-icon {
    display: inline-block;
    animation: wiggle 3s ease-in-out infinite;
    font-size: 0.75em;
}

.name-highlight {
    font-family: 'Great Vibes', cursive;
    font-size: 1.2em;
    background: linear-gradient(135deg, #e91e63, #ff6b8a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    padding: 0 4px;
}

.num-highlight {
    font-family: 'Great Vibes', cursive;
    font-size: 1.3em;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    padding: 0 4px;
    filter: drop-shadow(0 2px 10px rgba(212, 165, 116, 0.4));
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-warm);
    font-style: italic;
    margin-top: 16px;
}

.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
}

.divider-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rose), transparent);
    border-radius: 2px;
}

.divider-line.gold {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider-heart {
    color: var(--rose);
    font-size: 22px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.divider-heart.gold {
    color: var(--gold);
}

/* ================= BIRTHDAY CARD ================= */
.birthday-card {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(300px, 1fr);
    gap: 48px;
    align-items: center;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(15px);
    border-radius: 32px;
    padding: 44px 48px;
    box-shadow: var(--shadow-deep);
    border: 1px solid rgba(255, 159, 178, 0.3);
}

.card-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 0;
    flex: 1 1 45%;
}

.photo-frame {
    position: relative;
    padding: 16px;
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow-deep);
    transform: rotate(-3deg);
    transition: transform 0.5s ease;
    width: 100%;
    max-width: 420px;
    min-width: 260px;
    box-sizing: border-box;
}

.photo-frame::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 24px;
    background: var(--gradient-romantic);
    z-index: -1;
}

.photo-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.photo-inner {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    min-height: 340px;
    height: auto;
    box-sizing: border-box;
}

.photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    min-height: 340px;
}

.photo-birthday {
    background-image: url('https://coresg-normal.trae.ai/api/ide/v1/text_to_image?prompt=Romantic%20birthday%20celebration%20with%20beautiful%20pink%20and%20gold%20cake%20with%20candles%20roses%20flowers%20soft%20bokeh%20lighting%20warm%20cozy%20atmosphere%20love%20romance%20elegant&image_size=portrait_4_3');
}

.card-text h3 {
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: 20px;
    font-family: 'Dancing Script', cursive;
    line-height: 1.3;
}

.card-text p {
    font-size: 17px;
    color: var(--text-warm);
    margin-bottom: 16px;
}

.signature {
    margin-top: 28px;
    font-size: 18px;
    color: var(--text-warm);
    font-style: italic;
    text-align: right;
}

.signature .abdullah {
    font-size: 32px;
    display: inline-block;
    margin-left: 8px;
}

/* ================= 8 DAYS GRID ================= */
.days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.day-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 159, 178, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.day-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
}

.day-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-deep);
    border-color: rgba(233, 30, 99, 0.4);
}

.day-card:hover::before {
    left: 100%;
}

.day-num {
    font-family: 'Great Vibes', cursive;
    font-size: 56px;
    font-weight: 700;
    background: var(--gradient-deep);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    line-height: 1;
    margin-bottom: 10px;
}

.day-card:nth-child(even) .day-num {
    background: linear-gradient(135deg, #d4a574, #f5d9a7, #d4a574);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.day-num.special {
    font-size: 72px;
    background: var(--gradient-gold) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    filter: drop-shadow(0 4px 15px rgba(212, 165, 116, 0.5));
    animation: heartbeat 1.5s ease-in-out infinite;
}

.day-icon {
    font-size: 42px;
    margin-bottom: 14px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.day-card h4 {
    font-size: 19px;
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: 10px;
}

.day-card p {
    font-size: 14.5px;
    color: var(--text-warm);
    line-height: 1.6;
}

/* ================= ENVELOPE / LETTER ================= */
.section-letter {
    position: relative;
    z-index: 999990 !important;
    overflow: visible !important;
}

body.letter-open-mode .section:not(.section-letter) {
    z-index: 1 !important;
}

.envelope-wrapper {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 999991;
    transition: padding 1s ease, z-index 0s linear;
    padding-top: 0;
}

.envelope-wrapper.has-open-letter {
    padding-top: 820px;
    z-index: 999995 !important;
    isolation: isolate;
}

@media (max-width: 768px) {
    .envelope-wrapper.has-open-letter { padding-top: 860px; }
}
@media (max-width: 480px) {
    .envelope-wrapper.has-open-letter { padding-top: 960px; }
}

.envelope {
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1500px;
    transition: transform 0.5s ease;
}

.envelope:hover {
    transform: translateY(-5px);
}

.envelope-front {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, #fff 0%, #ffeef2 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(233, 30, 99, 0.2);
    overflow: visible;
    z-index: 2;
}

.envelope-front::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background:
        linear-gradient(135deg, transparent 48%, rgba(233, 30, 99, 0.15) 49%, rgba(233, 30, 99, 0.15) 51%, transparent 52%),
        linear-gradient(-135deg, transparent 48%, rgba(233, 30, 99, 0.15) 49%, rgba(233, 30, 99, 0.15) 51%, transparent 52%);
    pointer-events: none;
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 52%;
    background: linear-gradient(135deg, #ffc3d0 0%, #ff9fb2 100%);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    z-index: 3;
    transform-origin: top center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), z-index 0s 0.4s;
    border-bottom: 2px solid rgba(233, 30, 99, 0.3);
    pointer-events: none;
}

.envelope.opened .envelope-flap {
    transform: rotateX(180deg);
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), z-index 0s;
}

.envelope-heart {
    position: relative;
    z-index: 4;
    margin-bottom: 14px;
    filter: drop-shadow(0 6px 15px rgba(233, 30, 99, 0.4));
    animation: heartbeat 1.5s ease-in-out infinite;
}

.envelope-note {
    position: relative;
    z-index: 4;
    font-size: 18px;
    font-weight: 500;
    color: var(--burgundy);
    font-family: 'Dancing Script', cursive;
}

.envelope.opened .envelope-heart,
.envelope.opened .envelope-note {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.letter {
    position: absolute;
    left: 2%;
    right: 2%;
    bottom: 100%;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #fffbfb 0%, #fff5f7 100%);
    border-radius: 20px;
    padding: 36px 32px 28px;
    box-shadow: 0 -30px 80px rgba(136, 14, 79, 0.28);
    transform-origin: bottom center;
    transform: translateY(90%) scale(0.85);
    opacity: 0;
    z-index: 0;
    transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.7s ease,
                z-index 0s 0s,
                box-shadow 1s ease;
    border: 2px solid rgba(233, 30, 99, 0.2);
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
}

.envelope.opened {
    cursor: default;
}

.envelope.opened .letter {
    transform: translateY(0) scale(1);
    opacity: 1;
    z-index: 999999 !important;
    max-height: 1400px;
    overflow: visible;
    pointer-events: auto;
    box-shadow: 0 -30px 90px rgba(136, 14, 79, 0.4);
    transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.18s,
                opacity 0.8s ease 0.12s,
                z-index 0s linear,
                max-height 1.3s ease 0.05s,
                box-shadow 1.2s ease 0.18s;
}

.letter-header {
    font-family: 'Great Vibes', cursive;
    font-size: 38px;
    color: var(--burgundy);
    margin-bottom: 18px;
    text-align: left;
}

.letter-body {
    font-size: 15.5px;
    color: var(--text-warm);
    line-height: 1.85;
}

.letter-body p {
    margin-bottom: 13px;
}

.letter-footer {
    margin-top: 24px;
    text-align: right;
    font-size: 15px;
    color: var(--text-warm);
}

.abdullah-sign {
    font-size: 42px;
    margin-top: 4px;
    color: var(--rose);
}

.close-letter-btn {
    margin-top: 18px;
    padding: 10px 28px;
    background: transparent;
    border: 2px solid var(--rose);
    color: var(--rose);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.close-letter-btn:hover {
    background: var(--rose);
    color: #fff;
    transform: translateY(-2px);
}

/* ================= GALLERY ================= */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 4px solid #fff;
    position: relative;
}

.gallery-item::after {
    content: '♥';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #fff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.3), rgba(136, 14, 79, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-deep);
}

.gallery-item:hover::after {
    opacity: 1;
}

.g-photo {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    display: block;
    object-fit: cover;
    border-radius: 0;
}

.gallery-item:hover .g-photo {
    transform: scale(1.1);
}

.g-photo img,
.gallery-item img.g-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Galeri resimleri: data-src veya img tag ile fallback */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.g1 { background-image: url('image/1.jpeg'); }
.g2 { background-image: url('image/2.jpeg'); }
.g3 { background-image: url('image/3.jpeg'); }
.g4 { background-image: url('image/4.jpeg'); }
.g5 { background-image: url('image/5.jpeg'); }
.g6 { background-image: url('image/6.jpeg'); }

/* ================= WISHES CARD ================= */
.wishes-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 32px;
    padding: 56px 48px;
    text-align: center;
    box-shadow: var(--shadow-deep);
    border: 2px solid rgba(233, 30, 99, 0.2);
    position: relative;
    overflow: hidden;
}

.wishes-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.2) 0%, transparent 70%);
    animation: wishes-bg-rotate 20s linear infinite;
}

.wishes-icon {
    font-size: 72px;
    margin-bottom: 16px;
    position: relative;
    filter: drop-shadow(0 6px 20px rgba(233, 30, 99, 0.3));
    animation: heartbeat 1.5s ease-in-out infinite;
}

.wishes-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(30px, 5vw, 46px);
    color: var(--burgundy);
    margin-bottom: 32px;
    position: relative;
}

.wishes-list {
    position: relative;
    text-align: left;
}

.wishes-list p {
    padding: 14px 20px 14px 24px;
    margin-bottom: 12px;
    background: linear-gradient(90deg, rgba(255, 245, 247, 0.8), rgba(255, 255, 255, 0.9));
    border-radius: 14px;
    font-size: 16px;
    color: var(--text-warm);
    border-left: 4px solid var(--rose);
    transition: all 0.3s ease;
}

.wishes-list p:hover {
    transform: translateX(6px);
    background: linear-gradient(90deg, rgba(255, 229, 236, 0.9), rgba(255, 255, 255, 1));
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.1);
}

/* ================= FOOTER ================= */
.footer {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, #ffe5ec 0%, #ffc3d0 100%);
    position: relative;
    overflow: hidden;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-names {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
}

.name-footer {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 700;
}

.footer-heart {
    font-size: clamp(32px, 6vw, 52px);
    color: var(--rose);
    animation: heartbeat 1.5s ease-in-out infinite;
    filter: drop-shadow(0 4px 15px rgba(233, 30, 99, 0.4));
}

.footer-sub {
    font-size: 16px;
    color: var(--burgundy);
    font-weight: 500;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.footer-love {
    font-family: 'Dancing Script', cursive;
    font-size: 24px;
    color: var(--text-warm);
    margin-top: 8px;
}

/* ================= REVEAL ANIMATIONS ================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ================= KEYFRAMES ================= */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-delay-1 { animation-delay: 0.2s; }
@keyframes fade-in-delay-2 { animation-delay: 0.4s; }
@keyframes fade-in-delay-3 { animation-delay: 0.7s; }
@keyframes fade-in-delay-4 { animation-delay: 1s; }

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.15); }
    28% { transform: scale(1); }
    42% { transform: scale(1.15); }
    70% { transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.08); }
}

@keyframes hint-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes sparkle-anim {
    0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}

@keyframes note-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes wheel {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(14px); opacity: 0; }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

@keyframes bg-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes wishes-bg-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .birthday-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 40px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .gallery-item {
        border-width: 3px;
    }

    .wishes-card {
        padding: 40px 24px;
    }

    .letter {
        padding: 28px 20px 22px;
    }

    .letter-header {
        font-size: 30px;
    }

    .envelope-front {
        height: 280px;
    }

    .envelope.opened .letter {
        transform: translateY(0) scale(1);
        left: 0;
        right: 0;
        bottom: 100%;
        margin-bottom: 10px;
    }

    #music-control {
        top: 16px;
        right: 16px;
    }

    #music-hint {
        display: none;
    }

    .countdown {
        gap: 8px;
    }

    .cd-item {
        min-width: 64px;
        padding: 12px 14px;
        border-radius: 14px;
    }

    .hero-content {
        padding: 60px 16px;
    }

    .days-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .countdown {
        gap: 6px;
    }

    .cd-item {
        min-width: 54px;
        padding: 10px 8px;
    }

    .cd-num {
        font-size: 24px;
    }

    .days-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header {
        margin-bottom: 40px;
    }
}

/* ================= WELCOME OVERLAY ================= */
#welcome-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 182, 193, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(245, 217, 167, 0.5) 0%, transparent 50%),
        linear-gradient(135deg, #ff9fb2 0%, #ffc3d0 50%, #f5d9a7 100%);
    background-size: 200% 200%;
    animation: bg-shift 8s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s ease, transform 0.7s ease, visibility 0s 0.7s;
    padding: 20px;
}

#welcome-overlay.hidden {
    opacity: 0;
    transform: scale(1.1);
    visibility: hidden;
    pointer-events: none;
}

.welcome-inner {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 56px 48px;
    text-align: center;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 30px 80px rgba(136, 14, 79, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    animation: welcome-pop 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.welcome-inner::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 32px;
    background: var(--gradient-romantic);
    z-index: -1;
    opacity: 0.5;
}

.welcome-hearts {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 16px;
}

.welcome-hearts span {
    font-size: 28px;
    animation: welcome-heart-bounce 1.5s ease-in-out infinite;
}

.welcome-hearts span:nth-child(1) { animation-delay: 0s; }
.welcome-hearts span:nth-child(2) { animation-delay: 0.15s; }
.welcome-hearts span:nth-child(3) { animation-delay: 0.3s; }
.welcome-hearts span:nth-child(4) { animation-delay: 0.45s; }
.welcome-hearts span:nth-child(5) { animation-delay: 0.6s; }

.welcome-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.welcome-name {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(44px, 9vw, 76px);
    font-weight: 700;
    line-height: 1;
    filter: drop-shadow(0 4px 15px rgba(233, 30, 99, 0.25));
}

.welcome-heart {
    font-size: clamp(32px, 6vw, 48px);
    color: var(--rose);
    animation: heartbeat 1.5s ease-in-out infinite;
    filter: drop-shadow(0 4px 15px rgba(233, 30, 99, 0.4));
}

.welcome-sub {
    font-size: clamp(15px, 2.5vw, 18px);
    color: var(--text-warm);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 32px;
}

.welcome-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--gradient-deep);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 15px 45px rgba(233, 30, 99, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: welcome-btn-pulse 2s ease-in-out infinite 1.4s;
}

.welcome-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50px;
    background: var(--gradient-romantic);
    z-index: -1;
    animation: pulse 1.8s ease-in-out infinite;
}

.welcome-btn-icon {
    font-size: 22px;
    display: inline-block;
    animation: note-bounce 1s ease-in-out infinite;
}

.welcome-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(233, 30, 99, 0.6);
}

.welcome-btn:active {
    transform: translateY(0) scale(0.97);
}

.welcome-sparkle {
    position: absolute;
    font-size: 28px;
    pointer-events: none;
    animation: sparkle-anim 3s ease-in-out infinite;
}

.welcome-sparkle.s1 { top: 20px; left: 24px; }
.welcome-sparkle.s2 { top: 24px; right: 22px; animation-delay: 1.2s; }
.welcome-sparkle.s3 { bottom: 28px; left: 28px; animation-delay: 0.6s; }
.welcome-sparkle.s4 { bottom: 22px; right: 24px; animation-delay: 1.8s; }

@keyframes welcome-pop {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes welcome-heart-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.15); }
}

@keyframes welcome-btn-pulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@media (max-width: 480px) {
    .welcome-inner {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .welcome-btn {
        padding: 16px 30px;
        font-size: 16px;
        border-radius: 40px;
    }
}

/* ================= GALLERY LIGHTBOX ================= */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(20, 5, 15, 0.92);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s 0.35s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0s 0s;
}

.lightbox-inner {
    position: relative;
    width: min(92vw, 1100px);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 14px 20px;
}

.lb-close {
    position: absolute;
    top: 0;
    right: 14px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.lb-close:hover { background: #e91e63; transform: rotate(90deg); }

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 38px;
    line-height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    user-select: none;
}

.lb-nav:hover { background: rgba(233,30,99,0.85); transform: translateY(-50%) scale(1.08); }

.lb-prev { left: 8px; padding-right: 6px; }
.lb-next { right: 8px; padding-left: 6px; }

.lb-figure {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 78vh;
}

#lb-img {
    width: auto;
    max-width: 100%;
    max-height: 68vh;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 4px rgba(255,255,255,0.08);
    object-fit: contain;
    background: #120810;
}

.lb-caption {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-top: 18px;
    text-align: center;
    padding: 0 30px;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
}

.lb-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 18px;
}

.lb-action {
    padding: 10px 22px;
    border: none;
    border-radius: 28px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lb-action:hover {
    background: #e91e63;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(233,30,99,0.5);
}

.lb-counter {
    padding: 8px 16px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ================= DİLEK YAZ BUTONU + USER WISHES ================= */
.wish-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 30px auto 20px;
    padding: 14px 32px;
    border: 2px dashed rgba(233,30,99,0.35);
    background: linear-gradient(135deg, #fff5f8, #fff8f4);
    color: var(--burgundy);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 32px;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 6px 18px rgba(233,30,99,0.08);
}

.wish-add-btn:hover {
    transform: translateY(-3px);
    border-color: var(--rose);
    background: linear-gradient(135deg, var(--rose), #c2185b);
    color: #fff;
    box-shadow: 0 10px 28px rgba(233,30,99,0.3);
}

.user-wishes {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.user-wish-card {
    background: #fff;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 6px 18px rgba(233,30,99,0.08);
    border: 1px solid rgba(255,159,178,0.35);
    text-align: left;
    position: relative;
    animation: fade-in-up 0.5s ease both;
}

.user-wish-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, var(--rose), var(--gold));
}

.user-wish-emoji {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 8px;
}

.user-wish-text {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-warm);
    margin-bottom: 10px;
    font-style: italic;
}

.user-wish-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--rose);
    text-align: right;
    letter-spacing: 0.3px;
}

/* ================= PAYLAŞ BUTONLARI ================= */
.share-row {
    display: none !important;
}

.share-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 28px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.share-wa {
    background: #25d366;
    color: #fff;
}
.share-wa:hover { background: #1ebe5d; }

.share-link {
    background: linear-gradient(135deg, var(--rose), var(--burgundy));
    color: #fff;
}

/* ================= MODAL OVERLAY (DİLEK YAZ) ================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(20, 5, 15, 0.68);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s 0s;
}

.modal-content {
    background: #fff;
    width: min(92vw, 540px);
    border-radius: 28px;
    padding: 30px 28px 24px;
    position: relative;
    box-shadow: 0 30px 80px rgba(233,30,99,0.3);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 92vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(233,30,99,0.1);
    color: var(--burgundy);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
}

.modal-close:hover {
    background: var(--rose);
    color: #fff;
    transform: rotate(90deg);
}

.wish-modal-header {
    text-align: center;
    padding: 4px 20px 20px;
    margin-bottom: 6px;
    border-bottom: 2px solid rgba(233,30,99,0.1);
}

.wish-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), #c2185b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    box-shadow: 0 10px 26px rgba(233,30,99,0.3);
    animation: pulse 1.5s ease-in-out infinite;
}

.wish-modal-header h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 32px;
    color: var(--burgundy);
    margin: 6px 0 4px;
}

.wish-modal-sub {
    color: var(--text-warm);
    font-size: 14px;
    line-height: 1.4;
}

/* Form */
.wish-form { padding: 8px 4px 0; }

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--burgundy);
    margin: 16px 0 6px;
    letter-spacing: 0.3px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 2px solid rgba(233,30,99,0.15);
    background: #fff8f9;
    color: var(--text-warm);
    font-size: 14.5px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--rose);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(233,30,99,0.1);
}

.emoji-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.emoji-picker button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: rgba(255,107,138,0.1);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.emoji-picker button:hover {
    transform: scale(1.1);
    background: rgba(255,107,138,0.22);
}

.emoji-picker button.active {
    border-color: var(--rose);
    background: rgba(233,30,99,0.18);
    transform: scale(1.12);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.btn-primary,
.btn-ghost {
    padding: 12px 24px;
    border-radius: 28px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--rose), #c2185b);
    color: #fff;
    box-shadow: 0 8px 22px rgba(233,30,99,0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(233,30,99,0.4);
}

.btn-ghost {
    background: rgba(106,74,90,0.1);
    color: var(--burgundy);
}

.btn-ghost:hover {
    background: rgba(106,74,90,0.2);
}

/* ================= TOAST (Bildirim) ================= */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(140%);
    z-index: 999999;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: #fff;
    padding: 14px 28px;
    border-radius: 32px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 92vw;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.error { background: linear-gradient(135deg, #e91e63, #c2185b); }
.toast.info  { background: linear-gradient(135deg, #2196f3, #1565c0); }

/* Responsive ayarlar (modal ve lightbox) */
@media (max-width: 640px) {
    .lb-figure { padding-top: 20px; }
    #lb-img { max-height: 55vh; }
    .lb-caption { font-size: 14px; padding: 0 6px; }
    .lb-nav { width: 42px; height: 42px; font-size: 30px; line-height: 42px; }
    .lb-close { width: 40px; height: 40px; font-size: 26px; right: 8px; top: -8px; }
    .lb-counter { display: none; }
    .lb-action { padding: 8px 16px; font-size: 12.5px; }

    .share-row { flex-direction: column; align-items: stretch; }
    .share-btn { justify-content: center; width: 100%; }

    .modal-content { padding: 22px 18px 20px; border-radius: 22px; }
    .wish-modal-header h3 { font-size: 26px; }
    .wish-modal-icon { width: 56px; height: 56px; font-size: 26px; }
    .form-actions { flex-direction: column-reverse; }
    .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}

