/* ============================================
   CSS Variables - Color Palette
   Midnight blue + blush pink + soft white
   ============================================ */
:root {
    --midnight-blue: #0F172A;
    --blush-pink: #F8C8DC;
    --soft-white: #FAFAFA;
    --soft-pink: #F5D6E3;
    --deep-blue: #1E293B;
    --text-soft: rgba(15, 23, 42, 0.8);
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Hide scrollbar but keep functionality */
html::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

body {
    font-family: 'Cormorant Upright', serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.9;
    letter-spacing: 0.03em;
    color: var(--text-soft);
    background-color: var(--soft-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, var(--soft-white) 0%, var(--soft-pink) 100%);
    overflow: hidden;
}

/* Floating gradient orbs */
.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(248, 200, 220, 0.35) 0%, transparent 70%);
    top: -50px;
    left: -50px;
    animation: floatOrb1 25s ease-in-out infinite;
    filter: blur(50px);
    opacity: 0.7;
}

.hero::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 214, 227, 0.4) 0%, transparent 70%);
    bottom: -30px;
    right: -30px;
    animation: floatOrb2 30s ease-in-out infinite;
    filter: blur(45px);
    opacity: 0.6;
}

@keyframes floatOrb1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(60px, 50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 80px) scale(0.9);
    }
}

@keyframes floatOrb2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-50px, -60px) scale(1.15);
    }
    66% {
        transform: translate(40px, -30px) scale(0.85);
    }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.25;
    background-image: 
        radial-gradient(circle at 20% 30%, var(--blush-pink) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, var(--blush-pink) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, var(--blush-pink) 0.5px, transparent 0.5px);
    background-size: 60px 60px, 80px 80px, 40px 40px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    33% {
        transform: translateY(-20px) translateX(10px);
    }
    66% {
        transform: translateY(10px) translateX(-15px);
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 90%;
}

.hero-line-1 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 400;
    color: var(--midnight-blue);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUpBlur 1.2s ease-out 0.3s forwards;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.hero-line-2 {
    font-family: 'Cormorant Upright', serif;
    font-size: clamp(1.2rem, 4.5vw, 1.6rem);
    font-weight: 400;
    color: var(--midnight-blue);
    opacity: 0;
    animation: fadeUpBlur 1.2s ease-out 0.8s forwards;
    letter-spacing: 0.04em;
    font-style: italic;
}

@keyframes fadeUpBlur {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* ============================================
   Flirty Lines Section
   ============================================ */
.flirty-lines {
    padding: 4rem 1.5rem;
    background-color: var(--soft-white);
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Subtle background gradient animation */
.flirty-lines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(248, 200, 220, 0.08) 0%, transparent 70%);
    animation: gentlePulse 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gentlePulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.line {
    max-width: 85%;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.line.animate {
    opacity: 1;
    transform: translateY(0);
}

.line p {
    font-family: 'Cormorant Upright', serif;
    font-size: clamp(1.2rem, 4.5vw, 1.5rem);
    font-weight: 400;
    color: var(--midnight-blue);
    line-height: 1.8;
    letter-spacing: 0.04em;
    position: relative;
    z-index: 1;
}

/* ============================================
   Easter Egg Section
   ============================================ */
.easter-egg {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    background: linear-gradient(180deg, var(--soft-white) 0%, var(--soft-pink) 100%);
    position: relative;
    overflow: hidden;
}

/* Floating orbs in easter egg section */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(248, 200, 220, 0.3) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation: floatOrb3 20s ease-in-out infinite;
    filter: blur(40px);
    opacity: 0.6;
}

.orb-2 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(245, 214, 227, 0.35) 0%, transparent 70%);
    bottom: 15%;
    right: 15%;
    animation: floatOrb4 25s ease-in-out infinite;
    filter: blur(35px);
    opacity: 0.5;
}

@keyframes floatOrb3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(40px, -50px) scale(1.2);
    }
}

@keyframes floatOrb4 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-50px, 40px) scale(1.15);
    }
}

.heart-container {
    text-align: center;
    position: relative;
    z-index: 50;
}

.heart-button {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease;
    position: relative;
    animation: gentleBounce 3s ease-in-out infinite;
}

.heart-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.2) 0%, transparent 70%);
    animation: pulseRing 1.2s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

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

@keyframes pulseRing {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.heart-button:active {
    transform: scale(0.95) translateY(0);
}

.heart-icon {
    font-size: 4.5rem;
    display: block;
    animation: heartbeat 1.2s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(255, 107, 157, 0.6));
    cursor: pointer;
    transition: transform 0.1s ease;
    position: relative;
    z-index: 1;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 12px rgba(255, 107, 157, 0.6));
    }
    10% {
        transform: scale(1.15);
        filter: drop-shadow(0 6px 20px rgba(255, 107, 157, 0.9));
    }
    20% {
        transform: scale(1);
        filter: drop-shadow(0 4px 12px rgba(255, 107, 157, 0.6));
    }
    30% {
        transform: scale(1.25);
        filter: drop-shadow(0 8px 25px rgba(255, 107, 157, 1));
    }
    40% {
        transform: scale(1);
        filter: drop-shadow(0 4px 12px rgba(255, 107, 157, 0.6));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 5px 15px rgba(255, 107, 157, 0.7));
    }
    60% {
        transform: scale(1);
        filter: drop-shadow(0 4px 12px rgba(255, 107, 157, 0.6));
    }
}

.heart-text {
    font-family: 'Cormorant Upright', serif;
    font-size: clamp(2rem, 4.5vw, 2rem);
    font-weight: 400;
    color: var(--midnight-blue);
    letter-spacing: 0.06em;
    font-style: italic;
}

.hidden-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    pointer-events: none;
    max-width: 85%;
    min-width: 250px;
    width: fit-content;
    padding: 0;
    z-index: 100;
    box-sizing: border-box;
}

.hidden-message.show {
    opacity: 1;
    pointer-events: auto;
    animation: loveReveal 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes loveReveal {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3) rotate(-15deg);
        filter: blur(20px);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15) rotate(5deg);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        filter: blur(0);
    }
}

.hidden-message.show {
    transform: translate(-50%, -50%) scale(1);
}

.love-text {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 400;
    color: var(--midnight-blue);
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.03em;
    text-shadow: 0 4px 20px rgba(248, 200, 220, 0.6),
                 0 2px 10px rgba(248, 200, 220, 0.4),
                 0 0 30px rgba(248, 200, 220, 0.3);
    animation: textGlow 3s ease-in-out infinite;
    display: block;
    margin: 0;
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 2px solid rgba(248, 200, 220, 0.3);
    box-shadow: 0 8px 32px rgba(248, 200, 220, 0.3),
                0 0 60px rgba(248, 200, 220, 0.2);
    box-sizing: border-box;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.heart-red {
    color: #FF6B9D;
    display: inline-block;
    animation: heartBeat 1.8s ease-in-out infinite;
    text-shadow: 0 0 25px rgba(255, 107, 157, 0.8),
                 0 0 50px rgba(255, 107, 157, 0.5);
    margin-left: 0.3em;
    transform-origin: center;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 4px 20px rgba(248, 200, 220, 0.6),
                     0 2px 10px rgba(248, 200, 220, 0.4),
                     0 0 30px rgba(248, 200, 220, 0.3);
        box-shadow: 0 8px 32px rgba(248, 200, 220, 0.3),
                    0 0 60px rgba(248, 200, 220, 0.2);
    }
    50% {
        text-shadow: 0 6px 30px rgba(248, 200, 220, 0.8),
                     0 4px 15px rgba(248, 200, 220, 0.6),
                     0 0 50px rgba(255, 107, 157, 0.4),
                     0 0 80px rgba(248, 200, 220, 0.3);
        box-shadow: 0 12px 48px rgba(248, 200, 220, 0.5),
                    0 0 90px rgba(248, 200, 220, 0.4),
                    0 0 120px rgba(255, 107, 157, 0.2);
    }
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.3) rotate(-5deg);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    75% {
        transform: scale(1.25) rotate(-3deg);
    }
}

.easter-egg.active .heart-button {
    opacity: 0;
    transform: scale(1.5);
}

.easter-egg.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 5;
    animation: blurIn 0.8s ease-out forwards;
}

@keyframes blurIn {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    100% {
        opacity: 1;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* ============================================
   Final Romantic Section
   ============================================ */
.final-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.1rem;
    background-color: var(--midnight-blue);
    color: var(--soft-white);
    position: relative;
    overflow: hidden;
}

/* Subtle glow effect in final section */
.final-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(248, 200, 220, 0.1) 0%, transparent 70%);
    animation: gentlePulse 12s ease-in-out infinite;
    pointer-events: none;
}

.final-content {
    text-align: center;
    max-width: 90%;
}

.final-line-1{
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.2rem, 7vw, 3.2rem);
    font-weight: 400;
    color: var(--soft-white);
    margin-bottom: 1.8rem;
    opacity: 0;
    animation: fadeUpBlur 1s ease-out forwards;
    letter-spacing: 0.03em;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.final-line-2{
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.7rem, 4.9vw, 2.1rem);
    font-weight: 400;
    color: var(--soft-white);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUpBlur 1s ease-out forwards;
    letter-spacing: 0.03em;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.final-line-1 {
    animation-delay: 0.2s;
}

.final-line-2 {
    animation-delay: 0.6s;
}

.final-line-3 {
    font-family: 'Cormorant Upright', serif;
    font-size: clamp(1.2rem, 4.5vw, 1.5rem);
    font-weight: 400;
    color: var(--blush-pink);
    opacity: 0;
    animation: fadeUpBlur 1s ease-out 1s forwards;
    letter-spacing: 0.05em;
    margin-top: 2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 2.5rem 1.2rem;
    text-align: center;
    background-color: var(--midnight-blue);
    border-top: 1px solid rgba(248, 200, 220, 0.1);
}

.footer p {
    font-family: 'Cormorant Upright', serif;
    font-size: clamp(0.8rem, 3.3vw, 1.05rem);
    font-weight: 300;
    color: var(--blush-pink);
    opacity: 0.8;
    letter-spacing: 0.06em;
    animation: glow 3s ease-in-out infinite;
    font-style: italic;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.9;
    }
}

/* ============================================
   Responsive Adjustments
   ============================================ */

@media (min-width: 768px) {
    .hero,
    .flirty-lines,
    .easter-egg,
    .final-section {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    .line {
        max-width: 70%;
    }
    
    .love-text {
        font-size: clamp(2.5rem, 6vw, 4rem);
        padding: 2.5rem 4rem;
    }
    
    .hidden-message {
        min-width: 400px;
        max-width: 80%;
    }
}

