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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.container {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hearts-background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.heart {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.heart-1 {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
    font-size: 1.5rem;
}

.heart-2 {
    top: 20%;
    right: 20%;
    animation-delay: 1s;
    font-size: 2.5rem;
}

.heart-3 {
    bottom: 30%;
    left: 10%;
    animation-delay: 2s;
    font-size: 1.8rem;
}

.heart-4 {
    bottom: 15%;
    right: 15%;
    animation-delay: 3s;
    font-size: 2rem;
}

.heart-5 {
    top: 50%;
    left: 5%;
    animation-delay: 4s;
    font-size: 1.2rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 0.3;
    }
}

.main-content {
    text-align: center;
    z-index: 10;
    position: relative;
    max-width: 600px;
    width: 90%;
    padding: 2rem;
}

.title {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out;
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.message-container {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.message-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.message-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.love-message {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 400;
    min-height: 3rem;
    transition: opacity 0.5s ease;
}

.message-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-style: italic;
    color: #7f8c8d;
    font-size: 1rem;
}

.heart-icon {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

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

.new-message-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(238, 90, 36, 0.4);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.new-message-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(238, 90, 36, 0.6);
    background: linear-gradient(135deg, #ff5252, #d84315);
}

.new-message-btn:active {
    transform: translateY(0);
}

.btn-heart {
    animation: heartbeat 1.5s infinite;
}

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

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

/* Mobile responsiveness */
@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }
    
    .love-message {
        font-size: 1.2rem;
    }
    
    .message-card {
        padding: 2rem 1.5rem;
    }
    
    .main-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2.5rem;
    }
    
    .love-message {
        font-size: 1.1rem;
    }
    
    .message-card {
        padding: 1.5rem 1rem;
    }
}