@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Sacramento&display=swap');

/* ─── Global Reset & Body ────────────────────────────────────────── */
body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #09050e; /* Deep midnight fallback */
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ─── Dreamy Video Background ────────────────────────────────────── */
.video-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background: #09050e;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) translate3d(0,0,0);
    object-fit: cover;
    opacity: 0.8;
    image-rendering: -webkit-optimize-contrast;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.video-bg.second-video {
    mix-blend-mode: screen;
    opacity: 0.35;
    filter: blur(10px) saturate(140%);
    transform: translate(-50%, -50%) scale(1.05) translate3d(0,0,0);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(9, 5, 14, 0.1) 0%, rgba(9, 5, 14, 0.65) 100%);
    z-index: 1;
}

/* ─── Heart Animation Container ──────────────────────────────────── */
#hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.heart {
    position: absolute;
    top: -50px;
    animation: fall linear forwards;
    color: #ff6b9d;
    text-shadow: 0 0 10px rgba(255, 107, 157, 0.6);
    z-index: 0;
}

@keyframes fall {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 0.9;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Sparkling Hearts Celebration Effect */
.sparkling-heart {
    position: absolute;
    font-size: 2em;
    animation: sparkleFly 2s ease-out forwards;
    color: #ff6b9d;
    text-shadow: 0 0 20px rgba(255, 107, 157, 0.8), 0 0 40px rgba(255, 107, 157, 0.6);
    z-index: 1000;
    pointer-events: none;
}

@keyframes sparkleFly {
    0% {
        transform: translate(0, 0) scale(0.5) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(1.5) rotate(720deg);
        opacity: 0;
    }
}

/* ─── Premium Glassmorphism Cards ────────────────────────────────── */
.romantic-card, 
.booking-card, 
.admin-login-card, 
.password-card {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
    border-radius: 28px !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), 
                inset 0 1px 0 rgba(255, 255, 255, 0.2), 
                0 0 40px rgba(255, 107, 157, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 50px 45px !important;
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.5s ease !important;
}

.romantic-card:hover, 
.booking-card:hover, 
.admin-login-card:hover, 
.password-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.3), 
                inset 0 1px 0 rgba(255, 255, 255, 0.25), 
                0 0 50px rgba(255, 107, 157, 0.2) !important;
}

/* Typography Overhauls */
.romantic-card h1, 
.booking-card h1, 
.admin-login-card h1, 
.password-card h1 {
    font-family: 'Sacramento', cursive !important;
    font-size: 4.5em !important;
    color: #ffffff;
    margin-bottom: 20px !important;
    font-weight: 500 !important;
    text-shadow: 0 0 15px rgba(255, 107, 157, 0.6), 
                 0 0 30px rgba(255, 107, 157, 0.3) !important;
}

.romantic-question {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    font-style: italic;
    color: #f7fafc;
    margin-bottom: 35px;
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.romantic-instruction, 
.instruction,
.message {
    font-size: 1.15em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    font-weight: 400;
}

.romantic-message {
    font-size: 1.25em;
    color: #f7fafc;
    margin-bottom: 35px;
    line-height: 1.7;
}

/* ─── Input Form Fields ──────────────────────────────────────────── */
.form-group label {
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
}

.form-group input {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 15px !important;
    font-family: 'Outfit', sans-serif !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.form-group input:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #ff6b9d !important;
    box-shadow: 0 0 15px rgba(255, 107, 157, 0.3) !important;
    outline: none !important;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* ─── Sleek Glow Buttons ─────────────────────────────────────────── */
.btn {
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-romantic-yes, 
.btn-primary {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8a5c 100%) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 8px 24px rgba(255, 107, 157, 0.25);
}

.btn-romantic-yes:hover, 
.btn-primary:hover {
    background: linear-gradient(135deg, #ff8a5c 0%, #ff6b9d 100%) !important;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.45), 0 0 15px rgba(255, 107, 157, 0.2);
}

.btn-romantic-no, 
.btn-romantic-back, 
.btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.btn-romantic-no:hover, 
.btn-romantic-back:hover, 
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-romantic-primary, 
.btn-romantic-confirm {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 8px 24px rgba(196, 69, 105, 0.25);
}

.btn-romantic-primary:hover, 
.btn-romantic-confirm:hover {
    background: linear-gradient(135deg, #c44569 0%, #ff6b9d 100%) !important;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 15px 35px rgba(196, 69, 105, 0.45), 0 0 15px rgba(196, 69, 105, 0.2);
}

/* ─── Premium Calendar Styles ────────────────────────────────────── */
.romantic-calendar {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.romantic-nav-btn {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    padding: 10px 22px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

.romantic-nav-btn:hover {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.04);
}

.calendar-header h2 {
    color: white;
    font-size: 1.6em;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.romantic-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-top: 25px;
}

.romantic-day-header {
    font-weight: 700;
    color: #ff6b9d;
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.romantic-day {
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
}

.romantic-day.empty {
    background: transparent;
}

.romantic-day.disabled {
    color: rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.15);
}

.romantic-day.today {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    box-shadow: 0 0 15px rgba(255, 107, 157, 0.4);
    color: white;
}

.romantic-day.available a {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 700;
}

.romantic-day.available a:hover {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
    box-shadow: 0 8px 16px rgba(255, 107, 157, 0.3);
}

/* ─── Time Slots ─────────────────────────────────────────────────── */
.romantic-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin: 35px 0;
}

.romantic-time-slot-group input[type="radio"] {
    display: none;
}

.romantic-time-slot-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: block;
    text-align: center;
}

.romantic-time-slot-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 157, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.romantic-time-slot-group input[type="radio"]:checked + .romantic-time-slot-card {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.04);
    box-shadow: 0 20px 40px rgba(196, 69, 105, 0.45), 0 0 15px rgba(255, 107, 157, 0.2);
}

.romantic-time-icon {
    font-size: 3.2em;
    margin-bottom: 15px;
}

.romantic-time-slot-card h3 {
    font-size: 1.25em;
    margin-bottom: 8px;
    color: white;
}

.romantic-time-slot-card p {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
}

/* ─── Success page tweaks ────────────────────────────────────────── */
.romantic-success-card {
    background: rgba(255, 255, 255, 0.08) !important;
}

.romantic-success-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    margin: 0 auto 25px;
    box-shadow: 0 8px 24px rgba(255, 107, 157, 0.4);
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(255, 107, 157, 0.4); }
    50% { transform: scale(1.08); box-shadow: 0 12px 30px rgba(255, 107, 157, 0.6), 0 0 15px rgba(255, 107, 157, 0.2); }
}

.booking-summary, 
.romantic-booking-summary {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    margin: 30px 0 !important;
    text-align: left !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.booking-summary h2, 
.romantic-booking-summary h2 {
    color: #ff6b9d !important;
    font-size: 1.35em !important;
    margin-bottom: 20px !important;
    font-weight: 600 !important;
}

.booking-summary p, 
.romantic-booking-summary p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 12px !important;
    font-size: 1.05em !important;
}

.booking-summary strong, 
.romantic-booking-summary strong {
    color: #ffffff !important;
}

.romantic-video-container {
    margin: 35px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.romantic-video-container h2 {
    color: white;
    font-size: 1.35em;
    margin-bottom: 20px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    margin: 20px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.video-note {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 15px;
}

/* ─── Admin Dashboard / Portal Tweaks ────────────────────────────── */
.dashboard-header h1 {
    font-family: 'Sacramento', cursive !important;
    font-size: 4em !important;
    color: #ffffff;
    font-weight: 500 !important;
    text-shadow: 0 0 15px rgba(255, 107, 157, 0.6) !important;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
    padding: 30px 20px !important;
    transition: transform 0.3s ease !important;
}

.stat-card:hover {
    transform: translateY(-3px) !important;
}

.stat-card h3 {
    font-family: 'Outfit', sans-serif !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1.1em !important;
    margin-bottom: 12px !important;
    font-weight: 500 !important;
}

.stat-card .number {
    color: #ff6b9d !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 3em !important;
    text-shadow: 0 0 15px rgba(255, 107, 157, 0.3) !important;
}

.responses-table {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
    padding: 35px !important;
}

.responses-table h2 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    font-size: 1.6em !important;
    margin-bottom: 25px !important;
}

table th {
    background: rgba(255, 107, 157, 0.15) !important;
    color: #ff6b9d !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
}

table td {
    color: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.time-slot-badge {
    background: rgba(255, 107, 157, 0.15) !important;
    color: #ff6b9d !important;
    border: 1px solid rgba(255, 107, 157, 0.2) !important;
    font-family: 'Outfit', sans-serif !important;
}

.btn-action.btn-logout {
    background: rgba(255, 255, 255, 0.08) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    font-family: 'Outfit', sans-serif !important;
}

.btn-action.btn-logout:hover {
    background: rgba(255, 82, 82, 0.2) !important;
    border-color: rgba(255, 82, 82, 0.3) !important;
}

.btn-action.btn-change-password {
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-family: 'Outfit', sans-serif !important;
}

/* ─── Responsive Media Queries ───────────────────────────────────── */
@media (max-width: 768px) {
    .romantic-card, 
    .booking-card, 
    .admin-login-card, 
    .password-card {
        padding: 35px 24px !important;
        margin: 20px 10px !important;
    }
    
    .romantic-card h1, 
    .booking-card h1, 
    .admin-login-card h1, 
    .password-card h1 {
        font-size: 3.4em !important;
    }
    
    .romantic-question {
        font-size: 1.3em;
    }
    
    .romantic-calendar-grid {
        gap: 5px;
    }
    
    .romantic-day {
        height: 48px;
        font-size: 0.95em;
    }
    
    .romantic-day-header {
        font-size: 0.8em;
        padding: 10px 5px;
    }
    
    .romantic-time-slots {
        grid-template-columns: 1fr;
    }
    
    .calendar-header {
        flex-direction: column;
        gap: 15px;
    }
}