/* ==========================================================
   APPLE / AWWWARDS / FRAMER GRADE STYLING FOR SANA KHAN
   ========================================================== */

:root {
    --primary: #FF4F81;
    --primary-light: #FFD6E8;
    --bg-light: #FFF8FB;
    --white: #FFFFFF;
    --gold: #D4AF37;
    --soft-pink: #FFE4EC;
    --rose: #E05672;
    --dark-bg: #0A0A0C;
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 8px 32px 0 rgba(255, 79, 129, 0.15);
    --font-heading: 'Playfair Display', serif;
    --font-sub: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-light);
    color: #2D2D2D;
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    position: relative;
    background: linear-gradient(135deg, #FFF8FB 0%, #FFE4EC 50%, #FFD6E8 100%);
    min-height: 100vh;
}

/* CUSTOM CURSOR */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 79, 129, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s ease-out, width 0.3s, height 0.3s;
}

/* INTRO ANIMATION */
.intro-overlay {
    position: fixed;
    inset: 0;
    background: var(--dark-bg);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s;
}

.intro-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.intro-content {
    text-align: center;
    z-index: 2;
}

.glowing-heart {
    font-size: 4rem;
    animation: pulseGlow 2s infinite alternate;
    margin-bottom: 2rem;
}

@keyframes pulseGlow {
    0% { transform: scale(1); filter: drop-shadow(0 0 10px var(--primary)); }
    100% { transform: scale(1.15); filter: drop-shadow(0 0 35px var(--primary)); }
}

.typing-text {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 2px;
}

/* HEART RAIN CANVAS */
#heart-rain-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* MAIN CONTAINER & SECTIONS */
.main-container {
    position: relative;
    z-index: 2;
}

.section {
    min-height: 100vh;
    padding: 8rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
}

.section-tag {
    font-family: var(--font-sub);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--rose);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #1A1A1A;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-desc {
    font-size: 1.15rem;
    color: #555555;
    line-height: 1.6;
}

/* GLASSMORPHISM UTILITY */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 79, 129, 0.25);
    border-color: rgba(255, 79, 129, 0.4);
}

/* SECTION 1: HERO */
.hero-section {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 214, 232, 0.8) 0%, rgba(255, 79, 129, 0.2) 50%, transparent 100%);
    animation: gradientShift 10s infinite alternate;
}

@keyframes gradientShift {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.2); opacity: 1; }
}

.floating-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: floatBlob 12s infinite alternate ease-in-out;
}

.blob-1 { width: 400px; height: 400px; background: #FFD6E8; top: -10%; left: -10%; }
.blob-2 { width: 500px; height: 500px; background: #FF4F81; bottom: -10%; right: -10%; animation-delay: -4s; }
.blob-3 { width: 300px; height: 300px; background: #FFF0F5; top: 40%; left: 60%; animation-delay: -8s; }

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 40px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-sub);
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--rose);
    border: 1px solid rgba(255, 79, 129, 0.2);
    display: inline-block;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(255, 79, 129, 0.1);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #1A1A1A 0%, var(--rose) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #4A4A4A;
    margin-bottom: 3rem;
    font-weight: 400;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--rose) 100%);
    color: var(--white);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-family: var(--font-sub);
    font-size: 1rem;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 79, 129, 0.4);
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.primary-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 79, 129, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid #555;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

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

.scroll-indicator span {
    font-size: 0.8rem;
    font-family: var(--font-sub);
    letter-spacing: 2px;
    color: #555;
}

/* SECTION 2: TIMELINE */
.timeline-section {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.timeline-container {
    max-width: 1000px;
    width: 100%;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6rem;
    width: 100%;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-card {
    width: 45%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

.timeline-date {
    font-family: var(--font-sub);
    color: var(--rose);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    display: block;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1A1A1A;
}

.timeline-desc {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.timeline-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* SECTION 3: REASONS WHY I LOVE YOU */
.reasons-section {
    background: transparent;
}

.progress-bar-wrapper {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    height: 12px;
    margin: 1.5rem auto 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--rose));
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 50px;
}

.progress-text {
    font-size: 0.85rem;
    font-family: var(--font-sub);
    color: #555;
    margin-top: 0.5rem;
    display: block;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    width: 100%;
}

.reason-card {
    height: 110px;
    perspective: 1000px;
    cursor: pointer;
}

.reason-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(255, 79, 129, 0.1);
}

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

.reason-front, .reason-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.reason-front {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    font-family: var(--font-sub);
    font-size: 1.2rem;
    color: var(--rose);
    font-weight: 700;
}

.reason-back {
    background: linear-gradient(135deg, var(--primary) 0%, var(--rose) 100%);
    color: var(--white);
    transform: rotateY(180deg);
    font-size: 0.8rem;
    line-height: 1.3;
    text-align: center;
    font-weight: 500;
}

/* SECTION 4: PHOTO GALLERY */
.gallery-section {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.masonry-gallery {
    columns: 3 300px;
    column-gap: 2rem;
    max-width: 1200px;
    width: 100%;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 79, 129, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.gallery-overlay h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: var(--white);
    font-size: 0.9rem;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 85vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: var(--white);
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: var(--white);
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: var(--primary);
}

.lightbox-close { top: 30px; right: 30px; }
.lightbox-prev { top: 50%; left: 40px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 40px; transform: translateY(-50%); }

/* SECTION 5: MEMORY BOOK */
.book-section {
    background: transparent;
}

.book-wrapper {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.book {
    width: 100%;
    height: 500px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(255, 79, 129, 0.2);
    border: 1px solid var(--glass-border);
    display: flex;
    overflow: hidden;
    position: relative;
}

.book-page {
    position: absolute;
    inset: 0;
    display: flex;
    padding: 4rem;
    gap: 3rem;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(50px);
}

.book-page.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.book-img-wrapper {
    flex: 1;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.book-text-wrapper {
    flex: 1;
}

.book-text-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #1A1A1A;
}

.book-text-wrapper p {
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
}

.book-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.book-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-sub);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.book-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.page-indicator {
    font-family: var(--font-sub);
    font-size: 0.9rem;
    color: #555;
}

/* SECTION 6: MUSIC PLAYER */
.music-section {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.glass-music-player {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 800px;
    width: 100%;
    box-shadow: var(--glass-shadow);
}

.album-art-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 79, 129, 0.3);
    flex-shrink: 0;
}

.album-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-art.rotating {
    animation: rotateVinyl 10s linear infinite;
    animation-play-state: paused;
}

.album-art.rotating.playing {
    animation-play-state: running;
}

@keyframes rotateVinyl {
    100% { transform: rotate(360deg); }
}

.player-details {
    flex-grow: 1;
}

.song-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
    color: #1A1A1A;
}

.song-artist {
    color: var(--rose);
    font-family: var(--font-sub);
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.progress-container {
    width: 100%;
    height: 8px;
    background: rgba(0,0,0,0.08);
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    border-radius: 4px;
    transition: width 0.1s linear;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 1.5rem;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.control-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--glass-border);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.control-btn:hover {
    background: var(--primary-light);
}

.primary-control {
    background: linear-gradient(135deg, var(--primary) 0%, var(--rose) 100%);
    color: var(--white);
    width: 65px;
    height: 65px;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(255, 79, 129, 0.4);
}

.primary-control:hover {
    transform: scale(1.05);
}

.volume-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
}

.volume-wrapper input[type="range"] {
    accent-color: var(--primary);
    cursor: pointer;
}

/* SECTION 7: LOVE LETTER */
.letter-section {
    background: transparent;
}

.envelope-container {
    max-width: 700px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.envelope {
    width: 100%;
    height: 400px;
    background: #FFF;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(255, 79, 129, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #FFE4EC 0%, #FFD6E8 100%);
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    transform-origin: top;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 4;
}

.envelope.open .envelope-flap {
    transform: rotateX(180deg);
    z-index: 1;
}

.wax-seal {
    position: absolute;
    top: 170px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: #C93B5B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 5;
    transition: var(--transition-smooth);
}

.envelope.open .wax-seal {
    opacity: 0;
    pointer-events: none;
}

.envelope-pocket {
    position: absolute;
    inset: 0;
    background: #FFF2F6;
    border-radius: 20px;
    z-index: 3;
    pointer-events: none;
}

.letter-paper {
    position: absolute;
    top: 20px;
    left: 5%;
    width: 90%;
    height: 90%;
    background: #FFFDF9;
    background-image: linear-gradient(#eee 1px, transparent 1px);
    background-size: 100% 30px;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
    z-index: 2;
    overflow-y: auto;
}

.envelope.open .letter-paper {
    transform: translateY(-320px);
    z-index: 6;
    height: 550px;
}

.letter-salutation {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1A1A1A;
}

.letter-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
}

.letter-signoff {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-align: right;
    color: var(--rose);
}

.envelope-hint {
    margin-top: 2rem;
    font-family: var(--font-sub);
    font-size: 0.9rem;
    color: var(--rose);
    letter-spacing: 2px;
}

/* SECTION 8: 100 DATE IDEAS */
.dates-section {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-sub);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.random-date-btn {
    background: linear-gradient(135deg, var(--gold) 0%, #B8860B 100%);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-sub);
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    margin-top: 1rem;
    transition: var(--transition-smooth);
}

.random-date-btn:hover {
    transform: scale(1.05);
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    margin-top: 3rem;
}

.date-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.date-card:hover {
    transform: translateY(-8px);
}

.date-tag {
    font-family: var(--font-sub);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--rose);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: block;
}

.date-card h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #1A1A1A;
}

.date-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* SECTION 9: COUNTDOWN */
.countdown-section {
    background: transparent;
}

.countdown-glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 4rem;
    max-width: 900px;
    width: 100%;
    text-align: center;
    box-shadow: var(--glass-shadow);
}

.countdown-timer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.time-box {
    background: rgba(255, 79, 129, 0.05);
    border: 1px solid rgba(255, 79, 129, 0.15);
    border-radius: 20px;
    padding: 2rem 1rem;
}

.time-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.time-label {
    font-family: var(--font-sub);
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #555;
    text-transform: uppercase;
}

/* SECTION 10: OUR FUTURE */
.future-section {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    width: 100%;
}

.future-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    position: relative;
}

.future-card:hover {
    transform: translateY(-8px);
}

.future-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.future-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #1A1A1A;
}

.future-card p {
    color: #555;
    line-height: 1.7;
}

/* SECTION 11: PROMISE SECTION */
.promise-section {
    background: transparent;
}

.promises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
}

.promise-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.promise-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.promise-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1A1A1A;
}

.promise-card p {
    color: #555;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, margin-top 0.5s ease;
}

.promise-card.expanded p {
    max-height: 200px;
    margin-top: 1rem;
}

/* SECTION 12: INTERACTIVE NIGHT SKY */
.nightsky-section {
    background: var(--dark-bg);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.nightsky-section .section-title {
    color: var(--white);
}

.nightsky-section .section-desc {
    color: #AAA;
}

.nightsky-container {
    width: 100%;
    max-width: 1200px;
    height: 500px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.star {
    position: absolute;
    background: #FFF;
    border-radius: 50%;
    cursor: pointer;
    animation: twinkle 3s infinite alternate ease-in-out;
    transition: transform 0.3s;
}

.star:hover {
    transform: scale(2.5);
    background: var(--primary);
}

.star.special-star {
    background: var(--gold);
    box-shadow: 0 0 15px var(--gold);
}

@keyframes twinkle {
    0% { opacity: 0.3; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); }
}

/* SECTION 14: SCRATCH CARD */
.scratch-section {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.scratch-card-wrapper {
    position: relative;
    width: 400px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scratch-canvas {
    position: absolute;
    inset: 0;
    cursor: crosshair;
    z-index: 2;
}

.scratch-hidden-content {
    text-align: center;
    padding: 2rem;
    z-index: 1;
}

.scratch-hidden-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.scratch-hidden-content p {
    color: #555;
}

/* SECTION 15: TREASURE HUNT */
.treasure-section {
    background: transparent;
}

.score-board {
    font-family: var(--font-sub);
    font-size: 1rem;
    color: var(--rose);
    margin-top: 1rem;
    letter-spacing: 1px;
}

.game-arena {
    width: 100%;
    max-width: 900px;
    height: 450px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glass-shadow);
    margin-top: 2rem;
}

.game-heart {
    position: absolute;
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
    animation: floatHeartGame 4s infinite linear;
    transition: transform 0.2s;
}

.game-heart:hover {
    transform: scale(1.4);
}

@keyframes floatHeartGame {
    0% { transform: translateY(400px) rotate(0deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-50px) rotate(360deg); opacity: 0; }
}

/* SECTION 16: LOVE QUIZ */
.quiz-section {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.quiz-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 4rem;
    max-width: 800px;
    width: 100%;
    box-shadow: var(--glass-shadow);
}

.quiz-question {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1A1A1A;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz-option-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--glass-border);
    padding: 1.2rem 2rem;
    border-radius: 16px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.quiz-option-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    transform: translateX(8px);
}

.quiz-option-btn.correct {
    background: #4CAF50;
    color: var(--white);
    border-color: #4CAF50;
}

.quiz-option-btn.incorrect {
    background: #F44336;
    color: var(--white);
    border-color: #F44336;
}

/* SECTION 17: OPEN WHEN */
.openwhen-section {
    background: transparent;
}

.gift-boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
}

.gift-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--glass-shadow);
}

.gift-box:hover {
    transform: translateY(-10px) scale(1.03);
    background: linear-gradient(135deg, #FFF 0%, #FFE4EC 100%);
}

.gift-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: bounceGift 2s infinite alternate;
}

@keyframes bounceGift {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.gift-box h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1A1A1A;
}

.gift-box p {
    font-size: 0.85rem;
    color: var(--rose);
    font-family: var(--font-sub);
    letter-spacing: 1px;
}

/* SECTION 18: MESSAGE WALL */
.wall-section {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.add-note-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.add-note-form input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.sticky-notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    margin-top: 3rem;
}

.sticky-note {
    background: #FFF9C4;
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative;
    transform: rotate(-2deg);
    transition: var(--transition-smooth);
    font-family: var(--font-body);
    color: #333;
}

.sticky-note:nth-child(even) {
    background: #FFD1DC;
    transform: rotate(2deg);
}

.sticky-note:nth-child(3n) {
    background: #C8E6C9;
    transform: rotate(-1deg);
}

.sticky-note:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 10;
}

.sticky-note p {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* SECTION 20: FINAL SECTION */
.final-section {
    background: var(--dark-bg);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-nightsky {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.glowing-moon {
    width: 120px;
    height: 120px;
    background: #FFF;
    border-radius: 50%;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.8);
}

.fireflies-container {
    position: absolute;
    inset: 0;
}

.firefly {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold);
    animation: flyFirefly 8s infinite alternate ease-in-out;
}

@keyframes flyFirefly {
    0% { transform: translate(0, 0); opacity: 0.2; }
    50% { opacity: 1; }
    100% { transform: translate(100px, -150px); opacity: 0.2; }
}

.final-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.final-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.4;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.final-subtitle {
    font-size: 1.5rem;
    color: #AAA;
    margin-bottom: 3rem;
    font-family: var(--font-sub);
    letter-spacing: 2px;
}

.final-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--rose) 100%);
    color: var(--white);
    padding: 1.5rem 4rem;
    border-radius: 50px;
    font-family: var(--font-sub);
    font-size: 1.2rem;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(255, 79, 129, 0.6);
    transition: var(--transition-smooth);
}

.final-btn:hover {
    transform: scale(1.08);
}

/* SECRET MODAL */
.secret-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(20px);
    z-index: 20000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.secret-modal.active {
    opacity: 1;
    visibility: visible;
}

.secret-glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    color: var(--white);
    position: relative;
    box-shadow: 0 20px 60px rgba(255, 79, 129, 0.4);
}

.close-secret {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: #AAA;
    transition: var(--transition-smooth);
}

.close-secret:hover {
    color: var(--white);
}

.secret-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.secret-glass-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.secret-glass-card p {
    color: #DDD;
    font-size: 1.1rem;
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

/* RESPONSIVE DESIGN */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media(max-width: 968px) {
    .hero-title { font-size: 3.8rem; }
    .section-title { font-size: 2.8rem; }
    .timeline-container::before { left: 30px; }
    .timeline-item { flex-direction: column !important; align-items: flex-start; padding-left: 60px; }
    .timeline-card { width: 100%; }
    .glass-music-player { flex-direction: column; text-align: center; }
    .volume-wrapper { justify-content: center; }
    .countdown-timer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 576px) {
    .hero-title { font-size: 2.8rem; }
    .section-title { font-size: 2.2rem; }
    .section { padding: 5rem 1rem; }
    .countdown-timer-grid { grid-template-columns: 1fr; }
}