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

:root {
    --primary-pink: #FF1493;
    --hot-pink: #FF69B4;
    --light-pink: #FFB6C1;
    --pale-pink: #FFC0CB;
    --deep-red: #DC143C;
    --white: #FFFFFF;
    --dark-text: #333333;
    --shadow: rgba(220, 20, 60, 0.3);
}

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, var(--pale-pink) 0%, var(--light-pink) 100%);
    color: var(--dark-text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header Styles */
header {
    background: linear-gradient(180deg, var(--primary-pink) 0%, var(--hot-pink) 100%);
    padding: 3rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
}

.header-content {
    position: relative;
    z-index: 2;
}

.main-title {
    font-family: 'Pacifico', cursive;
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--white);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.heart-animation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.heart {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.heart:nth-child(2) { animation-delay: 0.5s; }
.heart:nth-child(3) { animation-delay: 1s; }
.heart:nth-child(4) { animation-delay: 1.5s; }
.heart:nth-child(5) { animation-delay: 2s; }

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

.tagline {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    text-align: center;
}

.hero-section h2 {
    font-family: 'Permanent Marker', cursive;
    font-size: 2.5rem;
    color: var(--deep-red);
    margin-bottom: 2rem;
}

.obsession-meter {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    max-width: 500px;
    margin: 0 auto;
}

.obsession-meter p {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-pink);
    margin-bottom: 1rem;
}

.meter-fill {
    font-size: 2rem;
}

.meter-bar {
    background: var(--pale-pink);
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.meter-progress {
    background: linear-gradient(90deg, var(--hot-pink), var(--primary-pink));
    height: 100%;
    width: 100%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Love Notes Section */
.love-notes {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.5);
}

.love-notes h2 {
    font-family: 'Permanent Marker', cursive;
    font-size: 2.5rem;
    color: var(--deep-red);
    text-align: center;
    margin-bottom: 3rem;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.note {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

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

.note:hover {
    transform: rotate(0deg) scale(1.05);
}

.note h3 {
    font-family: 'Pacifico', cursive;
    color: var(--primary-pink);
    margin-bottom: 1rem;
}

/* Erik Facts Section */
.erik-facts {
    padding: 4rem 0;
}

.erik-facts h2 {
    font-family: 'Permanent Marker', cursive;
    font-size: 2.5rem;
    color: var(--deep-red);
    text-align: center;
    margin-bottom: 3rem;
}

.facts-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.fact-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

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

.fact-icon {
    font-size: 2rem;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.5);
}

.gallery-section h2 {
    font-family: 'Permanent Marker', cursive;
    font-size: 2.5rem;
    color: var(--deep-red);
    text-align: center;
    margin-bottom: 3rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.photo-placeholder {
    background: linear-gradient(135deg, var(--light-pink), var(--hot-pink));
    padding: 3rem 1rem;
    text-align: center;
    color: var(--white);
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.photo-placeholder span {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Dedication Section */
.dedication {
    padding: 4rem 0;
    text-align: center;
}

.dedication h2 {
    font-family: 'Permanent Marker', cursive;
    font-size: 2.5rem;
    color: var(--deep-red);
    margin-bottom: 2rem;
}

.poem {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.poem p {
    font-family: 'Pacifico', cursive;
    font-size: 1.5rem;
    line-height: 2;
    color: var(--primary-pink);
}

/* Footer */
footer {
    background: var(--deep-red);
    color: var(--white);
    padding: 3rem 1rem;
    text-align: center;
}

.footer-content h3 {
    font-family: 'Permanent Marker', cursive;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.disclaimer {
    font-size: 0.9rem;
    margin: 2rem auto;
    max-width: 600px;
    opacity: 0.9;
}

.copyright {
    margin-top: 1rem;
    opacity: 0.8;
}

/* Floating Hearts Animation */
.floating-hearts {
    position: fixed;
    bottom: 0;
    width: 100%;
    pointer-events: none;
    z-index: 1000;
}

.floating-heart {
    position: absolute;
    font-size: 2rem;
    animation: rise 10s linear infinite;
}

.floating-heart:nth-child(1) { left: 10%; animation-delay: 0s; }
.floating-heart:nth-child(2) { left: 50%; animation-delay: 3s; }
.floating-heart:nth-child(3) { left: 80%; animation-delay: 6s; }

@keyframes rise {
    0% {
        bottom: -50px;
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
    100% {
        bottom: 100vh;
        opacity: 0;
        transform: translateX(100px) rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .hero-section h2,
    .love-notes h2,
    .erik-facts h2,
    .gallery-section h2,
    .dedication h2 {
        font-size: 2rem;
    }
    
    .notes-grid,
    .facts-list {
        grid-template-columns: 1fr;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .social-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Accessibility - Focus Styles */
a:focus,
button:focus {
    outline: 3px solid var(--primary-pink);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .floating-hearts,
    .heart-animation {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    header {
        background: none;
        color: black;
    }
    
    .main-title,
    .tagline {
        color: black;
        text-shadow: none;
    }
}