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

:root {
    --primary-color: #ff6b9d;
    --secondary-color: #c44569;
    --accent-color: #ffa07a;
    --dark-bg: #1a1a2e;
    --light-text: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--light-text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* Floating Hearts */
.hearts-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.heart {
    position: absolute;
    font-size: 20px;
    opacity: 0;
    animation: floatHeart 8s ease-in infinite;
}

@keyframes floatHeart {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Pacifico', cursive;
    font-size: clamp(2rem, 8vw, 5rem);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 107, 157, 0.5);
}

.glowing-text {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(255, 107, 157, 0.5), 0 0 30px rgba(255, 107, 157, 0.3);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 107, 157, 0.8), 0 0 40px rgba(255, 107, 157, 0.5), 0 0 50px rgba(255, 107, 157, 0.3);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 40px;
    opacity: 0.9;
}

.scroll-indicator {
    margin-top: 60px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.arrow-down {
    width: 30px;
    height: 30px;
    border-right: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    transform: rotate(45deg);
    margin: 0 auto;
}

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

/* Love Counter Section */
.love-counter {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.love-counter h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 60px;
    font-family: 'Pacifico', cursive;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.counter-item {
    background: var(--gradient-2);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-10px);
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.counter-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Timeline Section */
.timeline {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.timeline h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 80px;
    font-family: 'Pacifico', cursive;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-1);
}

.timeline-item {
    margin-bottom: 80px;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    text-align: right;
}

.timeline-content {
    width: calc(50% - 40px);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 2px solid rgba(255, 107, 157, 0.3);
}

.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 30px;
    font-size: 2rem;
    background: var(--gradient-2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.5);
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -30px;
    left: auto;
    transform: translateX(50%);
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -30px;
    transform: translateX(-50%);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.timeline-date {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 15px;
    font-weight: 600;
}

.timeline-content p:last-child {
    line-height: 1.8;
    opacity: 0.9;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.gallery h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    font-family: 'Pacifico', cursive;
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 60px;
    opacity: 0.8;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    position: relative;
}

.image-placeholder::before {
    content: '📷';
    position: absolute;
    font-size: 3rem;
    opacity: 0.3;
}

/* Love Letter Section */
.love-letter {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.letter-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 107, 157, 0.3);
}

.letter-icon {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

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

.letter-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-family: 'Pacifico', cursive;
    color: var(--primary-color);
}

.letter-text {
    font-size: 1.1rem;
    line-height: 2;
    text-align: justify;
}

.letter-text p {
    margin-bottom: 20px;
}

.letter-signature {
    text-align: right;
    font-family: 'Pacifico', cursive;
    font-size: 1.3rem !important;
    margin-top: 40px !important;
    color: var(--primary-color);
}

/* Final Message */
.final-message {
    padding: 150px 0;
    position: relative;
    z-index: 2;
}

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

.final-content h2 {
    font-family: 'Pacifico', cursive;
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 20px;
}

.final-content p {
    font-size: 1.5rem;
    opacity: 0.8;
}

/* Music Section */
.music-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.music-header {
    text-align: center;
    margin-bottom: 50px;
}

.music-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: musicBounce 2s ease-in-out infinite;
}

@keyframes musicBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.music-header h2 {
    font-family: 'Pacifico', cursive;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    color: var(--primary-color);
}

.music-quote {
    font-size: 1.3rem;
    font-style: italic;
    opacity: 0.9;
    color: var(--accent-color);
    font-weight: 300;
}

/* Spotify Card */
.spotify-card {
    max-width: 400px;
    margin: 0 auto;
}

.spotify-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.spotify-card-inner {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2) 0%, rgba(196, 69, 105, 0.2) 100%);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 107, 157, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spotify-card-link:hover .spotify-card-inner {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(255, 107, 157, 0.4);
}

.album-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--gradient-2);
    border-radius: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.spotify-card-link:hover .album-cover {
    transform: scale(1.02);
}

.spotify-card-link:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.album-placeholder {
    font-size: 8rem;
    opacity: 0.8;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary-color);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    padding-left: 5px;
}

.song-info {
    text-align: center;
}

.song-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.artist-name {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 25px;
}

.listen-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--gradient-2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.3);
}

.listen-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.5);
}

.btn-icon {
    font-size: 1.3rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

footer p {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 100px);
        margin-left: 90px;
        text-align: left;
    }
    
    .timeline-icon {
        left: 0 !important;
        right: auto !important;
        transform: translateX(0) !important;
        top: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: -40px !important;
        right: auto !important;
        transform: translateX(0) !important;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .letter-content {
        padding: 40px 20px;
    }
    
    .spotify-card {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .spotify-card-inner {
        padding: 20px;
    }
    
    .album-placeholder {
        font-size: 5rem;
    }
    
    .song-title {
        font-size: 1.5rem;
    }
    
    .artist-name {
        font-size: 1rem;
    }
}
