* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.heart {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ff6b9d;
    transform: rotate(-45deg);
    animation: float 6s ease-in-out infinite;
    opacity: 0.7;
}

.heart:before,
.heart:after {
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    left: 10px;
    top: 0;
    background: #ff6b9d;
    border-radius: 10px;
    transform: rotate(-45deg);
    transform-origin: 0 10px;
}

.heart:after {
    left: 0;
    transform: rotate(45deg);
    transform-origin: 10px 10px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(-45deg); }
    50% { transform: translateY(-20px) rotate(-45deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

header {
    text-align: center;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #d63384;
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    color: #6f42c1;
    font-size: 1.2em;
    font-style: italic;
}

.date-ideas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.date-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #f8d7da;
}

.date-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.date-card h3 {
    color: #d63384;
    font-size: 1.5em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.flower {
    display: inline-block;
    font-size: 1.5em;
    animation: spin 8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.romantic-quote {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    font-size: 1.3em;
    color: #6f42c1;
    font-style: italic;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-romantic {
    background: linear-gradient(45deg, #ff6b9d, #d63384);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(214, 51, 132, 0.3);
}

.btn-romantic:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 51, 132, 0.4);
}

.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 768px) {
    h1 { font-size: 2em; }
    .date-ideas { grid-template-columns: 1fr; }
}

/* Custom Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup {
    background: linear-gradient(135deg, #fff 0%, #fef7f7 100%);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    transform: scale(0.7) translateY(-50px);
    transition: all 0.3s ease;
    border: 3px solid #ff6b9d;
}

.popup-overlay.show .popup {
    transform: scale(1) translateY(0);
}

.popup-icon {
    font-size: 4em;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.popup-message {
    font-size: 1.5em;
    color: #d63384;
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.popup-close {
    background: linear-gradient(45deg, #ff6b9d, #d63384);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(214, 51, 132, 0.3);
}

.popup-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 51, 132, 0.4);
}

.popup-hearts {
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 25px;
}

.popup-heart {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #ff6b9d;
    transform: rotate(-45deg);
    animation: popupHeartFloat 3s ease-in-out infinite;
    opacity: 0.6;
}

.popup-heart:before,
.popup-heart:after {
    content: '';
    width: 15px;
    height: 15px;
    position: absolute;
    left: 7.5px;
    top: 0;
    background: #ff6b9d;
    border-radius: 7.5px;
    transform: rotate(-45deg);
    transform-origin: 0 7.5px;
}

.popup-heart:after {
    left: 0;
    transform: rotate(45deg);
    transform-origin: 7.5px 7.5px;
}

@keyframes popupHeartFloat {
    0% { transform: translateY(100px) rotate(-45deg); opacity: 0; }
    50% { opacity: 0.6; }
    100% { transform: translateY(-100px) rotate(-45deg); opacity: 0; }
}
