/* ─── Update Toast Notification ──────────────────────────────────────────────── */

.update-toast {
    position: fixed;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 12px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 99999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(201, 168, 76, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: bottom 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 420px;
    width: calc(100% - 2rem);
    font-family: 'Inter', sans-serif;
}

.update-toast.visible {
    bottom: 24px;
}

.update-toast-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    animation: pulse-glow 2s infinite ease-in-out;
}

.update-toast-body {
    flex: 1;
    min-width: 0;
}

.update-toast-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e0d6c2;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.update-toast-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.update-toast-btn {
    flex-shrink: 0;
    padding: 8px 18px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #c9a84c, #b8943f);
    color: #0f0f13;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}

.update-toast-btn:hover {
    background: linear-gradient(135deg, #d4b85a, #c9a84c);
    box-shadow: 0 0 16px rgba(201, 168, 76, 0.4);
    transform: translateY(-1px);
}

.update-toast-btn:active {
    transform: translateY(0);
}

/* Progress bar that auto-reloads */
.update-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #c9a84c, #d4b85a);
    border-radius: 0 0 12px 12px;
    width: 0%;
    transition: width linear;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 4px rgba(201, 168, 76, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.5));
    }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .update-toast {
        border-radius: 10px;
        padding: 12px 16px;
        gap: 10px;
    }
    
    .update-toast-btn {
        padding: 7px 14px;
        font-size: 0.75rem;
    }
}
