/* ========================================
   Vardhini's Love App - Romantic Theme
   ======================================== */

:root {
    --pink: #ff6b9d;
    --soft-pink: #ffc4d6;
    --deep-rose: #c44569;
    --cream: #fff5f7;
    --white: #ffffff;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --gold: #ffd700;
    --gradient: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    --shadow: 0 10px 40px rgba(196, 69, 105, 0.2);
    --shadow-light: 0 4px 15px rgba(196, 69, 105, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--cream);
    min-height: 100vh;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ========================================
   Floating Hearts Animation
   ======================================== */

.hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    color: var(--soft-pink);
    opacity: 0.6;
    animation: floatHeart linear infinite;
    font-size: 20px;
}

@keyframes floatHeart {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

/* ========================================
   Password Gate
   ======================================== */

.password-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.login-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: slideUp 0.6s ease-out;
}

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

.login-heart {
    font-size: 60px;
    color: var(--pink);
    animation: heartbeat 1.5s ease-in-out infinite;
    margin-bottom: 10px;
}

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

.login-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: var(--deep-rose);
    margin-bottom: 10px;
}

.login-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.password-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--soft-pink);
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.password-input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.3);
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: var(--gradient);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 69, 105, 0.4);
}

.btn-heart {
    animation: heartbeat 1s ease-in-out infinite;
}

.error-msg {
    color: var(--deep-rose);
    margin-top: 15px;
    font-size: 0.9rem;
    min-height: 20px;
}

/* ========================================
   Main App
   ======================================== */

.main-app {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 100px;
}

/* Header */
.app-header {
    text-align: center;
    padding: 30px 0;
}

.app-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.8rem;
    color: var(--deep-rose);
    margin-bottom: 5px;
}

.days-together {
    color: var(--pink);
    font-size: 1rem;
    font-weight: 500;
}

/* ========================================
   Countdown Section
   ======================================== */

.countdown-section {
    margin-bottom: 30px;
}

.countdown-card {
    background: var(--gradient);
    border-radius: 25px;
    padding: 30px 20px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow);
}

.countdown-label {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.95;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 15px 20px;
    min-width: 70px;
}

.countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.countdown-unit {
    font-size: 0.8rem;
    opacity: 0.9;
}

.reunion-date {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========================================
   Timezone Section
   ======================================== */

.timezone-section {
    margin-bottom: 30px;
}

.timezone-card {
    background: var(--white);
    border-radius: 25px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: var(--shadow-light);
}

.timezone-item {
    text-align: center;
    flex: 1;
}

.timezone-city {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.timezone-time {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--deep-rose);
}

.timezone-person {
    font-size: 1rem;
    color: var(--pink);
    font-weight: 500;
    margin-top: 5px;
}

.timezone-activity {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 5px;
    font-style: italic;
}

.timezone-divider {
    padding: 0 15px;
}

.heart-divider {
    color: var(--pink);
    font-size: 1.5rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

/* ========================================
   Dates Section
   ======================================== */

.dates-section {
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-title {
    font-size: 1.3rem;
    color: var(--deep-rose);
    font-weight: 600;
}

.add-btn {
    background: var(--soft-pink);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--deep-rose);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.add-btn:hover {
    background: var(--pink);
    color: white;
}

.dates-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.date-card {
    background: var(--white);
    border-radius: 15px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.date-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.date-icon.virtual {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
}

.date-icon.visit {
    background: linear-gradient(135deg, #fd79a8 0%, #e84393 100%);
}

.date-icon.anniversary {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
}

.date-info {
    flex: 1;
}

.date-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.date-time {
    font-size: 0.85rem;
    color: var(--text-light);
}

.date-arrow {
    color: var(--soft-pink);
    font-size: 1.2rem;
}

.no-dates {
    text-align: center;
    padding: 30px;
    color: var(--text-light);
    background: var(--white);
    border-radius: 15px;
}

/* ========================================
   Love Notes Section
   ======================================== */

.notes-section {
    margin-bottom: 30px;
}

.notes-section .section-title {
    margin-bottom: 15px;
}

.notes-carousel {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.note-card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow-light);
    position: relative;
    border-left: 4px solid var(--pink);
}

.note-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 3rem;
    color: var(--soft-pink);
    font-family: Georgia, serif;
    line-height: 1;
}

.note-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    padding-left: 25px;
    font-style: italic;
}

.note-from {
    text-align: right;
    margin-top: 15px;
    color: var(--pink);
    font-weight: 500;
    font-size: 0.9rem;
}

/* ========================================
   Date Ideas Section
   ======================================== */

.ideas-section {
    margin-bottom: 30px;
}

.ideas-section .section-title {
    margin-bottom: 15px;
}

.ideas-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
}

.idea-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spin-btn {
    background: var(--gradient);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
}

.spin-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(196, 69, 105, 0.4);
}

.sparkle {
    animation: sparkle 1s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
}

/* ========================================
   Footer
   ======================================== */

.app-footer {
    text-align: center;
    padding: 30px 0;
    color: var(--text-light);
}

.app-footer p {
    margin-bottom: 15px;
}

.notify-btn {
    background: var(--soft-pink);
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    color: var(--deep-rose);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.notify-btn:hover {
    background: var(--pink);
    color: white;
}

.notify-btn.enabled {
    background: #00b894;
    color: white;
}

.footer-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.switch-user-btn {
    background: transparent;
    border: 2px solid var(--soft-pink);
    padding: 10px 25px;
    border-radius: 20px;
    color: var(--text-light);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.switch-user-btn:hover {
    background: var(--soft-pink);
    color: var(--deep-rose);
}

/* ========================================
   Modals
   ======================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 25px;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--deep-rose);
}

.modal-title {
    font-size: 1.4rem;
    color: var(--deep-rose);
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="datetime-local"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--soft-pink);
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--pink);
}

.form-group input[type="checkbox"] {
    margin-right: 8px;
    accent-color: var(--pink);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 69, 105, 0.4);
}

/* Detail Modal */
.detail-time {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.detail-timezone {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.detail-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.calendar-btn {
    background: var(--gradient);
    color: white;
}

.calendar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(196, 69, 105, 0.3);
}

.delete-btn {
    background: #ffe0e0;
    color: #d63031;
}

.delete-btn:hover {
    background: #d63031;
    color: white;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 480px) {
    .login-card {
        padding: 40px 25px;
    }

    .login-title {
        font-size: 2rem;
    }

    .app-title {
        font-size: 2.2rem;
    }

    .countdown-item {
        min-width: 60px;
        padding: 12px 15px;
    }

    .countdown-number {
        font-size: 1.6rem;
    }

    .timezone-card {
        padding: 20px 15px;
    }

    .timezone-time {
        font-size: 1.4rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.hidden {
    display: none !important;
}

/* ========================================
   Quick Actions Section
   ======================================== */

.quick-actions-section {
    margin-bottom: 30px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.action-bubble {
    background: var(--white);
    border: none;
    border-radius: 20px;
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
}

.action-bubble:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.action-bubble:active {
    transform: scale(0.95);
}

.bubble-icon {
    font-size: 1.8rem;
}

.bubble-text {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
}

.hug-btn:hover { background: #fff0f3; }
.kiss-btn:hover { background: #ffe8f0; }
.miss-btn:hover { background: #f0e8ff; }
.goodnight-btn:hover { background: #e8f0ff; }

/* ========================================
   Daily Quote Section
   ======================================== */

.quote-section {
    margin-bottom: 30px;
}

.quote-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.quote-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(-10%, -10%); }
    50% { transform: translate(10%, 10%); }
}

.quote-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.daily-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.quote-label {
    font-size: 0.8rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* ========================================
   Milestones Section
   ======================================== */

.milestones-section {
    margin-bottom: 30px;
}

.milestones-section .section-title {
    margin-bottom: 15px;
}

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.milestone-card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.milestone-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.milestone-card.achieved {
    border: 2px solid var(--gold);
}

.milestone-card.achieved .milestone-icon {
    animation: bounce 1s ease infinite;
}

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

.milestone-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.milestone-title {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.milestone-status {
    font-size: 0.75rem;
    color: var(--text-light);
}

.milestone-status.achieved {
    color: var(--gold);
    font-weight: 600;
}

/* ========================================
   Secret Message Section
   ======================================== */

.secret-section {
    margin-bottom: 30px;
}

.secret-card {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.secret-card:hover {
    transform: scale(1.02);
}

.secret-envelope {
    color: white;
}

.envelope-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
    animation: wiggle 2s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.secret-envelope p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.secret-message {
    color: white;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.secret-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.close-secret-btn {
    background: rgba(255,255,255,0.3);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.close-secret-btn:hover {
    background: rgba(255,255,255,0.5);
}

/* ========================================
   Animation Overlays
   ======================================== */

.hug-overlay,
.kiss-overlay,
.miss-overlay,
.goodnight-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.hug-overlay.active,
.kiss-overlay.active,
.miss-overlay.active,
.goodnight-overlay.active {
    display: flex;
}

/* Hug Overlay */
.hug-overlay {
    background: radial-gradient(circle, rgba(255,182,193,0.95) 0%, rgba(255,105,180,0.95) 100%);
}

.hug-animation {
    text-align: center;
    animation: hugPulse 0.5s ease;
}

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

.hug-emoji {
    font-size: 8rem;
    display: block;
    animation: hugWiggle 0.5s ease infinite;
}

@keyframes hugWiggle {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

.hug-message {
    color: white;
    font-size: 1.5rem;
    margin-top: 20px;
    font-weight: 500;
}

/* Kiss Overlay */
.kiss-overlay {
    background: radial-gradient(circle, rgba(255,182,193,0.95) 0%, rgba(219,112,147,0.95) 100%);
}

.kiss-animation {
    text-align: center;
    position: relative;
}

.flying-kisses {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.flying-kiss {
    position: absolute;
    font-size: 2rem;
    animation: flyKiss 2s ease-out forwards;
}

@keyframes flyKiss {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0.5);
    }
}

.kiss-message {
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Miss You Overlay */
.miss-overlay {
    background: radial-gradient(circle, rgba(147,112,219,0.95) 0%, rgba(138,43,226,0.95) 100%);
}

.miss-animation {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.miss-emoji {
    font-size: 5rem;
    display: block;
    animation: sadPulse 2s ease infinite;
}

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

.miss-message {
    color: white;
    font-size: 1.5rem;
    margin-top: 20px;
    font-weight: 500;
}

.miss-submessage {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-top: 10px;
    font-style: italic;
}

/* Goodnight Overlay */
.goodnight-overlay {
    background: radial-gradient(circle, rgba(25,25,112,0.98) 0%, rgba(0,0,30,0.98) 100%);
}

.goodnight-animation {
    text-align: center;
    position: relative;
}

.stars-container {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.star {
    position: absolute;
    color: white;
    animation: twinkle 1.5s ease-in-out infinite;
}

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

.moon-emoji {
    font-size: 6rem;
    display: block;
    animation: moonGlow 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes moonGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255,255,200,0.5));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(255,255,200,0.8));
    }
}

.goodnight-message {
    color: white;
    font-size: 1.8rem;
    margin-top: 20px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.goodnight-submessage {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    margin-top: 10px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* ========================================
   Video Call Button
   ======================================== */

.video-call-section {
    margin-bottom: 30px;
}

.video-call-btn {
    width: 100%;
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    border: none;
    border-radius: 20px;
    padding: 20px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 184, 148, 0.3);
    font-family: 'Poppins', sans-serif;
}

.video-call-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 184, 148, 0.4);
}

.video-call-btn .call-icon {
    font-size: 1.5rem;
}

.video-call-options {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.video-call-options .video-call-btn {
    flex: 1;
    padding: 15px;
    font-size: 0.95rem;
}

.video-call-btn.secondary {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.3);
}

.video-call-btn.secondary:hover {
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.4);
}

.video-call-hint {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 5px;
}

@media (max-width: 500px) {
    .video-call-options {
        flex-direction: column;
    }
}

/* ========================================
   Responsive Adjustments for New Features
   ======================================== */

/* ========================================
   Chat Section
   ======================================== */

.chat-section {
    margin-bottom: 30px;
}

.chat-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.online-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #636e72;
    transition: all 0.3s ease;
}

.status-text {
    font-weight: 500;
}

.chat-container {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-empty {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin: auto;
}

.chat-message {
    display: flex;
    max-width: 80%;
}

.chat-message.sent {
    align-self: flex-end;
}

.chat-message.received {
    align-self: flex-start;
}

.message-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
}

.chat-message.sent .message-bubble {
    background: var(--gradient);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.received .message-bubble {
    background: var(--soft-pink);
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
}

/* Reaction messages in chat */
.reaction-message {
    align-self: center !important;
    max-width: 90% !important;
}

.reaction-bubble {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%) !important;
    color: var(--text-dark) !important;
    text-align: center;
    border-radius: 20px !important;
    font-style: italic;
}

.message-text {
    margin: 0;
    word-wrap: break-word;
    line-height: 1.4;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    display: block;
    margin-top: 4px;
    text-align: right;
}

.chat-input-form {
    display: flex;
    padding: 15px;
    gap: 10px;
    border-top: 1px solid var(--soft-pink);
    background: var(--cream);
}

.chat-input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid var(--soft-pink);
    border-radius: 25px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.chat-input:focus {
    border-color: var(--pink);
}

.chat-send-btn {
    background: var(--gradient);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
}

.chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(196, 69, 105, 0.3);
}

/* ========================================
   Active Meeting Display
   ======================================== */

.video-call-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.active-meeting {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    border-radius: 15px;
    padding: 15px 20px;
    text-align: center;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 184, 148, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(0, 184, 148, 0); }
}

.meeting-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.meeting-link {
    color: white;
    text-decoration: underline;
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
}

.meeting-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.join-meeting-btn {
    background: white;
    color: #00b894;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.join-meeting-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.end-meeting-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.end-meeting-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* ========================================
   Responsive Adjustments for New Features
   ======================================== */

@media (max-width: 480px) {
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .milestones-grid {
        grid-template-columns: 1fr;
    }

    .bubble-icon {
        font-size: 1.5rem;
    }

    .hug-emoji {
        font-size: 5rem;
    }

    .miss-emoji {
        font-size: 4rem;
    }

    .moon-emoji {
        font-size: 4rem;
    }

    .hug-message,
    .kiss-message,
    .miss-message,
    .goodnight-message {
        font-size: 1.2rem;
    }

    .chat-messages {
        height: 250px;
    }

    .chat-message {
        max-width: 85%;
    }

    .chat-send-btn span:first-child {
        display: none;
    }
}
