@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Outfit:wght@300;400;600&display=swap');

:root {
    --primary-color: #ff4d6d;
    --secondary-color: #c9184a;
    --text-color: #590d22;
    --glass-bg: rgba(255, 255, 255, 0.3);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    color: var(--text-color);
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.bg-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.heart {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    animation: floatUp 6s linear infinite;
}

@keyframes floatUp {
    0% { transform: translateY(110vh) scale(0.5); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

.container {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 500px;
    perspective: 1000px;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    animation: slideIn 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card:hover {
    transform: translateY(-5px) rotateX(2deg);
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
    line-height: 1.2;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.4);
    padding: 1.5rem;
    border-radius: 16px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    font-size: 1.2rem;
}

.agenda {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2.5rem;
}

.agenda-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.agenda-icon {
    font-size: 2rem;
    margin-bottom: 0.2rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.agenda-item:hover .agenda-icon {
    transform: scale(1.2);
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 77, 109, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 25px rgba(255, 77, 109, 0.4);
}

.cta-btn:active {
    transform: scale(0.98);
}

.cta-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s;
}

.cta-btn:active::after {
    transform: translate(-50%, -50%) scale(1);
    transition: 0s;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.show .modal-content {
    transform: scale(1);
}
