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

body {
    font-family: 'Georgia', serif;
    background-color: #fff0f5;
    min-height: 100vh;
}

body {
    overflow: hidden;
}


.navbar {
    width: 100%;
    height: 60px;
    background-color: #e91e63;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.hero h1 {
    font-family: 'Baloo 2', cursive;
    font-size: 3.5rem;
    color: #c2185b;
    text-align: center;
}
.my-love {
    color: #ff4d6d;
    font-weight: 700;
}

.image-scroller {
    margin-bottom: 0px;
}

.stats-section {
    margin-bottom: 20px;
}

.button-section {
    margin-bottom: 200px;
}

.heart-section {
    margin-bottom: 180px;
}

/* Image Scroller Section */
.image-scroller {
    width: 100%;
    overflow: hidden;
    padding: 15px 0;
    position: relative;
}

/* Fade effect on edges */
.image-scroller::before,
.image-scroller::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.image-scroller::before {
    left: 0;
    background: linear-gradient(to right, #fff0f5, transparent);
}

.image-scroller::after {
    right: 0;
    background: linear-gradient(to left, #fff0f5, transparent);
}

.scroll-track {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
}

.scroll-content {
    display: flex;
    gap: 20px;
    padding: 0 10px;
}

.scroll-content img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Reverse scroll direction */
.image-scroller.reverse .scroll-track {
    animation: scroll-reverse 20s linear infinite;
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Button Section */
.button-section {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
}

.love-button {
    padding: 25px 50px;
    font-size: 1.8rem;
    font-family: 'Georgia', serif;
    background-color: #e91e63;
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.love-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.5);
}

.love-button:active {
    transform: translateY(0);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.overlay.active {
    display: flex;
}

.overlay-content {
    background-color: #fff0f5;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    margin: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.overlay-content p {
    font-size: 1.5rem;
    color: #c2185b;
    margin-bottom: 30px;
    line-height: 1.6;
}

.close-btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    background-color: #e91e63;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background-color: #c2185b;
}

/* Heart Section */
.heart-section {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
}

.heart-container {
    width: 300px;
    height: 280px;
    background: radial-gradient(circle at 50% 40%, #ff6b9d 0%, #e91e63 60%, #c2185b 100%);
    clip-path: path('M150,30 C100,-20 0,20 0,90 C0,160 150,270 150,270 C150,270 300,160 300,90 C300,20 200,-20 150,30 Z');
}


/* Scroll Fade-In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.space{
    margin-bottom: 50%;
}

/* Stats Section */
.stats-section {
    padding: 60px 20px;
    text-align: center;
}

.stats-section h2 {
    font-size: 2.2rem;
    color: #c2185b;
    margin-bottom: 40px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.15);
    min-width: 180px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #e91e63;
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: #888;
}
.stat-btn {
    background-color: #ff6b81;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    margin: 0 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

.stat-btn:hover {
    background-color: #ff4a63;
}

.stat-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* space between buttons and number */
    margin-top: 10px;
}

/* Intro Overlay - darker pink background */
.intro-screen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ff6b9d; /* darker pink for intro */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}



.intro-content {
    text-align: center;
}

.intro-heart {
    position: relative;
    width: 200px;
    height: 200px;
    background-color: #fff;
    margin: 0 auto;
    cursor: pointer;
    transform: rotate(45deg);  /* Changed from -45deg to 45deg */
    animation: heartbeat 2s infinite;
}

/* Left and right top bumps */
.intro-heart::before,
.intro-heart::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: #fff;
    border-radius: 50%;
}

.intro-heart::before { 
    left: -100px;
    top: 0;
}

.intro-heart::after { 
    left: 0;
    top: -100px;
}

/* Heartbeat animation */
@keyframes heartbeat {
    0%, 100% { transform: rotate(45deg) scale(1); }
    25%, 75% { transform: rotate(45deg) scale(1.1); }
    50% { transform: rotate(45deg) scale(1); }
}



.intro-text {
    margin-top: 80px;
    font-size: 1.8rem;
    font-family: 'Baloo 2', cursive;
    color: white;
}

.intro-screen.slide-away {
    transform: translateY(-100%);
    transition: transform 1.2s ease-in-out;
}

/* Floating Hearts Container */
.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* can still clikc other stuff */
    overflow: hidden;
    z-index: 1;
}

/* Individual heart */
.floating-heart {
    position: absolute;
    bottom: -50px;
    font-size: 28px;             
    color: #ff4d6d;             
    opacity: 0.35;              
    text-shadow: 0 0 8px rgba(255, 77, 109, 0.4); 
    animation: floatUp linear infinite;
}

/* Floating animation */
@keyframes floatUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-110vh);
    }
}

.love-letter-section {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.love-letter-container {
    max-width: 700px;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.15);
}

.love-letter-container h2 {
    font-size: 2rem;
    color: #c2185b;
    margin-bottom: 30px;
}

#typewriter-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #444;
    min-height: 150px;
}

