/* Sağ Alt Bildirim Kutusu */
.recipe-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    border: 2px solid #3BB77E;
    padding: 18px 22px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(59, 183, 126, 0.25);
    z-index: 9999;
    max-width: 320px;
    cursor: pointer;
    transform: translateX(400px);
    transition: all 0.5s ease;
    animation: slideInBounce 0.8s ease-out 2s forwards;
}

.recipe-notification.show {
    transform: translateX(0);
}

.recipe-notification:hover {
    transform: translateX(0) translateY(-3px);
    box-shadow: 0 12px 40px rgba(59, 183, 126, 0.35);
    border-color: #FDC040;
}

.notification-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.notification-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #3BB77E 0%, #29a56c 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.notification-close {
    background: #f5f5f5;
    border: none;
    color: #666;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: all 0.3s;
    margin-left: auto;
}

.notification-close:hover {
    background: #FDC040;
    color: #fff;
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    margin: 0 0 6px 0;
    font-size: 15px;
    font-weight: 700;
    color: #253D4E;
    font-family: 'Quicksand', sans-serif;
}

.notification-content p {
    margin: 0;
    font-size: 13px;
    color: #7E7E7E;
    line-height: 1.5;
    font-family: 'Lato', sans-serif;
}

/* Popup kaldırıldı - daha uyumlu tasarım için */

/* Ana Sayfa Banner Badge */
.recipe-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FDC040;
    color: #253D4E;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(253, 192, 64, 0.4);
    animation: bounceIn 1s ease-out;
    z-index: 100;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-family: 'Quicksand', sans-serif;
    border: 2px solid #fff;
}

.recipe-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 192, 64, 0.5);
    background: #3BB77E;
    color: #fff;
}

/* Floating Action Button */
.fab-recipe {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #3BB77E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 183, 126, 0.4);
    z-index: 9998;
    animation: gentlePulse 3s infinite;
    transition: all 0.3s;
    border: 3px solid #fff;
}

.fab-recipe:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(59, 183, 126, 0.6);
    background: #FDC040;
}

@keyframes gentlePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(59, 183, 126, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(59, 183, 126, 0.6);
    }
}

/* Animasyonlar */
@keyframes slideInBounce {
    0% {
        transform: translateX(400px);
        opacity: 0;
    }
    60% {
        transform: translateX(-5px);
    }
    80% {
        transform: translateX(2px);
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0) rotate(-10deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

/* Top Banner Notification */
.top-recipe-banner {
    background: linear-gradient(90deg, #3BB77E 0%, #29a56c 100%);
    color: white;
    padding: 10px 20px;
    text-align: center;
    position: relative;
    z-index: 999;
    animation: slideDown 0.5s ease-out;
    font-family: 'Quicksand', sans-serif;
}

.top-recipe-banner a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.top-recipe-banner a:hover {
    color: #FDC040;
}

.top-recipe-banner .sparkle {
    animation: sparkle 1.5s infinite;
    font-size: 16px;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobil Responsive */
@media (max-width: 768px) {
    .recipe-notification {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 14px 16px;
    }

    .notification-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .notification-content h4 {
        font-size: 14px;
    }

    .notification-content p {
        font-size: 12px;
    }

    .fab-recipe {
        width: 50px;
        height: 50px;
        font-size: 22px;
        bottom: 70px;
        right: 15px;
    }

    .recipe-badge {
        top: 8px;
        right: 8px;
        font-size: 11px;
        padding: 6px 12px;
    }

    .top-recipe-banner {
        padding: 8px 15px;
    }

    .top-recipe-banner a {
        font-size: 12px;
        gap: 5px;
    }

    .top-recipe-banner .sparkle {
        font-size: 14px;
    }
}
