/* Personalization UI Styles */

/* ==================== WELCOME NOTIFICATION ==================== */

.personalization-notification {
    position: fixed;
    top: 6rem;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    z-index: 9999;
    max-width: 500px;
    width: 90%;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.personalization-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(212, 160, 23, 0.2);
}

.notification-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    stroke: #D4A017;
    fill: none;
    animation: heartPulse 2s ease-in-out infinite;
}

@keyframes heartPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.notification-message {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
}

.notification-close {
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    color: #666;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

/* Dark mode */
body.dark-mode .notification-content {
    background: rgba(10, 20, 30, 0.95);
    border-color: rgba(212, 160, 23, 0.3);
}

body.dark-mode .notification-message {
    color: #E8E8E8;
}

body.dark-mode .notification-close {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==================== RECOMMENDED SECTION ==================== */

#recommended-memories {
    background: linear-gradient(180deg, #fff 0%, #f9fafb 100%);
}

#recommended-memories .gallery-masonry {
    margin-top: 2rem;
}

#recommended-memories .gallery-item {
    position: relative;
}

#recommended-memories .gallery-item::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #D4A017 0%, #B8890F 100%);
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

#recommended-memories .gallery-item:hover::before {
    opacity: 0.3;
}

/* Dark mode */
body.dark-mode #recommended-memories {
    background: linear-gradient(180deg, #0F1419 0%, #1A1F26 100%);
}

/* ==================== VISIT STATS ==================== */

.visit-stats {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background: rgba(212, 160, 23, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(212, 160, 23, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #D4A017;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Dark mode */
body.dark-mode .visit-stats {
    background: rgba(212, 160, 23, 0.1);
    border-color: rgba(212, 160, 23, 0.2);
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
    .personalization-notification {
        top: 4.5rem;
        width: 95%;
    }

    .notification-content {
        padding: 1rem;
    }

    .notification-message {
        font-size: 0.875rem;
    }

    .notification-icon {
        width: 20px;
        height: 20px;
    }

    .visit-stats {
        gap: 1rem;
        padding: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}