/* ============================================
   RESET & ROOT DESIGN TOKENS
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #0b0a10;
    --color-bg-alt: #13111c;
    --color-text: #f5ede4;
    --color-text-muted: #c7b9ab;
    --color-accent: #d8a47f;
    --color-accent-light: #f3d5be;
    --color-gold: #e5c378;
    --color-gold-glow: rgba(229, 195, 120, 0.4);
    --color-rose: #d96f86;
    --color-rose-light: #f5a3b5;
    --color-rose-glow: rgba(217, 111, 134, 0.35);
    --color-cream: #fffaf5;
    
    --font-display: 'Great Vibes', cursive;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Cormorant Garamond', serif;
    --font-ui: 'Montserrat', sans-serif;
    --font-handwriting: 'Caveat', cursive;
    
    --shadow-glass: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    --border-glass: 1px solid rgba(255, 255, 255, 0.12);
}

html {
    scroll-behavior: auto;
    overflow-x: hidden;
    background: var(--color-bg);
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    min-height: 100vh;
}

/* ============================================
   VIDEO BACKGROUND & CANVAS
   ============================================ */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.video-container canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.82) contrast(1.05);
    transition: filter 0.5s ease;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(11, 10, 16, 0.4) 0%,
        rgba(11, 10, 16, 0.78) 100%
    );
    backdrop-filter: blur(1px);
    pointer-events: none;
}

/* ============================================
   SHOOTING STARS
   ============================================ */
.shooting-stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.shooting-star {
    position: absolute;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, #fff, rgba(229, 195, 120, 0.8), transparent);
    border-radius: 50%;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
    animation: shoot linear forwards;
}

@keyframes shoot {
    0% {
        transform: translate(0, 0) rotate(-35deg) scale(0);
        opacity: 0;
    }
    15% {
        opacity: 1;
        transform: translate(-30px, 20px) rotate(-35deg) scale(1);
    }
    100% {
        transform: translate(-350px, 240px) rotate(-35deg) scale(0.2);
        opacity: 0;
    }
}

/* ============================================
   AMBIENT FLOATING PARTICLES
   ============================================ */
.ambient-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.ambient-particle {
    position: absolute;
    color: var(--color-rose-light);
    opacity: 0;
    user-select: none;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.6);
        opacity: 0;
    }
    15% {
        opacity: 0.65;
    }
    85% {
        opacity: 0.65;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg) scale(1.1);
        opacity: 0;
    }
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, var(--color-rose), var(--color-gold), var(--color-rose-light));
    z-index: 1000;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 12px var(--color-rose), 0 0 24px rgba(245, 163, 181, 0.4);
}

/* ============================================
   TOP CONTROLS (WISH BUTTON & MUSIC)
   ============================================ */
.top-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wish-button, .music-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    background: rgba(25, 20, 35, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--border-glass);
    border-radius: 50px;
    color: var(--color-cream);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: var(--shadow-glass);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wish-button:hover, .music-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px) scale(1.03);
    border-color: var(--color-gold);
    box-shadow: 0 8px 24px var(--color-gold-glow);
}

.wish-star-icon {
    font-size: 1.05rem;
    animation: sparkleBlink 2.5s infinite;
}

.music-toggle.playing {
    border-color: var(--color-rose-light);
    color: var(--color-rose-light);
}

.music-toggle.playing .music-icon {
    animation: musicPulse 1.5s ease-in-out infinite;
}

@keyframes musicPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.25) rotate(12deg); }
}

/* ============================================
   PAGE NAVIGATION DOTS
   ============================================ */
.page-dots {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.3);
}

.dot.active {
    background: var(--color-rose-light);
    border-color: var(--color-cream);
    box-shadow: 0 0 12px var(--color-rose-glow), 0 0 4px #fff;
    transform: scale(1.35);
}

/* ============================================
   SCROLL WRAPPER & SECTIONS
   ============================================ */
.scroll-wrapper {
    position: relative;
    z-index: 5;
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 70px 20px;
}

.section-content {
    max-width: 1050px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/* ============================================
   HERO / WELCOME SECTION (Desktop)
   ============================================ */
.section-hero {
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 80px 20px 60px;
}

.hero-center-box {
    position: relative;
    z-index: 10;
    max-width: 680px;
    width: 100%;
    text-align: center;
    background: linear-gradient(
        145deg,
        rgba(25, 20, 35, 0.82) 0%,
        rgba(15, 12, 22, 0.92) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    padding: 48px 36px 36px;
    box-shadow: 
        0 24px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(217, 111, 134, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-gold);
    background: rgba(229, 195, 120, 0.1);
    border: 1px solid rgba(229, 195, 120, 0.3);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.badge-sparkle {
    animation: sparkleBlink 2s infinite ease-in-out;
}

@keyframes sparkleBlink {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.2); }
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 20px;
}

.title-sub {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--color-accent-light);
    letter-spacing: 2px;
}

.title-main {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--color-cream);
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.title-name {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8.5vw, 5.5rem);
    color: var(--color-rose-light);
    line-height: 1;
    margin-top: 4px;
    text-shadow: 0 0 30px var(--color-rose-glow);
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

/* CTA Button */
.hero-cta {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.cta-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 32px;
    background: linear-gradient(135deg, #e67d93 0%, #c45c74 100%);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-family: var(--font-ui);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(217, 111, 134, 0.45);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 32px rgba(217, 111, 134, 0.65);
    background: linear-gradient(135deg, #f58fa4 0%, #d86882 100%);
}

.cta-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(217, 111, 134, 0.5);
    animation: ctaPulseAnim 2.5s infinite cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    pointer-events: none;
}

@keyframes ctaPulseAnim {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.4, 1.6); opacity: 0; }
}

.hero-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hint-text {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    opacity: 0.8;
}

.hint-mouse {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(243, 213, 190, 0.6);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 3px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 1.8s ease-in-out infinite;
}

@keyframes wheelScroll {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ============================================
   CALM SCATTERED POLAROID PHOTOS (Hero)
   ============================================ */
.hero-photos-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.hero-photo-card {
    position: absolute;
    width: 160px;
    background: #fff;
    padding: 10px 10px 14px;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 1px rgba(0, 0, 0, 0.2);
    transform: rotate(var(--rot));
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    animation: photoFloatCalm 9s ease-in-out var(--delay) infinite alternate;
}

.hero-photo-card:hover {
    transform: rotate(0deg) scale(1.12) !important;
    z-index: 50;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px var(--color-rose-glow);
}

.tape-strip {
    position: absolute;
    width: 48px;
    height: 15px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.tape-top {
    top: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
}

.photo-click-hint {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.65rem;
    color: var(--color-rose);
    text-align: center;
    margin-top: 4px;
    opacity: 0.8;
}

@keyframes photoFloatCalm {
    0% {
        transform: rotate(var(--rot)) translateY(0px);
    }
    100% {
        transform: rotate(calc(var(--rot) * 0.9)) translateY(-7px);
    }
}

.hero-photo-inner {
    width: 100%;
    height: 145px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    background: #2a2533;
}

.hero-photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-caption {
    font-family: var(--font-handwriting);
    font-size: 1.2rem;
    color: #3b2c2b;
    text-align: center;
    margin-top: 6px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Hero photo positions Desktop */
.hero-photo-card.card-1 { top: 8%; left: 4%; }
.hero-photo-card.card-2 { top: 8%; right: 4%; }
.hero-photo-card.card-3 { top: 45%; left: 2%; }
.hero-photo-card.card-4 { top: 45%; right: 2%; }
.hero-photo-card.card-5 { bottom: 8%; left: 6%; }
.hero-photo-card.card-6 { bottom: 8%; right: 6%; }

.hero-photo-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #3d314a, #231f2d);
    color: var(--color-accent-light);
}

.placeholder-icon {
    font-size: 2rem;
    opacity: 0.7;
}

.placeholder-label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

.no-photo img {
    display: none;
}

.no-photo .hero-photo-placeholder,
.no-photo .photo-placeholder {
    display: flex;
}

/* ============================================
   FLOATING MINI LOVE NOTE TAGS (Memories 1-4)
   ============================================ */
.mini-note-tag {
    position: absolute;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(25, 20, 35, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(245, 163, 181, 0.25);
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    color: var(--color-cream);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    user-select: none;
    pointer-events: auto;
    transition: all 0.3s ease;
    animation: tagSway 6s ease-in-out infinite alternate;
}

.mini-note-tag:hover {
    transform: scale(1.08) translateY(-4px) !important;
    border-color: var(--color-gold);
    box-shadow: 0 12px 30px var(--color-gold-glow);
    background: rgba(35, 28, 48, 0.9);
}

.note-left {
    transform: rotate(-3deg);
}

.note-right {
    transform: rotate(3deg);
    animation-delay: 2s;
}

@keyframes tagSway {
    0% { transform: translateY(0) rotate(-2deg); }
    100% { transform: translateY(-8px) rotate(2deg); }
}

.tag-emoji {
    font-size: 1.1rem;
}

/* ============================================
   MEMORY SECTIONS & BOOK PAGES
   ============================================ */
.section-memory {
    min-height: 130vh;
}

.memory-row {
    display: flex;
    align-items: center;
    gap: 50px;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.memory-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.memory-row--photo-right {
    flex-direction: row;
}

.memory-row--photo-left {
    flex-direction: row;
}

/* Memory Cards */
.memory-card {
    flex: 1;
    min-width: 0;
}

.memory-card-inner {
    background: linear-gradient(
        145deg,
        rgba(30, 24, 40, 0.82) 0%,
        rgba(18, 14, 25, 0.9) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 44px 38px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glass);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.memory-card-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 25px rgba(217, 111, 134, 0.15);
    border-color: rgba(245, 163, 181, 0.25);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), var(--color-rose), transparent);
}

.memory-icon {
    font-size: 2.2rem;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.memory-number {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--color-gold);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 2px;
    position: relative;
    z-index: 1;
}

.memory-title {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--color-cream);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.memory-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-rose), var(--color-gold));
    border-radius: 2px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.memory-text {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--color-text);
    opacity: 0.9;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.memory-date {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-rose-light);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

.memory-date-icon {
    font-size: 0.95rem;
}

/* Photo Bubbles */
.photo-bubble {
    flex: 0 0 240px;
    width: 240px;
    height: 240px;
    position: relative;
    cursor: pointer;
}

.photo-bubble-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 12px 36px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 0 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s ease;
}

.photo-bubble-inner:hover {
    transform: scale(1.06);
    border-color: var(--color-rose-light);
    box-shadow:
        0 16px 45px rgba(217, 111, 134, 0.3),
        0 0 20px var(--color-rose-glow);
}

.photo-bubble-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(217, 111, 134, 0.2), rgba(229, 195, 120, 0.15));
}

.photo-placeholder span {
    font-size: 2.8rem;
    opacity: 0.7;
}

.photo-placeholder small {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--color-accent-light);
    opacity: 0.7;
    letter-spacing: 1px;
}

.photo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 111, 134, 0.2) 0%, transparent 70%);
    z-index: 1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.photo-bubble--float {
    animation: bubbleFloat 6s ease-in-out infinite;
}

.photo-bubble--float-alt {
    animation: bubbleFloatAlt 7s ease-in-out infinite;
}

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@keyframes bubbleFloatAlt {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

/* ============================================
   KÜÇÜK PRENS & ROSE.MP4 ÖZEL BÖLÜMÜ
   ============================================ */
.section-rose {
    min-height: 100vh;
    padding: 80px 20px;
}

.rose-showcase-box {
    background: linear-gradient(
        145deg,
        rgba(35, 18, 30, 0.85) 0%,
        rgba(18, 10, 20, 0.95) 100%
    );
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(245, 163, 181, 0.25);
    border-radius: 36px;
    padding: 48px 32px 40px;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 
        0 24px 60px rgba(0, 0, 0, 0.65),
        0 0 50px rgba(217, 111, 134, 0.2);
    position: relative;
    overflow: hidden;
}

.rose-header {
    margin-bottom: 24px;
}

.rose-badge {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-rose-light);
    background: rgba(217, 111, 134, 0.15);
    border: 1px solid rgba(217, 111, 134, 0.35);
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.rose-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 5.5vw, 3.2rem);
    font-weight: 700;
    color: var(--color-cream);
    margin-bottom: 12px;
    text-shadow: 0 0 35px var(--color-rose-glow);
}

.rose-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-rose), var(--color-gold), transparent);
    margin: 0 auto;
}

.rose-quote-box {
    max-width: 640px;
    margin: 0 auto 26px;
}

.rose-quote {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--color-accent-light);
    opacity: 0.95;
}

.rose-quote strong {
    color: var(--color-rose-light);
    font-weight: 600;
}

/* Video Wrapper */
.rose-video-wrapper {
    position: relative;
    max-width: 580px;
    width: 100%;
    margin: 0 auto 24px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(217, 111, 134, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: #000;
}

.rose-video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

.rose-video-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(217, 111, 134, 0.2) 0%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.rose-video-hint {
    position: absolute;
    bottom: 12px;
    right: 14px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 20px;
    color: var(--color-cream);
    font-family: var(--font-ui);
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    pointer-events: none;
}

.rose-subtext {
    font-family: var(--font-handwriting);
    font-size: 1.55rem;
    color: var(--color-cream);
    opacity: 0.9;
}

/* ============================================
   SENİ SEVMEMİN NEDENLERİ (3D FLIP CARDS)
   ============================================ */
.section-reasons {
    min-height: 100vh;
    padding: 80px 20px;
}

.reasons-header {
    text-align: center;
    margin-bottom: 44px;
}

.reasons-badge {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-rose-light);
    background: rgba(217, 111, 134, 0.12);
    border: 1px solid rgba(217, 111, 134, 0.3);
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.reasons-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--color-cream);
    margin-bottom: 10px;
}

.reasons-subtitle {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--color-text-muted);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.reason-flip-card {
    background-color: transparent;
    height: 250px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 24px;
}

.reason-flip-card:hover .flip-card-inner,
.reason-flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 24px;
    padding: 26px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-glass);
}

/* Front Side */
.flip-card-front {
    background: linear-gradient(145deg, rgba(30, 24, 40, 0.85) 0%, rgba(18, 14, 25, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
}

.flip-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.flip-number {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.flip-front-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: var(--color-cream);
    margin-bottom: 12px;
}

.flip-hint {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    color: var(--color-rose-light);
    letter-spacing: 1px;
    padding: 4px 12px;
    background: rgba(217, 111, 134, 0.15);
    border-radius: 20px;
}

/* Back Side */
.flip-card-back {
    background: linear-gradient(145deg, #441d2c 0%, #20111a 100%);
    border: 1px solid rgba(245, 163, 181, 0.3);
    transform: rotateY(180deg);
}

.flip-back-heart {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.flip-card-back h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-accent-light);
    margin-bottom: 8px;
}

.flip-card-back p {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--color-cream);
    opacity: 0.95;
}

/* ============================================
   FINALE SECTION
   ============================================ */
.section-finale {
    min-height: 100vh;
    text-align: center;
}

.finale-content {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    background: linear-gradient(145deg, rgba(25, 20, 35, 0.8) 0%, rgba(15, 12, 22, 0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 36px;
    padding: 50px 30px;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(217, 111, 134, 0.2);
}

.finale-content.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.finale-hearts {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.heart {
    font-size: 1.8rem;
    opacity: 0;
    display: inline-block;
}

.finale-content.visible .heart {
    animation: heartFloat 3s ease-in-out var(--delay) infinite;
    opacity: 1;
}

@keyframes heartFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.15); }
}

.finale-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--color-cream);
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 0 0 40px var(--color-gold-glow);
}

.finale-name {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 9.5vw, 6rem);
    color: var(--color-rose-light);
    margin-bottom: 18px;
    text-shadow: 0 0 40px var(--color-rose-glow);
}

.finale-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 0 auto 22px;
}

.finale-message {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text);
    max-width: 520px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

.finale-message strong {
    color: var(--color-rose-light);
    font-weight: 600;
}

.finale-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    color: var(--color-gold);
    font-size: 1.1rem;
    opacity: 0.5;
}

.finale-decoration span:nth-child(3) {
    font-size: 1.5rem;
    color: var(--color-rose);
    opacity: 0.8;
}

/* ============================================
   POLAROID LIGHTBOX MODAL
   ============================================ */
.polaroid-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.polaroid-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 6, 12, 0.88);
    backdrop-filter: blur(16px);
}

.modal-card {
    position: relative;
    z-index: 10;
    background: #fff;
    padding: 14px 14px 22px;
    border-radius: 14px;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px var(--color-rose-glow);
    transform: scale(0.9) translateY(15px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.polaroid-modal.open .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-rose);
    color: #fff;
    border: 2px solid #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    z-index: 20;
}

.modal-close:hover {
    transform: scale(1.1) rotate(90deg);
    background: #e65675;
}

.modal-photo-wrapper {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    background: #201a28;
    position: relative;
}

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

.modal-note-box {
    padding: 14px 6px 4px;
    text-align: center;
    position: relative;
}

.modal-pin {
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 2px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #2c2226;
    margin-bottom: 6px;
}

.modal-note {
    font-family: var(--font-handwriting);
    font-size: 1.35rem;
    color: #4a363d;
    line-height: 1.35;
    margin-bottom: 10px;
}

.modal-sign {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-rose);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================
   WISH MODAL
   ============================================ */
.wish-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.wish-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.wish-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 8, 16, 0.88);
    backdrop-filter: blur(20px);
}

.wish-modal-card {
    position: relative;
    z-index: 10;
    background: linear-gradient(145deg, rgba(35, 25, 48, 0.95), rgba(20, 14, 28, 0.98));
    border: 1px solid rgba(229, 195, 120, 0.35);
    padding: 36px 24px;
    border-radius: 26px;
    width: 100%;
    max-width: 440px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px var(--color-gold-glow);
    transform: scale(0.9) translateY(15px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.wish-modal.open .wish-modal-card {
    transform: scale(1) translateY(0);
}

.wish-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-cream);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.wish-star-glow {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: starPulse 2s infinite ease-in-out;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 10px var(--color-gold)); }
    50% { transform: scale(1.15) rotate(15deg); filter: drop-shadow(0 0 25px var(--color-gold)); }
}

.wish-modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.wish-modal-text {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-cream);
    opacity: 0.95;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease-out;
}

.loading-content {
    text-align: center;
    padding: 20px;
}

.loading-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-cream);
    margin-bottom: 24px;
    letter-spacing: 1.5px;
}

.loading-bar-track {
    width: 240px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 0 auto 14px;
    overflow: hidden;
}

.loading-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-rose), var(--color-gold));
    border-radius: 4px;
    transition: width 0.1s ease-out;
}

.loading-percent {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--color-accent);
    letter-spacing: 1px;
}

/* ==========================================================================
   SUPERIOR RESPONSIVE DESIGN (Mobile, Tablet, Desktop)
   ========================================================================== */

/* ─── Tablet & Small Laptops (max-width: 1100px) ─── */
@media (max-width: 1100px) {
    .hero-photo-card {
        width: 135px;
        padding: 8px 8px 12px;
    }
    .hero-photo-inner {
        height: 125px;
    }
    .hero-photo-card.card-1 { top: 4%; left: 2%; }
    .hero-photo-card.card-2 { top: 4%; right: 2%; }
    .hero-photo-card.card-3 { top: 44%; left: 1%; }
    .hero-photo-card.card-4 { top: 44%; right: 1%; }
    .hero-photo-card.card-5 { bottom: 4%; left: 2%; }
    .hero-photo-card.card-6 { bottom: 4%; right: 2%; }
}

/* ─── Medium Tablets (max-width: 900px) ─── */
@media (max-width: 900px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

/* ─── Mobile Devices (max-width: 768px) ─── */
@media (max-width: 768px) {
    .section {
        padding: 60px 14px 40px;
        min-height: auto;
    }

    /* Top Controls (Wish & Music) */
    .top-controls {
        top: 12px;
        right: 12px;
        gap: 6px;
    }

    .wish-button, .music-toggle {
        padding: 6px 11px;
        font-size: 0.7rem;
        background: rgba(20, 15, 28, 0.8);
    }

    /* Page Navigation Dots */
    .page-dots {
        right: 8px;
        gap: 8px;
    }

    .dot {
        width: 7px;
        height: 7px;
    }

    /* Hero Section Mobile Layout */
    .section-hero {
        padding-top: 75px;
        padding-bottom: 40px;
        flex-direction: column;
        justify-content: flex-start;
    }

    /* Smooth Horizontal Swipeable Photo Carousel in Mobile Hero */
    .hero-photos-container {
        position: relative;
        display: flex;
        flex-direction: row;
        width: 100vw;
        left: -14px;
        margin-bottom: 20px;
        padding: 10px 18px 16px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 14px;
        pointer-events: auto;
    }

    .hero-photos-container::-webkit-scrollbar {
        display: none;
    }

    .hero-photo-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        flex: 0 0 120px;
        width: 120px;
        padding: 6px 6px 10px;
        transform: rotate(var(--rot)) !important;
        animation: none !important;
        scroll-snap-align: center;
    }

    .hero-photo-inner {
        height: 105px;
    }

    .photo-caption {
        font-size: 0.95rem;
        margin-top: 3px;
    }

    .photo-click-hint {
        font-size: 0.58rem;
    }

    /* Hero Center Box Mobile */
    .hero-center-box {
        padding: 30px 18px 24px;
        border-radius: 24px;
    }

    .hero-badge {
        font-size: 0.68rem;
        letter-spacing: 2px;
        padding: 5px 14px;
        margin-bottom: 14px;
    }

    .title-sub {
        font-size: 1.15rem;
    }

    .title-main {
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .title-name {
        font-size: 2.7rem;
    }

    .hero-description {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 22px;
    }

    .cta-button {
        padding: 11px 26px;
        font-size: 0.85rem;
    }

    /* Memory Sections Mobile Layout */
    .section-memory {
        min-height: 100vh;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .memory-row {
        flex-direction: column !important;
        gap: 20px;
        text-align: center;
    }

    .memory-row--photo-left {
        flex-direction: column !important;
    }

    .photo-bubble {
        flex: 0 0 160px;
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }

    .photo-glow {
        width: 180px;
        height: 180px;
    }

    .memory-card {
        width: 100%;
    }

    .memory-card-inner {
        padding: 26px 18px;
        border-radius: 22px;
    }

    .memory-icon {
        font-size: 1.8rem;
    }

    .memory-number {
        font-size: 2.6rem;
    }

    .memory-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .memory-divider {
        margin: 0 auto 14px;
    }

    .memory-text {
        font-size: 1.08rem;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .memory-date {
        justify-content: center;
        font-size: 0.78rem;
    }

    /* Mini Love Tags Mobile */
    .mini-note-tag {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 6px auto;
        display: flex;
        justify-content: center;
        width: fit-content;
        max-width: 95%;
        font-size: 0.72rem;
        padding: 6px 12px;
        animation: none !important;
        transform: none !important;
    }

    /* Rose Section Mobile */
    .section-rose {
        padding: 50px 14px 30px;
    }

    .rose-showcase-box {
        padding: 28px 16px 24px;
        border-radius: 24px;
    }

    .rose-badge {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
        padding: 4px 14px;
    }

    .rose-title {
        font-size: 1.7rem;
    }

    .rose-quote {
        font-size: 1.1rem;
        line-height: 1.65;
    }

    .rose-video-wrapper {
        border-radius: 14px;
        margin-bottom: 18px;
    }

    .rose-subtext {
        font-size: 1.3rem;
    }

    /* 3D Flip Reasons Mobile */
    .section-reasons {
        padding: 50px 14px 30px;
    }

    .reasons-header {
        margin-bottom: 30px;
    }

    .reasons-title {
        font-size: 1.7rem;
    }

    .reasons-subtitle {
        font-size: 1.08rem;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .reason-flip-card {
        height: 200px;
    }

    .flip-card-front, .flip-card-back {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .flip-icon {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }

    .flip-front-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .flip-card-back h4 {
        font-size: 1.15rem;
    }

    .flip-card-back p {
        font-size: 1.02rem;
        line-height: 1.45;
    }

    /* Finale Section Mobile */
    .finale-content {
        padding: 36px 18px;
        border-radius: 26px;
    }

    .finale-title {
        font-size: 1.9rem;
    }

    .finale-name {
        font-size: 2.8rem;
    }

    .finale-message {
        font-size: 1.12rem;
        line-height: 1.7;
    }

    /* Modal Mobile */
    .modal-card {
        max-width: 95%;
        padding: 10px 10px 18px;
    }

    .modal-photo-wrapper {
        height: 230px;
    }

    .modal-note {
        font-size: 1.25rem;
    }
}

/* ─── Ultra Small Mobiles (max-width: 400px) ─── */
@media (max-width: 400px) {
    .title-main {
        font-size: 1.5rem;
    }

    .title-name {
        font-size: 2.4rem;
    }

    .hero-photo-card {
        flex: 0 0 105px;
        width: 105px;
    }

    .hero-photo-inner {
        height: 95px;
    }

    .photo-bubble {
        flex: 0 0 140px;
        width: 140px;
        height: 140px;
    }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-gold), var(--color-rose));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-accent-light), var(--color-rose-light));
}
