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

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    background: linear-gradient(135deg, #ffeef8 0%, #ffe0f0 25%, #ffd4e8 50%, #ffc7e0 75%, #ffb3d9 100%);
    background-attachment: fixed;
    position: relative;
}

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

.flower {
    position: absolute;
    font-size: 24px;
    opacity: 0.8;
    animation: fall linear infinite;
    text-shadow: 0 0 10px rgba(255, 192, 203, 0.5);
}

@keyframes fall {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg);
    }
    50% {
        transform: translateX(100px) rotate(180deg);
    }
    100% {
        top: 110%;
        transform: translateX(-100px) rotate(360deg);
    }
}

/* Main Container */
.container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-wrapper {
    max-width: 900px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.name-title {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight: 700;
    color: #ff1493;
    margin-bottom: 15px;
    text-shadow: 
        2px 2px 4px rgba(255, 105, 180, 0.3),
        4px 4px 8px rgba(255, 20, 147, 0.2),
        6px 6px 12px rgba(255, 192, 203, 0.1);
    letter-spacing: 8px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 
            2px 2px 4px rgba(255, 105, 180, 0.3),
            4px 4px 8px rgba(255, 20, 147, 0.2),
            6px 6px 12px rgba(255, 192, 203, 0.1);
    }
    to {
        text-shadow: 
            2px 2px 8px rgba(255, 105, 180, 0.6),
            4px 4px 16px rgba(255, 20, 147, 0.4),
            6px 6px 24px rgba(255, 192, 203, 0.3),
            0 0 40px rgba(255, 105, 180, 0.4);
    }
}

.shimmer {
    background: linear-gradient(
        90deg,
        #ff1493 0%,
        #ff69b4 25%,
        #ffc0cb 50%,
        #ff69b4 75%,
        #ff1493 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.subtitle {
    font-size: 1.8rem;
    color: #d81b60;
    font-weight: 300;
    letter-spacing: 2px;
    animation: slideIn 1.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Photo Section */
.photo-container {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    animation: scaleIn 1.5s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.photo-frame {
    display: inline-block;
    position: relative;
    padding: 8px;
    background: linear-gradient(135deg, #fff 0%, #ffe4e1 100%);
    border-radius: 50%;
    box-shadow: 
        0 10px 30px rgba(255, 20, 147, 0.3),
        0 0 60px rgba(255, 105, 180, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
    transition: all 0.5s ease;
}

.photo-frame:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 15px 40px rgba(255, 20, 147, 0.4),
        0 0 80px rgba(255, 105, 180, 0.3),
        inset 0 0 25px rgba(255, 255, 255, 0.6);
}

.photo-slider {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: opacity 0.8s ease;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.photo.active {
    opacity: 1;
    z-index: 1;
}

.photo-overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0) 60%, rgba(255, 192, 203, 0.2) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ffffff 0%, #ffe4e1 100%);
    border: none;
    color: #ff1493;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 
        0 4px 15px rgba(255, 20, 147, 0.3),
        0 0 20px rgba(255, 192, 203, 0.2);
    line-height: 1;
    font-family: Arial, sans-serif;
}

.slider-btn:hover {
    background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
    color: white;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 
        0 6px 20px rgba(255, 20, 147, 0.5),
        0 0 30px rgba(255, 105, 180, 0.4);
}

.slider-btn:active {
    transform: translateY(-50%) scale(1.05);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 105, 180, 0.6);
    box-shadow: 0 2px 5px rgba(255, 20, 147, 0.2);
}

.dot:hover {
    background: rgba(255, 105, 180, 0.7);
    transform: scale(1.2);
    border-color: #ff69b4;
    box-shadow: 0 2px 8px rgba(255, 20, 147, 0.4);
}

.dot.active {
    background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
    width: 28px;
    border-radius: 6px;
    border-color: #ff1493;
    box-shadow: 
        0 2px 10px rgba(255, 20, 147, 0.5),
        0 0 15px rgba(255, 105, 180, 0.3);
}

.heart-decoration {
    margin-top: 20px;
    font-size: 2.5rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

.heart {
    display: inline-block;
    margin: 0 10px;
    animation: float 3s ease-in-out infinite;
}

.heart:nth-child(1) {
    animation-delay: 0s;
}

.heart:nth-child(2) {
    animation-delay: 0.5s;
}

.heart:nth-child(3) {
    animation-delay: 1s;
}

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

/* Message Section */
.message-section {
    margin-bottom: 50px;
}

.message-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 
        0 20px 60px rgba(255, 20, 147, 0.2),
        0 0 40px rgba(255, 192, 203, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.5s ease;
}

.message-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 25px 70px rgba(255, 20, 147, 0.3),
        0 0 50px rgba(255, 192, 203, 0.4);
}

.message-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #ff1493;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

.message-content {
    line-height: 2;
    color: #555;
}

.message-text {
    font-size: 1.15rem;
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInText 1s ease-out forwards;
}

.fade-in-1 {
    animation-delay: 0.5s;
}

.fade-in-2 {
    animation-delay: 1s;
}

.fade-in-3 {
    animation-delay: 1.5s;
}

.fade-in-4 {
    animation-delay: 2s;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-text strong {
    color: #ff1493;
    font-size: 1.3rem;
}

.signature {
    text-align: right;
    margin-top: 40px;
    font-style: italic;
    color: #d81b60;
    font-size: 1.2rem;
}

.signature-text {
    display: inline-block;
    padding: 10px 20px;
    border-top: 2px solid #ffc0cb;
    border-bottom: 2px solid #ffc0cb;
}

/* Music Control */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 
        0 10px 30px rgba(255, 20, 147, 0.4),
        0 0 20px rgba(255, 105, 180, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.music-control:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(255, 20, 147, 0.5),
        0 0 30px rgba(255, 105, 180, 0.4);
}

.music-control.playing {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 
            0 10px 30px rgba(255, 20, 147, 0.4),
            0 0 20px rgba(255, 105, 180, 0.3);
    }
    50% {
        box-shadow: 
            0 15px 40px rgba(255, 20, 147, 0.6),
            0 0 40px rgba(255, 105, 180, 0.5);
    }
}

.music-icon {
    font-size: 1.5rem;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.music-control:not(.playing) .music-icon {
    animation: none;
}

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

.floating-heart {
    position: absolute;
    font-size: 30px;
    opacity: 0.6;
    animation: floatUp 6s linear infinite;
}

@keyframes floatUp {
    0% {
        bottom: -10%;
        opacity: 0.6;
        transform: translateX(0) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: translateX(50px) rotate(180deg);
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(-50px) rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .name-title {
        font-size: 4rem;
        letter-spacing: 4px;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .photo-frame {
        padding: 6px;
    }
    
    .photo-slider {
        width: 200px;
        height: 200px;
    }
    
    .photo {
        width: 200px;
        height: 200px;
        border: 2px solid #fff;
    }
    
    .photo-overlay {
        top: 6px;
        left: 6px;
        right: 6px;
        bottom: 6px;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }
    
    .prev-btn {
        left: -22px;
    }
    
    .next-btn {
        right: -22px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .dot.active {
        width: 22px;
    }
    
    .message-card {
        padding: 30px;
    }
    
    .message-title {
        font-size: 1.8rem;
    }
    
    .message-text {
        font-size: 1rem;
    }
    
    .music-control {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .name-title {
        font-size: 3rem;
        letter-spacing: 2px;
    }
    
    .subtitle {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .photo-frame {
        padding: 5px;
    }
    
    .photo-slider {
        width: 150px;
        height: 150px;
    }
    
    .photo {
        width: 150px;
        height: 150px;
        border: 2px solid #fff;
    }
    
    .photo-overlay {
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    
    .prev-btn {
        left: -17px;
    }
    
    .next-btn {
        right: -17px;
    }
    
    .dot {
        width: 7px;
        height: 7px;
    }
    
    .dot.active {
        width: 18px;
    }
    
    .slider-dots {
        gap: 8px;
    }
    
    .heart-decoration {
        font-size: 2rem;
    }
    
    .message-card {
        padding: 20px;
    }
    
    .message-title {
        font-size: 1.5rem;
    }
    
    .message-text {
        font-size: 0.95rem;
        line-height: 1.8;
    }
}

